ERC-721
Overview
Max Total Supply
201 BOUNTY
Holders
84
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BOUNTYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BountySports
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 // Author: Pagzi Tech Inc. | 2022 // Bounty Sports - The League | 2022 pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721Enumerable.sol"; contract BountySports is ERC721Enumerable, Ownable { //sale settings uint256 public cost = 0.099 ether; uint256 public maxSupply = 3333; uint256 public maxMint = 10; string public baseURI; address pagzi = 0xeBaBB8C951F5c3b17b416A3D840C52CcaB728c19; address bounty = 0xB3b0B0648F5dEd9736f9b4287fCc4D1A4277a33e; //date variables uint256 public publicDate = 1648850400; uint256 public presaleDate = 1648753200; //mint passes/claims mapping(address => uint256) public mintPasses; address public proxyRegistryAddress; constructor() ERC721("Bounty Sports", "BOUNTY") { setBaseURI("https://bountysports.nftapi.art/meta/"); proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; } // external function mint(uint256 count) external payable{ require(count < maxMint + 1, "Too many" ); require((publicDate <= block.timestamp),"DATE"); uint256 totalSupply = _owners.length; require(totalSupply + count < maxSupply + 1, "Sorry" ); require(msg.value >= cost * count,"Low ETH"); for(uint i; i < count; i++) { _mint(_msgSender(), totalSupply + i + 1); } } function mintPresale(uint256 count) external payable{ require(count > 0, "Duh!" ); require((presaleDate <= block.timestamp),"DATE"); uint256 totalSupply = _owners.length; require(totalSupply + count < maxSupply + 1, "Sorry" ); uint256 reserve = mintPasses[msg.sender]; require(reserve > 0, "Low reserve"); require(msg.value >= cost * count, "Low ETH"); for (uint256 i = 0; i < count; ++i) { _mint(_msgSender(), totalSupply + i + 1); } mintPasses[msg.sender] = reserve - count; delete totalSupply; delete reserve; } //only owner function gift(uint[] calldata quantity, address[] calldata recipient) public onlyOwner{ require(quantity.length == recipient.length, "Provide quantities and recipients" ); uint totalQuantity = 0; uint256 totalSupply = _owners.length; for(uint i = 0; i < quantity.length; ++i){ totalQuantity += quantity[i]; } require(totalSupply + totalQuantity + 1 <= maxSupply, "0" ); for(uint i = 0; i < recipient.length; ++i){ for(uint j = 0; j < quantity[i]; ++j){ _mint(recipient[i], totalSupply + 1); totalSupply++; } } } function setCost(uint256 _cost) external onlyOwner { cost = _cost; } function setPublicDate(uint256 _publicDate) external onlyOwner { publicDate = _publicDate; } function setEndDate(uint256 _presaleDate) external onlyOwner { presaleDate = _presaleDate; } function setDates(uint256 _publicDate, uint256 _presaleDate) external onlyOwner { publicDate = _publicDate; presaleDate = _presaleDate; } function setMintPass(address _address,uint256 _quantity) external onlyOwner { mintPasses[_address] = _quantity; } function setMintPasses(address[] calldata _addresses, uint256[] calldata _amounts) external onlyOwner { for(uint256 i; i < _addresses.length; i++){ mintPasses[_addresses[i]] = _amounts[i]; } } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner { proxyRegistryAddress = _proxyRegistryAddress; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string(abi.encodePacked(baseURI, Strings.toString(_tokenId))); } function burn(uint256 tokenId) public { require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn."); _burn(tokenId); } function tokensOfOwner(address _owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) return new uint256[](0); uint256[] memory tokensId = new uint256[](tokenCount); for (uint256 i; i < tokenCount; i++) { tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } function batchTransferFrom(address _from, address _to, uint256[] memory _tokenIds) public { for (uint256 i = 0; i < _tokenIds.length; i++) { transferFrom(_from, _to, _tokenIds[i]); } } function batchSafeTransferFrom(address _from, address _to, uint256[] memory _tokenIds, bytes memory data_) public { for (uint256 i = 0; i < _tokenIds.length; i++) { safeTransferFrom(_from, _to, _tokenIds[i], data_); } } function isOwnerOf(address account, uint256[] calldata _tokenIds) external view returns (bool){ for(uint256 i; i < _tokenIds.length; ++i ){ if(_owners[_tokenIds[i]] != account) return false; } return true; } function isApprovedForAll(address _owner, address operator) public view override(IERC721,ERC721) returns (bool) { OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(_owner)) == operator) return true; return super.isApprovedForAll(_owner, operator); } function _mint(address to, uint256 tokenId) internal virtual override { _owners.push(to); emit Transfer(address(0), to, tokenId); } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(pagzi).transfer((balance * 200) / 1000); payable(bounty).transfer((balance * 800) / 1000); } } contract OwnableDelegateProxy { } contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: GPL-3.0 // Author: Pagzi Tech Inc. | 2022 // DeadTownZeds | 2022 pragma solidity >=0.8.0 <0.9.0; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < _owners.length, "ERC721Enumerable: global index out of bounds"); return index + 1; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); uint count; for(uint i; i < _owners.length; i++){ if(owner == _owners[i]){ if(count == index) return i+1; else count++; } } revert("ERC721Enumerable: owner index out of bounds"); } }
// 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: GPL-3.0 // Author: Pagzi Tech Inc. | 2022 // DeadTownZeds | 2022 pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./Address.sol"; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; // Mapping from token ID to owner address address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; 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 (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ) ++count; } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId - 1]; 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 {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 - 1]; } /** * @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 tokenId < (_owners.length + 1) && _owners[tokenId - 1] != 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.push(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 - 1] = 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 - 1] = 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 - 1] = 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.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 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 pragma solidity ^0.8.6; library Address { function isContract(address account) internal view returns (bool) { uint size; assembly { size := extcodesize(account) } return size > 0; } }
// 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 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 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; /** * @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 "../../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; /** * @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": 10000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":[{"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":"baseURI","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":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintPasses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","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":"presaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicDate","type":"uint256"},{"internalType":"uint256","name":"_presaleDate","type":"uint256"}],"name":"setDates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presaleDate","type":"uint256"}],"name":"setEndDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"setMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"setMintPasses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicDate","type":"uint256"}],"name":"setPublicDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405267015fb7f9b8c38000600655610d05600755600a600881905580546001600160a01b031990811673ebabb8c951f5c3b17b416a3d840c52ccab728c1917909155600b805490911673b3b0b0648f5ded9736f9b4287fcc4d1a4277a33e17905563624775e0600c55636245fa30600d553480156200008057600080fd5b50604080518082018252600d81526c426f756e74792053706f72747360981b602080830191825283518085019094526006845265424f554e545960d01b908401528151919291620000d49160009162000225565b508051620000ea90600190602084019062000225565b50505062000107620001016200015760201b60201c565b6200015b565b6200012b604051806060016040528060258152602001620037ad60259139620001ad565b600f80546001600160a01b03191673a5409ec958c83c3f309868babaca7c86dcb077c117905562000307565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b031633146200020c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200022190600990602084019062000225565b5050565b8280546200023390620002cb565b90600052602060002090601f016020900481019282620002575760008555620002a2565b82601f106200027257805160ff1916838001178555620002a2565b82800160010185558215620002a2579182015b82811115620002a257825182559160200191906001019062000285565b50620002b0929150620002b4565b5090565b5b80821115620002b05760008155600101620002b5565b600181811c90821680620002e057607f821691505b6020821081036200030157634e487b7160e01b600052602260045260246000fd5b50919050565b61349680620003176000396000f3fe6080604052600436106102e75760003560e01c8063715018a611610184578063c889004b116100d6578063e928ff9f1161008a578063f2fde38b11610064578063f2fde38b146107ed578063f3993d111461080d578063f759867a1461082d57600080fd5b8063e928ff9f1461078d578063e985e9c5146107ad578063ea9d6d29146107cd57600080fd5b8063d26ea6c0116100bb578063d26ea6c014610737578063d5abeb0114610757578063dedf141e1461076d57600080fd5b8063c889004b14610701578063cd7c03261461071757600080fd5b806395d89b4111610138578063a22cb46511610112578063a22cb465146106a1578063b88d4fde146106c1578063c87b56dd146106e157600080fd5b806395d89b411461065957806396ea3a471461066e578063a0712d681461068e57600080fd5b80638462151c116101695780638462151c146105e15780638da5cb5b1461060e5780638f1bca111461062c57600080fd5b8063715018a6146105b65780637501f741146105cb57600080fd5b806342966c681161023d57806351463d5b116101f15780636352211e116101cb5780636352211e146105615780636c0360eb1461058157806370a082311461059657600080fd5b806351463d5b1461050b57806355f804b3146105215780635a4fee301461054157600080fd5b8063484664021161022257806348466402146104ab5780634d44660c146104cb5780634f6ccce7146104eb57600080fd5b806342966c681461046b57806344a0d68a1461048b57600080fd5b806318160ddd1161029f5780633784f000116102795780633784f000146104165780633ccfd60b1461043657806342842e0e1461044b57600080fd5b806318160ddd146103c157806323b872dd146103d65780632f745c59146103f657600080fd5b8063081812fc116102d0578063081812fc14610343578063095ea7b31461037b57806313faede61461039d57600080fd5b806301ffc9a7146102ec57806306fdde0314610321575b600080fd5b3480156102f857600080fd5b5061030c610307366004612ae0565b610840565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b5061033661089c565b6040516103189190612b73565b34801561034f57600080fd5b5061036361035e366004612b86565b61092e565b6040516001600160a01b039091168152602001610318565b34801561038757600080fd5b5061039b610396366004612bb4565b6109df565b005b3480156103a957600080fd5b506103b360065481565b604051908152602001610318565b3480156103cd57600080fd5b506002546103b3565b3480156103e257600080fd5b5061039b6103f1366004612be0565b610b10565b34801561040257600080fd5b506103b3610411366004612bb4565b610b98565b34801561042257600080fd5b5061039b610431366004612b86565b610d01565b34801561044257600080fd5b5061039b610d60565b34801561045757600080fd5b5061039b610466366004612be0565b610e60565b34801561047757600080fd5b5061039b610486366004612b86565b610e7b565b34801561049757600080fd5b5061039b6104a6366004612b86565b610edc565b3480156104b757600080fd5b5061039b6104c6366004612bb4565b610f3b565b3480156104d757600080fd5b5061030c6104e6366004612c6d565b610fb1565b3480156104f757600080fd5b506103b3610506366004612b86565b611033565b34801561051757600080fd5b506103b3600c5481565b34801561052d57600080fd5b5061039b61053c366004612db6565b6110b8565b34801561054d57600080fd5b5061039b61055c366004612e9f565b611125565b34801561056d57600080fd5b5061036361057c366004612b86565b61116f565b34801561058d57600080fd5b50610336611219565b3480156105a257600080fd5b506103b36105b1366004612f28565b6112a7565b3480156105c257600080fd5b5061039b611388565b3480156105d757600080fd5b506103b360085481565b3480156105ed57600080fd5b506106016105fc366004612f28565b6113ee565b6040516103189190612f45565b34801561061a57600080fd5b506005546001600160a01b0316610363565b34801561063857600080fd5b506103b3610647366004612f28565b600e6020526000908152604090205481565b34801561066557600080fd5b506103366114aa565b34801561067a57600080fd5b5061039b610689366004612f89565b6114b9565b61039b61069c366004612b86565b6116d5565b3480156106ad57600080fd5b5061039b6106bc366004612ff5565b611880565b3480156106cd57600080fd5b5061039b6106dc366004613033565b611962565b3480156106ed57600080fd5b506103366106fc366004612b86565b6119f0565b34801561070d57600080fd5b506103b3600d5481565b34801561072357600080fd5b50600f54610363906001600160a01b031681565b34801561074357600080fd5b5061039b610752366004612f28565b611a79565b34801561076357600080fd5b506103b360075481565b34801561077957600080fd5b5061039b610788366004613093565b611b0d565b34801561079957600080fd5b5061039b6107a8366004612f89565b611b72565b3480156107b957600080fd5b5061030c6107c83660046130b5565b611c47565b3480156107d957600080fd5b5061039b6107e8366004612b86565b611d20565b3480156107f957600080fd5b5061039b610808366004612f28565b611d7f565b34801561081957600080fd5b5061039b6108283660046130e3565b611e5e565b61039b61083b366004612b86565b611ea0565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806108965750610896826120b1565b92915050565b6060600080546108ab90613145565b80601f01602080910402602001604051908101604052809291908181526020018280546108d790613145565b80156109245780601f106108f957610100808354040283529160200191610924565b820191906000526020600020905b81548152906001019060200180831161090757829003601f168201915b5050505050905090565b600061093982612194565b6109b05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600360006109bf6001856131c7565b81526020810191909152604001600020546001600160a01b031692915050565b60006109ea8261116f565b9050806001600160a01b0316836001600160a01b031603610a735760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109a7565b336001600160a01b0382161480610a8f5750610a8f8133611c47565b610b015760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109a7565b610b0b83836121ea565b505050565b610b1b335b82612282565b610b8d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109a7565b610b0b838383612355565b6000610ba3836112a7565b8210610c175760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016109a7565b6000805b600254811015610c925760028181548110610c3857610c386131de565b6000918252602090912001546001600160a01b0390811690861603610c8057838203610c7257610c6981600161320d565b92505050610896565b81610c7c81613225565b9250505b80610c8a81613225565b915050610c1b565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016109a7565b6005546001600160a01b03163314610d5b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600d55565b6005546001600160a01b03163314610dba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600a5447906001600160a01b03166108fc6103e8610dd98460c861325d565b610de391906132c9565b6040518115909202916000818181858888f19350505050158015610e0b573d6000803e3d6000fd5b50600b546001600160a01b03166108fc6103e8610e2a8461032061325d565b610e3491906132c9565b6040518115909202916000818181858888f19350505050158015610e5c573d6000803e3d6000fd5b5050565b610b0b83838360405180602001604052806000815250611962565b610e8433610b15565b610ed05760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e000000000000000000000060448201526064016109a7565b610ed9816124fa565b50565b6005546001600160a01b03163314610f365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600655565b6005546001600160a01b03163314610f955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b6001600160a01b039091166000908152600e6020526040902055565b6000805b8281101561102657846001600160a01b03166002858584818110610fdb57610fdb6131de565b9050602002013581548110610ff257610ff26131de565b6000918252602090912001546001600160a01b03161461101657600091505061102c565b61101f81613225565b9050610fb5565b50600190505b9392505050565b60025460009082106110ad5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016109a7565b61089682600161320d565b6005546001600160a01b031633146111125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b8051610e5c906009906020840190612a19565b60005b8251811015611168576111568585858481518110611148576111486131de565b602002602001015185611962565b8061116081613225565b915050611128565b5050505050565b600080600261117f6001856131c7565b8154811061118f5761118f6131de565b6000918252602090912001546001600160a01b03169050806108965760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109a7565b6009805461122690613145565b80601f016020809104026020016040519081016040528092919081815260200182805461125290613145565b801561129f5780601f106112745761010080835404028352916020019161129f565b820191906000526020600020905b81548152906001019060200180831161128257829003601f168201915b505050505081565b60006001600160a01b0382166113255760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109a7565b6000805b6002548110156113815760028181548110611346576113466131de565b6000918252602090912001546001600160a01b03908116908516036113715761136e82613225565b91505b61137a81613225565b9050611329565b5092915050565b6005546001600160a01b031633146113e25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b6113ec600061259e565b565b606060006113fb836112a7565b90508060000361141f5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561143a5761143a612cc2565b604051908082528060200260200182016040528015611463578160200160208202803683370190505b50905060005b828110156114175761147b8582610b98565b82828151811061148d5761148d6131de565b6020908102919091010152806114a281613225565b915050611469565b6060600180546108ab90613145565b6005546001600160a01b031633146115135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b8281146115885760405162461bcd60e51b815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e7460448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016109a7565b600254600090815b858110156115ce578686828181106115aa576115aa6131de565b90506020020135836115bc919061320d565b92506115c781613225565b9050611590565b506007546115dc838361320d565b6115e790600161320d565b11156116355760405162461bcd60e51b815260206004820152600160248201527f300000000000000000000000000000000000000000000000000000000000000060448201526064016109a7565b60005b838110156116cc5760005b878783818110611655576116556131de565b905060200201358110156116bb5761169d868684818110611678576116786131de565b905060200201602081019061168d9190612f28565b61169885600161320d565b612608565b826116a781613225565b935050806116b490613225565b9050611643565b506116c581613225565b9050611638565b50505050505050565b6008546116e390600161320d565b81106117315760405162461bcd60e51b815260206004820152600860248201527f546f6f206d616e7900000000000000000000000000000000000000000000000060448201526064016109a7565b42600c5411156117855760405162461bcd60e51b81526004016109a79060208082526004908201527f4441544500000000000000000000000000000000000000000000000000000000604082015260600190565b60025460075461179690600161320d565b6117a0838361320d565b106117ed5760405162461bcd60e51b815260206004820152600560248201527f536f72727900000000000000000000000000000000000000000000000000000060448201526064016109a7565b816006546117fb919061325d565b34101561184a5760405162461bcd60e51b815260206004820152600760248201527f4c6f77204554480000000000000000000000000000000000000000000000000060448201526064016109a7565b60005b82811015610b0b5761186e33611863838561320d565b61169890600161320d565b8061187881613225565b91505061184d565b336001600160a01b038316036118d85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109a7565b3360008181526004602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61196c3383612282565b6119de5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109a7565b6119ea8484848461269c565b50505050565b60606119fb82612194565b611a475760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016109a7565b6009611a5283612725565b604051602001611a639291906132f9565b6040516020818303038152906040529050919050565b6005546001600160a01b03163314611ad35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600f80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611b675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600c91909155600d55565b6005546001600160a01b03163314611bcc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b60005b8381101561116857828282818110611be957611be96131de565b90506020020135600e6000878785818110611c0657611c066131de565b9050602002016020810190611c1b9190612f28565b6001600160a01b0316815260208101919091526040016000205580611c3f81613225565b915050611bcf565b600f546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd691906133d6565b6001600160a01b031603611cee576001915050610896565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611d7a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600c55565b6005546001600160a01b03163314611dd95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b6001600160a01b038116611e555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109a7565b610ed98161259e565b60005b81518110156119ea57611e8e8484848481518110611e8157611e816131de565b6020026020010151610b10565b80611e9881613225565b915050611e61565b60008111611ef25760405162461bcd60e51b81526004016109a79060208082526004908201527f4475682100000000000000000000000000000000000000000000000000000000604082015260600190565b42600d541115611f465760405162461bcd60e51b81526004016109a79060208082526004908201527f4441544500000000000000000000000000000000000000000000000000000000604082015260600190565b600254600754611f5790600161320d565b611f61838361320d565b10611fae5760405162461bcd60e51b815260206004820152600560248201527f536f72727900000000000000000000000000000000000000000000000000000060448201526064016109a7565b336000908152600e60205260409020548061200b5760405162461bcd60e51b815260206004820152600b60248201527f4c6f77207265736572766500000000000000000000000000000000000000000060448201526064016109a7565b82600654612019919061325d565b3410156120685760405162461bcd60e51b815260206004820152600760248201527f4c6f77204554480000000000000000000000000000000000000000000000000060448201526064016109a7565b60005b838110156120915761208133611863838661320d565b61208a81613225565b905061206b565b5061209c83826131c7565b336000908152600e6020526040902055505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061214457507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061089657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610896565b6002546000906121a590600161320d565b821080156108965750600060026121bd6001856131c7565b815481106121cd576121cd6131de565b6000918252602090912001546001600160a01b0316141592915050565b81600360006121fa6001856131c7565b8152602081019190915260400160002080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03928316179055819083166122498261116f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061228d82612194565b6122ff5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016109a7565b600061230a8361116f565b9050806001600160a01b0316846001600160a01b031614806123455750836001600160a01b031661233a8461092e565b6001600160a01b0316145b80611d185750611d188185611c47565b826001600160a01b03166123688261116f565b6001600160a01b0316146123e45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109a7565b6001600160a01b03821661245f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109a7565b61246a6000826121ea565b8160026124786001846131c7565b81548110612488576124886131de565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60006125058261116f565b90506125126000836121ea565b600060026125216001856131c7565b81548110612531576125316131de565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6126a7848484612355565b6126b38484848461285a565b6119ea5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109a7565b60608160000361276857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612792578061277c81613225565b915061278b9050600a836132c9565b915061276c565b60008167ffffffffffffffff8111156127ad576127ad612cc2565b6040519080825280601f01601f1916602001820160405280156127d7576020820181803683370190505b5090505b8415611d18576127ec6001836131c7565b91506127f9600a866133f3565b61280490603061320d565b60f81b818381518110612819576128196131de565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612853600a866132c9565b94506127db565b60006001600160a01b0384163b15612a0e576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906128b7903390899088908890600401613407565b6020604051808303816000875af1925050508015612910575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261290d91810190613443565b60015b6129c3573d80801561293e576040519150601f19603f3d011682016040523d82523d6000602084013e612943565b606091505b5080516000036129bb5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109a7565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611d18565b506001949350505050565b828054612a2590613145565b90600052602060002090601f016020900481019282612a475760008555612a8d565b82601f10612a6057805160ff1916838001178555612a8d565b82800160010185558215612a8d579182015b82811115612a8d578251825591602001919060010190612a72565b50612a99929150612a9d565b5090565b5b80821115612a995760008155600101612a9e565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ed957600080fd5b600060208284031215612af257600080fd5b813561102c81612ab2565b60005b83811015612b18578181015183820152602001612b00565b838111156119ea5750506000910152565b60008151808452612b41816020860160208601612afd565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061102c6020830184612b29565b600060208284031215612b9857600080fd5b5035919050565b6001600160a01b0381168114610ed957600080fd5b60008060408385031215612bc757600080fd5b8235612bd281612b9f565b946020939093013593505050565b600080600060608486031215612bf557600080fd5b8335612c0081612b9f565b92506020840135612c1081612b9f565b929592945050506040919091013590565b60008083601f840112612c3357600080fd5b50813567ffffffffffffffff811115612c4b57600080fd5b6020830191508360208260051b8501011115612c6657600080fd5b9250929050565b600080600060408486031215612c8257600080fd5b8335612c8d81612b9f565b9250602084013567ffffffffffffffff811115612ca957600080fd5b612cb586828701612c21565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715612d3857612d38612cc2565b604052919050565b600067ffffffffffffffff831115612d5a57612d5a612cc2565b612d8b60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601612cf1565b9050828152838383011115612d9f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612dc857600080fd5b813567ffffffffffffffff811115612ddf57600080fd5b8201601f81018413612df057600080fd5b611d1884823560208401612d40565b600082601f830112612e1057600080fd5b8135602067ffffffffffffffff821115612e2c57612e2c612cc2565b8160051b612e3b828201612cf1565b9283528481018201928281019087851115612e5557600080fd5b83870192505b84831015612e7457823582529183019190830190612e5b565b979650505050505050565b600082601f830112612e9057600080fd5b61102c83833560208501612d40565b60008060008060808587031215612eb557600080fd5b8435612ec081612b9f565b93506020850135612ed081612b9f565b9250604085013567ffffffffffffffff80821115612eed57600080fd5b612ef988838901612dff565b93506060870135915080821115612f0f57600080fd5b50612f1c87828801612e7f565b91505092959194509250565b600060208284031215612f3a57600080fd5b813561102c81612b9f565b6020808252825182820181905260009190848201906040850190845b81811015612f7d57835183529284019291840191600101612f61565b50909695505050505050565b60008060008060408587031215612f9f57600080fd5b843567ffffffffffffffff80821115612fb757600080fd5b612fc388838901612c21565b90965094506020870135915080821115612fdc57600080fd5b50612fe987828801612c21565b95989497509550505050565b6000806040838503121561300857600080fd5b823561301381612b9f565b91506020830135801515811461302857600080fd5b809150509250929050565b6000806000806080858703121561304957600080fd5b843561305481612b9f565b9350602085013561306481612b9f565b925060408501359150606085013567ffffffffffffffff81111561308757600080fd5b612f1c87828801612e7f565b600080604083850312156130a657600080fd5b50508035926020909101359150565b600080604083850312156130c857600080fd5b82356130d381612b9f565b9150602083013561302881612b9f565b6000806000606084860312156130f857600080fd5b833561310381612b9f565b9250602084013561311381612b9f565b9150604084013567ffffffffffffffff81111561312f57600080fd5b61313b86828701612dff565b9150509250925092565b600181811c9082168061315957607f821691505b602082108103613192577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156131d9576131d9613198565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561322057613220613198565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361325657613256613198565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561329557613295613198565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826132d8576132d861329a565b500490565b600081516132ef818560208601612afd565b9290920192915050565b600080845481600182811c91508083168061331557607f831692505b6020808410820361334d577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156133615760018114613390576133bd565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616895284890196506133bd565b60008b81526020902060005b868110156133b55781548b82015290850190830161339c565b505084890196505b5050505050506133cd81856132dd565b95945050505050565b6000602082840312156133e857600080fd5b815161102c81612b9f565b6000826134025761340261329a565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526134396080830184612b29565b9695505050505050565b60006020828403121561345557600080fd5b815161102c81612ab256fea26469706673582212203f329cab1eb608d4c75ca03ef0b49bf2f74f0a984a9f9b539f9fe83756a02d7c64736f6c634300080d003368747470733a2f2f626f756e747973706f7274732e6e66746170692e6172742f6d6574612f
Deployed Bytecode
0x6080604052600436106102e75760003560e01c8063715018a611610184578063c889004b116100d6578063e928ff9f1161008a578063f2fde38b11610064578063f2fde38b146107ed578063f3993d111461080d578063f759867a1461082d57600080fd5b8063e928ff9f1461078d578063e985e9c5146107ad578063ea9d6d29146107cd57600080fd5b8063d26ea6c0116100bb578063d26ea6c014610737578063d5abeb0114610757578063dedf141e1461076d57600080fd5b8063c889004b14610701578063cd7c03261461071757600080fd5b806395d89b4111610138578063a22cb46511610112578063a22cb465146106a1578063b88d4fde146106c1578063c87b56dd146106e157600080fd5b806395d89b411461065957806396ea3a471461066e578063a0712d681461068e57600080fd5b80638462151c116101695780638462151c146105e15780638da5cb5b1461060e5780638f1bca111461062c57600080fd5b8063715018a6146105b65780637501f741146105cb57600080fd5b806342966c681161023d57806351463d5b116101f15780636352211e116101cb5780636352211e146105615780636c0360eb1461058157806370a082311461059657600080fd5b806351463d5b1461050b57806355f804b3146105215780635a4fee301461054157600080fd5b8063484664021161022257806348466402146104ab5780634d44660c146104cb5780634f6ccce7146104eb57600080fd5b806342966c681461046b57806344a0d68a1461048b57600080fd5b806318160ddd1161029f5780633784f000116102795780633784f000146104165780633ccfd60b1461043657806342842e0e1461044b57600080fd5b806318160ddd146103c157806323b872dd146103d65780632f745c59146103f657600080fd5b8063081812fc116102d0578063081812fc14610343578063095ea7b31461037b57806313faede61461039d57600080fd5b806301ffc9a7146102ec57806306fdde0314610321575b600080fd5b3480156102f857600080fd5b5061030c610307366004612ae0565b610840565b60405190151581526020015b60405180910390f35b34801561032d57600080fd5b5061033661089c565b6040516103189190612b73565b34801561034f57600080fd5b5061036361035e366004612b86565b61092e565b6040516001600160a01b039091168152602001610318565b34801561038757600080fd5b5061039b610396366004612bb4565b6109df565b005b3480156103a957600080fd5b506103b360065481565b604051908152602001610318565b3480156103cd57600080fd5b506002546103b3565b3480156103e257600080fd5b5061039b6103f1366004612be0565b610b10565b34801561040257600080fd5b506103b3610411366004612bb4565b610b98565b34801561042257600080fd5b5061039b610431366004612b86565b610d01565b34801561044257600080fd5b5061039b610d60565b34801561045757600080fd5b5061039b610466366004612be0565b610e60565b34801561047757600080fd5b5061039b610486366004612b86565b610e7b565b34801561049757600080fd5b5061039b6104a6366004612b86565b610edc565b3480156104b757600080fd5b5061039b6104c6366004612bb4565b610f3b565b3480156104d757600080fd5b5061030c6104e6366004612c6d565b610fb1565b3480156104f757600080fd5b506103b3610506366004612b86565b611033565b34801561051757600080fd5b506103b3600c5481565b34801561052d57600080fd5b5061039b61053c366004612db6565b6110b8565b34801561054d57600080fd5b5061039b61055c366004612e9f565b611125565b34801561056d57600080fd5b5061036361057c366004612b86565b61116f565b34801561058d57600080fd5b50610336611219565b3480156105a257600080fd5b506103b36105b1366004612f28565b6112a7565b3480156105c257600080fd5b5061039b611388565b3480156105d757600080fd5b506103b360085481565b3480156105ed57600080fd5b506106016105fc366004612f28565b6113ee565b6040516103189190612f45565b34801561061a57600080fd5b506005546001600160a01b0316610363565b34801561063857600080fd5b506103b3610647366004612f28565b600e6020526000908152604090205481565b34801561066557600080fd5b506103366114aa565b34801561067a57600080fd5b5061039b610689366004612f89565b6114b9565b61039b61069c366004612b86565b6116d5565b3480156106ad57600080fd5b5061039b6106bc366004612ff5565b611880565b3480156106cd57600080fd5b5061039b6106dc366004613033565b611962565b3480156106ed57600080fd5b506103366106fc366004612b86565b6119f0565b34801561070d57600080fd5b506103b3600d5481565b34801561072357600080fd5b50600f54610363906001600160a01b031681565b34801561074357600080fd5b5061039b610752366004612f28565b611a79565b34801561076357600080fd5b506103b360075481565b34801561077957600080fd5b5061039b610788366004613093565b611b0d565b34801561079957600080fd5b5061039b6107a8366004612f89565b611b72565b3480156107b957600080fd5b5061030c6107c83660046130b5565b611c47565b3480156107d957600080fd5b5061039b6107e8366004612b86565b611d20565b3480156107f957600080fd5b5061039b610808366004612f28565b611d7f565b34801561081957600080fd5b5061039b6108283660046130e3565b611e5e565b61039b61083b366004612b86565b611ea0565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806108965750610896826120b1565b92915050565b6060600080546108ab90613145565b80601f01602080910402602001604051908101604052809291908181526020018280546108d790613145565b80156109245780601f106108f957610100808354040283529160200191610924565b820191906000526020600020905b81548152906001019060200180831161090757829003601f168201915b5050505050905090565b600061093982612194565b6109b05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b600360006109bf6001856131c7565b81526020810191909152604001600020546001600160a01b031692915050565b60006109ea8261116f565b9050806001600160a01b0316836001600160a01b031603610a735760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109a7565b336001600160a01b0382161480610a8f5750610a8f8133611c47565b610b015760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109a7565b610b0b83836121ea565b505050565b610b1b335b82612282565b610b8d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109a7565b610b0b838383612355565b6000610ba3836112a7565b8210610c175760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016109a7565b6000805b600254811015610c925760028181548110610c3857610c386131de565b6000918252602090912001546001600160a01b0390811690861603610c8057838203610c7257610c6981600161320d565b92505050610896565b81610c7c81613225565b9250505b80610c8a81613225565b915050610c1b565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e647300000000000000000000000000000000000000000060648201526084016109a7565b6005546001600160a01b03163314610d5b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600d55565b6005546001600160a01b03163314610dba5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600a5447906001600160a01b03166108fc6103e8610dd98460c861325d565b610de391906132c9565b6040518115909202916000818181858888f19350505050158015610e0b573d6000803e3d6000fd5b50600b546001600160a01b03166108fc6103e8610e2a8461032061325d565b610e3491906132c9565b6040518115909202916000818181858888f19350505050158015610e5c573d6000803e3d6000fd5b5050565b610b0b83838360405180602001604052806000815250611962565b610e8433610b15565b610ed05760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e000000000000000000000060448201526064016109a7565b610ed9816124fa565b50565b6005546001600160a01b03163314610f365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600655565b6005546001600160a01b03163314610f955760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b6001600160a01b039091166000908152600e6020526040902055565b6000805b8281101561102657846001600160a01b03166002858584818110610fdb57610fdb6131de565b9050602002013581548110610ff257610ff26131de565b6000918252602090912001546001600160a01b03161461101657600091505061102c565b61101f81613225565b9050610fb5565b50600190505b9392505050565b60025460009082106110ad5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e6473000000000000000000000000000000000000000060648201526084016109a7565b61089682600161320d565b6005546001600160a01b031633146111125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b8051610e5c906009906020840190612a19565b60005b8251811015611168576111568585858481518110611148576111486131de565b602002602001015185611962565b8061116081613225565b915050611128565b5050505050565b600080600261117f6001856131c7565b8154811061118f5761118f6131de565b6000918252602090912001546001600160a01b03169050806108965760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109a7565b6009805461122690613145565b80601f016020809104026020016040519081016040528092919081815260200182805461125290613145565b801561129f5780601f106112745761010080835404028352916020019161129f565b820191906000526020600020905b81548152906001019060200180831161128257829003601f168201915b505050505081565b60006001600160a01b0382166113255760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109a7565b6000805b6002548110156113815760028181548110611346576113466131de565b6000918252602090912001546001600160a01b03908116908516036113715761136e82613225565b91505b61137a81613225565b9050611329565b5092915050565b6005546001600160a01b031633146113e25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b6113ec600061259e565b565b606060006113fb836112a7565b90508060000361141f5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561143a5761143a612cc2565b604051908082528060200260200182016040528015611463578160200160208202803683370190505b50905060005b828110156114175761147b8582610b98565b82828151811061148d5761148d6131de565b6020908102919091010152806114a281613225565b915050611469565b6060600180546108ab90613145565b6005546001600160a01b031633146115135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b8281146115885760405162461bcd60e51b815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e7460448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016109a7565b600254600090815b858110156115ce578686828181106115aa576115aa6131de565b90506020020135836115bc919061320d565b92506115c781613225565b9050611590565b506007546115dc838361320d565b6115e790600161320d565b11156116355760405162461bcd60e51b815260206004820152600160248201527f300000000000000000000000000000000000000000000000000000000000000060448201526064016109a7565b60005b838110156116cc5760005b878783818110611655576116556131de565b905060200201358110156116bb5761169d868684818110611678576116786131de565b905060200201602081019061168d9190612f28565b61169885600161320d565b612608565b826116a781613225565b935050806116b490613225565b9050611643565b506116c581613225565b9050611638565b50505050505050565b6008546116e390600161320d565b81106117315760405162461bcd60e51b815260206004820152600860248201527f546f6f206d616e7900000000000000000000000000000000000000000000000060448201526064016109a7565b42600c5411156117855760405162461bcd60e51b81526004016109a79060208082526004908201527f4441544500000000000000000000000000000000000000000000000000000000604082015260600190565b60025460075461179690600161320d565b6117a0838361320d565b106117ed5760405162461bcd60e51b815260206004820152600560248201527f536f72727900000000000000000000000000000000000000000000000000000060448201526064016109a7565b816006546117fb919061325d565b34101561184a5760405162461bcd60e51b815260206004820152600760248201527f4c6f77204554480000000000000000000000000000000000000000000000000060448201526064016109a7565b60005b82811015610b0b5761186e33611863838561320d565b61169890600161320d565b8061187881613225565b91505061184d565b336001600160a01b038316036118d85760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109a7565b3360008181526004602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61196c3383612282565b6119de5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109a7565b6119ea8484848461269c565b50505050565b60606119fb82612194565b611a475760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e000000000000000000000060448201526064016109a7565b6009611a5283612725565b604051602001611a639291906132f9565b6040516020818303038152906040529050919050565b6005546001600160a01b03163314611ad35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600f80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611b675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600c91909155600d55565b6005546001600160a01b03163314611bcc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b60005b8381101561116857828282818110611be957611be96131de565b90506020020135600e6000878785818110611c0657611c066131de565b9050602002016020810190611c1b9190612f28565b6001600160a01b0316815260208101919091526040016000205580611c3f81613225565b915050611bcf565b600f546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611cb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd691906133d6565b6001600160a01b031603611cee576001915050610896565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611d7a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b600c55565b6005546001600160a01b03163314611dd95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a7565b6001600160a01b038116611e555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109a7565b610ed98161259e565b60005b81518110156119ea57611e8e8484848481518110611e8157611e816131de565b6020026020010151610b10565b80611e9881613225565b915050611e61565b60008111611ef25760405162461bcd60e51b81526004016109a79060208082526004908201527f4475682100000000000000000000000000000000000000000000000000000000604082015260600190565b42600d541115611f465760405162461bcd60e51b81526004016109a79060208082526004908201527f4441544500000000000000000000000000000000000000000000000000000000604082015260600190565b600254600754611f5790600161320d565b611f61838361320d565b10611fae5760405162461bcd60e51b815260206004820152600560248201527f536f72727900000000000000000000000000000000000000000000000000000060448201526064016109a7565b336000908152600e60205260409020548061200b5760405162461bcd60e51b815260206004820152600b60248201527f4c6f77207265736572766500000000000000000000000000000000000000000060448201526064016109a7565b82600654612019919061325d565b3410156120685760405162461bcd60e51b815260206004820152600760248201527f4c6f77204554480000000000000000000000000000000000000000000000000060448201526064016109a7565b60005b838110156120915761208133611863838661320d565b61208a81613225565b905061206b565b5061209c83826131c7565b336000908152600e6020526040902055505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061214457507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061089657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610896565b6002546000906121a590600161320d565b821080156108965750600060026121bd6001856131c7565b815481106121cd576121cd6131de565b6000918252602090912001546001600160a01b0316141592915050565b81600360006121fa6001856131c7565b8152602081019190915260400160002080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03928316179055819083166122498261116f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061228d82612194565b6122ff5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016109a7565b600061230a8361116f565b9050806001600160a01b0316846001600160a01b031614806123455750836001600160a01b031661233a8461092e565b6001600160a01b0316145b80611d185750611d188185611c47565b826001600160a01b03166123688261116f565b6001600160a01b0316146123e45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109a7565b6001600160a01b03821661245f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109a7565b61246a6000826121ea565b8160026124786001846131c7565b81548110612488576124886131de565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60006125058261116f565b90506125126000836121ea565b600060026125216001856131c7565b81548110612531576125316131de565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6126a7848484612355565b6126b38484848461285a565b6119ea5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109a7565b60608160000361276857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612792578061277c81613225565b915061278b9050600a836132c9565b915061276c565b60008167ffffffffffffffff8111156127ad576127ad612cc2565b6040519080825280601f01601f1916602001820160405280156127d7576020820181803683370190505b5090505b8415611d18576127ec6001836131c7565b91506127f9600a866133f3565b61280490603061320d565b60f81b818381518110612819576128196131de565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612853600a866132c9565b94506127db565b60006001600160a01b0384163b15612a0e576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906128b7903390899088908890600401613407565b6020604051808303816000875af1925050508015612910575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261290d91810190613443565b60015b6129c3573d80801561293e576040519150601f19603f3d011682016040523d82523d6000602084013e612943565b606091505b5080516000036129bb5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109a7565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611d18565b506001949350505050565b828054612a2590613145565b90600052602060002090601f016020900481019282612a475760008555612a8d565b82601f10612a6057805160ff1916838001178555612a8d565b82800160010185558215612a8d579182015b82811115612a8d578251825591602001919060010190612a72565b50612a99929150612a9d565b5090565b5b80821115612a995760008155600101612a9e565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610ed957600080fd5b600060208284031215612af257600080fd5b813561102c81612ab2565b60005b83811015612b18578181015183820152602001612b00565b838111156119ea5750506000910152565b60008151808452612b41816020860160208601612afd565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061102c6020830184612b29565b600060208284031215612b9857600080fd5b5035919050565b6001600160a01b0381168114610ed957600080fd5b60008060408385031215612bc757600080fd5b8235612bd281612b9f565b946020939093013593505050565b600080600060608486031215612bf557600080fd5b8335612c0081612b9f565b92506020840135612c1081612b9f565b929592945050506040919091013590565b60008083601f840112612c3357600080fd5b50813567ffffffffffffffff811115612c4b57600080fd5b6020830191508360208260051b8501011115612c6657600080fd5b9250929050565b600080600060408486031215612c8257600080fd5b8335612c8d81612b9f565b9250602084013567ffffffffffffffff811115612ca957600080fd5b612cb586828701612c21565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715612d3857612d38612cc2565b604052919050565b600067ffffffffffffffff831115612d5a57612d5a612cc2565b612d8b60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601612cf1565b9050828152838383011115612d9f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612dc857600080fd5b813567ffffffffffffffff811115612ddf57600080fd5b8201601f81018413612df057600080fd5b611d1884823560208401612d40565b600082601f830112612e1057600080fd5b8135602067ffffffffffffffff821115612e2c57612e2c612cc2565b8160051b612e3b828201612cf1565b9283528481018201928281019087851115612e5557600080fd5b83870192505b84831015612e7457823582529183019190830190612e5b565b979650505050505050565b600082601f830112612e9057600080fd5b61102c83833560208501612d40565b60008060008060808587031215612eb557600080fd5b8435612ec081612b9f565b93506020850135612ed081612b9f565b9250604085013567ffffffffffffffff80821115612eed57600080fd5b612ef988838901612dff565b93506060870135915080821115612f0f57600080fd5b50612f1c87828801612e7f565b91505092959194509250565b600060208284031215612f3a57600080fd5b813561102c81612b9f565b6020808252825182820181905260009190848201906040850190845b81811015612f7d57835183529284019291840191600101612f61565b50909695505050505050565b60008060008060408587031215612f9f57600080fd5b843567ffffffffffffffff80821115612fb757600080fd5b612fc388838901612c21565b90965094506020870135915080821115612fdc57600080fd5b50612fe987828801612c21565b95989497509550505050565b6000806040838503121561300857600080fd5b823561301381612b9f565b91506020830135801515811461302857600080fd5b809150509250929050565b6000806000806080858703121561304957600080fd5b843561305481612b9f565b9350602085013561306481612b9f565b925060408501359150606085013567ffffffffffffffff81111561308757600080fd5b612f1c87828801612e7f565b600080604083850312156130a657600080fd5b50508035926020909101359150565b600080604083850312156130c857600080fd5b82356130d381612b9f565b9150602083013561302881612b9f565b6000806000606084860312156130f857600080fd5b833561310381612b9f565b9250602084013561311381612b9f565b9150604084013567ffffffffffffffff81111561312f57600080fd5b61313b86828701612dff565b9150509250925092565b600181811c9082168061315957607f821691505b602082108103613192577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156131d9576131d9613198565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000821982111561322057613220613198565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361325657613256613198565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561329557613295613198565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000826132d8576132d861329a565b500490565b600081516132ef818560208601612afd565b9290920192915050565b600080845481600182811c91508083168061331557607f831692505b6020808410820361334d577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156133615760018114613390576133bd565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff008616895284890196506133bd565b60008b81526020902060005b868110156133b55781548b82015290850190830161339c565b505084890196505b5050505050506133cd81856132dd565b95945050505050565b6000602082840312156133e857600080fd5b815161102c81612b9f565b6000826134025761340261329a565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526134396080830184612b29565b9695505050505050565b60006020828403121561345557600080fd5b815161102c81612ab256fea26469706673582212203f329cab1eb608d4c75ca03ef0b49bf2f74f0a984a9f9b539f9fe83756a02d7c64736f6c634300080d0033
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.