ERC-721
Overview
Max Total Supply
2,048 TSTYL
Holders
842
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 TSTYLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TruchetStyles
Compiler Version
v0.8.2+commit.661d1103
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract TruchetStyles is ERC721, ERC721Enumerable, Ownable { using Counters for Counters.Counter; using Strings for uint256; uint256 public constant MAX_TOKENS = 2048; string public constant DESCRIPTION = "2048 algorithmically generated, unique new stylizations on the humble truchet tile"; string public baseURI; uint256 public price = 0.1 ether; bool public isActive = false; Counters.Counter private _tokenIdCounter; mapping(uint256 => uint256) public tokenSeed; constructor(string memory name, string memory symbol, string memory initialBaseURI, address payable[16] memory _specialMintRecipients, uint256[16] memory _specialMintSeeds) ERC721(name, symbol) { baseURI = initialBaseURI; specialMint(_specialMintRecipients[0], _specialMintSeeds[0]); specialMint(_specialMintRecipients[1], _specialMintSeeds[1]); specialMint(_specialMintRecipients[2], _specialMintSeeds[2]); specialMint(_specialMintRecipients[3], _specialMintSeeds[3]); specialMint(_specialMintRecipients[4], _specialMintSeeds[4]); specialMint(_specialMintRecipients[5], _specialMintSeeds[5]); specialMint(_specialMintRecipients[6], _specialMintSeeds[6]); specialMint(_specialMintRecipients[7], _specialMintSeeds[7]); specialMint(_specialMintRecipients[8], _specialMintSeeds[8]); specialMint(_specialMintRecipients[9], _specialMintSeeds[9]); specialMint(_specialMintRecipients[10], _specialMintSeeds[10]); specialMint(_specialMintRecipients[11], _specialMintSeeds[11]); specialMint(_specialMintRecipients[12], _specialMintSeeds[12]); specialMint(_specialMintRecipients[13], _specialMintSeeds[13]); specialMint(_specialMintRecipients[14], _specialMintSeeds[14]); specialMint(_specialMintRecipients[15], _specialMintSeeds[15]); } // STARTIN' function openTheGates() public onlyOwner { isActive = !isActive; } // MINTIN' function _mintTruchet(address walletAddress, uint256 seed) private { // ensure the max supply has not been reached require(_tokenIdCounter.current() < MAX_TOKENS, "NO_SUPPLY"); // no zero-indexed tokens in this house _tokenIdCounter.increment(); uint256 tokenId = _tokenIdCounter.current(); // JS timestamp tokenSeed[tokenId] = seed; _safeMint(walletAddress, tokenId); } function specialMint(address walletAddress, uint256 seed) public payable onlyOwner { _mintTruchet(walletAddress, seed); } function createTruchet(uint256 seed) public payable virtual { require(isActive, "NOT_OPEN_YET"); require(msg.value >= price, "PRICE_NOT_MET"); // get you some _mintTruchet(msg.sender, seed); } function createTruchetForFriend(address walletAddress, uint256 seed) public payable virtual { require(isActive, "NOT_OPEN_YET"); require(msg.value >= price, "PRICE_NOT_MET"); // sharing is caring _mintTruchet(walletAddress, seed); } // HOUSEKEEPIN' function setPrice(uint256 newPrice) public onlyOwner { price = newPrice; } function updateBaseURI(string calldata newBaseURI) external onlyOwner { baseURI = newBaseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "URI query for unminted token id"); return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } // HOT POTETO! function withdrawAll() public payable onlyOwner { require(payable(msg.sender).send(address(this).balance)); } // TOKENIN' function getTokensOfOwner(address _owner) external view returns(uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // No token, sad return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } function remainingAmount() external view returns (uint256) { return MAX_TOKENS - totalSupply(); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": true, "runs": 200, "details": { "yul": false } }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "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":"initialBaseURI","type":"string"},{"internalType":"address payable[16]","name":"_specialMintRecipients","type":"address[16]"},{"internalType":"uint256[16]","name":"_specialMintSeeds","type":"uint256[16]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DESCRIPTION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"createTruchet","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"walletAddress","type":"address"},{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"createTruchetForFriend","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getTokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTheGates","outputs":[],"stateMutability":"nonpayable","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"walletAddress","type":"address"},{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"specialMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405267016345785d8a0000600c55600d805460ff191690553480156200002757600080fd5b5060405162003660380380620036608339810160408190526200004a9162000b2d565b84518590859062000063906000906020850190620008d4565b50805162000079906001906020840190620008d4565b5050506200009662000090620001f260201b60201c565b620001f6565b8251620000ab90600b906020860190620008d4565b508151620000c2908260005b602002015162000248565b6020820151620000d590826001620000b7565b6040820151620000e890826002620000b7565b6060820151620000fb90826003620000b7565b60808201516200010e90826004620000b7565b60a08201516200012190826005620000b7565b60c08201516200013490826006620000b7565b60e08201516200014790826007620000b7565b6101008201516200015b90826008620000b7565b6101208201516200016f90826009620000b7565b610140820151620001839082600a620000b7565b610160820151620001979082600b620000b7565b610180820151620001ab9082600c620000b7565b6101a0820151620001bf9082600d620000b7565b6101c0820151620001d39082600e620000b7565b6101e0820151620001e79082600f620000b7565b50505050506200100b565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b031633146200027e5760405162461bcd60e51b8152600401620002759062000e41565b60405180910390fd5b6200028a82826200028e565b5050565b610800620002a8600e6200031c60201b62000e451760201c565b10620002c85760405162461bcd60e51b8152600401620002759062000e1d565b620002df600e6200032460201b62000e491760201c565b6000620002f8600e6200031c60201b62000e451760201c565b6000818152600f6020526040902083905590506200031783826200032d565b505050565b80545b919050565b80546001019055565b6200028a8282604051806020016040528060008152506200034f60201b60201c565b6200035b838362000389565b6200036a600084848462000481565b620003175760405162461bcd60e51b8152600401620002759062000de7565b6001600160a01b038216620003b25760405162461bcd60e51b8152600401620002759062000e2f565b6000818152600260205260409020546001600160a01b031615620003ea5760405162461bcd60e51b8152600401620002759062000df9565b620003f860008383620005b1565b6001600160a01b03821660009081526003602052604081208054600192906200042390849062000ebd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000620004a2846001600160a01b0316620005c960201b62000e521760201c565b15620005a557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620004dc90339089908890889060040162000d9b565b602060405180830381600087803b158015620004f757600080fd5b505af19250505080156200052a575060408051601f3d908101601f19168201909252620005279181019062000b0c565b60015b6200058a573d8080156200055b576040519150601f19603f3d011682016040523d82523d6000602084013e62000560565b606091505b508051620005825760405162461bcd60e51b8152600401620002759062000de7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620005a9565b5060015b949350505050565b62000317838383620005cf60201b62000e581760201c565b3b151590565b620005e78383836200031760201b620007881760201c565b6001600160a01b03831662000645576200063f81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6200066b565b816001600160a01b0316836001600160a01b0316146200066b576200066b8382620006b1565b6001600160a01b0382166200068b5762000685816200075e565b62000317565b826001600160a01b0316826001600160a01b03161462000317576200031782826200083c565b60006001620006cb846200088d60201b62000aaa1760201c565b620006d7919062000ed8565b6000838152600760205260409020549091508082146200072b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620007729060019062000ed8565b60008381526009602052604081205460088054939450909284908110620007a957634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060088381548110620007d957634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806200082057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600062000854836200088d60201b62000aaa1760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160a01b038216620008b85760405162461bcd60e51b8152600401620002759062000e0b565b506001600160a01b031660009081526003602052604090205490565b828054620008e29062000f37565b90600052602060002090601f01602090048101928262000906576000855562000951565b82601f106200092157805160ff191683800117855562000951565b8280016001018555821562000951579182015b828111156200095157825182559160200191906001019062000934565b506200095f92915062000963565b5090565b5b808211156200095f576000815560010162000964565b6000620009916200098b8462000e6d565b62000e53565b90508082856020860282011115620009a857600080fd5b60005b85811015620009d85781620009c1888262000a79565b8452506020928301929190910190600101620009ab565b5050509392505050565b6000620009f36200098b8462000e6d565b9050808285602086028201111562000a0a57600080fd5b60005b85811015620009d8578162000a23888262000aff565b845250602092830192919091019060010162000a0d565b600062000a4b6200098b8462000e90565b90508281526020810184848401111562000a6457600080fd5b62000a7184828562000f04565b509392505050565b805162000a868162000fd9565b92915050565b600082601f83011262000a9e57600080fd5b6010620005a98482856200097a565b600082601f83011262000abf57600080fd5b6010620005a9848285620009e2565b805162000a868162000ff3565b600082601f83011262000aed57600080fd5b8151620005a984826020860162000a3a565b805162000a868162001004565b60006020828403121562000b1f57600080fd5b6000620005a9848462000ace565b6000806000806000610460868803121562000b4757600080fd5b85516001600160401b0381111562000b5e57600080fd5b62000b6c8882890162000adb565b95505060208601516001600160401b0381111562000b8957600080fd5b62000b978882890162000adb565b94505060408601516001600160401b0381111562000bb457600080fd5b62000bc28882890162000adb565b935050606062000bd58882890162000a8c565b92505061026062000be98882890162000aad565b9150509295509295909350565b62000c018162000ef2565b82525050565b600062000c12825190565b80845260208401935062000c2b81856020860162000f04565b601f01601f19169290920192915050565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b602082015291505b5060400190565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291505b5060200190565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b6020820152915062000c87565b60098152600060208201684e4f5f535550504c5960b81b8152915062000cbe565b60208082527f4552433732313a206d696e7420746f20746865207a65726f20616464726573739101908152600062000cbe565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65729101908152600062000cbe565b8062000c01565b6080810162000dab828762000bf6565b62000dba602083018662000bf6565b62000dc9604083018562000d94565b818103606083015262000ddd818462000c07565b9695505050505050565b6020808252810162000a868162000c3c565b6020808252810162000a868162000c8e565b6020808252810162000a868162000cc5565b6020808252810162000a868162000d0d565b6020808252810162000a868162000d2e565b6020808252810162000a868162000d61565b600062000e5f60405190565b90506200031f828262000f68565b60006001600160401b0382111562000e895762000e8962000fc3565b5060200290565b60006001600160401b0382111562000eac5762000eac62000fc3565b601f19601f83011660200192915050565b6000821982111562000ed35762000ed362000f97565b500190565b60008282101562000eed5762000eed62000f97565b500390565b60006001600160a01b03821662000a86565b60005b8381101562000f2157818101518382015260200162000f07565b8381111562000f31576000848401525b50505050565b60028104600182168062000f4c57607f821691505b6020821081141562000f625762000f6262000fad565b50919050565b601f19601f83011681018181106001600160401b038211171562000f905762000f9062000fc3565b6040525050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b62000fe48162000ef2565b811462000ff057600080fd5b50565b6001600160e01b0319811662000fe4565b8062000fe4565b612645806200101b6000396000f3fe6080604052600436106101f95760003560e01c8063715018a61161010d578063a035b1fe116100a0578063c87b56dd1161006f578063c87b56dd14610555578063e985e9c514610575578063f1ae8856146105be578063f2fde38b146105d3578063f47c84c5146105f3576101f9565b8063a035b1fe146104ea578063a22cb46514610500578063a50a1fe614610520578063b88d4fde14610535576101f9565b80638da5cb5b116100dc5780638da5cb5b1461047757806391b7f5ed14610495578063931688cb146104b557806395d89b41146104d5576101f9565b8063715018a61461043257806378091122146104475780637bbdad111461045a578063853828b61461046f576101f9565b806342842e0e116101905780636352211e1161015f5780636352211e146103b75780636c0360eb146103d75780636f46db0e146103ec5780636fecc249146103ff57806370a0823114610412576101f9565b806342842e0e1461031d5780634f6ccce71461033d5780635de6dc551461035d5780635f5168361461038a576101f9565b806318160ddd116101cc57806318160ddd146102a557806322f3e2d4146102c357806323b872dd146102dd5780632f745c59146102fd576101f9565b806301ffc9a7146101fe57806306fdde0314610234578063081812fc14610256578063095ea7b314610283575b600080fd5b34801561020a57600080fd5b5061021e610219366004611ad9565b610609565b60405161022b9190612265565b60405180910390f35b34801561024057600080fd5b5061024961061c565b60405161022b9190612273565b34801561026257600080fd5b50610276610271366004611b57565b6106ae565b60405161022b91906121fb565b34801561028f57600080fd5b506102a361029e366004611aa9565b610707565b005b3480156102b157600080fd5b506008545b60405161022b91906123d4565b3480156102cf57600080fd5b50600d5461021e9060ff1681565b3480156102e957600080fd5b506102a36102f83660046119b3565b61078d565b34801561030957600080fd5b506102b6610318366004611aa9565b6107be565b34801561032957600080fd5b506102a36103383660046119b3565b610813565b34801561034957600080fd5b506102b6610358366004611b57565b61082e565b34801561036957600080fd5b5061037d61037836600461195b565b61088a565b60405161022b919061224d565b34801561039657600080fd5b506102b66103a5366004611b57565b600f6020526000908152604090205481565b3480156103c357600080fd5b506102766103d2366004611b57565b61096b565b3480156103e357600080fd5b506102496109a0565b6102a36103fa366004611aa9565b610a2e565b6102a361040d366004611aa9565b610a80565b34801561041e57600080fd5b506102b661042d36600461195b565b610aaa565b34801561043e57600080fd5b506102a3610aee565b6102a3610455366004611b57565b610b24565b34801561046657600080fd5b506102a3610b75565b6102a3610bb3565b34801561048357600080fd5b50600a546001600160a01b0316610276565b3480156104a157600080fd5b506102a36104b0366004611b57565b610c01565b3480156104c157600080fd5b506102a36104d0366004611b15565b610c30565b3480156104e157600080fd5b50610249610c66565b3480156104f657600080fd5b506102b6600c5481565b34801561050c57600080fd5b506102a361051b366004611a79565b610c75565b34801561052c57600080fd5b506102b6610d13565b34801561054157600080fd5b506102a3610550366004611a00565b610d2f565b34801561056157600080fd5b50610249610570366004611b57565b610d67565b34801561058157600080fd5b5061021e610590366004611979565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105ca57600080fd5b50610249610dd0565b3480156105df57600080fd5b506102a36105ee36600461195b565b610dec565b3480156105ff57600080fd5b506102b661080081565b600061061482610f15565b90505b919050565b60606000805461062b906124b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610657906124b0565b80156106a45780601f10610679576101008083540402835291602001916106a4565b820191906000526020600020905b81548152906001019060200180831161068757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106eb5760405162461bcd60e51b81526004016106e290612364565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107128261096b565b9050806001600160a01b0316836001600160a01b031614156107465760405162461bcd60e51b81526004016106e290612394565b336001600160a01b038216148061076257506107628133610590565b61077e5760405162461bcd60e51b81526004016106e290612304565b6107888383610f3a565b505050565b6107973382610fa8565b6107b35760405162461bcd60e51b81526004016106e2906123a4565b61078883838361105a565b60006107c983610aaa565b82106107e75760405162461bcd60e51b81526004016106e290612284565b506001600160a01b03821660009081526006602090815260408083208484529091529020545b92915050565b61078883838360405180602001604052806000815250610d2f565b600061083960085490565b82106108575760405162461bcd60e51b81526004016106e2906123b4565b6008828154811061087857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6060600061089783610aaa565b9050806108b4575050604080516000815260208101909152610617565b60008167ffffffffffffffff8111156108dd57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610906578160200160208202803683370190505b50905060005b8281101561095b5761091e85826107be565b82828151811061093e57634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061095381612504565b91505061090c565b5091506106179050565b50919050565b6000818152600260205260408120546001600160a01b0316806106145760405162461bcd60e51b81526004016106e290612324565b600b80546109ad906124b0565b80601f01602080910402602001604051908101604052809291908181526020018280546109d9906124b0565b8015610a265780601f106109fb57610100808354040283529160200191610a26565b820191906000526020600020905b815481529060010190602001808311610a0957829003601f168201915b505050505081565b600d5460ff16610a505760405162461bcd60e51b81526004016106e290612344565b600c54341015610a725760405162461bcd60e51b81526004016106e2906122c4565b610a7c8282611187565b5050565b600a546001600160a01b03163314610a725760405162461bcd60e51b81526004016106e290612374565b60006001600160a01b038216610ad25760405162461bcd60e51b81526004016106e290612314565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b185760405162461bcd60e51b81526004016106e290612374565b610b2260006111e6565b565b600d5460ff16610b465760405162461bcd60e51b81526004016106e290612344565b600c54341015610b685760405162461bcd60e51b81526004016106e2906122c4565b610b723382611187565b50565b600a546001600160a01b03163314610b9f5760405162461bcd60e51b81526004016106e290612374565b600d805460ff19811660ff90911615179055565b600a546001600160a01b03163314610bdd5760405162461bcd60e51b81526004016106e290612374565b60405133904780156108fc02916000818181858888f19350505050610b2257600080fd5b600a546001600160a01b03163314610c2b5760405162461bcd60e51b81526004016106e290612374565b600c55565b600a546001600160a01b03163314610c5a5760405162461bcd60e51b81526004016106e290612374565b610788600b83836117e3565b60606001805461062b906124b0565b6001600160a01b038216331415610c9e5760405162461bcd60e51b81526004016106e2906122e4565b3360008181526005602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d079190612265565b60405180910390a35050565b6000610d1e60085490565b610d2a90610800612450565b905090565b610d393383610fa8565b610d555760405162461bcd60e51b81526004016106e2906123a4565b610d6184848484611238565b50505050565b6000818152600260205260409020546060906001600160a01b0316610d9e5760405162461bcd60e51b81526004016106e2906123c4565b600b610da98361126b565b604051602001610dba9291906121cd565b6040516020818303038152906040529050919050565b6040518060800160405280605281526020016125be6052913981565b600a546001600160a01b03163314610e165760405162461bcd60e51b81526004016106e290612374565b6001600160a01b038116610e3c5760405162461bcd60e51b81526004016106e2906122a4565b610b72816111e6565b5490565b80546001019055565b3b151590565b6001600160a01b038316610eb357610eae81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610ed6565b816001600160a01b0316836001600160a01b031614610ed657610ed68382611386565b6001600160a01b038216610ef257610eed81611423565b610788565b826001600160a01b0316826001600160a01b0316146107885761078882826114fc565b60006001600160e01b0319821663780e9d6360e01b1480610614575061061482611540565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f6f8261096b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fdc5760405162461bcd60e51b81526004016106e2906122f4565b6000610fe78361096b565b9050806001600160a01b0316846001600160a01b031614806110225750836001600160a01b0316611017846106ae565b6001600160a01b0316145b8061105257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106d8261096b565b6001600160a01b0316146110935760405162461bcd60e51b81526004016106e290612384565b6001600160a01b0382166110b95760405162461bcd60e51b81526004016106e2906122d4565b6110c4838383611590565b6110cf600082610f3a565b6001600160a01b03831660009081526003602052604081208054600192906110f8908490612450565b90915550506001600160a01b0382166000908152600360205260408120805460019290611126908490612424565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610800611193600e5490565b106111b05760405162461bcd60e51b81526004016106e290612334565b6111be600e80546001019055565b60006111c9600e5490565b6000818152600f602052604090208390559050610788838261159b565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61124384848461105a565b61124f848484846115b5565b610d615760405162461bcd60e51b81526004016106e290612294565b60608161129057506040805180820190915260018152600360fc1b6020820152610617565b8160005b81156112ba57806112a481612504565b91506112b39050600a8361243c565b9150611294565b60008167ffffffffffffffff8111156112e357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561130d576020820181803683370190505b5090505b841561105257611322600183612450565b915061132f600a8661251f565b61133a906030612424565b60f81b81838151811061135d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061137f600a8661243c565b9450611311565b6000600161139384610aaa565b61139d9190612450565b6000838152600760205260409020549091508082146113f0576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061143590600190612450565b6000838152600960205260408120546008805493945090928490811061146b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061149a57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806114e057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061150783610aaa565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160e01b031982166380ac58cd60e01b148061157157506001600160e01b03198216635b5e139f60e01b145b8061061457506301ffc9a760e01b6001600160e01b0319831614610614565b610788838383610e58565b610a7c8282604051806020016040528060008152506116c2565b60006001600160a01b0384163b156116b757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115f9903390899088908890600401612209565b602060405180830381600087803b15801561161357600080fd5b505af1925050508015611643575060408051601f3d908101601f1916820190925261164091810190611af7565b60015b61169d573d808015611671576040519150601f19603f3d011682016040523d82523d6000602084013e611676565b606091505b5080516116955760405162461bcd60e51b81526004016106e290612294565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611052565b506001949350505050565b6116cc83836116f5565b6116d960008484846115b5565b6107885760405162461bcd60e51b81526004016106e290612294565b6001600160a01b03821661171b5760405162461bcd60e51b81526004016106e290612354565b6000818152600260205260409020546001600160a01b0316156117505760405162461bcd60e51b81526004016106e2906122b4565b61175c60008383611590565b6001600160a01b0382166000908152600360205260408120805460019290611785908490612424565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546117ef906124b0565b90600052602060002090601f0160209004810192826118115760008555611857565b82601f1061182a5782800160ff19823516178555611857565b82800160010185558215611857579182015b8281111561185757823582559160200191906001019061183c565b50611863929150611867565b5090565b5b808211156118635760008155600101611868565b600061188f61188a846123f9565b6123e2565b9050828152602081018484840111156118a757600080fd5b6118b2848285612478565b509392505050565b803561080d8161258b565b803561080d8161259f565b803561080d816125a7565b805161080d816125a7565b600082601f8301126118f757600080fd5b813561105284826020860161187c565b60008083601f84011261191957600080fd5b50813567ffffffffffffffff81111561193157600080fd5b60208301915083600182028301111561194957600080fd5b9250929050565b803561080d816125b7565b60006020828403121561196d57600080fd5b600061105284846118ba565b6000806040838503121561198c57600080fd5b600061199885856118ba565b92505060206119a9858286016118ba565b9150509250929050565b6000806000606084860312156119c857600080fd5b60006119d486866118ba565b93505060206119e5868287016118ba565b92505060406119f686828701611950565b9150509250925092565b60008060008060808587031215611a1657600080fd5b6000611a2287876118ba565b9450506020611a33878288016118ba565b9350506040611a4487828801611950565b925050606085013567ffffffffffffffff811115611a6157600080fd5b611a6d878288016118e6565b91505092959194509250565b60008060408385031215611a8c57600080fd5b6000611a9885856118ba565b92505060206119a9858286016118c5565b60008060408385031215611abc57600080fd5b6000611ac885856118ba565b92505060206119a985828601611950565b600060208284031215611aeb57600080fd5b600061105284846118d0565b600060208284031215611b0957600080fd5b600061105284846118db565b60008060208385031215611b2857600080fd5b823567ffffffffffffffff811115611b3f57600080fd5b611b4b85828601611907565b92509250509250929050565b600060208284031215611b6957600080fd5b60006110528484611950565b6000611b8183836121c7565b505060200190565b611b9281612467565b82525050565b6000611ba2825190565b80845260209384019383018060005b83811015611bd6578151611bc58882611b75565b975060208301925050600101611bb1565b509495945050505050565b801515611b92565b6000611bf3825190565b808452602084019350611c0a818560208601612484565b601f01601f19169290920192915050565b6000611c25825190565b611c33818560208601612484565b9290920192915050565b60008154611c4a816124b0565b600182168015611c615760018114611c7257611ca2565b60ff19831686528186019350611ca2565b60008581526020902060005b83811015611c9a57815488820152600190910190602001611c7e565b838801955050505b50505092915050565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581526a74206f6620626f756e647360a81b602082015291505b5060400190565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150611cef565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150611cef565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291505b5060200190565b600d81526000602082016c14149250d157d393d517d35155609a1b81529150611db8565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150611cef565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150611db8565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150611cef565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060208201529150611cef565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b60208201529150611cef565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b60208201529150611cef565b60098152600060208201684e4f5f535550504c5960b81b81529150611db8565b600c81526000602082016b1393d517d3d4115397d6515560a21b81529150611db8565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000611db8565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150611cef565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000611db8565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b60208201529150611cef565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b60208201529150611cef565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b60208201529150611cef565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81526b7574206f6620626f756e647360a01b60208201529150611cef565b601f81526000602082017f55524920717565727920666f7220756e6d696e74656420746f6b656e2069640081529150611db8565b80611b92565b60006121d98285611c3d565b91506121e58284611c1b565b64173539b7b760d91b8152915060058201611052565b6020810161080d8284611b89565b608081016122178287611b89565b6122246020830186611b89565b61223160408301856121c7565b81810360608301526122438184611be9565b9695505050505050565b6020808252810161225e8184611b98565b9392505050565b6020810161080d8284611be1565b6020808252810161225e8184611be9565b6020808252810161061481611cab565b6020808252810161061481611cf6565b6020808252810161061481611d45565b6020808252810161061481611d88565b6020808252810161061481611dbf565b6020808252810161061481611de3565b6020808252810161061481611e24565b6020808252810161061481611e58565b6020808252810161061481611ea1565b6020808252810161061481611efb565b6020808252810161061481611f42565b6020808252810161061481611f88565b6020808252810161061481611fa8565b6020808252810161061481611fcb565b6020808252810161061481611ffd565b6020808252810161061481612046565b6020808252810161061481612078565b60208082528101610614816120be565b60208082528101610614816120fc565b602080825281016106148161214a565b6020808252810161061481612193565b6020810161080d82846121c7565b60006123ed60405190565b905061061782826124d7565b600067ffffffffffffffff82111561241357612413612575565b601f19601f83011660200192915050565b6000821982111561243757612437612533565b500190565b60008261244b5761244b612549565b500490565b60008282101561246257612462612533565b500390565b60006001600160a01b038216610614565b82818337506000910152565b60005b8381101561249f578181015183820152602001612487565b83811115610d615750506000910152565b6002810460018216806124c457607f821691505b602082108114156109655761096561255f565b601f19601f830116810181811067ffffffffffffffff821117156124fd576124fd612575565b6040525050565b600060001982141561251857612518612533565b5060010190565b60008261252e5761252e612549565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b61259481612467565b8114610b7257600080fd5b801515612594565b6001600160e01b03198116612594565b8061259456fe3230343820616c676f726974686d6963616c6c792067656e6572617465642c20756e69717565206e6577207374796c697a6174696f6e73206f6e207468652068756d626c6520747275636865742074696c65a264697066735822122080ab08284c61d7d2e23362c44c3af5020b98048630bca73cbeeb8107806c9c9864736f6c63430008020033000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1000000000000000000000000cf71dca168a35b198f95559187c39bea18157482000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd10000000000000000000000000b078335d52f0d6887b844559aa493c56dd336f900000000000000000000000038164f5daddc77c273cc54c234a42e221092af94000000000000000000000000b5016d199685ff62c87114eaee7ec7b4c345983a00000000000000000000000085308e68dbb69305cdded0d8f965cea849d8fb010000000000000000000000001e9112601f9fa78e978c660d1b68071a3c3325000000000000000000000000001e9112601f9fa78e978c660d1b68071a3c3325000000000000000000000000002eb5e5713a874786af6da95f6e4deacedb5dc246000000000000000000000000bac1218fbe5b3f2e89932fc110450fcff5743f4b0000000000000000000000003b3525f60eeea4a1ef554df5425912c2a532875d0000000000000000000000000000000000000000000000000000017bf316f2b40000000000000000000000000000000000000000000000000000017bf31d4b8a0000000000000000000000000000000000000000000000000000017bf31f93630000000000000000000000000000000000000000000000000000017bf36af3e40000000000000000000000000000000000000000000000000000017bf37137850000000000000000000000000000000000000000000000000000017bf383c79e0000000000000000000000000000000000000000000000000000017bf38459040000000000000000000000000000000000000000000000000000017bf3279f980000000000000000000000000000000000000000000000000000017bf329871e0000000000000000000000000000000000000000000000000000017bf325aec80000000000000000000000000000000000000000000000000000017bf3247e5b0000000000000000000000000000000000000000000000000000017bf360c96a0000000000000000000000000000000000000000000000000000017bf32bd3c50000000000000000000000000000000000000000000000000000017bf356eb7f0000000000000000000000000000000000000000000000000000017bf35338440000000000000000000000000000000000000000000000000000017bf3641d35000000000000000000000000000000000000000000000000000000000000000e54727563686574205374796c65730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005545354594c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f66696c65732e747275636865747374796c65732e6172742f6d657461646174612f0000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101f95760003560e01c8063715018a61161010d578063a035b1fe116100a0578063c87b56dd1161006f578063c87b56dd14610555578063e985e9c514610575578063f1ae8856146105be578063f2fde38b146105d3578063f47c84c5146105f3576101f9565b8063a035b1fe146104ea578063a22cb46514610500578063a50a1fe614610520578063b88d4fde14610535576101f9565b80638da5cb5b116100dc5780638da5cb5b1461047757806391b7f5ed14610495578063931688cb146104b557806395d89b41146104d5576101f9565b8063715018a61461043257806378091122146104475780637bbdad111461045a578063853828b61461046f576101f9565b806342842e0e116101905780636352211e1161015f5780636352211e146103b75780636c0360eb146103d75780636f46db0e146103ec5780636fecc249146103ff57806370a0823114610412576101f9565b806342842e0e1461031d5780634f6ccce71461033d5780635de6dc551461035d5780635f5168361461038a576101f9565b806318160ddd116101cc57806318160ddd146102a557806322f3e2d4146102c357806323b872dd146102dd5780632f745c59146102fd576101f9565b806301ffc9a7146101fe57806306fdde0314610234578063081812fc14610256578063095ea7b314610283575b600080fd5b34801561020a57600080fd5b5061021e610219366004611ad9565b610609565b60405161022b9190612265565b60405180910390f35b34801561024057600080fd5b5061024961061c565b60405161022b9190612273565b34801561026257600080fd5b50610276610271366004611b57565b6106ae565b60405161022b91906121fb565b34801561028f57600080fd5b506102a361029e366004611aa9565b610707565b005b3480156102b157600080fd5b506008545b60405161022b91906123d4565b3480156102cf57600080fd5b50600d5461021e9060ff1681565b3480156102e957600080fd5b506102a36102f83660046119b3565b61078d565b34801561030957600080fd5b506102b6610318366004611aa9565b6107be565b34801561032957600080fd5b506102a36103383660046119b3565b610813565b34801561034957600080fd5b506102b6610358366004611b57565b61082e565b34801561036957600080fd5b5061037d61037836600461195b565b61088a565b60405161022b919061224d565b34801561039657600080fd5b506102b66103a5366004611b57565b600f6020526000908152604090205481565b3480156103c357600080fd5b506102766103d2366004611b57565b61096b565b3480156103e357600080fd5b506102496109a0565b6102a36103fa366004611aa9565b610a2e565b6102a361040d366004611aa9565b610a80565b34801561041e57600080fd5b506102b661042d36600461195b565b610aaa565b34801561043e57600080fd5b506102a3610aee565b6102a3610455366004611b57565b610b24565b34801561046657600080fd5b506102a3610b75565b6102a3610bb3565b34801561048357600080fd5b50600a546001600160a01b0316610276565b3480156104a157600080fd5b506102a36104b0366004611b57565b610c01565b3480156104c157600080fd5b506102a36104d0366004611b15565b610c30565b3480156104e157600080fd5b50610249610c66565b3480156104f657600080fd5b506102b6600c5481565b34801561050c57600080fd5b506102a361051b366004611a79565b610c75565b34801561052c57600080fd5b506102b6610d13565b34801561054157600080fd5b506102a3610550366004611a00565b610d2f565b34801561056157600080fd5b50610249610570366004611b57565b610d67565b34801561058157600080fd5b5061021e610590366004611979565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156105ca57600080fd5b50610249610dd0565b3480156105df57600080fd5b506102a36105ee36600461195b565b610dec565b3480156105ff57600080fd5b506102b661080081565b600061061482610f15565b90505b919050565b60606000805461062b906124b0565b80601f0160208091040260200160405190810160405280929190818152602001828054610657906124b0565b80156106a45780601f10610679576101008083540402835291602001916106a4565b820191906000526020600020905b81548152906001019060200180831161068757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106eb5760405162461bcd60e51b81526004016106e290612364565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107128261096b565b9050806001600160a01b0316836001600160a01b031614156107465760405162461bcd60e51b81526004016106e290612394565b336001600160a01b038216148061076257506107628133610590565b61077e5760405162461bcd60e51b81526004016106e290612304565b6107888383610f3a565b505050565b6107973382610fa8565b6107b35760405162461bcd60e51b81526004016106e2906123a4565b61078883838361105a565b60006107c983610aaa565b82106107e75760405162461bcd60e51b81526004016106e290612284565b506001600160a01b03821660009081526006602090815260408083208484529091529020545b92915050565b61078883838360405180602001604052806000815250610d2f565b600061083960085490565b82106108575760405162461bcd60e51b81526004016106e2906123b4565b6008828154811061087857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6060600061089783610aaa565b9050806108b4575050604080516000815260208101909152610617565b60008167ffffffffffffffff8111156108dd57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610906578160200160208202803683370190505b50905060005b8281101561095b5761091e85826107be565b82828151811061093e57634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061095381612504565b91505061090c565b5091506106179050565b50919050565b6000818152600260205260408120546001600160a01b0316806106145760405162461bcd60e51b81526004016106e290612324565b600b80546109ad906124b0565b80601f01602080910402602001604051908101604052809291908181526020018280546109d9906124b0565b8015610a265780601f106109fb57610100808354040283529160200191610a26565b820191906000526020600020905b815481529060010190602001808311610a0957829003601f168201915b505050505081565b600d5460ff16610a505760405162461bcd60e51b81526004016106e290612344565b600c54341015610a725760405162461bcd60e51b81526004016106e2906122c4565b610a7c8282611187565b5050565b600a546001600160a01b03163314610a725760405162461bcd60e51b81526004016106e290612374565b60006001600160a01b038216610ad25760405162461bcd60e51b81526004016106e290612314565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610b185760405162461bcd60e51b81526004016106e290612374565b610b2260006111e6565b565b600d5460ff16610b465760405162461bcd60e51b81526004016106e290612344565b600c54341015610b685760405162461bcd60e51b81526004016106e2906122c4565b610b723382611187565b50565b600a546001600160a01b03163314610b9f5760405162461bcd60e51b81526004016106e290612374565b600d805460ff19811660ff90911615179055565b600a546001600160a01b03163314610bdd5760405162461bcd60e51b81526004016106e290612374565b60405133904780156108fc02916000818181858888f19350505050610b2257600080fd5b600a546001600160a01b03163314610c2b5760405162461bcd60e51b81526004016106e290612374565b600c55565b600a546001600160a01b03163314610c5a5760405162461bcd60e51b81526004016106e290612374565b610788600b83836117e3565b60606001805461062b906124b0565b6001600160a01b038216331415610c9e5760405162461bcd60e51b81526004016106e2906122e4565b3360008181526005602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610d079190612265565b60405180910390a35050565b6000610d1e60085490565b610d2a90610800612450565b905090565b610d393383610fa8565b610d555760405162461bcd60e51b81526004016106e2906123a4565b610d6184848484611238565b50505050565b6000818152600260205260409020546060906001600160a01b0316610d9e5760405162461bcd60e51b81526004016106e2906123c4565b600b610da98361126b565b604051602001610dba9291906121cd565b6040516020818303038152906040529050919050565b6040518060800160405280605281526020016125be6052913981565b600a546001600160a01b03163314610e165760405162461bcd60e51b81526004016106e290612374565b6001600160a01b038116610e3c5760405162461bcd60e51b81526004016106e2906122a4565b610b72816111e6565b5490565b80546001019055565b3b151590565b6001600160a01b038316610eb357610eae81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610ed6565b816001600160a01b0316836001600160a01b031614610ed657610ed68382611386565b6001600160a01b038216610ef257610eed81611423565b610788565b826001600160a01b0316826001600160a01b0316146107885761078882826114fc565b60006001600160e01b0319821663780e9d6360e01b1480610614575061061482611540565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f6f8261096b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610fdc5760405162461bcd60e51b81526004016106e2906122f4565b6000610fe78361096b565b9050806001600160a01b0316846001600160a01b031614806110225750836001600160a01b0316611017846106ae565b6001600160a01b0316145b8061105257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661106d8261096b565b6001600160a01b0316146110935760405162461bcd60e51b81526004016106e290612384565b6001600160a01b0382166110b95760405162461bcd60e51b81526004016106e2906122d4565b6110c4838383611590565b6110cf600082610f3a565b6001600160a01b03831660009081526003602052604081208054600192906110f8908490612450565b90915550506001600160a01b0382166000908152600360205260408120805460019290611126908490612424565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610800611193600e5490565b106111b05760405162461bcd60e51b81526004016106e290612334565b6111be600e80546001019055565b60006111c9600e5490565b6000818152600f602052604090208390559050610788838261159b565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61124384848461105a565b61124f848484846115b5565b610d615760405162461bcd60e51b81526004016106e290612294565b60608161129057506040805180820190915260018152600360fc1b6020820152610617565b8160005b81156112ba57806112a481612504565b91506112b39050600a8361243c565b9150611294565b60008167ffffffffffffffff8111156112e357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561130d576020820181803683370190505b5090505b841561105257611322600183612450565b915061132f600a8661251f565b61133a906030612424565b60f81b81838151811061135d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061137f600a8661243c565b9450611311565b6000600161139384610aaa565b61139d9190612450565b6000838152600760205260409020549091508082146113f0576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061143590600190612450565b6000838152600960205260408120546008805493945090928490811061146b57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061149a57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806114e057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061150783610aaa565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b60006001600160e01b031982166380ac58cd60e01b148061157157506001600160e01b03198216635b5e139f60e01b145b8061061457506301ffc9a760e01b6001600160e01b0319831614610614565b610788838383610e58565b610a7c8282604051806020016040528060008152506116c2565b60006001600160a01b0384163b156116b757604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906115f9903390899088908890600401612209565b602060405180830381600087803b15801561161357600080fd5b505af1925050508015611643575060408051601f3d908101601f1916820190925261164091810190611af7565b60015b61169d573d808015611671576040519150601f19603f3d011682016040523d82523d6000602084013e611676565b606091505b5080516116955760405162461bcd60e51b81526004016106e290612294565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611052565b506001949350505050565b6116cc83836116f5565b6116d960008484846115b5565b6107885760405162461bcd60e51b81526004016106e290612294565b6001600160a01b03821661171b5760405162461bcd60e51b81526004016106e290612354565b6000818152600260205260409020546001600160a01b0316156117505760405162461bcd60e51b81526004016106e2906122b4565b61175c60008383611590565b6001600160a01b0382166000908152600360205260408120805460019290611785908490612424565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546117ef906124b0565b90600052602060002090601f0160209004810192826118115760008555611857565b82601f1061182a5782800160ff19823516178555611857565b82800160010185558215611857579182015b8281111561185757823582559160200191906001019061183c565b50611863929150611867565b5090565b5b808211156118635760008155600101611868565b600061188f61188a846123f9565b6123e2565b9050828152602081018484840111156118a757600080fd5b6118b2848285612478565b509392505050565b803561080d8161258b565b803561080d8161259f565b803561080d816125a7565b805161080d816125a7565b600082601f8301126118f757600080fd5b813561105284826020860161187c565b60008083601f84011261191957600080fd5b50813567ffffffffffffffff81111561193157600080fd5b60208301915083600182028301111561194957600080fd5b9250929050565b803561080d816125b7565b60006020828403121561196d57600080fd5b600061105284846118ba565b6000806040838503121561198c57600080fd5b600061199885856118ba565b92505060206119a9858286016118ba565b9150509250929050565b6000806000606084860312156119c857600080fd5b60006119d486866118ba565b93505060206119e5868287016118ba565b92505060406119f686828701611950565b9150509250925092565b60008060008060808587031215611a1657600080fd5b6000611a2287876118ba565b9450506020611a33878288016118ba565b9350506040611a4487828801611950565b925050606085013567ffffffffffffffff811115611a6157600080fd5b611a6d878288016118e6565b91505092959194509250565b60008060408385031215611a8c57600080fd5b6000611a9885856118ba565b92505060206119a9858286016118c5565b60008060408385031215611abc57600080fd5b6000611ac885856118ba565b92505060206119a985828601611950565b600060208284031215611aeb57600080fd5b600061105284846118d0565b600060208284031215611b0957600080fd5b600061105284846118db565b60008060208385031215611b2857600080fd5b823567ffffffffffffffff811115611b3f57600080fd5b611b4b85828601611907565b92509250509250929050565b600060208284031215611b6957600080fd5b60006110528484611950565b6000611b8183836121c7565b505060200190565b611b9281612467565b82525050565b6000611ba2825190565b80845260209384019383018060005b83811015611bd6578151611bc58882611b75565b975060208301925050600101611bb1565b509495945050505050565b801515611b92565b6000611bf3825190565b808452602084019350611c0a818560208601612484565b601f01601f19169290920192915050565b6000611c25825190565b611c33818560208601612484565b9290920192915050565b60008154611c4a816124b0565b600182168015611c615760018114611c7257611ca2565b60ff19831686528186019350611ca2565b60008581526020902060005b83811015611c9a57815488820152600190910190602001611c7e565b838801955050505b50505092915050565b602b81526000602082017f455243373231456e756d657261626c653a206f776e657220696e646578206f7581526a74206f6620626f756e647360a81b602082015291505b5060400190565b603281526000602082017f4552433732313a207472616e7366657220746f206e6f6e20455243373231526581527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60208201529150611cef565b602681526000602082017f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206181526564647265737360d01b60208201529150611cef565b601c81526000602082017f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000815291505b5060200190565b600d81526000602082016c14149250d157d393d517d35155609a1b81529150611db8565b602481526000602082017f4552433732313a207472616e7366657220746f20746865207a65726f206164648152637265737360e01b60208201529150611cef565b601981526000602082017f4552433732313a20617070726f766520746f2063616c6c65720000000000000081529150611db8565b602c81526000602082017f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150611cef565b603881526000602082017f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7781527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060208201529150611cef565b602a81526000602082017f4552433732313a2062616c616e636520717565727920666f7220746865207a65815269726f206164647265737360b01b60208201529150611cef565b602981526000602082017f4552433732313a206f776e657220717565727920666f72206e6f6e657869737481526832b73a103a37b5b2b760b91b60208201529150611cef565b60098152600060208201684e4f5f535550504c5960b81b81529150611db8565b600c81526000602082016b1393d517d3d4115397d6515560a21b81529150611db8565b60208082527f4552433732313a206d696e7420746f20746865207a65726f206164647265737391019081526000611db8565b602c81526000602082017f4552433732313a20617070726f76656420717565727920666f72206e6f6e657881526b34b9ba32b73a103a37b5b2b760a11b60208201529150611cef565b60208082527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657291019081526000611db8565b602981526000602082017f4552433732313a207472616e73666572206f6620746f6b656e2074686174206981526839903737ba1037bbb760b91b60208201529150611cef565b602181526000602082017f4552433732313a20617070726f76616c20746f2063757272656e74206f776e658152603960f91b60208201529150611cef565b603181526000602082017f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f8152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b60208201529150611cef565b602c81526000602082017f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f81526b7574206f6620626f756e647360a01b60208201529150611cef565b601f81526000602082017f55524920717565727920666f7220756e6d696e74656420746f6b656e2069640081529150611db8565b80611b92565b60006121d98285611c3d565b91506121e58284611c1b565b64173539b7b760d91b8152915060058201611052565b6020810161080d8284611b89565b608081016122178287611b89565b6122246020830186611b89565b61223160408301856121c7565b81810360608301526122438184611be9565b9695505050505050565b6020808252810161225e8184611b98565b9392505050565b6020810161080d8284611be1565b6020808252810161225e8184611be9565b6020808252810161061481611cab565b6020808252810161061481611cf6565b6020808252810161061481611d45565b6020808252810161061481611d88565b6020808252810161061481611dbf565b6020808252810161061481611de3565b6020808252810161061481611e24565b6020808252810161061481611e58565b6020808252810161061481611ea1565b6020808252810161061481611efb565b6020808252810161061481611f42565b6020808252810161061481611f88565b6020808252810161061481611fa8565b6020808252810161061481611fcb565b6020808252810161061481611ffd565b6020808252810161061481612046565b6020808252810161061481612078565b60208082528101610614816120be565b60208082528101610614816120fc565b602080825281016106148161214a565b6020808252810161061481612193565b6020810161080d82846121c7565b60006123ed60405190565b905061061782826124d7565b600067ffffffffffffffff82111561241357612413612575565b601f19601f83011660200192915050565b6000821982111561243757612437612533565b500190565b60008261244b5761244b612549565b500490565b60008282101561246257612462612533565b500390565b60006001600160a01b038216610614565b82818337506000910152565b60005b8381101561249f578181015183820152602001612487565b83811115610d615750506000910152565b6002810460018216806124c457607f821691505b602082108114156109655761096561255f565b601f19601f830116810181811067ffffffffffffffff821117156124fd576124fd612575565b6040525050565b600060001982141561251857612518612533565b5060010190565b60008261252e5761252e612549565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b61259481612467565b8114610b7257600080fd5b801515612594565b6001600160e01b03198116612594565b8061259456fe3230343820616c676f726974686d6963616c6c792067656e6572617465642c20756e69717565206e6577207374796c697a6174696f6e73206f6e207468652068756d626c6520747275636865742074696c65a264697066735822122080ab08284c61d7d2e23362c44c3af5020b98048630bca73cbeeb8107806c9c9864736f6c63430008020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000046000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000004e0000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1000000000000000000000000cf71dca168a35b198f95559187c39bea18157482000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd10000000000000000000000000b078335d52f0d6887b844559aa493c56dd336f900000000000000000000000038164f5daddc77c273cc54c234a42e221092af94000000000000000000000000b5016d199685ff62c87114eaee7ec7b4c345983a00000000000000000000000085308e68dbb69305cdded0d8f965cea849d8fb010000000000000000000000001e9112601f9fa78e978c660d1b68071a3c3325000000000000000000000000001e9112601f9fa78e978c660d1b68071a3c3325000000000000000000000000002eb5e5713a874786af6da95f6e4deacedb5dc246000000000000000000000000bac1218fbe5b3f2e89932fc110450fcff5743f4b0000000000000000000000003b3525f60eeea4a1ef554df5425912c2a532875d0000000000000000000000000000000000000000000000000000017bf316f2b40000000000000000000000000000000000000000000000000000017bf31d4b8a0000000000000000000000000000000000000000000000000000017bf31f93630000000000000000000000000000000000000000000000000000017bf36af3e40000000000000000000000000000000000000000000000000000017bf37137850000000000000000000000000000000000000000000000000000017bf383c79e0000000000000000000000000000000000000000000000000000017bf38459040000000000000000000000000000000000000000000000000000017bf3279f980000000000000000000000000000000000000000000000000000017bf329871e0000000000000000000000000000000000000000000000000000017bf325aec80000000000000000000000000000000000000000000000000000017bf3247e5b0000000000000000000000000000000000000000000000000000017bf360c96a0000000000000000000000000000000000000000000000000000017bf32bd3c50000000000000000000000000000000000000000000000000000017bf356eb7f0000000000000000000000000000000000000000000000000000017bf35338440000000000000000000000000000000000000000000000000000017bf3641d35000000000000000000000000000000000000000000000000000000000000000e54727563686574205374796c65730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005545354594c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f66696c65732e747275636865747374796c65732e6172742f6d657461646174612f0000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Truchet Styles
Arg [1] : symbol (string): TSTYL
Arg [2] : initialBaseURI (string): https://files.truchetstyles.art/metadata/
Arg [3] : _specialMintRecipients (address[16]): 0xdA48f922A4EC0c4B78758Af9e83e69D1B687Edd1,0xdA48f922A4EC0c4B78758Af9e83e69D1B687Edd1,0xCf71dca168A35B198F95559187C39bEa18157482,0xdA48f922A4EC0c4B78758Af9e83e69D1B687Edd1,0xdA48f922A4EC0c4B78758Af9e83e69D1B687Edd1,0xdA48f922A4EC0c4B78758Af9e83e69D1B687Edd1,0xdA48f922A4EC0c4B78758Af9e83e69D1B687Edd1,0x0b078335D52F0d6887b844559AA493c56dD336f9,0x38164f5DaDDc77C273Cc54c234a42e221092aF94,0xb5016d199685ff62C87114eAeE7Ec7b4C345983a,0x85308E68dbb69305CdDeD0d8f965CEA849D8Fb01,0x1E9112601F9fA78E978C660d1b68071A3c332500,0x1E9112601F9fA78E978C660d1b68071A3c332500,0x2eB5e5713A874786af6Da95f6E4DEaCEdb5dC246,0xbAC1218fBe5b3f2e89932FC110450FCFF5743F4b,0x3B3525F60eeea4a1eF554df5425912c2a532875D
Arg [4] : _specialMintSeeds (uint256[16]): 1631870972596,1631871388554,1631871538019,1631876477924,1631876888453,1631878104990,1631878142212,1631872065432,1631872190238,1631871938248,1631871860315,1631875811690,1631872340933,1631875165055,1631874922564,1631876029749
-----Encoded View---------------
42 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000460
Arg [1] : 00000000000000000000000000000000000000000000000000000000000004a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000004e0
Arg [3] : 000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1
Arg [4] : 000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1
Arg [5] : 000000000000000000000000cf71dca168a35b198f95559187c39bea18157482
Arg [6] : 000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1
Arg [7] : 000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1
Arg [8] : 000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1
Arg [9] : 000000000000000000000000da48f922a4ec0c4b78758af9e83e69d1b687edd1
Arg [10] : 0000000000000000000000000b078335d52f0d6887b844559aa493c56dd336f9
Arg [11] : 00000000000000000000000038164f5daddc77c273cc54c234a42e221092af94
Arg [12] : 000000000000000000000000b5016d199685ff62c87114eaee7ec7b4c345983a
Arg [13] : 00000000000000000000000085308e68dbb69305cdded0d8f965cea849d8fb01
Arg [14] : 0000000000000000000000001e9112601f9fa78e978c660d1b68071a3c332500
Arg [15] : 0000000000000000000000001e9112601f9fa78e978c660d1b68071a3c332500
Arg [16] : 0000000000000000000000002eb5e5713a874786af6da95f6e4deacedb5dc246
Arg [17] : 000000000000000000000000bac1218fbe5b3f2e89932fc110450fcff5743f4b
Arg [18] : 0000000000000000000000003b3525f60eeea4a1ef554df5425912c2a532875d
Arg [19] : 0000000000000000000000000000000000000000000000000000017bf316f2b4
Arg [20] : 0000000000000000000000000000000000000000000000000000017bf31d4b8a
Arg [21] : 0000000000000000000000000000000000000000000000000000017bf31f9363
Arg [22] : 0000000000000000000000000000000000000000000000000000017bf36af3e4
Arg [23] : 0000000000000000000000000000000000000000000000000000017bf3713785
Arg [24] : 0000000000000000000000000000000000000000000000000000017bf383c79e
Arg [25] : 0000000000000000000000000000000000000000000000000000017bf3845904
Arg [26] : 0000000000000000000000000000000000000000000000000000017bf3279f98
Arg [27] : 0000000000000000000000000000000000000000000000000000017bf329871e
Arg [28] : 0000000000000000000000000000000000000000000000000000017bf325aec8
Arg [29] : 0000000000000000000000000000000000000000000000000000017bf3247e5b
Arg [30] : 0000000000000000000000000000000000000000000000000000017bf360c96a
Arg [31] : 0000000000000000000000000000000000000000000000000000017bf32bd3c5
Arg [32] : 0000000000000000000000000000000000000000000000000000017bf356eb7f
Arg [33] : 0000000000000000000000000000000000000000000000000000017bf3533844
Arg [34] : 0000000000000000000000000000000000000000000000000000017bf3641d35
Arg [35] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [36] : 54727563686574205374796c6573000000000000000000000000000000000000
Arg [37] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [38] : 545354594c000000000000000000000000000000000000000000000000000000
Arg [39] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [40] : 68747470733a2f2f66696c65732e747275636865747374796c65732e6172742f
Arg [41] : 6d657461646174612f0000000000000000000000000000000000000000000000
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.