NFT
Overview
TokenID
3116
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PixelBuns
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import './ERC/ERC721EnumerableB.sol'; import "./ERC/Ownable.sol"; import "./ERC/Strings.sol"; //Join the RareBunniClub 5500k RareBunnies! //FREE MINT PIXELBUNS born with $CARROTS //Web rarebunniclub.com //Twitter @rarebunniclub //Linktree https://linktr.ee/RareBunniClub interface IRBCUtility { function burn(address _from, uint256 _amount) external; } contract PixelBuns is ERC721EnumerableB, Ownable { using Strings for uint256; uint16 MAX_SUPPLY = 10000; uint256 nextPixelBun; uint256 public tokensBurnt; uint16 basePrice; uint16 superPrice; uint16 levelUpPrice; uint16 reRollPrice; uint16 reNamePrice; struct TokenData { uint8 Trait_Shirt; uint8 Trait_Face; uint8 Trait_Hat; uint8 Level; uint256 birthDay; } struct NameData { string Name; string Bio; } struct pixelBunData { uint8 faceTraits; uint8 hatTraits; uint8 shirtTraits; } mapping (uint256 => TokenData) public allTokenData; mapping (uint256 => NameData) public allNameData; mapping (uint256 => uint8) public activeRewards; mapping (uint256 => uint8) public passiveRewards; pixelBunData public pixData; bool usingMeta; uint256 price; address UtilityAddress; string baseTokenURI; constructor(address _UtilityAddress, string memory _baseURI) ERC721B("PXLBUN", "PXLBUN") //init with Utility Contract address { basePrice = 850; superPrice = 1199; levelUpPrice = 125; reRollPrice = 175; reNamePrice = 200; pixData = pixelBunData(44, 43, 54); UtilityAddress = _UtilityAddress; baseTokenURI = _baseURI; } function levelUp(uint256 _tokenId, uint8 _levels) external { require(ownerOf(_tokenId) == msg.sender, "You Dont Own This Token"); require(allTokenData[_tokenId].Level + _levels < 11, "Exceeding Max Level"); IRBCUtility(UtilityAddress).burn(msg.sender, _levels * levelUpPrice); allTokenData[_tokenId].Level += _levels; } function reRoll(uint256 _tokenId) external { require(ownerOf(_tokenId) == msg.sender, "You Dont Own This Token"); pixelBunData memory pData = pixData; TokenData storage currentToken = allTokenData[_tokenId]; IRBCUtility(UtilityAddress).burn(msg.sender, reRollPrice); //Basic Randocalrisian uint256 rando = uint256(keccak256(abi.encodePacked(block.timestamp, msg.sender, _tokenId))); currentToken.Trait_Shirt = uint8(rando % pData.shirtTraits); currentToken.Trait_Hat = uint8(rando % pData.hatTraits); currentToken.Trait_Face = uint8(rando % pData.faceTraits); } function setNameAndBio(uint256 _tokenId, string calldata _name, string calldata _bio) external { require(ownerOf(_tokenId) == msg.sender, "You Dont Own This Token"); require(validateName(_name), "BAD NAME"); NameData storage currentToken = allNameData[_tokenId]; IRBCUtility(UtilityAddress).burn(msg.sender, reNamePrice); currentToken.Name = _name; currentToken.Bio = _bio; } //Credit to the Kongz function validateName(string memory str) private pure returns (bool) { bytes memory b = bytes(str); if(b.length < 1) return false; if(b.length > 25) return false; // Cannot be longer than 25 characters if(b[0] == 0x20) return false; // Leading space if (b[b.length - 1] == 0x20) return false; // Trailing space bytes1 lastChar = b[0]; for(uint i; i<b.length; i++){ bytes1 char = b[i]; if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces if( !(char >= 0x30 && char <= 0x39) && //9-0 !(char >= 0x41 && char <= 0x5A) && //A-Z !(char >= 0x61 && char <= 0x7A) && //a-z !(char == 0x20) //space ) return false; lastChar = char; } return true; } function doMint(address _to, uint256 _amount, bool _superMint) private { uint256 current = nextPixelBun; require( current + _amount <= MAX_SUPPLY, "SORRY MAX MINTED" ); for(uint256 i; i < _amount; i++) { pixelBunData memory pData = pixData; uint256 currentMint = current + i; _safeMint( _to, currentMint); //Basic Randocalrisian uint256 rando = uint256(keccak256(abi.encodePacked(block.timestamp, msg.sender, currentMint))); TokenData memory newToken; newToken.Trait_Shirt = uint8(rando % pData.shirtTraits); newToken.Trait_Hat = uint8(rando % pData.hatTraits); newToken.Trait_Face = uint8(rando % pData.faceTraits); if (_superMint) { newToken.Level = 10 - uint8(rando % 5); } else { newToken.Level = 1 + uint8(rando % 4); } newToken.birthDay = block.timestamp; allTokenData[currentMint] = newToken; } nextPixelBun += _amount; } function mint(uint256 _amount) external { require( _amount <= 10, "CANNOT MINT MORE THAN 10 AT ONCE" ); //Burn will fail transaction if not enough Carrots IRBCUtility(UtilityAddress).burn(msg.sender, _amount * basePrice); doMint(msg.sender, _amount, false); } function superMint(uint256 _amount) external { require( _amount <= 10, "CANNOT MINT MORE THAN 10 AT ONCE" ); //Burn will fail transaction if not enough Carrots IRBCUtility(UtilityAddress).burn(msg.sender, _amount * superPrice); //Super Price doMint(msg.sender, _amount, true); } function paidMint(uint256 _amount) external payable { require(price > 10, "Paid Mints Not Available"); require( _amount <= 10, "CANNOT MINT MORE THAN 10 AT ONCE" ); require(msg.value == price * _amount, "Wrong amount of ETH sent"); doMint(msg.sender, _amount, false); } ////////APPROVED OR OWNER function burn(uint256 _tokenId) external { require(_isApprovedOrOwner(msg.sender, _tokenId)); tokensBurnt++; delete allTokenData[_tokenId]; delete allNameData[_tokenId]; _burn(_tokenId); } ////////ONLY OWNER BELOW SOZ function setUtilityAddress(address _UtilityAddress) external onlyOwner { UtilityAddress = _UtilityAddress; } function setTraitCounts(uint8 _shirt, uint8 _hat, uint8 _face) external onlyOwner { pixData.shirtTraits = _shirt; pixData.hatTraits = _hat; pixData.faceTraits = _face; } // Free Bunnies! function giveAway(address _to, uint256 _amount, bool _superMint) external onlyOwner() { doMint(_to, _amount, _superMint); } // Set new baseURI function setBaseURI(string memory _baseURIVar, bool _usingMeta) external onlyOwner { baseTokenURI = _baseURIVar; usingMeta = _usingMeta; } function updatePrices(uint16 _base, uint16 _super, uint16 _levelUp, uint16 _reRoll, uint16 _rename) external onlyOwner { basePrice = _base; superPrice = _super; levelUpPrice = _levelUp; reRollPrice = _reRoll; reNamePrice = _rename; } function updatePaid(uint256 _price) external onlyOwner { price = _price; } function withDraw() public payable onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } //For Naughties function deleteNameAndBio(uint256 _tokenId) external onlyOwner { delete allNameData[_tokenId]; } function setActiveRewards(uint256[] memory _level, uint8[] memory _amount) external onlyOwner { uint256 length = _level.length; for(uint256 i; i < length; i++) { activeRewards[_level[i]] = _amount[i]; } delete length; } function setPassiveRewards(uint256[] memory _level, uint8[] memory _amount) external onlyOwner { uint256 length = _level.length; for(uint256 i; i < length; i++) { passiveRewards[_level[i]] = _amount[i]; } delete length; } /////////////////VIEWING function getBonus(uint256 _tokenId) external view returns (uint16 _bonus) { return activeRewards[allTokenData[_tokenId].Level]; } function getPassiveBonus(uint256 _tokenId) external view returns (uint16 _bonus) { return passiveRewards[allTokenData[_tokenId].Level]; } function getTokenData(uint256 _tokenId) external view returns (TokenData memory _tokenData) { return allTokenData[_tokenId]; } function getNameData(uint256 _tokenId) external view returns (NameData memory _nameData) { return allNameData[_tokenId]; } function getTokenLevel(uint256 _tokenId) external view returns (uint16 _level) { return allTokenData[_tokenId].Level; } function tokensOfOwner(address addr) external view returns(uint256[] memory) { uint256 tokenCount = balanceOf(addr); uint256[] memory tokensId = new uint256[](tokenCount); for(uint256 i; i < tokenCount; i++){ tokensId[i] = tokenOfOwnerByIndex(addr, i); } return tokensId; } function getAPIMetaData(uint256 _tokenId) internal view returns (string memory) { return string(abi.encodePacked( '&Level=', uint256(allTokenData[_tokenId].Level).toString(), '&Shirt=', uint256(allTokenData[_tokenId].Trait_Shirt).toString(), '&Face=', uint256(allTokenData[_tokenId].Trait_Face).toString(), '&Hat=', uint256(allTokenData[_tokenId].Trait_Hat).toString() )); } function getTokenMeta(uint256 _tokenId) internal view returns (string memory) { return string(abi.encodePacked( 'T', _tokenId.toString(), '_L', uint256(allTokenData[_tokenId].Level).toString(), '_S', uint256(allTokenData[_tokenId].Trait_Shirt).toString(), '_F', uint256(allTokenData[_tokenId].Trait_Face).toString(), '_H', uint256(allTokenData[_tokenId].Trait_Hat).toString() )); } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); if (usingMeta) { return string(abi.encodePacked(baseTokenURI, getTokenMeta(_tokenId), '.meta')); } return string(abi.encodePacked(baseTokenURI, '?Token=', _tokenId.toString(), '&Name=', allNameData[_tokenId].Name, '&Bio=', allNameData[_tokenId].Bio, getAPIMetaData(_tokenId) )); } }
// 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 "./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 "./ERC721B.sol"; import "./IERC721Enumerable.sol"; /************************* * @author: Squeebo * * @license: BSD-3-Clause * **************************/ /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721EnumerableB is ERC721B, IERC721Enumerable { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721B) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require( index < this.balanceOf(owner), "ERC721Enumerable: owner index out of bounds" ); uint256 count; uint256 length = _owners.length; for (uint256 i; i < length; ++i) { if (owner == _owners[i]) { if (count == index) { delete count; delete length; return i; } else ++count; } } delete count; delete length; require(false, "ERC721Enumerable: owner index out of bounds"); } /** * @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; } }
// 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.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: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; import "./ERC165.sol"; import "./IERC721.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./IERC721Receiver.sol"; /************************* * @author: Squeebo * * @license: BSD-3-Clause * **************************/ abstract contract ERC721B is ERC165, IERC721, IERC721Metadata { using Address for address; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address address[] internal _owners; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); uint256 count = 0; uint256 length = _owners.length; for (uint256 i = 0; i < length; ++i) { if (owner == _owners[i]) { ++count; } } delete length; return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721B.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( msg.sender == owner || isApprovedForAll(owner, msg.sender), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != msg.sender, "ERC721: approve to caller"); _operatorApprovals[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, 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(msg.sender, 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(msg.sender, 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 && _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721B.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 = ERC721B.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721B.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721B.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( msg.sender, 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; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 500 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_UtilityAddress","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"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":"uint256","name":"","type":"uint256"}],"name":"activeRewards","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allNameData","outputs":[{"internalType":"string","name":"Name","type":"string"},{"internalType":"string","name":"Bio","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"allTokenData","outputs":[{"internalType":"uint8","name":"Trait_Shirt","type":"uint8"},{"internalType":"uint8","name":"Trait_Face","type":"uint8"},{"internalType":"uint8","name":"Trait_Hat","type":"uint8"},{"internalType":"uint8","name":"Level","type":"uint8"},{"internalType":"uint256","name":"birthDay","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"deleteNameAndBio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getBonus","outputs":[{"internalType":"uint16","name":"_bonus","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getNameData","outputs":[{"components":[{"internalType":"string","name":"Name","type":"string"},{"internalType":"string","name":"Bio","type":"string"}],"internalType":"struct PixelBuns.NameData","name":"_nameData","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getPassiveBonus","outputs":[{"internalType":"uint16","name":"_bonus","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenData","outputs":[{"components":[{"internalType":"uint8","name":"Trait_Shirt","type":"uint8"},{"internalType":"uint8","name":"Trait_Face","type":"uint8"},{"internalType":"uint8","name":"Trait_Hat","type":"uint8"},{"internalType":"uint8","name":"Level","type":"uint8"},{"internalType":"uint256","name":"birthDay","type":"uint256"}],"internalType":"struct PixelBuns.TokenData","name":"_tokenData","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenLevel","outputs":[{"internalType":"uint16","name":"_level","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_superMint","type":"bool"}],"name":"giveAway","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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_levels","type":"uint8"}],"name":"levelUp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"paidMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"passiveRewards","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pixData","outputs":[{"internalType":"uint8","name":"faceTraits","type":"uint8"},{"internalType":"uint8","name":"hatTraits","type":"uint8"},{"internalType":"uint8","name":"shirtTraits","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"reRoll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_level","type":"uint256[]"},{"internalType":"uint8[]","name":"_amount","type":"uint8[]"}],"name":"setActiveRewards","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":"_baseURIVar","type":"string"},{"internalType":"bool","name":"_usingMeta","type":"bool"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_bio","type":"string"}],"name":"setNameAndBio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_level","type":"uint256[]"},{"internalType":"uint8[]","name":"_amount","type":"uint8[]"}],"name":"setPassiveRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_shirt","type":"uint8"},{"internalType":"uint8","name":"_hat","type":"uint8"},{"internalType":"uint8","name":"_face","type":"uint8"}],"name":"setTraitCounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_UtilityAddress","type":"address"}],"name":"setUtilityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"superMint","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":[],"name":"tokensBurnt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","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":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"updatePaid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_base","type":"uint16"},{"internalType":"uint16","name":"_super","type":"uint16"},{"internalType":"uint16","name":"_levelUp","type":"uint16"},{"internalType":"uint16","name":"_reRoll","type":"uint16"},{"internalType":"uint16","name":"_rename","type":"uint16"}],"name":"updatePrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withDraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526005805461ffff60a01b191661027160a41b1790553480156200002657600080fd5b50604051620045423803806200454283398101604081905262000049916200023d565b604080518082018252600680825265282c26212aa760d11b6020808401828152855180870190965292855284015281519192916200008a9160009162000197565b508051620000a090600190602084019062000197565b505050620000bd620000b76200014160201b60201c565b62000145565b600880546001600160501b03191668c800af007d04af035217905560408051606081018252602c8152602b60208083019190915260369190920152600d805462ffffff191662362b2c179055601080546001600160a01b0319166001600160a01b038516179055815162000138916011919084019062000197565b50505062000390565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001a5906200033d565b90600052602060002090601f016020900481019282620001c9576000855562000214565b82601f10620001e457805160ff191683800117855562000214565b8280016001018555821562000214579182015b8281111562000214578251825591602001919060010190620001f7565b506200022292915062000226565b5090565b5b8082111562000222576000815560010162000227565b600080604083850312156200025157600080fd5b82516001600160a01b03811681146200026957600080fd5b602084810151919350906001600160401b03808211156200028957600080fd5b818601915086601f8301126200029e57600080fd5b815181811115620002b357620002b36200037a565b604051601f8201601f19908116603f01168101908382118183101715620002de57620002de6200037a565b816040528281528986848701011115620002f757600080fd5b600093505b828410156200031b5784840186015181850187015292850192620002fc565b828411156200032d5760008684830101525b8096505050505050509250929050565b600181811c908216806200035257607f821691505b602082108114156200037457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6141a280620003a06000396000f3fe6080604052600436106103135760003560e01c8063715018a61161019a578063b09afec1116100e1578063c6ead8af1161008a578063e985e9c511610064578063e985e9c514610a77578063f2fde38b14610ac0578063f41b86c914610ae057600080fd5b8063c6ead8af14610a0a578063c87b56dd14610a20578063d011645c14610a4057600080fd5b8063ba071d7c116100bb578063ba071d7c1461099d578063ba48aac3146109bd578063c37ff62f146109ea57600080fd5b8063b09afec11461086c578063b64b21ca1461095d578063b88d4fde1461097d57600080fd5b806389bad0a611610143578063a0712d681161011d578063a0712d68146107db578063a22cb465146107fb578063afa3b0201461081b57600080fd5b806389bad0a6146107885780638da5cb5b146107a857806395d89b41146107c657600080fd5b80638336e5a2116101745780638336e5a21461071b5780638415c9541461073b5780638462151c1461075b57600080fd5b8063715018a6146106b6578063755b30fa146106cb57806376559160146106fb57600080fd5b80632f745c591161025e5780634e7aa819116102075780636352211e116101e15780636352211e1461066357806365cde7331461068357806370a082311461069657600080fd5b80634e7aa819146105b95780634f6ccce7146105fb57806355eba2421461061b57600080fd5b806342966c681161023857806342966c681461051e5780634aa66b281461053e5780634c754d671461059957600080fd5b80632f745c59146104be578063337edd20146104de57806342842e0e146104fe57600080fd5b80631364368a116102c0578063239482161161029a578063239482161461045057806323b872dd1461047e5780632500168e1461049e57600080fd5b80631364368a146103f157806318160ddd146104115780631fe8aa4c1461043057600080fd5b8063095ea7b3116102f1578063095ea7b3146103a75780630fdb1c10146103c9578063125d49f6146103d157600080fd5b806301ffc9a71461031857806306fdde031461034d578063081812fc1461036f575b600080fd5b34801561032457600080fd5b5061033861033336600461394a565b610b6c565b60405190151581526020015b60405180910390f35b34801561035957600080fd5b50610362610b97565b6040516103449190613ea5565b34801561037b57600080fd5b5061038f61038a366004613a42565b610c29565b6040516001600160a01b039091168152602001610344565b3480156103b357600080fd5b506103c76103c2366004613824565b610cb6565b005b6103c7610dea565b3480156103dd57600080fd5b506103c76103ec366004613aee565b610e65565b3480156103fd57600080fd5b506103c761040c366004613a74565b611011565b34801561041d57600080fd5b506002545b604051908152602001610344565b34801561043c57600080fd5b506103c761044b36600461384e565b61118e565b34801561045c57600080fd5b5061047061046b366004613a42565b6111e1565b604051610344929190613eb8565b34801561048a57600080fd5b506103c7610499366004613742565b61130d565b3480156104aa57600080fd5b506103c76104b93660046139dd565b611388565b3480156104ca57600080fd5b506104226104d9366004613824565b61144e565b3480156104ea57600080fd5b506103c76104f936600461388a565b6115fe565b34801561050a57600080fd5b506103c7610519366004613742565b6116ca565b34801561052a57600080fd5b506103c7610539366004613a42565b6116e5565b34801561054a57600080fd5b50610586610559366004613a42565b60009081526009602090815260408083205460ff630100000090910481168452600b909252909120541690565b60405161ffff9091168152602001610344565b3480156105a557600080fd5b506103c76105b4366004613a42565b61175d565b3480156105c557600080fd5b506105e96105d4366004613a42565b600c6020526000908152604090205460ff1681565b60405160ff9091168152602001610344565b34801561060757600080fd5b50610422610616366004613a42565b6117cc565b34801561062757600080fd5b50610586610636366004613a42565b60009081526009602090815260408083205460ff630100000090910481168452600c909252909120541690565b34801561066f57600080fd5b5061038f61067e366004613a42565b611839565b6103c7610691366004613a42565b6118c5565b3480156106a257600080fd5b506104226106b13660046136ed565b6119d0565b3480156106c257600080fd5b506103c7611aa2565b3480156106d757600080fd5b506105e96106e6366004613a42565b600b6020526000908152604090205460ff1681565b34801561070757600080fd5b506103c7610716366004613a42565b611af6565b34801561072757600080fd5b506103c7610736366004613b11565b611cb4565b34801561074757600080fd5b506103c7610756366004613a42565b611d32565b34801561076757600080fd5b5061077b6107763660046136ed565b611e1b565b6040516103449190613e61565b34801561079457600080fd5b506103c76107a33660046136ed565b611ebd565b3480156107b457600080fd5b506005546001600160a01b031661038f565b3480156107d257600080fd5b50610362611f27565b3480156107e757600080fd5b506103c76107f6366004613a42565b611f36565b34801561080757600080fd5b506103c76108163660046137fa565b612019565b34801561082757600080fd5b50600d546108489060ff808216916101008104821691620100009091041683565b6040805160ff94851681529284166020840152921691810191909152606001610344565b34801561087857600080fd5b5061090f610887366004613a42565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260096020908152604091829020825160a081018452815460ff808216835261010082048116948301949094526201000081048416948201949094526301000000909304909116606083015260010154608082015290565b6040516103449190600060a08201905060ff835116825260ff602084015116602083015260ff604084015116604083015260ff60608401511660608301526080830151608083015292915050565b34801561096957600080fd5b506103c7610978366004613984565b6120de565b34801561098957600080fd5b506103c761099836600461377e565b61214e565b3480156109a957600080fd5b506103c76109b8366004613a42565b6121ca565b3480156109c957600080fd5b506109dd6109d8366004613a42565b612217565b6040516103449190613ee6565b3480156109f657600080fd5b506103c7610a0536600461388a565b61236d565b348015610a1657600080fd5b5061042260075481565b348015610a2c57600080fd5b50610362610a3b366004613a42565b612433565b348015610a4c57600080fd5b50610586610a5b366004613a42565b6000908152600960205260409020546301000000900460ff1690565b348015610a8357600080fd5b50610338610a9236600461370f565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b348015610acc57600080fd5b506103c7610adb3660046136ed565b612527565b348015610aec57600080fd5b50610b37610afb366004613a42565b6009602052600090815260409020805460019091015460ff80831692610100810482169262010000820483169263010000009092049091169085565b6040805160ff96871681529486166020860152928516928401929092529092166060820152608081019190915260a001610344565b60006001600160e01b0319821663780e9d6360e01b1480610b915750610b91826125dd565b92915050565b606060008054610ba690614074565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd290614074565b8015610c1f5780601f10610bf457610100808354040283529160200191610c1f565b820191906000526020600020905b815481529060010190602001808311610c0257829003601f168201915b5050505050905090565b6000610c348261262d565b610c9a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b6000610cc182611839565b9050806001600160a01b0316836001600160a01b03161415610d2f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c91565b336001600160a01b0382161480610d6957506001600160a01b038116600090815260046020908152604080832033845290915290205460ff165b610ddb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c91565b610de58383612677565b505050565b6005546001600160a01b03163314610e325760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b6040514790339082156108fc029083906000818181858888f19350505050158015610e61573d6000803e3d6000fd5b5050565b33610e6f83611839565b6001600160a01b031614610ebf5760405162461bcd60e51b81526020600482015260176024820152762cb7ba902237b73a1027bbb7102a3434b9902a37b5b2b760491b6044820152606401610c91565b600082815260096020526040902054600b90610ee69083906301000000900460ff16613f8c565b60ff1610610f365760405162461bcd60e51b815260206004820152601360248201527f457863656564696e67204d6178204c6576656c000000000000000000000000006044820152606401610c91565b6010546008546001600160a01b0390911690639dc29fac903390610f6990640100000000900461ffff1660ff8616613fc5565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015261ffff166024820152604401600060405180830381600087803b158015610fb357600080fd5b505af1158015610fc7573d6000803e3d6000fd5b50505060008381526009602052604090208054839250600390610ff59084906301000000900460ff16613f8c565b92506101000a81548160ff021916908360ff1602179055505050565b3361101b86611839565b6001600160a01b03161461106b5760405162461bcd60e51b81526020600482015260176024820152762cb7ba902237b73a1027bbb7102a3434b9902a37b5b2b760491b6044820152606401610c91565b6110aa84848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506126e592505050565b6110e15760405162461bcd60e51b8152602060048201526008602482015267424144204e414d4560c01b6044820152606401610c91565b6000858152600a6020526040908190206010546008549251632770a7eb60e21b81523360048201526801000000000000000090930461ffff16602484015290916001600160a01b0390911690639dc29fac90604401600060405180830381600087803b15801561115057600080fd5b505af1158015611164573d6000803e3d6000fd5b50611176925083915087905086613441565b50611185600182018484613441565b50505050505050565b6005546001600160a01b031633146111d65760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b610de58383836128f4565b600a602052600090815260409020805481906111fc90614074565b80601f016020809104026020016040519081016040528092919081815260200182805461122890614074565b80156112755780601f1061124a57610100808354040283529160200191611275565b820191906000526020600020905b81548152906001019060200180831161125857829003601f168201915b50505050509080600101805461128a90614074565b80601f01602080910402602001604051908101604052809291908181526020018280546112b690614074565b80156113035780601f106112d857610100808354040283529160200191611303565b820191906000526020600020905b8154815290600101906020018083116112e657829003601f168201915b5050505050905082565b6113173382612b5b565b61137d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c91565b610de5838383612c45565b6005546001600160a01b031633146113d05760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b6008805461ffff928316680100000000000000000269ffff00000000000000001994841666010000000000000267ffff00000000000019968516640100000000029690961667ffffffff0000000019978516620100000263ffffffff1990931694909816939093171794909416949094179190911716919091179055565b6040516370a0823160e01b81526001600160a01b038316600482015260009030906370a082319060240160206040518083038186803b15801561149057600080fd5b505afa1580156114a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c89190613a5b565b821061152a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c91565b600254600090815b8181101561159a576002818154811061154d5761154d61410a565b6000918252602090912001546001600160a01b038781169116141561158a578483141561157e579250610b91915050565b611587836140af565b92505b611593816140af565b9050611532565b505060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152600091508190608401610c91565b6005546001600160a01b031633146116465760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b815160005b818110156116c4578281815181106116655761166561410a565b6020026020010151600c60008684815181106116835761168361410a565b6020026020010151815260200190815260200160002060006101000a81548160ff021916908360ff16021790555080806116bc906140af565b91505061164b565b50505050565b610de58383836040518060200160405280600081525061214e565b6116ef3382612b5b565b6116f857600080fd5b60078054906000611708836140af565b90915550506000818152600960209081526040808320805463ffffffff19168155600101839055600a90915281209061174182826134c1565b61174f6001830160006134c1565b505061175a81612d9b565b50565b6005546001600160a01b031633146117a55760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b6000818152600a60205260408120906117be82826134c1565b610de56001830160006134c1565b60025460009082106118355760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c91565b5090565b6000806002838154811061184f5761184f61410a565b6000918252602090912001546001600160a01b0316905080610b915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c91565b600a600f54116119175760405162461bcd60e51b815260206004820152601860248201527f50616964204d696e7473204e6f7420417661696c61626c6500000000000000006044820152606401610c91565b600a8111156119685760405162461bcd60e51b815260206004820181905260248201527f43414e4e4f54204d494e54204d4f5245205448414e203130204154204f4e43456044820152606401610c91565b80600f546119769190613fef565b34146119c45760405162461bcd60e51b815260206004820152601860248201527f57726f6e6720616d6f756e74206f66204554482073656e7400000000000000006044820152606401610c91565b61175a338260006128f4565b60006001600160a01b038216611a3b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c91565b600254600090815b81811015611a995760028181548110611a5e57611a5e61410a565b6000918252602090912001546001600160a01b0386811691161415611a8957611a86836140af565b92505b611a92816140af565b9050611a43565b50909392505050565b6005546001600160a01b03163314611aea5760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b611af46000612e1d565b565b33611b0082611839565b6001600160a01b031614611b505760405162461bcd60e51b81526020600482015260176024820152762cb7ba902237b73a1027bbb7102a3434b9902a37b5b2b760491b6044820152606401610c91565b60408051606081018252600d5460ff808216835261010082048116602080850191909152620100009092041682840152600084815260099091528290206010546008549351632770a7eb60e21b8152336004820152660100000000000090940461ffff166024850152919290916001600160a01b031690639dc29fac90604401600060405180830381600087803b158015611bea57600080fd5b505af1158015611bfe573d6000803e3d6000fd5b505060408051426020808301919091523360601b6bffffffffffffffffffffffff19168284015260548083018990528351808403909101815260749092018352815191012090850151909250611c58915060ff16826140ca565b825460ff191660ff9182161783556020840151611c769116826140ca565b825462ff000019166201000060ff928316021783558351611c989116826140ca565b825460ff919091166101000261ff001990911617909155505050565b6005546001600160a01b03163314611cfc5760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b600d805462ffff0019166201000060ff9586160261ff00191617610100938516939093029290921760ff19169216919091179055565b600a811115611d835760405162461bcd60e51b815260206004820181905260248201527f43414e4e4f54204d494e54204d4f5245205448414e203130204154204f4e43456044820152606401610c91565b6010546008546001600160a01b0390911690639dc29fac903390611db19062010000900461ffff1685613fef565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611df757600080fd5b505af1158015611e0b573d6000803e3d6000fd5b5050505061175a338260016128f4565b60606000611e28836119d0565b905060008167ffffffffffffffff811115611e4557611e45614120565b604051908082528060200260200182016040528015611e6e578160200160208202803683370190505b50905060005b82811015611eb557611e86858261144e565b828281518110611e9857611e9861410a565b602090810291909101015280611ead816140af565b915050611e74565b509392505050565b6005546001600160a01b03163314611f055760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b606060018054610ba690614074565b600a811115611f875760405162461bcd60e51b815260206004820181905260248201527f43414e4e4f54204d494e54204d4f5245205448414e203130204154204f4e43456044820152606401610c91565b6010546008546001600160a01b0390911690639dc29fac903390611faf9061ffff1685613fef565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611ff557600080fd5b505af1158015612009573d6000803e3d6000fd5b5050505061175a338260006128f4565b6001600160a01b0382163314156120725760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c91565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6005546001600160a01b031633146121265760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b81516121399060119060208501906134fb565b50600e805460ff191691151591909117905550565b6121583383612b5b565b6121be5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c91565b6116c484848484612e6f565b6005546001600160a01b031633146122125760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b600f55565b60408051808201909152606080825260208201526000828152600a602052604090819020815180830190925280548290829061225290614074565b80601f016020809104026020016040519081016040528092919081815260200182805461227e90614074565b80156122cb5780601f106122a0576101008083540402835291602001916122cb565b820191906000526020600020905b8154815290600101906020018083116122ae57829003601f168201915b505050505081526020016001820180546122e490614074565b80601f016020809104026020016040519081016040528092919081815260200182805461231090614074565b801561235d5780601f106123325761010080835404028352916020019161235d565b820191906000526020600020905b81548152906001019060200180831161234057829003601f168201915b5050505050815250509050919050565b6005546001600160a01b031633146123b55760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b815160005b818110156116c4578281815181106123d4576123d461410a565b6020026020010151600b60008684815181106123f2576123f261410a565b6020026020010151815260200190815260200160002060006101000a81548160ff021916908360ff160217905550808061242b906140af565b9150506123ba565b606061243e8261262d565b6124b05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c91565b600e5460ff16156124ed5760116124c683612eed565b6040516020016124d7929190613c11565b6040516020818303038152906040529050919050565b60116124f883612f8a565b6000848152600a6020526040902060018101612513866130a0565b6040516020016124d7959493929190613c46565b6005546001600160a01b0316331461256f5760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b6001600160a01b0381166125d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c91565b61175a81612e1d565b60006001600160e01b031982166380ac58cd60e01b148061260e57506001600160e01b03198216635b5e139f60e01b145b80610b9157506301ffc9a760e01b6001600160e01b0319831614610b91565b60025460009082108015610b91575060006001600160a01b03166002838154811061265a5761265a61410a565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906126ac82611839565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000808290506001815110156126fe5750600092915050565b6019815111156127115750600092915050565b806000815181106127245761272461410a565b6020910101516001600160f81b031916600160fd1b14156127485750600092915050565b8060018251612757919061400e565b815181106127675761276761410a565b6020910101516001600160f81b031916600160fd1b141561278b5750600092915050565b6000816000815181106127a0576127a061410a565b01602001516001600160f81b031916905060005b82518110156128e95760008382815181106127d1576127d161410a565b01602001516001600160f81b0319169050600160fd1b811480156128025750600160fd1b6001600160f81b03198416145b156128135750600095945050505050565b600360fc1b6001600160f81b031982161080159061283f5750603960f81b6001600160f81b0319821611155b1580156128755750604160f81b6001600160f81b03198216108015906128735750602d60f91b6001600160f81b0319821611155b155b80156128aa5750606160f81b6001600160f81b03198216108015906128a85750603d60f91b6001600160f81b0319821611155b155b80156128c45750600160fd1b6001600160f81b0319821614155b156128d55750600095945050505050565b9150806128e1816140af565b9150506127b4565b506001949350505050565b600654600554600160a01b900461ffff1661290f8483613f74565b111561295d5760405162461bcd60e51b815260206004820152601060248201527f534f525259204d4158204d494e544544000000000000000000000000000000006044820152606401610c91565b60005b83811015612b3d5760408051606081018252600d5460ff808216835261010082048116602084015262010000909104169181019190915260006129a38385613f74565b90506129af8782613134565b604080514260208201526bffffffffffffffffffffffff193360601b16918101919091526054810182905260009060740160408051601f19818403018152828252805160209182012060a084018352600080855291840182905291830181905260608301819052608083015291506040840151612a2f9060ff16836140ca565b60ff90811682526020850151612a469116836140ca565b60ff90811660408301528451612a5d9116836140ca565b60ff1660208201528615612a8e57612a766005836140ca565b612a8190600a614025565b60ff166060820152612aad565b612a996004836140ca565b612aa4906001613f8c565b60ff1660608201525b426080820190815260009384526009602090815260409485902083518154928501519685015160609095015160ff90811663010000000263ff0000001996821662010000029690961663ffff0000199882166101000261ffff1990951691909216179290921795909516179190911783555160019092019190915550819050612b35816140af565b915050612960565b508260066000828254612b509190613f74565b909155505050505050565b6000612b668261262d565b612bc75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c91565b6000612bd283611839565b9050806001600160a01b0316846001600160a01b03161480612c0d5750836001600160a01b0316612c0284610c29565b6001600160a01b0316145b80612c3d57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612c5882611839565b6001600160a01b031614612cc05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c91565b6001600160a01b038216612d225760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c91565b612d2d600082612677565b8160028281548110612d4157612d4161410a565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000612da682611839565b9050612db3600083612677565b600060028381548110612dc857612dc861410a565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612e7a848484612c45565b612e868484848461314e565b6116c45760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c91565b6060612ef882612f8a565b600083815260096020526040902054612f1a906301000000900460ff16612f8a565b600084815260096020526040902054612f359060ff16612f8a565b600085815260096020526040902054612f5590610100900460ff16612f8a565b600086815260096020526040902054612f769062010000900460ff16612f8a565b6040516020016124d7959493929190613ccb565b606081612fae5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612fd85780612fc2816140af565b9150612fd19050600a83613fb1565b9150612fb2565b60008167ffffffffffffffff811115612ff357612ff3614120565b6040519080825280601f01601f19166020018201604052801561301d576020820181803683370190505b5090505b8415612c3d5761303260018361400e565b915061303f600a866140ca565b61304a906030613f74565b60f81b81838151811061305f5761305f61410a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613099600a86613fb1565b9450613021565b6000818152600960205260409020546060906130c5906301000000900460ff16612f8a565b6000838152600960205260409020546130e09060ff16612f8a565b60008481526009602052604090205461310090610100900460ff16612f8a565b6000858152600960205260409020546131219062010000900460ff16612f8a565b6040516020016124d79493929190613d81565b610e6182826040518060200160405280600081525061329b565b60006001600160a01b0384163b156128e957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613192903390899088908890600401613e25565b602060405180830381600087803b1580156131ac57600080fd5b505af19250505080156131dc575060408051601f3d908101601f191682019092526131d991810190613967565b60015b613281573d80801561320a576040519150601f19603f3d011682016040523d82523d6000602084013e61320f565b606091505b5080516132795760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c91565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612c3d565b6132a58383613319565b6132b2600084848461314e565b610de55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c91565b6001600160a01b03821661336f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c91565b6133788161262d565b156133c55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c91565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461344d90614074565b90600052602060002090601f01602090048101928261346f57600085556134b5565b82601f106134885782800160ff198235161785556134b5565b828001600101855582156134b5579182015b828111156134b557823582559160200191906001019061349a565b5061183592915061356f565b5080546134cd90614074565b6000825580601f106134dd575050565b601f01602090049060005260206000209081019061175a919061356f565b82805461350790614074565b90600052602060002090601f01602090048101928261352957600085556134b5565b82601f1061354257805160ff19168380011785556134b5565b828001600101855582156134b5579182015b828111156134b5578251825591602001919060010190613554565b5b808211156118355760008155600101613570565b600067ffffffffffffffff83111561359e5761359e614120565b6135b1601f8401601f1916602001613f1f565b90508281528383830111156135c557600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146135f357600080fd5b919050565b600082601f83011261360957600080fd5b8135602061361e61361983613f50565b613f1f565b80838252828201915082860187848660051b890101111561363e57600080fd5b60005b8581101561366457613652826136dc565b84529284019290840190600101613641565b5090979650505050505050565b803580151581146135f357600080fd5b60008083601f84011261369357600080fd5b50813567ffffffffffffffff8111156136ab57600080fd5b6020830191508360208285010111156136c357600080fd5b9250929050565b803561ffff811681146135f357600080fd5b803560ff811681146135f357600080fd5b6000602082840312156136ff57600080fd5b613708826135dc565b9392505050565b6000806040838503121561372257600080fd5b61372b836135dc565b9150613739602084016135dc565b90509250929050565b60008060006060848603121561375757600080fd5b613760846135dc565b925061376e602085016135dc565b9150604084013590509250925092565b6000806000806080858703121561379457600080fd5b61379d856135dc565b93506137ab602086016135dc565b925060408501359150606085013567ffffffffffffffff8111156137ce57600080fd5b8501601f810187136137df57600080fd5b6137ee87823560208401613584565b91505092959194509250565b6000806040838503121561380d57600080fd5b613816836135dc565b915061373960208401613671565b6000806040838503121561383757600080fd5b613840836135dc565b946020939093013593505050565b60008060006060848603121561386357600080fd5b61386c846135dc565b92506020840135915061388160408501613671565b90509250925092565b6000806040838503121561389d57600080fd5b823567ffffffffffffffff808211156138b557600080fd5b818501915085601f8301126138c957600080fd5b813560206138d961361983613f50565b8083825282820191508286018a848660051b89010111156138f957600080fd5b600096505b8487101561391c5780358352600196909601959183019183016138fe565b509650508601359250508082111561393357600080fd5b50613940858286016135f8565b9150509250929050565b60006020828403121561395c57600080fd5b813561370881614136565b60006020828403121561397957600080fd5b815161370881614136565b6000806040838503121561399757600080fd5b823567ffffffffffffffff8111156139ae57600080fd5b8301601f810185136139bf57600080fd5b6139ce85823560208401613584565b92505061373960208401613671565b600080600080600060a086880312156139f557600080fd5b6139fe866136ca565b9450613a0c602087016136ca565b9350613a1a604087016136ca565b9250613a28606087016136ca565b9150613a36608087016136ca565b90509295509295909350565b600060208284031215613a5457600080fd5b5035919050565b600060208284031215613a6d57600080fd5b5051919050565b600080600080600060608688031215613a8c57600080fd5b85359450602086013567ffffffffffffffff80821115613aab57600080fd5b613ab789838a01613681565b90965094506040880135915080821115613ad057600080fd5b50613add88828901613681565b969995985093965092949392505050565b60008060408385031215613b0157600080fd5b82359150613739602084016136dc565b600080600060608486031215613b2657600080fd5b613b2f846136dc565b9250613b3d602085016136dc565b9150613881604085016136dc565b60008151808452613b63816020860160208601614048565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680613b9157607f831692505b6020808410821415613bb357634e487b7160e01b600052602260045260246000fd5b818015613bc75760018114613bd857613c05565b60ff19861689528489019650613c05565b60008881526020902060005b86811015613bfd5781548b820152908501908301613be4565b505084890196505b50505050505092915050565b6000613c1d8285613b77565b8351613c2d818360208801614048565b642e6d65746160d81b9101908152600501949350505050565b6000613c528288613b77565b663f546f6b656e3d60c81b81528651613c72816007840160208b01614048565b65264e616d653d60d01b60079290910191820152613c93600d820187613b77565b9050642642696f3d60d81b8152613cad6005820186613b77565b90508351613cbf818360208801614048565b01979650505050505050565b601560fa1b815260008651613ce7816001850160208b01614048565b6117d360f21b6001918401918201528651613d09816003840160208b01614048565b615f5360f01b600392909101918201528551613d2c816005840160208a01614048565b612fa360f11b600592909101918201528451613d4f816007840160208901614048565b610be960f31b600792909101918201528351613d72816009840160208801614048565b01600901979650505050505050565b66264c6576656c3d60c81b815260008551613da3816007850160208a01614048565b662653686972743d60c81b6007918401918201528551613dca81600e840160208a01614048565b6526466163653d60d01b600e92909101918201528451613df1816014840160208901614048565b64264861743d60d81b601492909101918201528351613e17816019840160208801614048565b016019019695505050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613e576080830184613b4b565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613e9957835183529284019291840191600101613e7d565b50909695505050505050565b6020815260006137086020830184613b4b565b604081526000613ecb6040830185613b4b565b8281036020840152613edd8185613b4b565b95945050505050565b602081526000825160406020840152613f026060840182613b4b565b90506020840151601f19848303016040850152613edd8282613b4b565b604051601f8201601f1916810167ffffffffffffffff81118282101715613f4857613f48614120565b604052919050565b600067ffffffffffffffff821115613f6a57613f6a614120565b5060051b60200190565b60008219821115613f8757613f876140de565b500190565b600060ff821660ff84168060ff03821115613fa957613fa96140de565b019392505050565b600082613fc057613fc06140f4565b500490565b600061ffff80831681851681830481118215151615613fe657613fe66140de565b02949350505050565b6000816000190483118215151615614009576140096140de565b500290565b600082821015614020576140206140de565b500390565b600060ff821660ff84168082101561403f5761403f6140de565b90039392505050565b60005b8381101561406357818101518382015260200161404b565b838111156116c45750506000910152565b600181811c9082168061408857607f821691505b602082108114156140a957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156140c3576140c36140de565b5060010190565b6000826140d9576140d96140f4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461175a57600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220e302a38c36d06b8518a3c4e3892de64a7ccd5e6c5a41fc4d5138a87346a42d8664736f6c63430008070033000000000000000000000000fc7932eff0ead5c96756215111be2e5d34244f3f0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f7261726562756e6e69636c75622e636f6d2f6170692f0000
Deployed Bytecode
0x6080604052600436106103135760003560e01c8063715018a61161019a578063b09afec1116100e1578063c6ead8af1161008a578063e985e9c511610064578063e985e9c514610a77578063f2fde38b14610ac0578063f41b86c914610ae057600080fd5b8063c6ead8af14610a0a578063c87b56dd14610a20578063d011645c14610a4057600080fd5b8063ba071d7c116100bb578063ba071d7c1461099d578063ba48aac3146109bd578063c37ff62f146109ea57600080fd5b8063b09afec11461086c578063b64b21ca1461095d578063b88d4fde1461097d57600080fd5b806389bad0a611610143578063a0712d681161011d578063a0712d68146107db578063a22cb465146107fb578063afa3b0201461081b57600080fd5b806389bad0a6146107885780638da5cb5b146107a857806395d89b41146107c657600080fd5b80638336e5a2116101745780638336e5a21461071b5780638415c9541461073b5780638462151c1461075b57600080fd5b8063715018a6146106b6578063755b30fa146106cb57806376559160146106fb57600080fd5b80632f745c591161025e5780634e7aa819116102075780636352211e116101e15780636352211e1461066357806365cde7331461068357806370a082311461069657600080fd5b80634e7aa819146105b95780634f6ccce7146105fb57806355eba2421461061b57600080fd5b806342966c681161023857806342966c681461051e5780634aa66b281461053e5780634c754d671461059957600080fd5b80632f745c59146104be578063337edd20146104de57806342842e0e146104fe57600080fd5b80631364368a116102c0578063239482161161029a578063239482161461045057806323b872dd1461047e5780632500168e1461049e57600080fd5b80631364368a146103f157806318160ddd146104115780631fe8aa4c1461043057600080fd5b8063095ea7b3116102f1578063095ea7b3146103a75780630fdb1c10146103c9578063125d49f6146103d157600080fd5b806301ffc9a71461031857806306fdde031461034d578063081812fc1461036f575b600080fd5b34801561032457600080fd5b5061033861033336600461394a565b610b6c565b60405190151581526020015b60405180910390f35b34801561035957600080fd5b50610362610b97565b6040516103449190613ea5565b34801561037b57600080fd5b5061038f61038a366004613a42565b610c29565b6040516001600160a01b039091168152602001610344565b3480156103b357600080fd5b506103c76103c2366004613824565b610cb6565b005b6103c7610dea565b3480156103dd57600080fd5b506103c76103ec366004613aee565b610e65565b3480156103fd57600080fd5b506103c761040c366004613a74565b611011565b34801561041d57600080fd5b506002545b604051908152602001610344565b34801561043c57600080fd5b506103c761044b36600461384e565b61118e565b34801561045c57600080fd5b5061047061046b366004613a42565b6111e1565b604051610344929190613eb8565b34801561048a57600080fd5b506103c7610499366004613742565b61130d565b3480156104aa57600080fd5b506103c76104b93660046139dd565b611388565b3480156104ca57600080fd5b506104226104d9366004613824565b61144e565b3480156104ea57600080fd5b506103c76104f936600461388a565b6115fe565b34801561050a57600080fd5b506103c7610519366004613742565b6116ca565b34801561052a57600080fd5b506103c7610539366004613a42565b6116e5565b34801561054a57600080fd5b50610586610559366004613a42565b60009081526009602090815260408083205460ff630100000090910481168452600b909252909120541690565b60405161ffff9091168152602001610344565b3480156105a557600080fd5b506103c76105b4366004613a42565b61175d565b3480156105c557600080fd5b506105e96105d4366004613a42565b600c6020526000908152604090205460ff1681565b60405160ff9091168152602001610344565b34801561060757600080fd5b50610422610616366004613a42565b6117cc565b34801561062757600080fd5b50610586610636366004613a42565b60009081526009602090815260408083205460ff630100000090910481168452600c909252909120541690565b34801561066f57600080fd5b5061038f61067e366004613a42565b611839565b6103c7610691366004613a42565b6118c5565b3480156106a257600080fd5b506104226106b13660046136ed565b6119d0565b3480156106c257600080fd5b506103c7611aa2565b3480156106d757600080fd5b506105e96106e6366004613a42565b600b6020526000908152604090205460ff1681565b34801561070757600080fd5b506103c7610716366004613a42565b611af6565b34801561072757600080fd5b506103c7610736366004613b11565b611cb4565b34801561074757600080fd5b506103c7610756366004613a42565b611d32565b34801561076757600080fd5b5061077b6107763660046136ed565b611e1b565b6040516103449190613e61565b34801561079457600080fd5b506103c76107a33660046136ed565b611ebd565b3480156107b457600080fd5b506005546001600160a01b031661038f565b3480156107d257600080fd5b50610362611f27565b3480156107e757600080fd5b506103c76107f6366004613a42565b611f36565b34801561080757600080fd5b506103c76108163660046137fa565b612019565b34801561082757600080fd5b50600d546108489060ff808216916101008104821691620100009091041683565b6040805160ff94851681529284166020840152921691810191909152606001610344565b34801561087857600080fd5b5061090f610887366004613a42565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260096020908152604091829020825160a081018452815460ff808216835261010082048116948301949094526201000081048416948201949094526301000000909304909116606083015260010154608082015290565b6040516103449190600060a08201905060ff835116825260ff602084015116602083015260ff604084015116604083015260ff60608401511660608301526080830151608083015292915050565b34801561096957600080fd5b506103c7610978366004613984565b6120de565b34801561098957600080fd5b506103c761099836600461377e565b61214e565b3480156109a957600080fd5b506103c76109b8366004613a42565b6121ca565b3480156109c957600080fd5b506109dd6109d8366004613a42565b612217565b6040516103449190613ee6565b3480156109f657600080fd5b506103c7610a0536600461388a565b61236d565b348015610a1657600080fd5b5061042260075481565b348015610a2c57600080fd5b50610362610a3b366004613a42565b612433565b348015610a4c57600080fd5b50610586610a5b366004613a42565b6000908152600960205260409020546301000000900460ff1690565b348015610a8357600080fd5b50610338610a9236600461370f565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b348015610acc57600080fd5b506103c7610adb3660046136ed565b612527565b348015610aec57600080fd5b50610b37610afb366004613a42565b6009602052600090815260409020805460019091015460ff80831692610100810482169262010000820483169263010000009092049091169085565b6040805160ff96871681529486166020860152928516928401929092529092166060820152608081019190915260a001610344565b60006001600160e01b0319821663780e9d6360e01b1480610b915750610b91826125dd565b92915050565b606060008054610ba690614074565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd290614074565b8015610c1f5780601f10610bf457610100808354040283529160200191610c1f565b820191906000526020600020905b815481529060010190602001808311610c0257829003601f168201915b5050505050905090565b6000610c348261262d565b610c9a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b6000610cc182611839565b9050806001600160a01b0316836001600160a01b03161415610d2f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c91565b336001600160a01b0382161480610d6957506001600160a01b038116600090815260046020908152604080832033845290915290205460ff165b610ddb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c91565b610de58383612677565b505050565b6005546001600160a01b03163314610e325760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b6040514790339082156108fc029083906000818181858888f19350505050158015610e61573d6000803e3d6000fd5b5050565b33610e6f83611839565b6001600160a01b031614610ebf5760405162461bcd60e51b81526020600482015260176024820152762cb7ba902237b73a1027bbb7102a3434b9902a37b5b2b760491b6044820152606401610c91565b600082815260096020526040902054600b90610ee69083906301000000900460ff16613f8c565b60ff1610610f365760405162461bcd60e51b815260206004820152601360248201527f457863656564696e67204d6178204c6576656c000000000000000000000000006044820152606401610c91565b6010546008546001600160a01b0390911690639dc29fac903390610f6990640100000000900461ffff1660ff8616613fc5565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015261ffff166024820152604401600060405180830381600087803b158015610fb357600080fd5b505af1158015610fc7573d6000803e3d6000fd5b50505060008381526009602052604090208054839250600390610ff59084906301000000900460ff16613f8c565b92506101000a81548160ff021916908360ff1602179055505050565b3361101b86611839565b6001600160a01b03161461106b5760405162461bcd60e51b81526020600482015260176024820152762cb7ba902237b73a1027bbb7102a3434b9902a37b5b2b760491b6044820152606401610c91565b6110aa84848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506126e592505050565b6110e15760405162461bcd60e51b8152602060048201526008602482015267424144204e414d4560c01b6044820152606401610c91565b6000858152600a6020526040908190206010546008549251632770a7eb60e21b81523360048201526801000000000000000090930461ffff16602484015290916001600160a01b0390911690639dc29fac90604401600060405180830381600087803b15801561115057600080fd5b505af1158015611164573d6000803e3d6000fd5b50611176925083915087905086613441565b50611185600182018484613441565b50505050505050565b6005546001600160a01b031633146111d65760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b610de58383836128f4565b600a602052600090815260409020805481906111fc90614074565b80601f016020809104026020016040519081016040528092919081815260200182805461122890614074565b80156112755780601f1061124a57610100808354040283529160200191611275565b820191906000526020600020905b81548152906001019060200180831161125857829003601f168201915b50505050509080600101805461128a90614074565b80601f01602080910402602001604051908101604052809291908181526020018280546112b690614074565b80156113035780601f106112d857610100808354040283529160200191611303565b820191906000526020600020905b8154815290600101906020018083116112e657829003601f168201915b5050505050905082565b6113173382612b5b565b61137d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c91565b610de5838383612c45565b6005546001600160a01b031633146113d05760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b6008805461ffff928316680100000000000000000269ffff00000000000000001994841666010000000000000267ffff00000000000019968516640100000000029690961667ffffffff0000000019978516620100000263ffffffff1990931694909816939093171794909416949094179190911716919091179055565b6040516370a0823160e01b81526001600160a01b038316600482015260009030906370a082319060240160206040518083038186803b15801561149057600080fd5b505afa1580156114a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c89190613a5b565b821061152a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c91565b600254600090815b8181101561159a576002818154811061154d5761154d61410a565b6000918252602090912001546001600160a01b038781169116141561158a578483141561157e579250610b91915050565b611587836140af565b92505b611593816140af565b9050611532565b505060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152600091508190608401610c91565b6005546001600160a01b031633146116465760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b815160005b818110156116c4578281815181106116655761166561410a565b6020026020010151600c60008684815181106116835761168361410a565b6020026020010151815260200190815260200160002060006101000a81548160ff021916908360ff16021790555080806116bc906140af565b91505061164b565b50505050565b610de58383836040518060200160405280600081525061214e565b6116ef3382612b5b565b6116f857600080fd5b60078054906000611708836140af565b90915550506000818152600960209081526040808320805463ffffffff19168155600101839055600a90915281209061174182826134c1565b61174f6001830160006134c1565b505061175a81612d9b565b50565b6005546001600160a01b031633146117a55760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b6000818152600a60205260408120906117be82826134c1565b610de56001830160006134c1565b60025460009082106118355760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c91565b5090565b6000806002838154811061184f5761184f61410a565b6000918252602090912001546001600160a01b0316905080610b915760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c91565b600a600f54116119175760405162461bcd60e51b815260206004820152601860248201527f50616964204d696e7473204e6f7420417661696c61626c6500000000000000006044820152606401610c91565b600a8111156119685760405162461bcd60e51b815260206004820181905260248201527f43414e4e4f54204d494e54204d4f5245205448414e203130204154204f4e43456044820152606401610c91565b80600f546119769190613fef565b34146119c45760405162461bcd60e51b815260206004820152601860248201527f57726f6e6720616d6f756e74206f66204554482073656e7400000000000000006044820152606401610c91565b61175a338260006128f4565b60006001600160a01b038216611a3b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c91565b600254600090815b81811015611a995760028181548110611a5e57611a5e61410a565b6000918252602090912001546001600160a01b0386811691161415611a8957611a86836140af565b92505b611a92816140af565b9050611a43565b50909392505050565b6005546001600160a01b03163314611aea5760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b611af46000612e1d565b565b33611b0082611839565b6001600160a01b031614611b505760405162461bcd60e51b81526020600482015260176024820152762cb7ba902237b73a1027bbb7102a3434b9902a37b5b2b760491b6044820152606401610c91565b60408051606081018252600d5460ff808216835261010082048116602080850191909152620100009092041682840152600084815260099091528290206010546008549351632770a7eb60e21b8152336004820152660100000000000090940461ffff166024850152919290916001600160a01b031690639dc29fac90604401600060405180830381600087803b158015611bea57600080fd5b505af1158015611bfe573d6000803e3d6000fd5b505060408051426020808301919091523360601b6bffffffffffffffffffffffff19168284015260548083018990528351808403909101815260749092018352815191012090850151909250611c58915060ff16826140ca565b825460ff191660ff9182161783556020840151611c769116826140ca565b825462ff000019166201000060ff928316021783558351611c989116826140ca565b825460ff919091166101000261ff001990911617909155505050565b6005546001600160a01b03163314611cfc5760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b600d805462ffff0019166201000060ff9586160261ff00191617610100938516939093029290921760ff19169216919091179055565b600a811115611d835760405162461bcd60e51b815260206004820181905260248201527f43414e4e4f54204d494e54204d4f5245205448414e203130204154204f4e43456044820152606401610c91565b6010546008546001600160a01b0390911690639dc29fac903390611db19062010000900461ffff1685613fef565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611df757600080fd5b505af1158015611e0b573d6000803e3d6000fd5b5050505061175a338260016128f4565b60606000611e28836119d0565b905060008167ffffffffffffffff811115611e4557611e45614120565b604051908082528060200260200182016040528015611e6e578160200160208202803683370190505b50905060005b82811015611eb557611e86858261144e565b828281518110611e9857611e9861410a565b602090810291909101015280611ead816140af565b915050611e74565b509392505050565b6005546001600160a01b03163314611f055760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b601080546001600160a01b0319166001600160a01b0392909216919091179055565b606060018054610ba690614074565b600a811115611f875760405162461bcd60e51b815260206004820181905260248201527f43414e4e4f54204d494e54204d4f5245205448414e203130204154204f4e43456044820152606401610c91565b6010546008546001600160a01b0390911690639dc29fac903390611faf9061ffff1685613fef565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611ff557600080fd5b505af1158015612009573d6000803e3d6000fd5b5050505061175a338260006128f4565b6001600160a01b0382163314156120725760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c91565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6005546001600160a01b031633146121265760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b81516121399060119060208501906134fb565b50600e805460ff191691151591909117905550565b6121583383612b5b565b6121be5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c91565b6116c484848484612e6f565b6005546001600160a01b031633146122125760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b600f55565b60408051808201909152606080825260208201526000828152600a602052604090819020815180830190925280548290829061225290614074565b80601f016020809104026020016040519081016040528092919081815260200182805461227e90614074565b80156122cb5780601f106122a0576101008083540402835291602001916122cb565b820191906000526020600020905b8154815290600101906020018083116122ae57829003601f168201915b505050505081526020016001820180546122e490614074565b80601f016020809104026020016040519081016040528092919081815260200182805461231090614074565b801561235d5780601f106123325761010080835404028352916020019161235d565b820191906000526020600020905b81548152906001019060200180831161234057829003601f168201915b5050505050815250509050919050565b6005546001600160a01b031633146123b55760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b815160005b818110156116c4578281815181106123d4576123d461410a565b6020026020010151600b60008684815181106123f2576123f261410a565b6020026020010151815260200190815260200160002060006101000a81548160ff021916908360ff160217905550808061242b906140af565b9150506123ba565b606061243e8261262d565b6124b05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c91565b600e5460ff16156124ed5760116124c683612eed565b6040516020016124d7929190613c11565b6040516020818303038152906040529050919050565b60116124f883612f8a565b6000848152600a6020526040902060018101612513866130a0565b6040516020016124d7959493929190613c46565b6005546001600160a01b0316331461256f5760405162461bcd60e51b8152602060048201819052602482015260008051602061414d8339815191526044820152606401610c91565b6001600160a01b0381166125d45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c91565b61175a81612e1d565b60006001600160e01b031982166380ac58cd60e01b148061260e57506001600160e01b03198216635b5e139f60e01b145b80610b9157506301ffc9a760e01b6001600160e01b0319831614610b91565b60025460009082108015610b91575060006001600160a01b03166002838154811061265a5761265a61410a565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906126ac82611839565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000808290506001815110156126fe5750600092915050565b6019815111156127115750600092915050565b806000815181106127245761272461410a565b6020910101516001600160f81b031916600160fd1b14156127485750600092915050565b8060018251612757919061400e565b815181106127675761276761410a565b6020910101516001600160f81b031916600160fd1b141561278b5750600092915050565b6000816000815181106127a0576127a061410a565b01602001516001600160f81b031916905060005b82518110156128e95760008382815181106127d1576127d161410a565b01602001516001600160f81b0319169050600160fd1b811480156128025750600160fd1b6001600160f81b03198416145b156128135750600095945050505050565b600360fc1b6001600160f81b031982161080159061283f5750603960f81b6001600160f81b0319821611155b1580156128755750604160f81b6001600160f81b03198216108015906128735750602d60f91b6001600160f81b0319821611155b155b80156128aa5750606160f81b6001600160f81b03198216108015906128a85750603d60f91b6001600160f81b0319821611155b155b80156128c45750600160fd1b6001600160f81b0319821614155b156128d55750600095945050505050565b9150806128e1816140af565b9150506127b4565b506001949350505050565b600654600554600160a01b900461ffff1661290f8483613f74565b111561295d5760405162461bcd60e51b815260206004820152601060248201527f534f525259204d4158204d494e544544000000000000000000000000000000006044820152606401610c91565b60005b83811015612b3d5760408051606081018252600d5460ff808216835261010082048116602084015262010000909104169181019190915260006129a38385613f74565b90506129af8782613134565b604080514260208201526bffffffffffffffffffffffff193360601b16918101919091526054810182905260009060740160408051601f19818403018152828252805160209182012060a084018352600080855291840182905291830181905260608301819052608083015291506040840151612a2f9060ff16836140ca565b60ff90811682526020850151612a469116836140ca565b60ff90811660408301528451612a5d9116836140ca565b60ff1660208201528615612a8e57612a766005836140ca565b612a8190600a614025565b60ff166060820152612aad565b612a996004836140ca565b612aa4906001613f8c565b60ff1660608201525b426080820190815260009384526009602090815260409485902083518154928501519685015160609095015160ff90811663010000000263ff0000001996821662010000029690961663ffff0000199882166101000261ffff1990951691909216179290921795909516179190911783555160019092019190915550819050612b35816140af565b915050612960565b508260066000828254612b509190613f74565b909155505050505050565b6000612b668261262d565b612bc75760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c91565b6000612bd283611839565b9050806001600160a01b0316846001600160a01b03161480612c0d5750836001600160a01b0316612c0284610c29565b6001600160a01b0316145b80612c3d57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316612c5882611839565b6001600160a01b031614612cc05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c91565b6001600160a01b038216612d225760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c91565b612d2d600082612677565b8160028281548110612d4157612d4161410a565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000612da682611839565b9050612db3600083612677565b600060028381548110612dc857612dc861410a565b6000918252602082200180546001600160a01b0319166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612e7a848484612c45565b612e868484848461314e565b6116c45760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c91565b6060612ef882612f8a565b600083815260096020526040902054612f1a906301000000900460ff16612f8a565b600084815260096020526040902054612f359060ff16612f8a565b600085815260096020526040902054612f5590610100900460ff16612f8a565b600086815260096020526040902054612f769062010000900460ff16612f8a565b6040516020016124d7959493929190613ccb565b606081612fae5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612fd85780612fc2816140af565b9150612fd19050600a83613fb1565b9150612fb2565b60008167ffffffffffffffff811115612ff357612ff3614120565b6040519080825280601f01601f19166020018201604052801561301d576020820181803683370190505b5090505b8415612c3d5761303260018361400e565b915061303f600a866140ca565b61304a906030613f74565b60f81b81838151811061305f5761305f61410a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613099600a86613fb1565b9450613021565b6000818152600960205260409020546060906130c5906301000000900460ff16612f8a565b6000838152600960205260409020546130e09060ff16612f8a565b60008481526009602052604090205461310090610100900460ff16612f8a565b6000858152600960205260409020546131219062010000900460ff16612f8a565b6040516020016124d79493929190613d81565b610e6182826040518060200160405280600081525061329b565b60006001600160a01b0384163b156128e957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613192903390899088908890600401613e25565b602060405180830381600087803b1580156131ac57600080fd5b505af19250505080156131dc575060408051601f3d908101601f191682019092526131d991810190613967565b60015b613281573d80801561320a576040519150601f19603f3d011682016040523d82523d6000602084013e61320f565b606091505b5080516132795760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c91565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612c3d565b6132a58383613319565b6132b2600084848461314e565b610de55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c91565b6001600160a01b03821661336f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c91565b6133788161262d565b156133c55760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c91565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461344d90614074565b90600052602060002090601f01602090048101928261346f57600085556134b5565b82601f106134885782800160ff198235161785556134b5565b828001600101855582156134b5579182015b828111156134b557823582559160200191906001019061349a565b5061183592915061356f565b5080546134cd90614074565b6000825580601f106134dd575050565b601f01602090049060005260206000209081019061175a919061356f565b82805461350790614074565b90600052602060002090601f01602090048101928261352957600085556134b5565b82601f1061354257805160ff19168380011785556134b5565b828001600101855582156134b5579182015b828111156134b5578251825591602001919060010190613554565b5b808211156118355760008155600101613570565b600067ffffffffffffffff83111561359e5761359e614120565b6135b1601f8401601f1916602001613f1f565b90508281528383830111156135c557600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146135f357600080fd5b919050565b600082601f83011261360957600080fd5b8135602061361e61361983613f50565b613f1f565b80838252828201915082860187848660051b890101111561363e57600080fd5b60005b8581101561366457613652826136dc565b84529284019290840190600101613641565b5090979650505050505050565b803580151581146135f357600080fd5b60008083601f84011261369357600080fd5b50813567ffffffffffffffff8111156136ab57600080fd5b6020830191508360208285010111156136c357600080fd5b9250929050565b803561ffff811681146135f357600080fd5b803560ff811681146135f357600080fd5b6000602082840312156136ff57600080fd5b613708826135dc565b9392505050565b6000806040838503121561372257600080fd5b61372b836135dc565b9150613739602084016135dc565b90509250929050565b60008060006060848603121561375757600080fd5b613760846135dc565b925061376e602085016135dc565b9150604084013590509250925092565b6000806000806080858703121561379457600080fd5b61379d856135dc565b93506137ab602086016135dc565b925060408501359150606085013567ffffffffffffffff8111156137ce57600080fd5b8501601f810187136137df57600080fd5b6137ee87823560208401613584565b91505092959194509250565b6000806040838503121561380d57600080fd5b613816836135dc565b915061373960208401613671565b6000806040838503121561383757600080fd5b613840836135dc565b946020939093013593505050565b60008060006060848603121561386357600080fd5b61386c846135dc565b92506020840135915061388160408501613671565b90509250925092565b6000806040838503121561389d57600080fd5b823567ffffffffffffffff808211156138b557600080fd5b818501915085601f8301126138c957600080fd5b813560206138d961361983613f50565b8083825282820191508286018a848660051b89010111156138f957600080fd5b600096505b8487101561391c5780358352600196909601959183019183016138fe565b509650508601359250508082111561393357600080fd5b50613940858286016135f8565b9150509250929050565b60006020828403121561395c57600080fd5b813561370881614136565b60006020828403121561397957600080fd5b815161370881614136565b6000806040838503121561399757600080fd5b823567ffffffffffffffff8111156139ae57600080fd5b8301601f810185136139bf57600080fd5b6139ce85823560208401613584565b92505061373960208401613671565b600080600080600060a086880312156139f557600080fd5b6139fe866136ca565b9450613a0c602087016136ca565b9350613a1a604087016136ca565b9250613a28606087016136ca565b9150613a36608087016136ca565b90509295509295909350565b600060208284031215613a5457600080fd5b5035919050565b600060208284031215613a6d57600080fd5b5051919050565b600080600080600060608688031215613a8c57600080fd5b85359450602086013567ffffffffffffffff80821115613aab57600080fd5b613ab789838a01613681565b90965094506040880135915080821115613ad057600080fd5b50613add88828901613681565b969995985093965092949392505050565b60008060408385031215613b0157600080fd5b82359150613739602084016136dc565b600080600060608486031215613b2657600080fd5b613b2f846136dc565b9250613b3d602085016136dc565b9150613881604085016136dc565b60008151808452613b63816020860160208601614048565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680613b9157607f831692505b6020808410821415613bb357634e487b7160e01b600052602260045260246000fd5b818015613bc75760018114613bd857613c05565b60ff19861689528489019650613c05565b60008881526020902060005b86811015613bfd5781548b820152908501908301613be4565b505084890196505b50505050505092915050565b6000613c1d8285613b77565b8351613c2d818360208801614048565b642e6d65746160d81b9101908152600501949350505050565b6000613c528288613b77565b663f546f6b656e3d60c81b81528651613c72816007840160208b01614048565b65264e616d653d60d01b60079290910191820152613c93600d820187613b77565b9050642642696f3d60d81b8152613cad6005820186613b77565b90508351613cbf818360208801614048565b01979650505050505050565b601560fa1b815260008651613ce7816001850160208b01614048565b6117d360f21b6001918401918201528651613d09816003840160208b01614048565b615f5360f01b600392909101918201528551613d2c816005840160208a01614048565b612fa360f11b600592909101918201528451613d4f816007840160208901614048565b610be960f31b600792909101918201528351613d72816009840160208801614048565b01600901979650505050505050565b66264c6576656c3d60c81b815260008551613da3816007850160208a01614048565b662653686972743d60c81b6007918401918201528551613dca81600e840160208a01614048565b6526466163653d60d01b600e92909101918201528451613df1816014840160208901614048565b64264861743d60d81b601492909101918201528351613e17816019840160208801614048565b016019019695505050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613e576080830184613b4b565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613e9957835183529284019291840191600101613e7d565b50909695505050505050565b6020815260006137086020830184613b4b565b604081526000613ecb6040830185613b4b565b8281036020840152613edd8185613b4b565b95945050505050565b602081526000825160406020840152613f026060840182613b4b565b90506020840151601f19848303016040850152613edd8282613b4b565b604051601f8201601f1916810167ffffffffffffffff81118282101715613f4857613f48614120565b604052919050565b600067ffffffffffffffff821115613f6a57613f6a614120565b5060051b60200190565b60008219821115613f8757613f876140de565b500190565b600060ff821660ff84168060ff03821115613fa957613fa96140de565b019392505050565b600082613fc057613fc06140f4565b500490565b600061ffff80831681851681830481118215151615613fe657613fe66140de565b02949350505050565b6000816000190483118215151615614009576140096140de565b500290565b600082821015614020576140206140de565b500390565b600060ff821660ff84168082101561403f5761403f6140de565b90039392505050565b60005b8381101561406357818101518382015260200161404b565b838111156116c45750506000910152565b600181811c9082168061408857607f821691505b602082108114156140a957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156140c3576140c36140de565b5060010190565b6000826140d9576140d96140f4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461175a57600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220e302a38c36d06b8518a3c4e3892de64a7ccd5e6c5a41fc4d5138a87346a42d8664736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fc7932eff0ead5c96756215111be2e5d34244f3f0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f7261726562756e6e69636c75622e636f6d2f6170692f0000
-----Decoded View---------------
Arg [0] : _UtilityAddress (address): 0xFC7932eFf0Ead5c96756215111be2e5d34244f3F
Arg [1] : _baseURI (string): https://rarebunniclub.com/api/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000fc7932eff0ead5c96756215111be2e5d34244f3f
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [3] : 68747470733a2f2f7261726562756e6e69636c75622e636f6d2f6170692f0000
Loading...
Loading
Loading...
Loading
[ 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.