ERC-721
Overview
Max Total Supply
0 TT
Holders
67
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 TTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
ThirstyThirstySeason01
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 5000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* ooooooooooooo oooo o8o . ooooooooooooo oooo o8o . 8' 888 `8 `888 `"' .o8 8' 888 `8 `888 `"' .o8 888 888 .oo. oooo oooo d8b .oooo.o .o888oo oooo ooo 888 888 .oo. oooo oooo d8b .oooo.o .o888oo oooo ooo 888 888P"Y88b `888 `888""8P d88( "8 888 `88. .8' 888 888P"Y88b `888 `888""8P d88( "8 888 `88. .8' 888 888 888 888 888 `"Y88b. 888 `88..8' 888 888 888 888 888 `"Y88b. 888 `88..8' 888 888 888 888 888 o. )88b 888 . `888' 888 888 888 888 888 o. )88b 888 . `888' o888o o888o o888o o888o d888b 8""888P' "888" .8' o888o o888o o888o o888o d888b 8""888P' "888" .8' .o..P' .o..P' `Y8P' `Y8P' Celebrating ancestral agriculture through food, wine, & earth adventures. Let’s regenerate Mother Earth deliciously, together. */ pragma solidity ^0.8.0; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./@rarible/royalties/contracts/impl/RoyaltiesV2Impl.sol"; import "./@rarible/royalties/contracts/LibPart.sol"; import "./@rarible/royalties/contracts/LibRoyaltiesV2.sol"; contract OwnableDelegateProxy { } contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract ThirstyThirstySeason01 is ERC721, Ownable, Pausable, RoyaltiesV2Impl { using Strings for uint256; using Counters for Counters.Counter; /** * @dev Cut gas cost by using counter instead of ERC721Enumerable's totalSupply. */ Counters.Counter private nextTokenId; /** * @dev MAX TOKEN A USER CAN MINT: 6 * Not stored in contract storage for performance reasons. */ /** * @dev Base URI for metadata file. */ string public metadataBaseURI; /** * @dev Merkle tree root used to check if a given address is in the goldlist. */ bytes32 public merkleRoot; /** * @dev OpenSea proxy to remove listing fees on their site. * https://etherscan.io/accounts/label/opensea * Rinkeby: 0xf57b2c51ded3a29e6891aba85459d600256cf317 * Mainnet: 0xa5409ec958c83c3f309868babaca7c86dcb077c1 */ address public proxyRegistryAddress; enum TierID { CELLAR, TABLE, TABLE_GOLD, FRENS } /** * @dev Map Tier ID to the count of related NFTs minted. */ mapping(TierID => uint256) private mintsPerTiers; /** * @dev Map ID of minted token to its Tier ID. */ mapping(uint256 => TierID) private tokenIdToTierId; /** * @dev Count the current number of NFT minted by each user. */ mapping(address => uint64) private mintsPerUser; /** * @dev Support for ERC2981 (NFT Royalties Standard) interface. */ bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; /** * @dev TIER IDs | SUPPLY | PRICE (ETH) * CELLAR | 270 | 0.4 * TABLE | 518 | 0.2 * TABLE_GOLD | 50 | 0.1 * FRENS | 50 | 0 */ struct Tier { TierID id; uint64 supply; uint256 priceInWei; } Tier private tierCellar; Tier private tierTable; Tier private tierTableGold; Tier private tierFrens; constructor( string memory _name, string memory _symbol, string memory _metadataURI, address _proxyRegistryAddress, Tier memory _tierCellar, Tier memory _tierTable, Tier memory _tierTableGold, Tier memory _tierFrens, bytes32 _merkleRoot ) ERC721(_name, _symbol) { tierCellar = _tierCellar; tierTable = _tierTable; tierTableGold = _tierTableGold; tierFrens = _tierFrens; merkleRoot = _merkleRoot; proxyRegistryAddress = _proxyRegistryAddress; metadataBaseURI = _metadataURI; nextTokenId.increment(); } function mintCellar() public payable whenNotPaused { require((mintsPerUser[msg.sender] < 6), "No more mint for user"); _mintCellar(); } function mintTable() public payable whenNotPaused { require((mintsPerUser[msg.sender] < 6), "No more mint for user"); _mintTable(); } function mintGold(bytes32[] calldata _merkleProof) public payable whenNotPaused { require(mintsPerUser[msg.sender] == 0, "Address has already claimed"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Address not in goldlist"); require(mintsPerTiers[TierID.TABLE_GOLD] < tierTableGold.supply, "Sold out (goldlist)"); require(msg.value >= tierTableGold.priceInWei, "Not enough fund"); uint256 mintIndex = nextTokenId.current(); mintsPerUser[msg.sender] += 1; mintsPerTiers[TierID.TABLE_GOLD] += 1; tokenIdToTierId[mintIndex] = TierID.TABLE_GOLD; nextTokenId.increment(); _safeMint(msg.sender, mintIndex); } function airdrop(address _to) public onlyOwner whenNotPaused { require((mintsPerUser[_to] < 6), "No more mint for user"); require(mintsPerTiers[TierID.FRENS] < tierFrens.supply, "Sold out (airdrop)"); uint256 mintIndex = nextTokenId.current(); mintsPerUser[msg.sender] += 1; mintsPerTiers[TierID.FRENS] += 1; tokenIdToTierId[mintIndex] = TierID.FRENS; nextTokenId.increment(); _safeMint(_to, mintIndex); } function withdraw() public onlyOwner { uint256 balance = address(this).balance; (bool success, ) = msg.sender.call{value: balance}(""); require(success, "Withdraw failed"); } function nextTokenID() public view returns (uint256) { return nextTokenId.current(); } function totalMinted() public view returns (uint256) { return nextTokenId.current() - 1; } function mintedPerTiers() public view returns (uint256[4] memory) { return [ mintsPerTiers[TierID.CELLAR], mintsPerTiers[TierID.TABLE], mintsPerTiers[TierID.TABLE_GOLD], mintsPerTiers[TierID.FRENS] ]; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); // Fetch tokenURI based on the tier ID. // Four metadata files exist -- one per tier. TierID tierId = tokenIdToTierId[_tokenId]; uint256 uintTierId = uint256(tierId); string memory stringTierId = Strings.toString(uintTierId); return string(abi.encodePacked(metadataBaseURI, stringTierId, ".json")); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner whenNotPaused { merkleRoot = _merkleRoot; } function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner whenNotPaused { proxyRegistryAddress = _proxyRegistryAddress; } function setBaseURI(string memory _uri) public onlyOwner whenNotPaused { metadataBaseURI = _uri; } /** * @dev Implementation of Rarible royalty scheme in the two methods below. * Please not that the bulk of the methods is passed to a internal `_setRoyalties` * method so that royalties can be set automatically upon each mint (calling the public method below * would revert because of the `onlyOwner` modifier. */ function setRoyalties(uint _tokenId, address payable _royaltiesRecipientAddress, uint96 _percentageBasisPoints) public onlyOwner { _setRoyalties(_tokenId, _royaltiesRecipientAddress, _percentageBasisPoints); } /** * @dev ERC2981 Royalty Standard */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) { LibPart.Part[] memory _royalties = royalties[_tokenId]; if(_royalties.length > 0) { return (_royalties[0].account, (_salePrice * _royalties[0].value)/10000); } return (address(0), 0); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) { if (interfaceId == LibRoyaltiesV2._INTERFACE_ID_ROYALTIES) { return true; } if (interfaceId == _INTERFACE_ID_ERC2981) { return true; } return super.supportsInterface(interfaceId); } function isApprovedForAll(address _owner, address _operator) public view virtual override returns (bool) { // Whitelist OpenSea proxy contract gas-free listing. if (proxyRegistryAddress != address(0)) { OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(_owner)) == _operator) { return true; } } return super.isApprovedForAll(_owner, _operator); } function _setRoyalties(uint _tokenId, address payable _royaltiesRecipientAddress, uint96 _percentageBasisPoints) internal { LibPart.Part[] memory _royalties = new LibPart.Part[](1); _royalties[0].value = _percentageBasisPoints; _royalties[0].account = _royaltiesRecipientAddress; _saveRoyalties(_tokenId, _royalties); } /** * @dev Override _safeMint to automatically set 20% royalties on newly minted NFT for Rarible. */ function _safeMint(address to, uint256 tokenId) internal override { super._safeMint(to, tokenId); _setRoyalties(tokenId, payable(owner()), 2000); } function _mintCellar() internal { require(mintsPerTiers[TierID.CELLAR] < tierCellar.supply, "Sold out"); require(msg.value >= tierCellar.priceInWei, "Not enough fund"); uint256 mintIndex = nextTokenId.current(); mintsPerUser[msg.sender] += 1; mintsPerTiers[TierID.CELLAR] += 1; tokenIdToTierId[mintIndex] = TierID.CELLAR; nextTokenId.increment(); _safeMint(msg.sender, mintIndex); } function _mintTable() internal { require(mintsPerTiers[TierID.TABLE] < tierTable.supply, "Sold out"); require(msg.value >= tierTable.priceInWei, "Not enough fund"); uint256 mintIndex = nextTokenId.current(); mintsPerUser[msg.sender] += 1; mintsPerTiers[TierID.TABLE] += 1; tokenIdToTierId[mintIndex] = TierID.TABLE; nextTokenId.increment(); _safeMint(msg.sender, mintIndex); } function _baseURI() internal view virtual override returns (string memory) { return metadataBaseURI; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721) whenNotPaused { super._beforeTokenTransfer(from, to, tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./AbstractRoyalties.sol"; import "../RoyaltiesV2.sol"; contract RoyaltiesV2Impl is AbstractRoyalties, RoyaltiesV2 { function getRaribleV2Royalties(uint256 id) override external view returns (LibPart.Part[] memory) { return royalties[id]; } function _onRoyaltiesSet(uint256 _id, LibPart.Part[] memory _royalties) override internal { emit RoyaltiesSet(_id, _royalties); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library LibPart { bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)"); struct Part { address payable account; uint96 value; } function hash(Part memory part) internal pure returns (bytes32) { return keccak256(abi.encode(TYPE_HASH, part.account, part.value)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library LibRoyaltiesV2 { /* * bytes4(keccak256('getRoyalties(LibAsset.AssetType)')) == 0x44c74bcc */ bytes4 constant _INTERFACE_ID_ROYALTIES = 0x44c74bcc; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../LibPart.sol"; abstract contract AbstractRoyalties { mapping (uint256 => LibPart.Part[]) public royalties; function _saveRoyalties(uint256 _id, LibPart.Part[] memory _royalties) internal { for (uint i = 0; i < _royalties.length; i++) { require(_royalties[i].account != address(0x0), "Recipient should be present"); require(_royalties[i].value != 0, "Royalty value should be positive"); royalties[_id].push(_royalties[i]); } _onRoyaltiesSet(_id, _royalties); } function _updateAccount(uint256 _id, address _from, address _to) internal { uint length = royalties[_id].length; for(uint i = 0; i < length; i++) { if (royalties[_id][i].account == _from) { royalties[_id][i].account = payable(address(uint160(_to))); } } } function _onRoyaltiesSet(uint256 _id, LibPart.Part[] memory _royalties) virtual internal; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./LibPart.sol"; interface RoyaltiesV2 { event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties); function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] memory); }
{ "optimizer": { "enabled": true, "runs": 5000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_metadataURI","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"components":[{"internalType":"enum ThirstyThirstySeason01.TierID","name":"id","type":"uint8"},{"internalType":"uint64","name":"supply","type":"uint64"},{"internalType":"uint256","name":"priceInWei","type":"uint256"}],"internalType":"struct ThirstyThirstySeason01.Tier","name":"_tierCellar","type":"tuple"},{"components":[{"internalType":"enum ThirstyThirstySeason01.TierID","name":"id","type":"uint8"},{"internalType":"uint64","name":"supply","type":"uint64"},{"internalType":"uint256","name":"priceInWei","type":"uint256"}],"internalType":"struct ThirstyThirstySeason01.Tier","name":"_tierTable","type":"tuple"},{"components":[{"internalType":"enum ThirstyThirstySeason01.TierID","name":"id","type":"uint8"},{"internalType":"uint64","name":"supply","type":"uint64"},{"internalType":"uint256","name":"priceInWei","type":"uint256"}],"internalType":"struct ThirstyThirstySeason01.Tier","name":"_tierTableGold","type":"tuple"},{"components":[{"internalType":"enum ThirstyThirstySeason01.TierID","name":"id","type":"uint8"},{"internalType":"uint64","name":"supply","type":"uint64"},{"internalType":"uint256","name":"priceInWei","type":"uint256"}],"internalType":"struct ThirstyThirstySeason01.Tier","name":"_tierFrens","type":"tuple"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"}],"name":"RoyaltiesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCellar","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintGold","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintTable","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintedPerTiers","outputs":[{"internalType":"uint256[4]","name":"","type":"uint256[4]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"royalties","outputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address payable","name":"_royaltiesRecipientAddress","type":"address"},{"internalType":"uint96","name":"_percentageBasisPoints","type":"uint96"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200422e3803806200422e8339810160408190526200003491620004c4565b8851899089906200004d906000906020850190620002f0565b50805162000063906001906020840190620002f0565b505050620000806200007a6200029160201b60201c565b62000295565b6006805460ff60a01b191690558451600f8054879290829060ff19166001836003811115620000bf57634e487b7160e01b600052602160045260246000fd5b0217905550602082015181546001600160401b0390911661010002610100600160481b03199091161781556040909101516001918201558451601180548793919291839160ff1916908360038111156200012957634e487b7160e01b600052602160045260246000fd5b0217905550602082015181546001600160401b0390911661010002610100600160481b03199091161781556040909101516001918201558351601380548693919291839160ff1916908360038111156200019357634e487b7160e01b600052602160045260246000fd5b0217905550602082015181546001600160401b0390911661010002610100600160481b03199091161781556040909101516001918201558251601580548593919291839160ff191690836003811115620001fd57634e487b7160e01b600052602160045260246000fd5b02179055506020828101518254610100600160481b0319166101006001600160401b0390921691909102178255604090920151600190910155600a829055600b80546001600160a01b0319166001600160a01b03891617905587516200026a91600991908a0190620002f0565b50620002826008620002e760201b62001f701760201c565b50505050505050505062000645565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b828054620002fe90620005f2565b90600052602060002090601f0160209004810192826200032257600085556200036d565b82601f106200033d57805160ff19168380011785556200036d565b828001600101855582156200036d579182015b828111156200036d57825182559160200191906001019062000350565b506200037b9291506200037f565b5090565b5b808211156200037b576000815560010162000380565b80516001600160a01b0381168114620003ae57600080fd5b919050565b600082601f830112620003c4578081fd5b81516001600160401b03811115620003e057620003e06200062f565b6020620003f6601f8301601f19168201620005bf565b82815285828487010111156200040a578384fd5b835b83811015620004295785810183015182820184015282016200040c565b838111156200043a57848385840101525b5095945050505050565b60006060828403121562000456578081fd5b604051606081016001600160401b0380821183831017156200047c576200047c6200062f565b8160405282935084519150600482106200049557600080fd5b9082526020840151908082168214620004ad57600080fd5b506020820152604092830151920191909152919050565b60008060008060008060008060006102208a8c031215620004e3578485fd5b89516001600160401b0380821115620004fa578687fd5b620005088d838e01620003b3565b9a5060208c01519150808211156200051e578687fd5b6200052c8d838e01620003b3565b995060408c015191508082111562000542578687fd5b50620005518c828d01620003b3565b9750506200056260608b0162000396565b9550620005738b60808c0162000444565b9450620005848b60e08c0162000444565b9350620005968b6101408c0162000444565b9250620005a88b6101a08c0162000444565b91506102008a015190509295985092959850929598565b604051601f8201601f191681016001600160401b0381118282101715620005ea57620005ea6200062f565b604052919050565b600181811c908216806200060757607f821691505b602082108114156200062957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b613bd980620006556000396000f3fe60806040526004361061026a5760003560e01c8063715018a611610153578063a2309ff8116100cb578063d26ea6c01161007f578063ef286e8011610064578063ef286e80146106af578063f101e481146106d1578063f2fde38b146106e657600080fd5b8063d26ea6c01461066f578063e985e9c51461068f57600080fd5b8063c87b56dd116100b0578063c87b56dd14610602578063cad96cca14610622578063cd7c03261461064f57600080fd5b8063a2309ff8146105cd578063b88d4fde146105e257600080fd5b80638924af741161012257806395d89b411161010757806395d89b41146105835780639f3d1a2a14610598578063a22cb465146105ad57600080fd5b80638924af74146105195780638da5cb5b1461056557600080fd5b8063715018a6146104c757806371e9c74a146104dc5780637cb64759146104e45780638456cb591461050457600080fd5b80632a55205a116101e657806342842e0e116101b55780635c975abb1161019a5780635c975abb146104685780636352211e1461048757806370a08231146104a757600080fd5b806342842e0e1461042857806355f804b31461044857600080fd5b80632a55205a1461039b5780632eb4a7ab146103da5780633ccfd60b146103fe5780633f4ba83a1461041357600080fd5b80630b23d6701161023d57806321860a051161022257806321860a051461035357806323b872dd146103735780632413a7021461039357600080fd5b80630b23d67014610320578063143094db1461033357600080fd5b806301ffc9a71461026f57806306fdde03146102a4578063081812fc146102c6578063095ea7b3146102fe575b600080fd5b34801561027b57600080fd5b5061028f61028a366004613690565b610706565b60405190151581526020015b60405180910390f35b3480156102b057600080fd5b506102b96107bb565b60405161029b9190613992565b3480156102d257600080fd5b506102e66102e1366004613678565b61084d565b6040516001600160a01b03909116815260200161029b565b34801561030a57600080fd5b5061031e6103193660046135dd565b6108f8565b005b61031e61032e366004613608565b610a2a565b34801561033f57600080fd5b5061031e61034e36600461372a565b610d9c565b34801561035f57600080fd5b5061031e61036e36600461349b565b610e01565b34801561037f57600080fd5b5061031e61038e3660046134ef565b6110ac565b61031e611133565b3480156103a757600080fd5b506103bb6103b636600461377b565b611202565b604080516001600160a01b03909316835260208301919091520161029b565b3480156103e657600080fd5b506103f0600a5481565b60405190815260200161029b565b34801561040a57600080fd5b5061031e61132e565b34801561041f57600080fd5b5061031e611422565b34801561043457600080fd5b5061031e6104433660046134ef565b611484565b34801561045457600080fd5b5061031e6104633660046136e4565b61149f565b34801561047457600080fd5b50600654600160a01b900460ff1661028f565b34801561049357600080fd5b506102e66104a2366004613678565b611566565b3480156104b357600080fd5b506103f06104c236600461349b565b6115f1565b3480156104d357600080fd5b5061031e61168b565b61031e6116ef565b3480156104f057600080fd5b5061031e6104ff366004613678565b6117bc565b34801561051057600080fd5b5061031e611875565b34801561052557600080fd5b5061053961053436600461377b565b6118d7565b604080516001600160a01b0390931683526bffffffffffffffffffffffff90911660208301520161029b565b34801561057157600080fd5b506006546001600160a01b03166102e6565b34801561058f57600080fd5b506102b9611925565b3480156105a457600080fd5b506102b9611934565b3480156105b957600080fd5b5061031e6105c83660046135ac565b6119c2565b3480156105d957600080fd5b506103f06119cd565b3480156105ee57600080fd5b5061031e6105fd36600461352f565b6119e9565b34801561060e57600080fd5b506102b961061d366004613678565b611a71565b34801561062e57600080fd5b5061064261063d366004613678565b611b47565b60405161029b919061394e565b34801561065b57600080fd5b50600b546102e6906001600160a01b031681565b34801561067b57600080fd5b5061031e61068a36600461349b565b611bdb565b34801561069b57600080fd5b5061028f6106aa3660046134b7565b611cc9565b3480156106bb57600080fd5b506106c4611dc4565b60405161029b9190613961565b3480156106dd57600080fd5b506103f0611e83565b3480156106f257600080fd5b5061031e61070136600461349b565b611e8e565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f44c74bcc00000000000000000000000000000000000000000000000000000000141561075a57506001919050565b7fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a0000000000000000000000000000000000000000000000000000000014156107ac57506001919050565b6107b582611f79565b92915050565b6060600080546107ca90613a96565b80601f01602080910402602001604051908101604052809291908181526020018280546107f690613a96565b80156108435780601f1061081857610100808354040283529160200191610843565b820191906000526020600020905b81548152906001019060200180831161082657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108dc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061090382611566565b9050806001600160a01b0316836001600160a01b0316141561098d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108d3565b336001600160a01b03821614806109a957506109a98133611cc9565b610a1b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108d3565b610a25838361205c565b505050565b600654600160a01b900460ff1615610a845760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b336000908152600e602052604090205467ffffffffffffffff1615610aeb5760405162461bcd60e51b815260206004820152601b60248201527f416464726573732068617320616c726561647920636c61696d6564000000000060448201526064016108d3565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050610b7883838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508490506120e2565b610bc45760405162461bcd60e51b815260206004820152601760248201527f41646472657373206e6f7420696e20676f6c646c69737400000000000000000060448201526064016108d3565b6013546002600052600c6020527f5d6016397a73f5e079297ac5a36fef17b4d9c3831618e63ab105738020ddd7205461010090910467ffffffffffffffff1611610c505760405162461bcd60e51b815260206004820152601360248201527f536f6c64206f75742028676f6c646c697374290000000000000000000000000060448201526064016108d3565b601454341015610ca25760405162461bcd60e51b815260206004820152600f60248201527f4e6f7420656e6f7567682066756e64000000000000000000000000000000000060448201526064016108d3565b6000610cad60085490565b336000908152600e602052604081208054929350600192909190610cdc90849067ffffffffffffffff166139d6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600c600060026003811115610d2957634e487b7160e01b600052602160045260246000fd5b6003811115610d4857634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000206000828254610d6591906139be565b90915550506000818152600d60205260409020805460ff19166002179055600880546001019055610d9633826120f8565b50505050565b6006546001600160a01b03163314610df65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b610a2583838361211c565b6006546001600160a01b03163314610e5b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b600654600160a01b900460ff1615610eb55760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b6001600160a01b0381166000908152600e6020526040902054600667ffffffffffffffff90911610610f295760405162461bcd60e51b815260206004820152601560248201527f4e6f206d6f7265206d696e7420666f722075736572000000000000000000000060448201526064016108d3565b6015546003600052600c6020527fc0da782485e77ae272268ae0a3ff44c1552ecb60b3743924de17a815e0a3cfd75461010090910467ffffffffffffffff1611610fb55760405162461bcd60e51b815260206004820152601260248201527f536f6c64206f7574202861697264726f7029000000000000000000000000000060448201526064016108d3565b6000610fc060085490565b336000908152600e602052604081208054929350600192909190610fef90849067ffffffffffffffff166139d6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600c600060038081111561103b57634e487b7160e01b600052602160045260246000fd5b600381111561105a57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600082825461107791906139be565b90915550506000818152600d60205260409020805460ff191660031790556008805460010190556110a882826120f8565b5050565b6110b633826121f0565b6111285760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108d3565b610a258383836122d8565b600654600160a01b900460ff161561118d5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b336000908152600e6020526040902054600667ffffffffffffffff909116106111f85760405162461bcd60e51b815260206004820152601560248201527f4e6f206d6f7265206d696e7420666f722075736572000000000000000000000060448201526064016108d3565b6112006124c8565b565b6000828152600760209081526040808320805482518185028101850190935280835284938493929190849084015b8282101561128457600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1681830152825260019092019101611230565b50505050905060008151111561131e57806000815181106112b557634e487b7160e01b600052603260045260246000fd5b602002602001015160000151612710826000815181106112e557634e487b7160e01b600052603260045260246000fd5b6020026020010151602001516bffffffffffffffffffffffff168661130a9190613a16565b6113149190613a02565b9250925050611327565b60008092509250505b9250929050565b6006546001600160a01b031633146113885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b6040514790600090339083908381818185875af1925050503d80600081146113cc576040519150601f19603f3d011682016040523d82523d6000602084013e6113d1565b606091505b50509050806110a85760405162461bcd60e51b815260206004820152600f60248201527f5769746864726177206661696c6564000000000000000000000000000000000060448201526064016108d3565b6006546001600160a01b0316331461147c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b6112006126a6565b610a25838383604051806020016040528060008152506119e9565b6006546001600160a01b031633146114f95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b600654600160a01b900460ff16156115535760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b80516110a890600990602084019061336e565b6000818152600260205260408120546001600160a01b0316806107b55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108d3565b60006001600160a01b03821661166f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108d3565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146116e55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b6112006000612767565b600654600160a01b900460ff16156117495760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b336000908152600e6020526040902054600667ffffffffffffffff909116106117b45760405162461bcd60e51b815260206004820152601560248201527f4e6f206d6f7265206d696e7420666f722075736572000000000000000000000060448201526064016108d3565b6112006127d1565b6006546001600160a01b031633146118165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b600654600160a01b900460ff16156118705760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b600a55565b6006546001600160a01b031633146118cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b611200612991565b600760205281600052604060002081815481106118f357600080fd5b6000918252602090912001546001600160a01b0381169250600160a01b90046bffffffffffffffffffffffff16905082565b6060600180546107ca90613a96565b6009805461194190613a96565b80601f016020809104026020016040519081016040528092919081815260200182805461196d90613a96565b80156119ba5780601f1061198f576101008083540402835291602001916119ba565b820191906000526020600020905b81548152906001019060200180831161199d57829003601f168201915b505050505081565b6110a8338383612a41565b600060016119da60085490565b6119e49190613a53565b905090565b6119f333836121f0565b611a655760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108d3565b610d9684848484612b10565b6000818152600260205260409020546060906001600160a01b0316611ad85760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016108d3565b6000828152600d602052604081205460ff1690816003811115611b0b57634e487b7160e01b600052602160045260246000fd5b90506000611b1882612b99565b9050600981604051602001611b2e929190613840565b6040516020818303038152906040529350505050919050565b606060076000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611bd057600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1681830152825260019092019101611b7c565b505050509050919050565b6006546001600160a01b03163314611c355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b600654600160a01b900460ff1615611c8f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600b546000906001600160a01b031615611d9357600b546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03858116600483015291821691841690829063c45527919060240160206040518083038186803b158015611d4057600080fd5b505afa158015611d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7891906136c8565b6001600160a01b03161415611d915760019150506107b5565b505b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b611dcc6133f2565b50604080516080810182527f13649b2456f1b42fef0f0040b3aaeabcd21a76a0f3f5defd4f583839455116e85481527fd421a5181c571bba3f01190c922c3b2a896fc1d84e86c9f17ac10e67ebef8b5c546020808301919091527f5d6016397a73f5e079297ac5a36fef17b4d9c3831618e63ab105738020ddd72054928201929092526003600052600c9091527fc0da782485e77ae272268ae0a3ff44c1552ecb60b3743924de17a815e0a3cfd754606082015290565b60006119e460085490565b6006546001600160a01b03163314611ee85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b6001600160a01b038116611f645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108d3565b611f6d81612767565b50565b80546001019055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061200c57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107b557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146107b5565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906120a982611566565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000826120ef8584612ce7565b14949350505050565b6121028282612d69565b6110a8816121186006546001600160a01b031690565b6107d05b604080516001808252818301909252600091816020015b6040805180820190915260008082526020820152815260200190600190039081612133579050509050818160008151811061217e57634e487b7160e01b600052603260045260246000fd5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff168152505082816000815181106121ce57634e487b7160e01b600052603260045260246000fd5b60209081029190910101516001600160a01b039091169052610d968482612d83565b6000818152600260205260408120546001600160a01b031661227a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016108d3565b600061228583611566565b9050806001600160a01b0316846001600160a01b031614806122c05750836001600160a01b03166122b58461084d565b6001600160a01b0316145b806122d057506122d08185611cc9565b949350505050565b826001600160a01b03166122eb82611566565b6001600160a01b0316146123675760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016108d3565b6001600160a01b0382166123e25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108d3565b6123ed838383612f3b565b6123f860008261205c565b6001600160a01b0383166000908152600360205260408120805460019290612421908490613a53565b90915550506001600160a01b038216600090815260036020526040812080546001929061244f9084906139be565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6011546001600052600c6020527fd421a5181c571bba3f01190c922c3b2a896fc1d84e86c9f17ac10e67ebef8b5c5461010090910467ffffffffffffffff16116125545760405162461bcd60e51b815260206004820152600860248201527f536f6c64206f757400000000000000000000000000000000000000000000000060448201526064016108d3565b6012543410156125a65760405162461bcd60e51b815260206004820152600f60248201527f4e6f7420656e6f7567682066756e64000000000000000000000000000000000060448201526064016108d3565b60006125b160085490565b336000908152600e6020526040812080549293506001929091906125e090849067ffffffffffffffff166139d6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600c60006001600381111561262d57634e487b7160e01b600052602160045260246000fd5b600381111561264c57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600082825461266991906139be565b90915550506000818152600d6020526040902080546001919060ff191682805b021790555061269c600880546001019055565b611f6d33826120f8565b600654600160a01b900460ff166126ff5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016108d3565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600f5460008052600c6020527f13649b2456f1b42fef0f0040b3aaeabcd21a76a0f3f5defd4f583839455116e85461010090910467ffffffffffffffff161161285c5760405162461bcd60e51b815260206004820152600860248201527f536f6c64206f757400000000000000000000000000000000000000000000000060448201526064016108d3565b6010543410156128ae5760405162461bcd60e51b815260206004820152600f60248201527f4e6f7420656e6f7567682066756e64000000000000000000000000000000000060448201526064016108d3565b60006128b960085490565b336000908152600e6020526040812080549293506001929091906128e890849067ffffffffffffffff166139d6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600c600080600381111561293457634e487b7160e01b600052602160045260246000fd5b600381111561295357634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600082825461297091906139be565b90915550506000818152600d60205260408120805460ff1916600183612689565b600654600160a01b900460ff16156129eb5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861274a3390565b816001600160a01b0316836001600160a01b03161415612aa35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108d3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612b1b8484846122d8565b612b2784848484612f95565b610d965760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108d3565b606081612bd957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c035780612bed81613ad1565b9150612bfc9050600a83613a02565b9150612bdd565b60008167ffffffffffffffff811115612c2c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c56576020820181803683370190505b5090505b84156122d057612c6b600183613a53565b9150612c78600a86613b0a565b612c839060306139be565b60f81b818381518110612ca657634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612ce0600a86613a02565b9450612c5a565b600081815b8451811015612d61576000858281518110612d1757634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311612d3d5760008381526020829052604090209250612d4e565b600081815260208490526040902092505b5080612d5981613ad1565b915050612cec565b509392505050565b6110a8828260405180602001604052806000815250613142565b60005b8151811015612f305760006001600160a01b0316828281518110612dba57634e487b7160e01b600052603260045260246000fd5b6020026020010151600001516001600160a01b03161415612e1d5760405162461bcd60e51b815260206004820152601b60248201527f526563697069656e742073686f756c642062652070726573656e74000000000060448201526064016108d3565b818181518110612e3d57634e487b7160e01b600052603260045260246000fd5b6020026020010151602001516bffffffffffffffffffffffff1660001415612ea75760405162461bcd60e51b815260206004820181905260248201527f526f79616c74792076616c75652073686f756c6420626520706f73697469766560448201526064016108d3565b60008381526007602052604090208251839083908110612ed757634e487b7160e01b600052603260045260246000fd5b6020908102919091018101518254600181018455600093845292829020815191909201516bffffffffffffffffffffffff16600160a01b026001600160a01b039091161791015580612f2881613ad1565b915050612d86565b506110a882826131cb565b600654600160a01b900460ff1615610a255760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b60006001600160a01b0384163b15613137576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612ff2903390899088908890600401613912565b602060405180830381600087803b15801561300c57600080fd5b505af192505050801561303c575060408051601f3d908101601f19168201909252613039918101906136ac565b60015b6130ec573d80801561306a576040519150601f19603f3d011682016040523d82523d6000602084013e61306f565b606091505b5080516130e45760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108d3565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506122d0565b506001949350505050565b61314c8383613208565b6131596000848484612f95565b610a255760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108d3565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df82826040516131fc9291906139a5565b60405180910390a15050565b6001600160a01b03821661325e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108d3565b6000818152600260205260409020546001600160a01b0316156132c35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108d3565b6132cf60008383612f3b565b6001600160a01b03821660009081526003602052604081208054600192906132f89084906139be565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461337a90613a96565b90600052602060002090601f01602090048101928261339c57600085556133e2565b82601f106133b557805160ff19168380011785556133e2565b828001600101855582156133e2579182015b828111156133e25782518255916020019190600101906133c7565b506133ee929150613410565b5090565b60405180608001604052806004906020820280368337509192915050565b5b808211156133ee5760008155600101613411565b600067ffffffffffffffff8084111561344057613440613b4a565b604051601f8501601f19908116603f0116810190828211818310171561346857613468613b4a565b8160405280935085815286868601111561348157600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156134ac578081fd5b8135611dbd81613b60565b600080604083850312156134c9578081fd5b82356134d481613b60565b915060208301356134e481613b60565b809150509250929050565b600080600060608486031215613503578081fd5b833561350e81613b60565b9250602084013561351e81613b60565b929592945050506040919091013590565b60008060008060808587031215613544578081fd5b843561354f81613b60565b9350602085013561355f81613b60565b925060408501359150606085013567ffffffffffffffff811115613581578182fd5b8501601f81018713613591578182fd5b6135a087823560208401613425565b91505092959194509250565b600080604083850312156135be578182fd5b82356135c981613b60565b9150602083013580151581146134e4578182fd5b600080604083850312156135ef578182fd5b82356135fa81613b60565b946020939093013593505050565b6000806020838503121561361a578182fd5b823567ffffffffffffffff80821115613631578384fd5b818501915085601f830112613644578384fd5b813581811115613652578485fd5b8660208260051b8501011115613666578485fd5b60209290920196919550909350505050565b600060208284031215613689578081fd5b5035919050565b6000602082840312156136a1578081fd5b8135611dbd81613b75565b6000602082840312156136bd578081fd5b8151611dbd81613b75565b6000602082840312156136d9578081fd5b8151611dbd81613b60565b6000602082840312156136f5578081fd5b813567ffffffffffffffff81111561370b578182fd5b8201601f8101841361371b578182fd5b6122d084823560208401613425565b60008060006060848603121561373e578081fd5b83359250602084013561375081613b60565b915060408401356bffffffffffffffffffffffff81168114613770578182fd5b809150509250925092565b6000806040838503121561378d578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156137ed57815180516001600160a01b031688528301516bffffffffffffffffffffffff1683880152604090960195908201906001016137af565b509495945050505050565b60008151808452613810816020860160208601613a6a565b601f01601f19169290920160200192915050565b60008151613836818560208601613a6a565b9290920192915050565b600080845482600182811c91508083168061385c57607f831692505b602080841082141561387c57634e487b7160e01b87526022600452602487fd5b81801561389057600181146138a1576138cd565b60ff198616895284890196506138cd565b60008b815260209020885b868110156138c55781548b8201529085019083016138ac565b505084890196505b5050505050506139096138e08286613824565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261394460808301846137f8565b9695505050505050565b602081526000611dbd602083018461379c565b60808101818360005b600481101561398957815183526020928301929091019060010161396a565b50505092915050565b602081526000611dbd60208301846137f8565b8281526040602082015260006122d0604083018461379c565b600082198211156139d1576139d1613b1e565b500190565b600067ffffffffffffffff8083168185168083038211156139f9576139f9613b1e565b01949350505050565b600082613a1157613a11613b34565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a4e57613a4e613b1e565b500290565b600082821015613a6557613a65613b1e565b500390565b60005b83811015613a85578181015183820152602001613a6d565b83811115610d965750506000910152565b600181811c90821680613aaa57607f821691505b60208210811415613acb57634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b0357613b03613b1e565b5060010190565b600082613b1957613b19613b34565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611f6d57600080fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611f6d57600080fdfea2646970667358221220ab5ea747fe2dbe36a17a6ae4c574cf8c306b8ed34f957e3ce42c02d1b7de804b64736f6c634300080400330000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010e000000000000000000000000000000000000000000000000058d15e1762800000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000020600000000000000000000000000000000000000000000000002c68af0bb14000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000000e6a40c24afad4231349208b8024186b88b59b594f222d4597f4832e389c11f4000000000000000000000000000000000000000000000000000000000000000f5468697273747920546869727374790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000254540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d57717346746f6d4e6f6a654650557355316762353646414132575568775a75734e67763767683745735a6e4a2f00000000000000000000
Deployed Bytecode
0x60806040526004361061026a5760003560e01c8063715018a611610153578063a2309ff8116100cb578063d26ea6c01161007f578063ef286e8011610064578063ef286e80146106af578063f101e481146106d1578063f2fde38b146106e657600080fd5b8063d26ea6c01461066f578063e985e9c51461068f57600080fd5b8063c87b56dd116100b0578063c87b56dd14610602578063cad96cca14610622578063cd7c03261461064f57600080fd5b8063a2309ff8146105cd578063b88d4fde146105e257600080fd5b80638924af741161012257806395d89b411161010757806395d89b41146105835780639f3d1a2a14610598578063a22cb465146105ad57600080fd5b80638924af74146105195780638da5cb5b1461056557600080fd5b8063715018a6146104c757806371e9c74a146104dc5780637cb64759146104e45780638456cb591461050457600080fd5b80632a55205a116101e657806342842e0e116101b55780635c975abb1161019a5780635c975abb146104685780636352211e1461048757806370a08231146104a757600080fd5b806342842e0e1461042857806355f804b31461044857600080fd5b80632a55205a1461039b5780632eb4a7ab146103da5780633ccfd60b146103fe5780633f4ba83a1461041357600080fd5b80630b23d6701161023d57806321860a051161022257806321860a051461035357806323b872dd146103735780632413a7021461039357600080fd5b80630b23d67014610320578063143094db1461033357600080fd5b806301ffc9a71461026f57806306fdde03146102a4578063081812fc146102c6578063095ea7b3146102fe575b600080fd5b34801561027b57600080fd5b5061028f61028a366004613690565b610706565b60405190151581526020015b60405180910390f35b3480156102b057600080fd5b506102b96107bb565b60405161029b9190613992565b3480156102d257600080fd5b506102e66102e1366004613678565b61084d565b6040516001600160a01b03909116815260200161029b565b34801561030a57600080fd5b5061031e6103193660046135dd565b6108f8565b005b61031e61032e366004613608565b610a2a565b34801561033f57600080fd5b5061031e61034e36600461372a565b610d9c565b34801561035f57600080fd5b5061031e61036e36600461349b565b610e01565b34801561037f57600080fd5b5061031e61038e3660046134ef565b6110ac565b61031e611133565b3480156103a757600080fd5b506103bb6103b636600461377b565b611202565b604080516001600160a01b03909316835260208301919091520161029b565b3480156103e657600080fd5b506103f0600a5481565b60405190815260200161029b565b34801561040a57600080fd5b5061031e61132e565b34801561041f57600080fd5b5061031e611422565b34801561043457600080fd5b5061031e6104433660046134ef565b611484565b34801561045457600080fd5b5061031e6104633660046136e4565b61149f565b34801561047457600080fd5b50600654600160a01b900460ff1661028f565b34801561049357600080fd5b506102e66104a2366004613678565b611566565b3480156104b357600080fd5b506103f06104c236600461349b565b6115f1565b3480156104d357600080fd5b5061031e61168b565b61031e6116ef565b3480156104f057600080fd5b5061031e6104ff366004613678565b6117bc565b34801561051057600080fd5b5061031e611875565b34801561052557600080fd5b5061053961053436600461377b565b6118d7565b604080516001600160a01b0390931683526bffffffffffffffffffffffff90911660208301520161029b565b34801561057157600080fd5b506006546001600160a01b03166102e6565b34801561058f57600080fd5b506102b9611925565b3480156105a457600080fd5b506102b9611934565b3480156105b957600080fd5b5061031e6105c83660046135ac565b6119c2565b3480156105d957600080fd5b506103f06119cd565b3480156105ee57600080fd5b5061031e6105fd36600461352f565b6119e9565b34801561060e57600080fd5b506102b961061d366004613678565b611a71565b34801561062e57600080fd5b5061064261063d366004613678565b611b47565b60405161029b919061394e565b34801561065b57600080fd5b50600b546102e6906001600160a01b031681565b34801561067b57600080fd5b5061031e61068a36600461349b565b611bdb565b34801561069b57600080fd5b5061028f6106aa3660046134b7565b611cc9565b3480156106bb57600080fd5b506106c4611dc4565b60405161029b9190613961565b3480156106dd57600080fd5b506103f0611e83565b3480156106f257600080fd5b5061031e61070136600461349b565b611e8e565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f44c74bcc00000000000000000000000000000000000000000000000000000000141561075a57506001919050565b7fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a0000000000000000000000000000000000000000000000000000000014156107ac57506001919050565b6107b582611f79565b92915050565b6060600080546107ca90613a96565b80601f01602080910402602001604051908101604052809291908181526020018280546107f690613a96565b80156108435780601f1061081857610100808354040283529160200191610843565b820191906000526020600020905b81548152906001019060200180831161082657829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108dc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061090382611566565b9050806001600160a01b0316836001600160a01b0316141561098d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016108d3565b336001600160a01b03821614806109a957506109a98133611cc9565b610a1b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108d3565b610a25838361205c565b505050565b600654600160a01b900460ff1615610a845760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b336000908152600e602052604090205467ffffffffffffffff1615610aeb5760405162461bcd60e51b815260206004820152601b60248201527f416464726573732068617320616c726561647920636c61696d6564000000000060448201526064016108d3565b6040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b166020820152600090603401604051602081830303815290604052805190602001209050610b7883838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508490506120e2565b610bc45760405162461bcd60e51b815260206004820152601760248201527f41646472657373206e6f7420696e20676f6c646c69737400000000000000000060448201526064016108d3565b6013546002600052600c6020527f5d6016397a73f5e079297ac5a36fef17b4d9c3831618e63ab105738020ddd7205461010090910467ffffffffffffffff1611610c505760405162461bcd60e51b815260206004820152601360248201527f536f6c64206f75742028676f6c646c697374290000000000000000000000000060448201526064016108d3565b601454341015610ca25760405162461bcd60e51b815260206004820152600f60248201527f4e6f7420656e6f7567682066756e64000000000000000000000000000000000060448201526064016108d3565b6000610cad60085490565b336000908152600e602052604081208054929350600192909190610cdc90849067ffffffffffffffff166139d6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600c600060026003811115610d2957634e487b7160e01b600052602160045260246000fd5b6003811115610d4857634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000206000828254610d6591906139be565b90915550506000818152600d60205260409020805460ff19166002179055600880546001019055610d9633826120f8565b50505050565b6006546001600160a01b03163314610df65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b610a2583838361211c565b6006546001600160a01b03163314610e5b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b600654600160a01b900460ff1615610eb55760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b6001600160a01b0381166000908152600e6020526040902054600667ffffffffffffffff90911610610f295760405162461bcd60e51b815260206004820152601560248201527f4e6f206d6f7265206d696e7420666f722075736572000000000000000000000060448201526064016108d3565b6015546003600052600c6020527fc0da782485e77ae272268ae0a3ff44c1552ecb60b3743924de17a815e0a3cfd75461010090910467ffffffffffffffff1611610fb55760405162461bcd60e51b815260206004820152601260248201527f536f6c64206f7574202861697264726f7029000000000000000000000000000060448201526064016108d3565b6000610fc060085490565b336000908152600e602052604081208054929350600192909190610fef90849067ffffffffffffffff166139d6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600c600060038081111561103b57634e487b7160e01b600052602160045260246000fd5b600381111561105a57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600082825461107791906139be565b90915550506000818152600d60205260409020805460ff191660031790556008805460010190556110a882826120f8565b5050565b6110b633826121f0565b6111285760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108d3565b610a258383836122d8565b600654600160a01b900460ff161561118d5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b336000908152600e6020526040902054600667ffffffffffffffff909116106111f85760405162461bcd60e51b815260206004820152601560248201527f4e6f206d6f7265206d696e7420666f722075736572000000000000000000000060448201526064016108d3565b6112006124c8565b565b6000828152600760209081526040808320805482518185028101850190935280835284938493929190849084015b8282101561128457600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1681830152825260019092019101611230565b50505050905060008151111561131e57806000815181106112b557634e487b7160e01b600052603260045260246000fd5b602002602001015160000151612710826000815181106112e557634e487b7160e01b600052603260045260246000fd5b6020026020010151602001516bffffffffffffffffffffffff168661130a9190613a16565b6113149190613a02565b9250925050611327565b60008092509250505b9250929050565b6006546001600160a01b031633146113885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b6040514790600090339083908381818185875af1925050503d80600081146113cc576040519150601f19603f3d011682016040523d82523d6000602084013e6113d1565b606091505b50509050806110a85760405162461bcd60e51b815260206004820152600f60248201527f5769746864726177206661696c6564000000000000000000000000000000000060448201526064016108d3565b6006546001600160a01b0316331461147c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b6112006126a6565b610a25838383604051806020016040528060008152506119e9565b6006546001600160a01b031633146114f95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b600654600160a01b900460ff16156115535760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b80516110a890600990602084019061336e565b6000818152600260205260408120546001600160a01b0316806107b55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016108d3565b60006001600160a01b03821661166f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016108d3565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146116e55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b6112006000612767565b600654600160a01b900460ff16156117495760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b336000908152600e6020526040902054600667ffffffffffffffff909116106117b45760405162461bcd60e51b815260206004820152601560248201527f4e6f206d6f7265206d696e7420666f722075736572000000000000000000000060448201526064016108d3565b6112006127d1565b6006546001600160a01b031633146118165760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b600654600160a01b900460ff16156118705760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b600a55565b6006546001600160a01b031633146118cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b611200612991565b600760205281600052604060002081815481106118f357600080fd5b6000918252602090912001546001600160a01b0381169250600160a01b90046bffffffffffffffffffffffff16905082565b6060600180546107ca90613a96565b6009805461194190613a96565b80601f016020809104026020016040519081016040528092919081815260200182805461196d90613a96565b80156119ba5780601f1061198f576101008083540402835291602001916119ba565b820191906000526020600020905b81548152906001019060200180831161199d57829003601f168201915b505050505081565b6110a8338383612a41565b600060016119da60085490565b6119e49190613a53565b905090565b6119f333836121f0565b611a655760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016108d3565b610d9684848484612b10565b6000818152600260205260409020546060906001600160a01b0316611ad85760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016108d3565b6000828152600d602052604081205460ff1690816003811115611b0b57634e487b7160e01b600052602160045260246000fd5b90506000611b1882612b99565b9050600981604051602001611b2e929190613840565b6040516020818303038152906040529350505050919050565b606060076000838152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611bd057600084815260209081902060408051808201909152908401546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1681830152825260019092019101611b7c565b505050509050919050565b6006546001600160a01b03163314611c355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b600654600160a01b900460ff1615611c8f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b600b546000906001600160a01b031615611d9357600b546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03858116600483015291821691841690829063c45527919060240160206040518083038186803b158015611d4057600080fd5b505afa158015611d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7891906136c8565b6001600160a01b03161415611d915760019150506107b5565b505b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b611dcc6133f2565b50604080516080810182527f13649b2456f1b42fef0f0040b3aaeabcd21a76a0f3f5defd4f583839455116e85481527fd421a5181c571bba3f01190c922c3b2a896fc1d84e86c9f17ac10e67ebef8b5c546020808301919091527f5d6016397a73f5e079297ac5a36fef17b4d9c3831618e63ab105738020ddd72054928201929092526003600052600c9091527fc0da782485e77ae272268ae0a3ff44c1552ecb60b3743924de17a815e0a3cfd754606082015290565b60006119e460085490565b6006546001600160a01b03163314611ee85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108d3565b6001600160a01b038116611f645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016108d3565b611f6d81612767565b50565b80546001019055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061200c57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107b557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146107b5565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03841690811790915581906120a982611566565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000826120ef8584612ce7565b14949350505050565b6121028282612d69565b6110a8816121186006546001600160a01b031690565b6107d05b604080516001808252818301909252600091816020015b6040805180820190915260008082526020820152815260200190600190039081612133579050509050818160008151811061217e57634e487b7160e01b600052603260045260246000fd5b6020026020010151602001906bffffffffffffffffffffffff1690816bffffffffffffffffffffffff168152505082816000815181106121ce57634e487b7160e01b600052603260045260246000fd5b60209081029190910101516001600160a01b039091169052610d968482612d83565b6000818152600260205260408120546001600160a01b031661227a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016108d3565b600061228583611566565b9050806001600160a01b0316846001600160a01b031614806122c05750836001600160a01b03166122b58461084d565b6001600160a01b0316145b806122d057506122d08185611cc9565b949350505050565b826001600160a01b03166122eb82611566565b6001600160a01b0316146123675760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016108d3565b6001600160a01b0382166123e25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016108d3565b6123ed838383612f3b565b6123f860008261205c565b6001600160a01b0383166000908152600360205260408120805460019290612421908490613a53565b90915550506001600160a01b038216600090815260036020526040812080546001929061244f9084906139be565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6011546001600052600c6020527fd421a5181c571bba3f01190c922c3b2a896fc1d84e86c9f17ac10e67ebef8b5c5461010090910467ffffffffffffffff16116125545760405162461bcd60e51b815260206004820152600860248201527f536f6c64206f757400000000000000000000000000000000000000000000000060448201526064016108d3565b6012543410156125a65760405162461bcd60e51b815260206004820152600f60248201527f4e6f7420656e6f7567682066756e64000000000000000000000000000000000060448201526064016108d3565b60006125b160085490565b336000908152600e6020526040812080549293506001929091906125e090849067ffffffffffffffff166139d6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600c60006001600381111561262d57634e487b7160e01b600052602160045260246000fd5b600381111561264c57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600082825461266991906139be565b90915550506000818152600d6020526040902080546001919060ff191682805b021790555061269c600880546001019055565b611f6d33826120f8565b600654600160a01b900460ff166126ff5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016108d3565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600f5460008052600c6020527f13649b2456f1b42fef0f0040b3aaeabcd21a76a0f3f5defd4f583839455116e85461010090910467ffffffffffffffff161161285c5760405162461bcd60e51b815260206004820152600860248201527f536f6c64206f757400000000000000000000000000000000000000000000000060448201526064016108d3565b6010543410156128ae5760405162461bcd60e51b815260206004820152600f60248201527f4e6f7420656e6f7567682066756e64000000000000000000000000000000000060448201526064016108d3565b60006128b960085490565b336000908152600e6020526040812080549293506001929091906128e890849067ffffffffffffffff166139d6565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600c600080600381111561293457634e487b7160e01b600052602160045260246000fd5b600381111561295357634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600082825461297091906139be565b90915550506000818152600d60205260408120805460ff1916600183612689565b600654600160a01b900460ff16156129eb5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b600680547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861274a3390565b816001600160a01b0316836001600160a01b03161415612aa35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108d3565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612b1b8484846122d8565b612b2784848484612f95565b610d965760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108d3565b606081612bd957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612c035780612bed81613ad1565b9150612bfc9050600a83613a02565b9150612bdd565b60008167ffffffffffffffff811115612c2c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c56576020820181803683370190505b5090505b84156122d057612c6b600183613a53565b9150612c78600a86613b0a565b612c839060306139be565b60f81b818381518110612ca657634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612ce0600a86613a02565b9450612c5a565b600081815b8451811015612d61576000858281518110612d1757634e487b7160e01b600052603260045260246000fd5b60200260200101519050808311612d3d5760008381526020829052604090209250612d4e565b600081815260208490526040902092505b5080612d5981613ad1565b915050612cec565b509392505050565b6110a8828260405180602001604052806000815250613142565b60005b8151811015612f305760006001600160a01b0316828281518110612dba57634e487b7160e01b600052603260045260246000fd5b6020026020010151600001516001600160a01b03161415612e1d5760405162461bcd60e51b815260206004820152601b60248201527f526563697069656e742073686f756c642062652070726573656e74000000000060448201526064016108d3565b818181518110612e3d57634e487b7160e01b600052603260045260246000fd5b6020026020010151602001516bffffffffffffffffffffffff1660001415612ea75760405162461bcd60e51b815260206004820181905260248201527f526f79616c74792076616c75652073686f756c6420626520706f73697469766560448201526064016108d3565b60008381526007602052604090208251839083908110612ed757634e487b7160e01b600052603260045260246000fd5b6020908102919091018101518254600181018455600093845292829020815191909201516bffffffffffffffffffffffff16600160a01b026001600160a01b039091161791015580612f2881613ad1565b915050612d86565b506110a882826131cb565b600654600160a01b900460ff1615610a255760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016108d3565b60006001600160a01b0384163b15613137576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290612ff2903390899088908890600401613912565b602060405180830381600087803b15801561300c57600080fd5b505af192505050801561303c575060408051601f3d908101601f19168201909252613039918101906136ac565b60015b6130ec573d80801561306a576040519150601f19603f3d011682016040523d82523d6000602084013e61306f565b606091505b5080516130e45760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108d3565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506122d0565b506001949350505050565b61314c8383613208565b6131596000848484612f95565b610a255760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016108d3565b7f3fa96d7b6bcbfe71ef171666d84db3cf52fa2d1c8afdb1cc8e486177f208b7df82826040516131fc9291906139a5565b60405180910390a15050565b6001600160a01b03821661325e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108d3565b6000818152600260205260409020546001600160a01b0316156132c35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108d3565b6132cf60008383612f3b565b6001600160a01b03821660009081526003602052604081208054600192906132f89084906139be565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461337a90613a96565b90600052602060002090601f01602090048101928261339c57600085556133e2565b82601f106133b557805160ff19168380011785556133e2565b828001600101855582156133e2579182015b828111156133e25782518255916020019190600101906133c7565b506133ee929150613410565b5090565b60405180608001604052806004906020820280368337509192915050565b5b808211156133ee5760008155600101613411565b600067ffffffffffffffff8084111561344057613440613b4a565b604051601f8501601f19908116603f0116810190828211818310171561346857613468613b4a565b8160405280935085815286868601111561348157600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156134ac578081fd5b8135611dbd81613b60565b600080604083850312156134c9578081fd5b82356134d481613b60565b915060208301356134e481613b60565b809150509250929050565b600080600060608486031215613503578081fd5b833561350e81613b60565b9250602084013561351e81613b60565b929592945050506040919091013590565b60008060008060808587031215613544578081fd5b843561354f81613b60565b9350602085013561355f81613b60565b925060408501359150606085013567ffffffffffffffff811115613581578182fd5b8501601f81018713613591578182fd5b6135a087823560208401613425565b91505092959194509250565b600080604083850312156135be578182fd5b82356135c981613b60565b9150602083013580151581146134e4578182fd5b600080604083850312156135ef578182fd5b82356135fa81613b60565b946020939093013593505050565b6000806020838503121561361a578182fd5b823567ffffffffffffffff80821115613631578384fd5b818501915085601f830112613644578384fd5b813581811115613652578485fd5b8660208260051b8501011115613666578485fd5b60209290920196919550909350505050565b600060208284031215613689578081fd5b5035919050565b6000602082840312156136a1578081fd5b8135611dbd81613b75565b6000602082840312156136bd578081fd5b8151611dbd81613b75565b6000602082840312156136d9578081fd5b8151611dbd81613b60565b6000602082840312156136f5578081fd5b813567ffffffffffffffff81111561370b578182fd5b8201601f8101841361371b578182fd5b6122d084823560208401613425565b60008060006060848603121561373e578081fd5b83359250602084013561375081613b60565b915060408401356bffffffffffffffffffffffff81168114613770578182fd5b809150509250925092565b6000806040838503121561378d578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b838110156137ed57815180516001600160a01b031688528301516bffffffffffffffffffffffff1683880152604090960195908201906001016137af565b509495945050505050565b60008151808452613810816020860160208601613a6a565b601f01601f19169290920160200192915050565b60008151613836818560208601613a6a565b9290920192915050565b600080845482600182811c91508083168061385c57607f831692505b602080841082141561387c57634e487b7160e01b87526022600452602487fd5b81801561389057600181146138a1576138cd565b60ff198616895284890196506138cd565b60008b815260209020885b868110156138c55781548b8201529085019083016138ac565b505084890196505b5050505050506139096138e08286613824565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261394460808301846137f8565b9695505050505050565b602081526000611dbd602083018461379c565b60808101818360005b600481101561398957815183526020928301929091019060010161396a565b50505092915050565b602081526000611dbd60208301846137f8565b8281526040602082015260006122d0604083018461379c565b600082198211156139d1576139d1613b1e565b500190565b600067ffffffffffffffff8083168185168083038211156139f9576139f9613b1e565b01949350505050565b600082613a1157613a11613b34565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a4e57613a4e613b1e565b500290565b600082821015613a6557613a65613b1e565b500390565b60005b83811015613a85578181015183820152602001613a6d565b83811115610d965750506000910152565b600181811c90821680613aaa57607f821691505b60208210811415613acb57634e487b7160e01b600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b0357613b03613b1e565b5060010190565b600082613b1957613b19613b34565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611f6d57600080fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611f6d57600080fdfea2646970667358221220ab5ea747fe2dbe36a17a6ae4c574cf8c306b8ed34f957e3ce42c02d1b7de804b64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a0000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010e000000000000000000000000000000000000000000000000058d15e1762800000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000020600000000000000000000000000000000000000000000000002c68af0bb14000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000000e6a40c24afad4231349208b8024186b88b59b594f222d4597f4832e389c11f4000000000000000000000000000000000000000000000000000000000000000f5468697273747920546869727374790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000254540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d57717346746f6d4e6f6a654650557355316762353646414132575568775a75734e67763767683745735a6e4a2f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Thirsty Thirsty
Arg [1] : _symbol (string): TT
Arg [2] : _metadataURI (string): ipfs://QmWqsFtomNojeFPUsU1gb56FAA2WUhwZusNgv7gh7EsZnJ/
Arg [3] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [4] : _tierCellar (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [5] : _tierTable (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [6] : _tierTableGold (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [7] : _tierFrens (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [8] : _merkleRoot (bytes32): 0x0e6a40c24afad4231349208b8024186b88b59b594f222d4597f4832e389c11f4
-----Encoded View---------------
24 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [2] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [3] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000010e
Arg [6] : 000000000000000000000000000000000000000000000000058d15e176280000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000206
Arg [9] : 00000000000000000000000000000000000000000000000002c68af0bb140000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [12] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [16] : 0e6a40c24afad4231349208b8024186b88b59b594f222d4597f4832e389c11f4
Arg [17] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [18] : 5468697273747920546869727374790000000000000000000000000000000000
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [20] : 5454000000000000000000000000000000000000000000000000000000000000
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [22] : 697066733a2f2f516d57717346746f6d4e6f6a65465055735531676235364641
Arg [23] : 4132575568775a75734e67763767683745735a6e4a2f00000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.