ERC-721
NFT
Overview
Max Total Supply
1,284 SERS
Holders
593
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SERSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TempusSers
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/math/SafeCast.sol"; import "./Shuffle.sol"; contract TempusSers is ERC721Enumerable, Ownable { /// Opensea specific event to mark metadata as frozen event PermanentURI(string _value, uint256 indexed _id); /// Total supply of sers. uint256 public constant MAX_SUPPLY = 3333; /// The next batch which is yet to be issued. uint256 public nextBatch; /// The supply in each batch. mapping(uint256 => uint256) public batchSupply; /// The starting token ID for this batch. mapping(uint256 => uint256) public batchOffset; /// The base URI for the collection. mapping(uint256 => string) public baseTokenURIs; /// The merkle root of the claim list. mapping(uint256 => bytes32) public claimlistRoots; /// The seed used for the shuffling. mapping(uint256 => uint32) public shuffleSeeds; /// The map of tickets (per batch) which have been claimed already. mapping(uint256 => mapping(uint256 => bool)) public claimedTickets; /// The original minter of a given token. mapping(uint256 => address) public originalMinter; constructor() ERC721("Tempus Sers", "SERS") {} function totalAvailableSupply() private view returns (uint256 ret) { return (nextBatch == 0) ? 0 : (batchOffset[nextBatch - 1] + batchSupply[nextBatch - 1]); } function addBatch( uint256 batch, string calldata baseTokenURI, uint256 supply, bytes32 claimlistRoot, bytes32[] calldata proof ) external onlyOwner { require(nextBatch == batch, "TempusSers: Invalid batch"); require(supply > 0, "TempusSers: Batch supply must be greater than 0"); require((totalAvailableSupply() + supply) <= MAX_SUPPLY, "TempusSers: Supply will exceed maximum"); bytes32 leaf = keccak256(abi.encode(batch, address(0), keccak256(abi.encode(supply, baseTokenURI)))); require(MerkleProof.verify(proof, claimlistRoot, leaf), "TempusSers: Invalid proof"); baseTokenURIs[batch] = sanitizeBaseURI(baseTokenURI); claimlistRoots[batch] = claimlistRoot; batchSupply[batch] = supply; batchOffset[batch] = totalAvailableSupply(); nextBatch++; } function setSeed(uint256 batch) external onlyOwner { require(shuffleSeeds[batch] == 0, "TempusSers: Seed already set"); require(batchSupply[batch] > 0, "TempusSers: Batch not initialized"); // TODO: set it with proper source of randomness shuffleSeeds[batch] = uint32(uint256(blockhash(block.number - 1))); } function proveTicket( uint256 batch, address recipient, uint256 ticketId, bytes32[] calldata proof ) external { require(batch < nextBatch, "TempusSers: Invalid batch"); require(shuffleSeeds[batch] != 0, "TempusSers: Seed not sed yet"); // This is a short-cut for avoiding double claiming tickets. require(!claimedTickets[batch][ticketId], "TempusSers: Ticket already claimed"); require(ticketId > 0 && ticketId <= MAX_SUPPLY, "TempusSers: Invalid ticket id"); require(recipient != address(0), "TempusSers: Invalid recipient"); bytes32 leaf = keccak256(abi.encode(batch, recipient, ticketId)); require(MerkleProof.verify(proof, claimlistRoots[batch], leaf), "TempusSers: Invalid proof"); // Claim ticket. claimedTickets[batch][ticketId] = true; _mintToUser(recipient, ticketToTokenId(batch, ticketId)); } function _mintToUser(address recipient, uint256 tokenId) private { assert(totalSupply() < MAX_SUPPLY); // Mark who was the original owner originalMinter[tokenId] = recipient; _safeMint(recipient, tokenId); emit PermanentURI(tokenURI(tokenId), tokenId); } function tokenURI(uint256 tokenId) public view override returns (string memory) { uint256 batch = tokenIdToBatch(tokenId); // ipfs://Qmd6FJksU1TaRkVhTiDZLqG4yi4Hg5NCXFD6QiF9zEgZSs/1.json return string(bytes.concat(bytes(baseTokenURIs[batch]), bytes(Strings.toString(tokenId)), bytes(".json"))); } function ticketToTokenId(uint256 batch, uint256 ticketId) public view returns (uint256) { require(shuffleSeeds[batch] != 0, "TempusSers: Seed not set yet"); uint256 rawTokenId = uint256( Shuffle.permute(SafeCast.toUint32(ticketId - 1), uint32(batchSupply[batch]), shuffleSeeds[batch]) ); return batchOffset[batch] + rawTokenId; } function tokenIdToBatch(uint256 tokenId) private view returns (uint256) { for (uint256 batch = 0; batch < nextBatch; batch++) { uint256 offset = batchOffset[batch]; uint256 supply = batchSupply[batch]; if ((offset <= tokenId) && (tokenId <= (offset + supply))) { return batch; } } // Should not be reached. assert(false); return 0; } /// Sanitize the input URI so that it always end with a forward slash. /// /// Note that we assume the URI is ASCII, and we ignore the case of empty URI. function sanitizeBaseURI(string memory uri) private pure returns (string memory) { bytes memory tmp = bytes(uri); require(tmp.length != 0, "TempusSers: URI cannot be empty"); if (tmp[tmp.length - 1] != "/") { return string(bytes.concat(tmp, "/")); } return uri; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; 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; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits"); return uint224(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits"); return uint96(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits. */ function toUint8(uint256 value) internal pure returns (uint8) { require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits. * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256"); return int256(value); } }
// A shuffling algorithm based on https://afnan.io/posts/2019-04-05-explaining-the-hashed-permutation/ // (Original paper: https://graphics.pixar.com/library/MultiJitteredSampling/paper.pdf) // SPDX-License-Identifier: MIT pragma solidity 0.8.4; library Shuffle { /// @param idx The index we want to permute. Must be between 0 and len-1. /// @param len The domain of the permutation. Must not be 0. function permute( uint32 idx, uint32 len, uint32 seed ) internal pure returns (uint32 ret) { assert(len != 0 && idx < len); uint32 mask = getMask(len); do { idx = hash(idx, mask, seed); } while (idx >= len); unchecked { ret = (idx + seed) % len; } } function getMask(uint32 len) private pure returns (uint32 mask) { unchecked { mask = len - 1; mask |= mask >> 1; mask |= mask >> 2; mask |= mask >> 4; mask |= mask >> 8; mask |= mask >> 16; } } function hash( uint32 idx, uint32 mask, uint32 seed ) private pure returns (uint32) { unchecked { idx ^= seed; idx *= 0xe170893d; idx ^= seed >> 16; idx ^= (idx & mask) >> 4; idx ^= seed >> 8; idx *= 0x0929eb3f; idx ^= seed >> 23; idx ^= (idx & mask) >> 1; idx *= 1 | (seed >> 27); idx *= 0x6935fa69; idx ^= (idx & mask) >> 11; idx *= 0x74dcb303; idx ^= (idx & mask) >> 2; idx *= 0x9e501cc3; idx ^= (idx & mask) >> 2; idx *= 0xc860a3df; idx &= mask; idx ^= idx >> 5; } return idx; } }
// 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 "../../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 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 "./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": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"batch","type":"uint256"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"bytes32","name":"claimlistRoot","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"addBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"baseTokenURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"batchOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"batchSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedTickets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimlistRoots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"nextBatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"originalMinter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"batch","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"ticketId","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"proveTicket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"batch","type":"uint256"}],"name":"setSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"shuffleSeeds","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","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":"batch","type":"uint256"},{"internalType":"uint256","name":"ticketId","type":"uint256"}],"name":"ticketToTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600b81526020017f54656d70757320536572730000000000000000000000000000000000000000008152506040518060400160405280600481526020017f5345525300000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620001a6565b508060019080519060200190620000af929190620001a6565b505050620000d2620000c6620000d860201b60201c565b620000e060201b60201c565b620002bb565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001b49062000256565b90600052602060002090601f016020900481019282620001d8576000855562000224565b82601f10620001f357805160ff191683800117855562000224565b8280016001018555821562000224579182015b828111156200022357825182559160200191906001019062000206565b5b50905062000233919062000237565b5090565b5b808211156200025257600081600090555060010162000238565b5090565b600060028204905060018216806200026f57607f821691505b602082108114156200028657620002856200028c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6150d680620002cb6000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c806370a082311161010f578063b9036147116100a2578063e7c51f1b11610071578063e7c51f1b14610629578063e985e9c514610647578063f2fde38b14610677578063fa094ab614610693576101f0565b8063b90361471461057d578063c32a50f9146105ad578063c87b56dd146105c9578063cac9dbf3146105f9576101f0565b80638da5cb5b116100de5780638da5cb5b1461050957806395d89b4114610527578063a22cb46514610545578063b88d4fde14610561576101f0565b806370a082311461046f578063715018a61461049f5780637cbf831b146104a957806387993b59146104d9576101f0565b80632d414ae51161018757806342842e0e1161015657806342842e0e146103c35780634f6ccce7146103df5780635460a1cc1461040f5780636352211e1461043f576101f0565b80632d414ae5146103155780632db20c2f146103455780632f745c591461037557806332cb6b0c146103a5576101f0565b806318160ddd116101c357806318160ddd1461028f5780631d1697b5146102ad57806323b872dd146102dd57806329d3d4e0146102f9576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a9190613716565b6106af565b60405161021c9190613fd8565b60405180910390f35b61022d610729565b60405161023a919061400e565b60405180910390f35b61025d60048036038101906102589190613768565b6107bb565b60405161026a9190613f71565b60405180910390f35b61028d600480360381019061028891906136da565b610840565b005b610297610958565b6040516102a491906143f0565b60405180910390f35b6102c760048036038101906102c29190613768565b610965565b6040516102d4919061400e565b60405180910390f35b6102f760048036038101906102f291906135d4565b610a05565b005b610313600480360381019061030e9190613811565b610a65565b005b61032f600480360381019061032a9190613768565b610d89565b60405161033c9190613f71565b60405180910390f35b61035f600480360381019061035a9190613768565b610dbc565b60405161036c91906143f0565b60405180910390f35b61038f600480360381019061038a91906136da565b610dd4565b60405161039c91906143f0565b60405180910390f35b6103ad610e79565b6040516103ba91906143f0565b60405180910390f35b6103dd60048036038101906103d891906135d4565b610e7f565b005b6103f960048036038101906103f49190613768565b610e9f565b60405161040691906143f0565b60405180910390f35b610429600480360381019061042491906138c1565b610f36565b60405161043691906143f0565b60405180910390f35b61045960048036038101906104549190613768565b61102b565b6040516104669190613f71565b60405180910390f35b6104896004803603810190610484919061356f565b6110dd565b60405161049691906143f0565b60405180910390f35b6104a7611195565b005b6104c360048036038101906104be9190613768565b61121d565b6040516104d091906144ab565b60405180910390f35b6104f360048036038101906104ee9190613768565b611240565b60405161050091906143f0565b60405180910390f35b610511611258565b60405161051e9190613f71565b60405180910390f35b61052f611282565b60405161053c919061400e565b60405180910390f35b61055f600480360381019061055a919061369e565b611314565b005b61057b60048036038101906105769190613623565b611495565b005b61059760048036038101906105929190613768565b6114f7565b6040516105a49190613ff3565b60405180910390f35b6105c760048036038101906105c29190613768565b61150f565b005b6105e360048036038101906105de9190613768565b611692565b6040516105f0919061400e565b60405180910390f35b610613600480360381019061060e91906138c1565b61171c565b6040516106209190613fd8565b60405180910390f35b61063161174b565b60405161063e91906143f0565b60405180910390f35b610661600480360381019061065c9190613598565b611751565b60405161066e9190613fd8565b60405180910390f35b610691600480360381019061068c919061356f565b6117e5565b005b6106ad60048036038101906106a89190613791565b6118dd565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610722575061072182611be6565b5b9050919050565b606060008054610738906146ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610764906146ff565b80156107b15780601f10610786576101008083540402835291602001916107b1565b820191906000526020600020905b81548152906001019060200180831161079457829003601f168201915b5050505050905090565b60006107c682611cc8565b610805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fc90614290565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061084b8261102b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b390614310565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108db611d34565b73ffffffffffffffffffffffffffffffffffffffff16148061090a575061090981610904611d34565b611751565b5b610949576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610940906141f0565b60405180910390fd5b6109538383611d3c565b505050565b6000600880549050905090565b600e6020528060005260406000206000915090508054610984906146ff565b80601f01602080910402602001604051908101604052809291908181526020018280546109b0906146ff565b80156109fd5780601f106109d2576101008083540402835291602001916109fd565b820191906000526020600020905b8154815290600101906020018083116109e057829003601f168201915b505050505081565b610a16610a10611d34565b82611df5565b610a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4c90614330565b60405180910390fd5b610a60838383611ed3565b505050565b610a6d611d34565b73ffffffffffffffffffffffffffffffffffffffff16610a8b611258565b73ffffffffffffffffffffffffffffffffffffffff1614610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad8906142b0565b60405180910390fd5b86600b5414610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c906142d0565b60405180910390fd5b60008411610b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5f906143b0565b60405180910390fd5b610d0584610b7461212f565b610b7e9190614574565b1115610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb690614030565b60405180910390fd5b6000876000868989604051602001610bd993929190614479565b60405160208183030381529060405280519060200120604051602001610c019392919061440b565b604051602081830303815290604052805190602001209050610c65838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508583612195565b610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90614170565b60405180910390fd5b610cf187878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612271565b600e60008a81526020019081526020016000209080519060200190610d17929190613352565b5083600f60008a81526020019081526020016000208190555084600c60008a815260200190815260200160002081905550610d5061212f565b600d60008a815260200190815260200160002081905550600b6000815480929190610d7a90614762565b91905055505050505050505050565b60126020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d6020528060005260406000206000915090505481565b6000610ddf836110dd565b8210610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1790614050565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d0581565b610e9a83838360405180602001604052806000815250611495565b505050565b6000610ea9610958565b8210610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee190614370565b60405180910390fd5b60088281548110610f24577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806010600085815260200190815260200160002060009054906101000a900463ffffffff1663ffffffff161415610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b90614390565b60405180910390fd5b6000610ffb610fbe600185610fb991906145fb565b612388565b600c6000878152602001908152602001600020546010600088815260200190815260200160002060009054906101000a900463ffffffff166123db565b63ffffffff16905080600d6000868152602001908152602001600020546110229190614574565b91505092915050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cb90614230565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561114e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114590614210565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61119d611d34565b73ffffffffffffffffffffffffffffffffffffffff166111bb611258565b73ffffffffffffffffffffffffffffffffffffffff1614611211576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611208906142b0565b60405180910390fd5b61121b60006124af565b565b60106020528060005260406000206000915054906101000a900463ffffffff1681565b600c6020528060005260406000206000915090505481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611291906146ff565b80601f01602080910402602001604051908101604052809291908181526020018280546112bd906146ff565b801561130a5780601f106112df5761010080835404028352916020019161130a565b820191906000526020600020905b8154815290600101906020018083116112ed57829003601f168201915b5050505050905090565b61131c611d34565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561138a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138190614130565b60405180910390fd5b8060056000611397611d34565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611444611d34565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114899190613fd8565b60405180910390a35050565b6114a66114a0611d34565b83611df5565b6114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dc90614330565b60405180910390fd5b6114f184848484612575565b50505050565b600f6020528060005260406000206000915090505481565b611517611d34565b73ffffffffffffffffffffffffffffffffffffffff16611535611258565b73ffffffffffffffffffffffffffffffffffffffff161461158b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611582906142b0565b60405180910390fd5b60006010600083815260200190815260200160002060009054906101000a900463ffffffff1663ffffffff16146115f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ee90614070565b60405180910390fd5b6000600c6000838152602001908152602001600020541161164d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611644906143d0565b60405180910390fd5b60014361165a91906145fb565b4060001c6010600083815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff16021790555050565b6060600061169f836125d1565b9050600e60008281526020019081526020016000206116bd84612693565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161170593929190613f40565b604051602081830303815290604052915050919050565b60116020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b600b5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117ed611d34565b73ffffffffffffffffffffffffffffffffffffffff1661180b611258565b73ffffffffffffffffffffffffffffffffffffffff1614611861576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611858906142b0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c8906140b0565b60405180910390fd5b6118da816124af565b50565b600b548510611921576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611918906142d0565b60405180910390fd5b60006010600087815260200190815260200160002060009054906101000a900463ffffffff1663ffffffff16141561198e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611985906140f0565b60405180910390fd5b60116000868152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff1615611a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f790614250565b60405180910390fd5b600083118015611a125750610d058311155b611a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a48906141d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab890614150565b60405180910390fd5b6000858585604051602001611ad893929190614442565b604051602081830303815290604052805190602001209050611b4f838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f60008981526020019081526020016000205483612195565b611b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8590614170565b60405180910390fd5b600160116000888152602001908152602001600020600086815260200190815260200160002060006101000a81548160ff021916908315150217905550611bde85611bd98887610f36565b612840565b505050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cb157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611cc15750611cc08261291f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611daf8361102b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e0082611cc8565b611e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3690614190565b60405180910390fd5b6000611e4a8361102b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611eb957508373ffffffffffffffffffffffffffffffffffffffff16611ea1846107bb565b73ffffffffffffffffffffffffffffffffffffffff16145b80611eca5750611ec98185611751565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ef38261102b565b73ffffffffffffffffffffffffffffffffffffffff1614611f49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f40906142f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb090614110565b60405180910390fd5b611fc4838383612989565b611fcf600082611d3c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461201f91906145fb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120769190614574565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600b541461218d57600c60006001600b5461214d91906145fb565b815260200190815260200160002054600d60006001600b5461216f91906145fb565b8152602001908152602001600020546121889190614574565b612190565b60005b905090565b60008082905060005b85518110156122635760008682815181106121e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612223578281604051602001612206929190613eee565b60405160208183030381529060405280519060200120925061224f565b8083604051602001612236929190613eee565b6040516020818303038152906040528051906020012092505b50808061225b90614762565b91505061219e565b508381149150509392505050565b606060008290506000815114156122bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b4906141b0565b60405180910390fd5b7f2f0000000000000000000000000000000000000000000000000000000000000081600183516122ed91906145fb565b81518110612324577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461237e57806040516020016123679190613f1a565b604051602081830303815290604052915050612383565b829150505b919050565b600063ffffffff80168211156123d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ca90614350565b60405180910390fd5b819050919050565b6000808363ffffffff16141580156123fe57508263ffffffff168463ffffffff16105b612431577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600061243c84612a9d565b90505b61244a858285612af5565b94508363ffffffff168563ffffffff16101561243f578363ffffffff1683860163ffffffff16816124a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b069150509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612580848484611ed3565b61258c84848484612be4565b6125cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c290614090565b60405180910390fd5b50505050565b600080600090505b600b54811015612653576000600d60008381526020019081526020016000205490506000600c600084815260200190815260200160002054905084821115801561262e5750808261262a9190614574565b8511155b1561263e5782935050505061268e565b5050808061264b90614762565b9150506125d9565b506000612689577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600090505b919050565b606060008214156126db576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061283b565b600082905060005b6000821461270d5780806126f690614762565b915050600a8261270691906145ca565b91506126e3565b60008167ffffffffffffffff81111561274f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127815781602001600182028036833780820191505090505b5090505b600085146128345760018261279a91906145fb565b9150600a856127a991906147b5565b60306127b59190614574565b60f81b8183815181106127f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561282d91906145ca565b9450612785565b8093505050505b919050565b610d0561284b610958565b1061287f577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b816012600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506128db8282612d7b565b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720761290683611692565b604051612913919061400e565b60405180910390a25050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612994838383612d99565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129d7576129d281612d9e565b612a16565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a1557612a148382612de7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a5957612a5481612f54565b612a98565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a9757612a968282613097565b5b5b505050565b600060018203905060018163ffffffff16901c8117905060028163ffffffff16901c8117905060048163ffffffff16901c8117905060088163ffffffff16901c8117905060108163ffffffff16901c81179050919050565b6000818418935063e170893d8402935060108263ffffffff16901c84189350600483851663ffffffff16901c8418935060088263ffffffff16901c84189350630929eb3f8402935060178263ffffffff16901c84189350600183851663ffffffff16901c84189350601b8263ffffffff16901c60011784029350636935fa6984029350600b83851663ffffffff16901c841893506374dcb30384029350600283851663ffffffff16901c84189350639e501cc384029350600283851663ffffffff16901c8418935063c860a3df84029350828416935060058463ffffffff16901c841893508390509392505050565b6000612c058473ffffffffffffffffffffffffffffffffffffffff16613116565b15612d6e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c2e611d34565b8786866040518563ffffffff1660e01b8152600401612c509493929190613f8c565b602060405180830381600087803b158015612c6a57600080fd5b505af1925050508015612c9b57506040513d601f19601f82011682018060405250810190612c98919061373f565b60015b612d1e573d8060008114612ccb576040519150601f19603f3d011682016040523d82523d6000602084013e612cd0565b606091505b50600081511415612d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0d90614090565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d73565b600190505b949350505050565b612d95828260405180602001604052806000815250613129565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612df4846110dd565b612dfe91906145fb565b9050600060076000848152602001908152602001600020549050818114612ee3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f6891906145fb565b9050600060096000848152602001908152602001600020549050600060088381548110612fbe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613006577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061307b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130a2836110dd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6131338383613184565b6131406000848484612be4565b61317f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317690614090565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131eb90614270565b60405180910390fd5b6131fd81611cc8565b1561323d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613234906140d0565b60405180910390fd5b61324960008383612989565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132999190614574565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461335e906146ff565b90600052602060002090601f01602090048101928261338057600085556133c7565b82601f1061339957805160ff19168380011785556133c7565b828001600101855582156133c7579182015b828111156133c65782518255916020019190600101906133ab565b5b5090506133d491906133d8565b5090565b5b808211156133f15760008160009055506001016133d9565b5090565b6000613408613403846144eb565b6144c6565b90508281526020810184848401111561342057600080fd5b61342b8482856146bd565b509392505050565b6000813590506134428161502d565b92915050565b60008083601f84011261345a57600080fd5b8235905067ffffffffffffffff81111561347357600080fd5b60208301915083602082028301111561348b57600080fd5b9250929050565b6000813590506134a181615044565b92915050565b6000813590506134b68161505b565b92915050565b6000813590506134cb81615072565b92915050565b6000815190506134e081615072565b92915050565b600082601f8301126134f757600080fd5b81356135078482602086016133f5565b91505092915050565b60008083601f84011261352257600080fd5b8235905067ffffffffffffffff81111561353b57600080fd5b60208301915083600182028301111561355357600080fd5b9250929050565b60008135905061356981615089565b92915050565b60006020828403121561358157600080fd5b600061358f84828501613433565b91505092915050565b600080604083850312156135ab57600080fd5b60006135b985828601613433565b92505060206135ca85828601613433565b9150509250929050565b6000806000606084860312156135e957600080fd5b60006135f786828701613433565b935050602061360886828701613433565b92505060406136198682870161355a565b9150509250925092565b6000806000806080858703121561363957600080fd5b600061364787828801613433565b945050602061365887828801613433565b93505060406136698782880161355a565b925050606085013567ffffffffffffffff81111561368657600080fd5b613692878288016134e6565b91505092959194509250565b600080604083850312156136b157600080fd5b60006136bf85828601613433565b92505060206136d085828601613492565b9150509250929050565b600080604083850312156136ed57600080fd5b60006136fb85828601613433565b925050602061370c8582860161355a565b9150509250929050565b60006020828403121561372857600080fd5b6000613736848285016134bc565b91505092915050565b60006020828403121561375157600080fd5b600061375f848285016134d1565b91505092915050565b60006020828403121561377a57600080fd5b60006137888482850161355a565b91505092915050565b6000806000806000608086880312156137a957600080fd5b60006137b78882890161355a565b95505060206137c888828901613433565b94505060406137d98882890161355a565b935050606086013567ffffffffffffffff8111156137f657600080fd5b61380288828901613448565b92509250509295509295909350565b600080600080600080600060a0888a03121561382c57600080fd5b600061383a8a828b0161355a565b975050602088013567ffffffffffffffff81111561385757600080fd5b6138638a828b01613510565b965096505060406138768a828b0161355a565b94505060606138878a828b016134a7565b935050608088013567ffffffffffffffff8111156138a457600080fd5b6138b08a828b01613448565b925092505092959891949750929550565b600080604083850312156138d457600080fd5b60006138e28582860161355a565b92505060206138f38582860161355a565b9150509250929050565b6139068161462f565b82525050565b61391581614641565b82525050565b6139248161464d565b82525050565b61393b6139368261464d565b6147ab565b82525050565b600061394c82614531565b6139568185614547565b93506139668185602086016146cc565b61396f816148a2565b840191505092915050565b600061398582614531565b61398f8185614558565b935061399f8185602086016146cc565b80840191505092915050565b600081546139b8816146ff565b6139c28186614558565b945060018216600081146139dd57600181146139ee57613a21565b60ff19831686528186019350613a21565b6139f78561451c565b60005b83811015613a19578154818901526001820191506020810190506139fa565b838801955050505b50505092915050565b6000613a368385614563565b9350613a438385846146bd565b613a4c836148a2565b840190509392505050565b6000613a628261453c565b613a6c8185614563565b9350613a7c8185602086016146cc565b613a85816148a2565b840191505092915050565b6000613a9d602683614563565b9150613aa8826148b3565b604082019050919050565b6000613ac0602b83614563565b9150613acb82614902565b604082019050919050565b6000613ae3601c83614563565b9150613aee82614951565b602082019050919050565b6000613b06603283614563565b9150613b118261497a565b604082019050919050565b6000613b29602683614563565b9150613b34826149c9565b604082019050919050565b6000613b4c601c83614563565b9150613b5782614a18565b602082019050919050565b6000613b6f601c83614563565b9150613b7a82614a41565b602082019050919050565b6000613b92602483614563565b9150613b9d82614a6a565b604082019050919050565b6000613bb5601983614563565b9150613bc082614ab9565b602082019050919050565b6000613bd8601d83614563565b9150613be382614ae2565b602082019050919050565b6000613bfb601983614563565b9150613c0682614b0b565b602082019050919050565b6000613c1e602c83614563565b9150613c2982614b34565b604082019050919050565b6000613c41601f83614563565b9150613c4c82614b83565b602082019050919050565b6000613c64601d83614563565b9150613c6f82614bac565b602082019050919050565b6000613c87603883614563565b9150613c9282614bd5565b604082019050919050565b6000613caa602a83614563565b9150613cb582614c24565b604082019050919050565b6000613ccd602983614563565b9150613cd882614c73565b604082019050919050565b6000613cf0602283614563565b9150613cfb82614cc2565b604082019050919050565b6000613d13602083614563565b9150613d1e82614d11565b602082019050919050565b6000613d36602c83614563565b9150613d4182614d3a565b604082019050919050565b6000613d59602083614563565b9150613d6482614d89565b602082019050919050565b6000613d7c601983614563565b9150613d8782614db2565b602082019050919050565b6000613d9f602983614563565b9150613daa82614ddb565b604082019050919050565b6000613dc2602183614563565b9150613dcd82614e2a565b604082019050919050565b6000613de5603183614563565b9150613df082614e79565b604082019050919050565b6000613e08602683614563565b9150613e1382614ec8565b604082019050919050565b6000613e2b602c83614563565b9150613e3682614f17565b604082019050919050565b6000613e4e601c83614563565b9150613e5982614f66565b602082019050919050565b6000613e71602f83614563565b9150613e7c82614f8f565b604082019050919050565b6000613e94602183614563565b9150613e9f82614fde565b604082019050919050565b7f2f00000000000000000000000000000000000000000000000000000000000000815250565b613ed9816146a3565b82525050565b613ee8816146ad565b82525050565b6000613efa828561392a565b602082019150613f0a828461392a565b6020820191508190509392505050565b6000613f26828461397a565b9150613f3182613eaa565b60018201915081905092915050565b6000613f4c82866139ab565b9150613f58828561397a565b9150613f64828461397a565b9150819050949350505050565b6000602082019050613f8660008301846138fd565b92915050565b6000608082019050613fa160008301876138fd565b613fae60208301866138fd565b613fbb6040830185613ed0565b8181036060830152613fcd8184613941565b905095945050505050565b6000602082019050613fed600083018461390c565b92915050565b6000602082019050614008600083018461391b565b92915050565b600060208201905081810360008301526140288184613a57565b905092915050565b6000602082019050818103600083015261404981613a90565b9050919050565b6000602082019050818103600083015261406981613ab3565b9050919050565b6000602082019050818103600083015261408981613ad6565b9050919050565b600060208201905081810360008301526140a981613af9565b9050919050565b600060208201905081810360008301526140c981613b1c565b9050919050565b600060208201905081810360008301526140e981613b3f565b9050919050565b6000602082019050818103600083015261410981613b62565b9050919050565b6000602082019050818103600083015261412981613b85565b9050919050565b6000602082019050818103600083015261414981613ba8565b9050919050565b6000602082019050818103600083015261416981613bcb565b9050919050565b6000602082019050818103600083015261418981613bee565b9050919050565b600060208201905081810360008301526141a981613c11565b9050919050565b600060208201905081810360008301526141c981613c34565b9050919050565b600060208201905081810360008301526141e981613c57565b9050919050565b6000602082019050818103600083015261420981613c7a565b9050919050565b6000602082019050818103600083015261422981613c9d565b9050919050565b6000602082019050818103600083015261424981613cc0565b9050919050565b6000602082019050818103600083015261426981613ce3565b9050919050565b6000602082019050818103600083015261428981613d06565b9050919050565b600060208201905081810360008301526142a981613d29565b9050919050565b600060208201905081810360008301526142c981613d4c565b9050919050565b600060208201905081810360008301526142e981613d6f565b9050919050565b6000602082019050818103600083015261430981613d92565b9050919050565b6000602082019050818103600083015261432981613db5565b9050919050565b6000602082019050818103600083015261434981613dd8565b9050919050565b6000602082019050818103600083015261436981613dfb565b9050919050565b6000602082019050818103600083015261438981613e1e565b9050919050565b600060208201905081810360008301526143a981613e41565b9050919050565b600060208201905081810360008301526143c981613e64565b9050919050565b600060208201905081810360008301526143e981613e87565b9050919050565b60006020820190506144056000830184613ed0565b92915050565b60006060820190506144206000830186613ed0565b61442d60208301856138fd565b61443a604083018461391b565b949350505050565b60006060820190506144576000830186613ed0565b61446460208301856138fd565b6144716040830184613ed0565b949350505050565b600060408201905061448e6000830186613ed0565b81810360208301526144a1818486613a2a565b9050949350505050565b60006020820190506144c06000830184613edf565b92915050565b60006144d06144e1565b90506144dc8282614731565b919050565b6000604051905090565b600067ffffffffffffffff82111561450657614505614873565b5b61450f826148a2565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061457f826146a3565b915061458a836146a3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145bf576145be6147e6565b5b828201905092915050565b60006145d5826146a3565b91506145e0836146a3565b9250826145f0576145ef614815565b5b828204905092915050565b6000614606826146a3565b9150614611836146a3565b925082821015614624576146236147e6565b5b828203905092915050565b600061463a82614683565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b82818337600083830152505050565b60005b838110156146ea5780820151818401526020810190506146cf565b838111156146f9576000848401525b50505050565b6000600282049050600182168061471757607f821691505b6020821081141561472b5761472a614844565b5b50919050565b61473a826148a2565b810181811067ffffffffffffffff8211171561475957614758614873565b5b80604052505050565b600061476d826146a3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147a05761479f6147e6565b5b600182019050919050565b6000819050919050565b60006147c0826146a3565b91506147cb836146a3565b9250826147db576147da614815565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f54656d707573536572733a20537570706c792077696c6c20657863656564206d60008201527f6178696d756d0000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f54656d707573536572733a205365656420616c72656164792073657400000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f54656d707573536572733a2053656564206e6f74207365642079657400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f54656d707573536572733a20496e76616c696420726563697069656e74000000600082015250565b7f54656d707573536572733a20496e76616c69642070726f6f6600000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f54656d707573536572733a205552492063616e6e6f7420626520656d70747900600082015250565b7f54656d707573536572733a20496e76616c6964207469636b6574206964000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f54656d707573536572733a205469636b657420616c726561647920636c61696d60008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54656d707573536572733a20496e76616c696420626174636800000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f54656d707573536572733a2053656564206e6f74207365742079657400000000600082015250565b7f54656d707573536572733a20426174636820737570706c79206d75737420626560008201527f2067726561746572207468616e20300000000000000000000000000000000000602082015250565b7f54656d707573536572733a204261746368206e6f7420696e697469616c697a6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6150368161462f565b811461504157600080fd5b50565b61504d81614641565b811461505857600080fd5b50565b6150648161464d565b811461506f57600080fd5b50565b61507b81614657565b811461508657600080fd5b50565b615092816146a3565b811461509d57600080fd5b5056fea264697066735822122029b5ebf4fd94c36f44b790f008e33c817b5774d7e3d0b84c384cbcb8e27f289664736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101f05760003560e01c806370a082311161010f578063b9036147116100a2578063e7c51f1b11610071578063e7c51f1b14610629578063e985e9c514610647578063f2fde38b14610677578063fa094ab614610693576101f0565b8063b90361471461057d578063c32a50f9146105ad578063c87b56dd146105c9578063cac9dbf3146105f9576101f0565b80638da5cb5b116100de5780638da5cb5b1461050957806395d89b4114610527578063a22cb46514610545578063b88d4fde14610561576101f0565b806370a082311461046f578063715018a61461049f5780637cbf831b146104a957806387993b59146104d9576101f0565b80632d414ae51161018757806342842e0e1161015657806342842e0e146103c35780634f6ccce7146103df5780635460a1cc1461040f5780636352211e1461043f576101f0565b80632d414ae5146103155780632db20c2f146103455780632f745c591461037557806332cb6b0c146103a5576101f0565b806318160ddd116101c357806318160ddd1461028f5780631d1697b5146102ad57806323b872dd146102dd57806329d3d4e0146102f9576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a9190613716565b6106af565b60405161021c9190613fd8565b60405180910390f35b61022d610729565b60405161023a919061400e565b60405180910390f35b61025d60048036038101906102589190613768565b6107bb565b60405161026a9190613f71565b60405180910390f35b61028d600480360381019061028891906136da565b610840565b005b610297610958565b6040516102a491906143f0565b60405180910390f35b6102c760048036038101906102c29190613768565b610965565b6040516102d4919061400e565b60405180910390f35b6102f760048036038101906102f291906135d4565b610a05565b005b610313600480360381019061030e9190613811565b610a65565b005b61032f600480360381019061032a9190613768565b610d89565b60405161033c9190613f71565b60405180910390f35b61035f600480360381019061035a9190613768565b610dbc565b60405161036c91906143f0565b60405180910390f35b61038f600480360381019061038a91906136da565b610dd4565b60405161039c91906143f0565b60405180910390f35b6103ad610e79565b6040516103ba91906143f0565b60405180910390f35b6103dd60048036038101906103d891906135d4565b610e7f565b005b6103f960048036038101906103f49190613768565b610e9f565b60405161040691906143f0565b60405180910390f35b610429600480360381019061042491906138c1565b610f36565b60405161043691906143f0565b60405180910390f35b61045960048036038101906104549190613768565b61102b565b6040516104669190613f71565b60405180910390f35b6104896004803603810190610484919061356f565b6110dd565b60405161049691906143f0565b60405180910390f35b6104a7611195565b005b6104c360048036038101906104be9190613768565b61121d565b6040516104d091906144ab565b60405180910390f35b6104f360048036038101906104ee9190613768565b611240565b60405161050091906143f0565b60405180910390f35b610511611258565b60405161051e9190613f71565b60405180910390f35b61052f611282565b60405161053c919061400e565b60405180910390f35b61055f600480360381019061055a919061369e565b611314565b005b61057b60048036038101906105769190613623565b611495565b005b61059760048036038101906105929190613768565b6114f7565b6040516105a49190613ff3565b60405180910390f35b6105c760048036038101906105c29190613768565b61150f565b005b6105e360048036038101906105de9190613768565b611692565b6040516105f0919061400e565b60405180910390f35b610613600480360381019061060e91906138c1565b61171c565b6040516106209190613fd8565b60405180910390f35b61063161174b565b60405161063e91906143f0565b60405180910390f35b610661600480360381019061065c9190613598565b611751565b60405161066e9190613fd8565b60405180910390f35b610691600480360381019061068c919061356f565b6117e5565b005b6106ad60048036038101906106a89190613791565b6118dd565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610722575061072182611be6565b5b9050919050565b606060008054610738906146ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610764906146ff565b80156107b15780601f10610786576101008083540402835291602001916107b1565b820191906000526020600020905b81548152906001019060200180831161079457829003601f168201915b5050505050905090565b60006107c682611cc8565b610805576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fc90614290565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061084b8261102b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b390614310565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108db611d34565b73ffffffffffffffffffffffffffffffffffffffff16148061090a575061090981610904611d34565b611751565b5b610949576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610940906141f0565b60405180910390fd5b6109538383611d3c565b505050565b6000600880549050905090565b600e6020528060005260406000206000915090508054610984906146ff565b80601f01602080910402602001604051908101604052809291908181526020018280546109b0906146ff565b80156109fd5780601f106109d2576101008083540402835291602001916109fd565b820191906000526020600020905b8154815290600101906020018083116109e057829003601f168201915b505050505081565b610a16610a10611d34565b82611df5565b610a55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4c90614330565b60405180910390fd5b610a60838383611ed3565b505050565b610a6d611d34565b73ffffffffffffffffffffffffffffffffffffffff16610a8b611258565b73ffffffffffffffffffffffffffffffffffffffff1614610ae1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad8906142b0565b60405180910390fd5b86600b5414610b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1c906142d0565b60405180910390fd5b60008411610b68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5f906143b0565b60405180910390fd5b610d0584610b7461212f565b610b7e9190614574565b1115610bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb690614030565b60405180910390fd5b6000876000868989604051602001610bd993929190614479565b60405160208183030381529060405280519060200120604051602001610c019392919061440b565b604051602081830303815290604052805190602001209050610c65838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508583612195565b610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90614170565b60405180910390fd5b610cf187878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612271565b600e60008a81526020019081526020016000209080519060200190610d17929190613352565b5083600f60008a81526020019081526020016000208190555084600c60008a815260200190815260200160002081905550610d5061212f565b600d60008a815260200190815260200160002081905550600b6000815480929190610d7a90614762565b91905055505050505050505050565b60126020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600d6020528060005260406000206000915090505481565b6000610ddf836110dd565b8210610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1790614050565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610d0581565b610e9a83838360405180602001604052806000815250611495565b505050565b6000610ea9610958565b8210610eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee190614370565b60405180910390fd5b60088281548110610f24577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806010600085815260200190815260200160002060009054906101000a900463ffffffff1663ffffffff161415610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b90614390565b60405180910390fd5b6000610ffb610fbe600185610fb991906145fb565b612388565b600c6000878152602001908152602001600020546010600088815260200190815260200160002060009054906101000a900463ffffffff166123db565b63ffffffff16905080600d6000868152602001908152602001600020546110229190614574565b91505092915050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cb90614230565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561114e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114590614210565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61119d611d34565b73ffffffffffffffffffffffffffffffffffffffff166111bb611258565b73ffffffffffffffffffffffffffffffffffffffff1614611211576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611208906142b0565b60405180910390fd5b61121b60006124af565b565b60106020528060005260406000206000915054906101000a900463ffffffff1681565b600c6020528060005260406000206000915090505481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611291906146ff565b80601f01602080910402602001604051908101604052809291908181526020018280546112bd906146ff565b801561130a5780601f106112df5761010080835404028352916020019161130a565b820191906000526020600020905b8154815290600101906020018083116112ed57829003601f168201915b5050505050905090565b61131c611d34565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561138a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138190614130565b60405180910390fd5b8060056000611397611d34565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611444611d34565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516114899190613fd8565b60405180910390a35050565b6114a66114a0611d34565b83611df5565b6114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dc90614330565b60405180910390fd5b6114f184848484612575565b50505050565b600f6020528060005260406000206000915090505481565b611517611d34565b73ffffffffffffffffffffffffffffffffffffffff16611535611258565b73ffffffffffffffffffffffffffffffffffffffff161461158b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611582906142b0565b60405180910390fd5b60006010600083815260200190815260200160002060009054906101000a900463ffffffff1663ffffffff16146115f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ee90614070565b60405180910390fd5b6000600c6000838152602001908152602001600020541161164d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611644906143d0565b60405180910390fd5b60014361165a91906145fb565b4060001c6010600083815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff16021790555050565b6060600061169f836125d1565b9050600e60008281526020019081526020016000206116bd84612693565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161170593929190613f40565b604051602081830303815290604052915050919050565b60116020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b600b5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117ed611d34565b73ffffffffffffffffffffffffffffffffffffffff1661180b611258565b73ffffffffffffffffffffffffffffffffffffffff1614611861576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611858906142b0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c8906140b0565b60405180910390fd5b6118da816124af565b50565b600b548510611921576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611918906142d0565b60405180910390fd5b60006010600087815260200190815260200160002060009054906101000a900463ffffffff1663ffffffff16141561198e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611985906140f0565b60405180910390fd5b60116000868152602001908152602001600020600084815260200190815260200160002060009054906101000a900460ff1615611a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f790614250565b60405180910390fd5b600083118015611a125750610d058311155b611a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a48906141d0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab890614150565b60405180910390fd5b6000858585604051602001611ad893929190614442565b604051602081830303815290604052805190602001209050611b4f838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f60008981526020019081526020016000205483612195565b611b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8590614170565b60405180910390fd5b600160116000888152602001908152602001600020600086815260200190815260200160002060006101000a81548160ff021916908315150217905550611bde85611bd98887610f36565b612840565b505050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cb157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611cc15750611cc08261291f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611daf8361102b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611e0082611cc8565b611e3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3690614190565b60405180910390fd5b6000611e4a8361102b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611eb957508373ffffffffffffffffffffffffffffffffffffffff16611ea1846107bb565b73ffffffffffffffffffffffffffffffffffffffff16145b80611eca5750611ec98185611751565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ef38261102b565b73ffffffffffffffffffffffffffffffffffffffff1614611f49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f40906142f0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb090614110565b60405180910390fd5b611fc4838383612989565b611fcf600082611d3c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461201f91906145fb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120769190614574565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600b541461218d57600c60006001600b5461214d91906145fb565b815260200190815260200160002054600d60006001600b5461216f91906145fb565b8152602001908152602001600020546121889190614574565b612190565b60005b905090565b60008082905060005b85518110156122635760008682815181106121e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612223578281604051602001612206929190613eee565b60405160208183030381529060405280519060200120925061224f565b8083604051602001612236929190613eee565b6040516020818303038152906040528051906020012092505b50808061225b90614762565b91505061219e565b508381149150509392505050565b606060008290506000815114156122bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b4906141b0565b60405180910390fd5b7f2f0000000000000000000000000000000000000000000000000000000000000081600183516122ed91906145fb565b81518110612324577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461237e57806040516020016123679190613f1a565b604051602081830303815290604052915050612383565b829150505b919050565b600063ffffffff80168211156123d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ca90614350565b60405180910390fd5b819050919050565b6000808363ffffffff16141580156123fe57508263ffffffff168463ffffffff16105b612431577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600061243c84612a9d565b90505b61244a858285612af5565b94508363ffffffff168563ffffffff16101561243f578363ffffffff1683860163ffffffff16816124a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b069150509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612580848484611ed3565b61258c84848484612be4565b6125cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c290614090565b60405180910390fd5b50505050565b600080600090505b600b54811015612653576000600d60008381526020019081526020016000205490506000600c600084815260200190815260200160002054905084821115801561262e5750808261262a9190614574565b8511155b1561263e5782935050505061268e565b5050808061264b90614762565b9150506125d9565b506000612689577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600090505b919050565b606060008214156126db576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061283b565b600082905060005b6000821461270d5780806126f690614762565b915050600a8261270691906145ca565b91506126e3565b60008167ffffffffffffffff81111561274f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127815781602001600182028036833780820191505090505b5090505b600085146128345760018261279a91906145fb565b9150600a856127a991906147b5565b60306127b59190614574565b60f81b8183815181106127f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561282d91906145ca565b9450612785565b8093505050505b919050565b610d0561284b610958565b1061287f577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b816012600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506128db8282612d7b565b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720761290683611692565b604051612913919061400e565b60405180910390a25050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612994838383612d99565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129d7576129d281612d9e565b612a16565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a1557612a148382612de7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a5957612a5481612f54565b612a98565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a9757612a968282613097565b5b5b505050565b600060018203905060018163ffffffff16901c8117905060028163ffffffff16901c8117905060048163ffffffff16901c8117905060088163ffffffff16901c8117905060108163ffffffff16901c81179050919050565b6000818418935063e170893d8402935060108263ffffffff16901c84189350600483851663ffffffff16901c8418935060088263ffffffff16901c84189350630929eb3f8402935060178263ffffffff16901c84189350600183851663ffffffff16901c84189350601b8263ffffffff16901c60011784029350636935fa6984029350600b83851663ffffffff16901c841893506374dcb30384029350600283851663ffffffff16901c84189350639e501cc384029350600283851663ffffffff16901c8418935063c860a3df84029350828416935060058463ffffffff16901c841893508390509392505050565b6000612c058473ffffffffffffffffffffffffffffffffffffffff16613116565b15612d6e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c2e611d34565b8786866040518563ffffffff1660e01b8152600401612c509493929190613f8c565b602060405180830381600087803b158015612c6a57600080fd5b505af1925050508015612c9b57506040513d601f19601f82011682018060405250810190612c98919061373f565b60015b612d1e573d8060008114612ccb576040519150601f19603f3d011682016040523d82523d6000602084013e612cd0565b606091505b50600081511415612d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0d90614090565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d73565b600190505b949350505050565b612d95828260405180602001604052806000815250613129565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612df4846110dd565b612dfe91906145fb565b9050600060076000848152602001908152602001600020549050818114612ee3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612f6891906145fb565b9050600060096000848152602001908152602001600020549050600060088381548110612fbe577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613006577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061307b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130a2836110dd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b6131338383613184565b6131406000848484612be4565b61317f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317690614090565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131eb90614270565b60405180910390fd5b6131fd81611cc8565b1561323d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613234906140d0565b60405180910390fd5b61324960008383612989565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132999190614574565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461335e906146ff565b90600052602060002090601f01602090048101928261338057600085556133c7565b82601f1061339957805160ff19168380011785556133c7565b828001600101855582156133c7579182015b828111156133c65782518255916020019190600101906133ab565b5b5090506133d491906133d8565b5090565b5b808211156133f15760008160009055506001016133d9565b5090565b6000613408613403846144eb565b6144c6565b90508281526020810184848401111561342057600080fd5b61342b8482856146bd565b509392505050565b6000813590506134428161502d565b92915050565b60008083601f84011261345a57600080fd5b8235905067ffffffffffffffff81111561347357600080fd5b60208301915083602082028301111561348b57600080fd5b9250929050565b6000813590506134a181615044565b92915050565b6000813590506134b68161505b565b92915050565b6000813590506134cb81615072565b92915050565b6000815190506134e081615072565b92915050565b600082601f8301126134f757600080fd5b81356135078482602086016133f5565b91505092915050565b60008083601f84011261352257600080fd5b8235905067ffffffffffffffff81111561353b57600080fd5b60208301915083600182028301111561355357600080fd5b9250929050565b60008135905061356981615089565b92915050565b60006020828403121561358157600080fd5b600061358f84828501613433565b91505092915050565b600080604083850312156135ab57600080fd5b60006135b985828601613433565b92505060206135ca85828601613433565b9150509250929050565b6000806000606084860312156135e957600080fd5b60006135f786828701613433565b935050602061360886828701613433565b92505060406136198682870161355a565b9150509250925092565b6000806000806080858703121561363957600080fd5b600061364787828801613433565b945050602061365887828801613433565b93505060406136698782880161355a565b925050606085013567ffffffffffffffff81111561368657600080fd5b613692878288016134e6565b91505092959194509250565b600080604083850312156136b157600080fd5b60006136bf85828601613433565b92505060206136d085828601613492565b9150509250929050565b600080604083850312156136ed57600080fd5b60006136fb85828601613433565b925050602061370c8582860161355a565b9150509250929050565b60006020828403121561372857600080fd5b6000613736848285016134bc565b91505092915050565b60006020828403121561375157600080fd5b600061375f848285016134d1565b91505092915050565b60006020828403121561377a57600080fd5b60006137888482850161355a565b91505092915050565b6000806000806000608086880312156137a957600080fd5b60006137b78882890161355a565b95505060206137c888828901613433565b94505060406137d98882890161355a565b935050606086013567ffffffffffffffff8111156137f657600080fd5b61380288828901613448565b92509250509295509295909350565b600080600080600080600060a0888a03121561382c57600080fd5b600061383a8a828b0161355a565b975050602088013567ffffffffffffffff81111561385757600080fd5b6138638a828b01613510565b965096505060406138768a828b0161355a565b94505060606138878a828b016134a7565b935050608088013567ffffffffffffffff8111156138a457600080fd5b6138b08a828b01613448565b925092505092959891949750929550565b600080604083850312156138d457600080fd5b60006138e28582860161355a565b92505060206138f38582860161355a565b9150509250929050565b6139068161462f565b82525050565b61391581614641565b82525050565b6139248161464d565b82525050565b61393b6139368261464d565b6147ab565b82525050565b600061394c82614531565b6139568185614547565b93506139668185602086016146cc565b61396f816148a2565b840191505092915050565b600061398582614531565b61398f8185614558565b935061399f8185602086016146cc565b80840191505092915050565b600081546139b8816146ff565b6139c28186614558565b945060018216600081146139dd57600181146139ee57613a21565b60ff19831686528186019350613a21565b6139f78561451c565b60005b83811015613a19578154818901526001820191506020810190506139fa565b838801955050505b50505092915050565b6000613a368385614563565b9350613a438385846146bd565b613a4c836148a2565b840190509392505050565b6000613a628261453c565b613a6c8185614563565b9350613a7c8185602086016146cc565b613a85816148a2565b840191505092915050565b6000613a9d602683614563565b9150613aa8826148b3565b604082019050919050565b6000613ac0602b83614563565b9150613acb82614902565b604082019050919050565b6000613ae3601c83614563565b9150613aee82614951565b602082019050919050565b6000613b06603283614563565b9150613b118261497a565b604082019050919050565b6000613b29602683614563565b9150613b34826149c9565b604082019050919050565b6000613b4c601c83614563565b9150613b5782614a18565b602082019050919050565b6000613b6f601c83614563565b9150613b7a82614a41565b602082019050919050565b6000613b92602483614563565b9150613b9d82614a6a565b604082019050919050565b6000613bb5601983614563565b9150613bc082614ab9565b602082019050919050565b6000613bd8601d83614563565b9150613be382614ae2565b602082019050919050565b6000613bfb601983614563565b9150613c0682614b0b565b602082019050919050565b6000613c1e602c83614563565b9150613c2982614b34565b604082019050919050565b6000613c41601f83614563565b9150613c4c82614b83565b602082019050919050565b6000613c64601d83614563565b9150613c6f82614bac565b602082019050919050565b6000613c87603883614563565b9150613c9282614bd5565b604082019050919050565b6000613caa602a83614563565b9150613cb582614c24565b604082019050919050565b6000613ccd602983614563565b9150613cd882614c73565b604082019050919050565b6000613cf0602283614563565b9150613cfb82614cc2565b604082019050919050565b6000613d13602083614563565b9150613d1e82614d11565b602082019050919050565b6000613d36602c83614563565b9150613d4182614d3a565b604082019050919050565b6000613d59602083614563565b9150613d6482614d89565b602082019050919050565b6000613d7c601983614563565b9150613d8782614db2565b602082019050919050565b6000613d9f602983614563565b9150613daa82614ddb565b604082019050919050565b6000613dc2602183614563565b9150613dcd82614e2a565b604082019050919050565b6000613de5603183614563565b9150613df082614e79565b604082019050919050565b6000613e08602683614563565b9150613e1382614ec8565b604082019050919050565b6000613e2b602c83614563565b9150613e3682614f17565b604082019050919050565b6000613e4e601c83614563565b9150613e5982614f66565b602082019050919050565b6000613e71602f83614563565b9150613e7c82614f8f565b604082019050919050565b6000613e94602183614563565b9150613e9f82614fde565b604082019050919050565b7f2f00000000000000000000000000000000000000000000000000000000000000815250565b613ed9816146a3565b82525050565b613ee8816146ad565b82525050565b6000613efa828561392a565b602082019150613f0a828461392a565b6020820191508190509392505050565b6000613f26828461397a565b9150613f3182613eaa565b60018201915081905092915050565b6000613f4c82866139ab565b9150613f58828561397a565b9150613f64828461397a565b9150819050949350505050565b6000602082019050613f8660008301846138fd565b92915050565b6000608082019050613fa160008301876138fd565b613fae60208301866138fd565b613fbb6040830185613ed0565b8181036060830152613fcd8184613941565b905095945050505050565b6000602082019050613fed600083018461390c565b92915050565b6000602082019050614008600083018461391b565b92915050565b600060208201905081810360008301526140288184613a57565b905092915050565b6000602082019050818103600083015261404981613a90565b9050919050565b6000602082019050818103600083015261406981613ab3565b9050919050565b6000602082019050818103600083015261408981613ad6565b9050919050565b600060208201905081810360008301526140a981613af9565b9050919050565b600060208201905081810360008301526140c981613b1c565b9050919050565b600060208201905081810360008301526140e981613b3f565b9050919050565b6000602082019050818103600083015261410981613b62565b9050919050565b6000602082019050818103600083015261412981613b85565b9050919050565b6000602082019050818103600083015261414981613ba8565b9050919050565b6000602082019050818103600083015261416981613bcb565b9050919050565b6000602082019050818103600083015261418981613bee565b9050919050565b600060208201905081810360008301526141a981613c11565b9050919050565b600060208201905081810360008301526141c981613c34565b9050919050565b600060208201905081810360008301526141e981613c57565b9050919050565b6000602082019050818103600083015261420981613c7a565b9050919050565b6000602082019050818103600083015261422981613c9d565b9050919050565b6000602082019050818103600083015261424981613cc0565b9050919050565b6000602082019050818103600083015261426981613ce3565b9050919050565b6000602082019050818103600083015261428981613d06565b9050919050565b600060208201905081810360008301526142a981613d29565b9050919050565b600060208201905081810360008301526142c981613d4c565b9050919050565b600060208201905081810360008301526142e981613d6f565b9050919050565b6000602082019050818103600083015261430981613d92565b9050919050565b6000602082019050818103600083015261432981613db5565b9050919050565b6000602082019050818103600083015261434981613dd8565b9050919050565b6000602082019050818103600083015261436981613dfb565b9050919050565b6000602082019050818103600083015261438981613e1e565b9050919050565b600060208201905081810360008301526143a981613e41565b9050919050565b600060208201905081810360008301526143c981613e64565b9050919050565b600060208201905081810360008301526143e981613e87565b9050919050565b60006020820190506144056000830184613ed0565b92915050565b60006060820190506144206000830186613ed0565b61442d60208301856138fd565b61443a604083018461391b565b949350505050565b60006060820190506144576000830186613ed0565b61446460208301856138fd565b6144716040830184613ed0565b949350505050565b600060408201905061448e6000830186613ed0565b81810360208301526144a1818486613a2a565b9050949350505050565b60006020820190506144c06000830184613edf565b92915050565b60006144d06144e1565b90506144dc8282614731565b919050565b6000604051905090565b600067ffffffffffffffff82111561450657614505614873565b5b61450f826148a2565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600061457f826146a3565b915061458a836146a3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145bf576145be6147e6565b5b828201905092915050565b60006145d5826146a3565b91506145e0836146a3565b9250826145f0576145ef614815565b5b828204905092915050565b6000614606826146a3565b9150614611836146a3565b925082821015614624576146236147e6565b5b828203905092915050565b600061463a82614683565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b82818337600083830152505050565b60005b838110156146ea5780820151818401526020810190506146cf565b838111156146f9576000848401525b50505050565b6000600282049050600182168061471757607f821691505b6020821081141561472b5761472a614844565b5b50919050565b61473a826148a2565b810181811067ffffffffffffffff8211171561475957614758614873565b5b80604052505050565b600061476d826146a3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147a05761479f6147e6565b5b600182019050919050565b6000819050919050565b60006147c0826146a3565b91506147cb836146a3565b9250826147db576147da614815565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f54656d707573536572733a20537570706c792077696c6c20657863656564206d60008201527f6178696d756d0000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f54656d707573536572733a205365656420616c72656164792073657400000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f54656d707573536572733a2053656564206e6f74207365642079657400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f54656d707573536572733a20496e76616c696420726563697069656e74000000600082015250565b7f54656d707573536572733a20496e76616c69642070726f6f6600000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f54656d707573536572733a205552492063616e6e6f7420626520656d70747900600082015250565b7f54656d707573536572733a20496e76616c6964207469636b6574206964000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f54656d707573536572733a205469636b657420616c726561647920636c61696d60008201527f6564000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54656d707573536572733a20496e76616c696420626174636800000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203360008201527f3220626974730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f54656d707573536572733a2053656564206e6f74207365742079657400000000600082015250565b7f54656d707573536572733a20426174636820737570706c79206d75737420626560008201527f2067726561746572207468616e20300000000000000000000000000000000000602082015250565b7f54656d707573536572733a204261746368206e6f7420696e697469616c697a6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6150368161462f565b811461504157600080fd5b50565b61504d81614641565b811461505857600080fd5b50565b6150648161464d565b811461506f57600080fd5b50565b61507b81614657565b811461508657600080fd5b50565b615092816146a3565b811461509d57600080fd5b5056fea264697066735822122029b5ebf4fd94c36f44b790f008e33c817b5774d7e3d0b84c384cbcb8e27f289664736f6c63430008040033
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.