Feature Tip: Add private address tag to any address under My Name Tag !
NFT
Pass
Overview
TokenID
466
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TORVIPPass
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "./ITORContract.sol"; /* ________________ _,.......,_ .nNNNNNNNNNNNNNNNNP’ .nnNNNNNNNNNNNNnn.. ANNC*’ 7NNNN|’’’’’’’ (NNN*’ 7NNNNN `*NNNn. (NNNN. dNNNN’ qNNN) JNNNN* `NNNn `*@*’ NNNNN `*@*’ dNNNN’ ,ANNN) ,NNNN’ ..-^^^-.. NNNNN ,NNNNN’ dNNNN’ / . \ .NNNNP _..nNNNN*’ NNNNN ( /|\ ) NNNNNnnNNNNN*’ ,NNNN’ ‘ / | \ ’ NNNN* \NNNNb dNNNN’ \ \'.'/ / ,NNNN’ \NNNN. NNNNN ' \|/ ' NNNNC \NNNN. .JNNNNNL. \ ' / .JNNNNNL. \NNNN. . dNNNNNNNNNN| ‘. .’ .NNNNNNNNNN| `NNNNn. ^\Nn ' `NNNNn. .NND `*NNNNNnnn....nnNP’ `*@NNNNNNNNN**’ */ contract TORVIPPass is ERC721, ERC721Enumerable, ERC721Burnable, Ownable { using Counters for Counters.Counter; uint256 public maxTokenSupply; Counters.Counter private _tokenIdCounter; ITORContract private _torContractInstance; bool public claimingIsActive = false; bool public burningIsActive = false; // Mapping from token ID to whether it has been claimed or not mapping(uint256 => bool) private _claimed; string public baseURI; string public provenance; constructor(string memory name, string memory symbol, uint256 maxVIPPassSupply, address torContractAddress) ERC721(name, symbol) { maxTokenSupply = maxVIPPassSupply; _torContractInstance = ITORContract(torContractAddress); } function setMaxTokenSupply(uint256 maxVIPPassSupply) public onlyOwner { maxTokenSupply = maxVIPPassSupply; } function setTorContractAddress(address torContractAddress) public onlyOwner { _torContractInstance = ITORContract(torContractAddress); } /* * Mint reserved NFTs for giveaways, devs, etc. */ function reserveMint(uint256 reservedAmount, address mintAddress) public onlyOwner { uint256 supply = _tokenIdCounter.current(); for (uint256 i = 1; i <= reservedAmount; i++) { _safeMint(mintAddress, supply + i); _tokenIdCounter.increment(); } } /* * Get claimable token IDs */ function getClaimableTokens(address owner) external view returns (uint256[] memory) { uint256[] memory tokenIds; uint256 balance = _torContractInstance.balanceOf(owner); uint256 count = 0; for (uint256 i = 0; i < balance; i++) { uint256 tokenId = _torContractInstance.tokenOfOwnerByIndex(owner, i); if (! _claimed[tokenId]) { count++; } } tokenIds = new uint256[](count); uint256 j = 0; for (uint256 i = 0; i < balance; i++) { uint256 tokenId = _torContractInstance.tokenOfOwnerByIndex(owner, i); if (! _claimed[tokenId]) { tokenIds[j] = tokenId; j++; } } return tokenIds; } /* * Check whether the given token ID can be claimed */ function canClaim(uint256 tokenId) external view returns (bool) { return ! _claimed[tokenId]; } /* * Mint via claiming VIP passes with 3 TOR NFTs */ function mintViaClaim(uint256[] calldata tokenIds) public { require(claimingIsActive, 'Minting via claiming is not live yet'); require(_tokenIdCounter.current() + (tokenIds.length / 3) <= maxTokenSupply, "Purchase would exceed max available VIP Passes"); require(tokenIds.length % 3 == 0, 'Provided token IDs should be in multiples of three'); for (uint256 i = 0; i < tokenIds.length; i++) { require(_torContractInstance.ownerOf(tokenIds[i]) == msg.sender && ! _claimed[tokenIds[i]], 'Caller is either not owner of the token ID or it has already been claimed'); _claimed[tokenIds[i]] = true; } uint256 numberOfPasses = tokenIds.length / 3; for(uint256 i = 0; i < numberOfPasses; i++) { _tokenIdCounter.increment(); _safeMint(msg.sender, _tokenIdCounter.current()); } } /* * Mint via burning 2 TOR NFTs */ function mintViaBurn(uint256[] calldata tokenIds) public { require(burningIsActive, 'Minting via burning is not live yet'); require(_tokenIdCounter.current() + (tokenIds.length / 2) <= maxTokenSupply, "Purchase would exceed max available VIP Passes"); require(tokenIds.length % 2 == 0, 'Provided token IDs should be in multiples of two'); for (uint256 i = 0; i < tokenIds.length; i++) { require(_torContractInstance.ownerOf(tokenIds[i]) == msg.sender, 'Caller is not owner of the token ID'); } for (uint256 i = 0; i < tokenIds.length; i++) { _torContractInstance.burn(tokenIds[i]); } uint256 numberOfPasses = tokenIds.length / 2; for(uint256 i = 0; i < numberOfPasses; i++) { _tokenIdCounter.increment(); _safeMint(msg.sender, _tokenIdCounter.current()); } } /* * Pause claiming if active, make active if paused. */ function flipClaimingState() public onlyOwner { claimingIsActive = !claimingIsActive; } /* * Pause burning if active, make active if paused. */ function flipBurningState() public onlyOwner { burningIsActive = !burningIsActive; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } /* * Set provenance once it's calculated. */ function setProvenanceHash(string memory provenanceHash) public onlyOwner { provenance = provenanceHash; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; interface ITORContract is IERC721 { function burn(uint256 tokenId) external; function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); }
// 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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = 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}. 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly 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` 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 { } }
// 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 "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[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); }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxVIPPassSupply","type":"uint256"},{"internalType":"address","name":"torContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burningIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"canClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimingIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipBurningState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipClaimingState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getClaimableTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintViaBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintViaClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxVIPPassSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"torContractAddress","type":"address"}],"name":"setTorContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","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
60806040526000600d60146101000a81548160ff0219169083151502179055506000600d60156101000a81548160ff0219169083151502179055503480156200004757600080fd5b50604051620057bb380380620057bb83398181016040528101906200006d919062000313565b8383816000908051906020019062000087929190620001b7565b508060019080519060200190620000a0929190620001b7565b5050506000620000be620001af640100000000026401000000009004565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600b8190555080600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050620005b9565b600033905090565b828054620001c59062000496565b90600052602060002090601f016020900481019282620001e9576000855562000235565b82601f106200020457805160ff191683800117855562000235565b8280016001018555821562000235579182015b828111156200023457825182559160200191906001019062000217565b5b50905062000244919062000248565b5090565b5b808211156200026357600081600090555060010162000249565b5090565b60006200027e6200027884620003ec565b620003c3565b9050828152602081018484840111156200029d576200029c62000565565b5b620002aa84828562000460565b509392505050565b600081519050620002c38162000585565b92915050565b600082601f830112620002e157620002e062000560565b5b8151620002f384826020860162000267565b91505092915050565b6000815190506200030d816200059f565b92915050565b6000806000806080858703121562000330576200032f6200056f565b5b600085015167ffffffffffffffff8111156200035157620003506200056a565b5b6200035f87828801620002c9565b945050602085015167ffffffffffffffff8111156200038357620003826200056a565b5b6200039187828801620002c9565b9350506040620003a487828801620002fc565b9250506060620003b787828801620002b2565b91505092959194509250565b6000620003cf620003e2565b9050620003dd8282620004cc565b919050565b6000604051905090565b600067ffffffffffffffff8211156200040a576200040962000531565b5b620004158262000574565b9050602081019050919050565b60006200042f8262000436565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200048057808201518184015260208101905062000463565b8381111562000490576000848401525b50505050565b60006002820490506001821680620004af57607f821691505b60208210811415620004c657620004c562000502565b5b50919050565b620004d78262000574565b810181811067ffffffffffffffff82111715620004f957620004f862000531565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620005908162000422565b81146200059c57600080fd5b50565b620005aa8162000456565b8114620005b657600080fd5b50565b6151f280620005c96000396000f3fe608060405234801561001057600080fd5b5060043610610239576000357c01000000000000000000000000000000000000000000000000000000009004806360b02f7011610142578063a22cb465116100ca578063c87b56dd11610099578063c87b56dd1461060a578063c95c0d891461063a578063d30897fe1461066a578063e985e9c514610686578063f2fde38b146106b657610239565b8063a22cb4651461059a578063b07ed982146105b6578063b88d4fde146105d2578063b8ab7a2c146105ee57610239565b806370a082311161011157806370a082311461051a578063715018a61461054a5780638da5cb5b1461055457806395d89b41146105725780639bad0bf31461059057610239565b806360b02f70146104945780636352211e146104b05780636c0360eb146104e05780636d47720b146104fe57610239565b806323b872dd116101c557806342966c681161019457806342966c68146104045780634f6ccce71461042057806350f7c2041461045057806352c28f121461046e57806355f804b31461047857610239565b806323b872dd1461037e5780632f745c591461039a5780632f80ab4b146103ca57806342842e0e146103e857610239565b8063095ea7b31161020c578063095ea7b3146102da5780630f7309e8146102f6578063109695231461031457806318160ddd146103305780631b831ead1461034e57610239565b806301ffc9a71461023e57806306fdde031461026e57806307cf3a771461028c578063081812fc146102aa575b600080fd5b61025860048036038101906102539190613aa4565b6106d2565b604051610265919061419a565b60405180910390f35b6102766106e4565b60405161028391906141b5565b60405180910390f35b610294610776565b6040516102a1919061419a565b60405180910390f35b6102c460048036038101906102bf9190613b47565b610789565b6040516102d191906140e8565b60405180910390f35b6102f460048036038101906102ef9190613a17565b61080e565b005b6102fe610926565b60405161030b91906141b5565b60405180910390f35b61032e60048036038101906103299190613afe565b6109b4565b005b610338610a4a565b6040516103459190614517565b60405180910390f35b61036860048036038101906103639190613867565b610a57565b6040516103759190614178565b60405180910390f35b61039860048036038101906103939190613901565b610de0565b005b6103b460048036038101906103af9190613a17565b610e40565b6040516103c19190614517565b60405180910390f35b6103d2610ee5565b6040516103df919061419a565b60405180910390f35b61040260048036038101906103fd9190613901565b610ef8565b005b61041e60048036038101906104199190613b47565b610f18565b005b61043a60048036038101906104359190613b47565b610f74565b6040516104479190614517565b60405180910390f35b610458610fe5565b6040516104659190614517565b60405180910390f35b610476610feb565b005b610492600480360381019061048d9190613afe565b611093565b005b6104ae60048036038101906104a99190613ba1565b611129565b005b6104ca60048036038101906104c59190613b47565b6111f9565b6040516104d791906140e8565b60405180910390f35b6104e86112ab565b6040516104f591906141b5565b60405180910390f35b61051860048036038101906105139190613867565b611339565b005b610534600480360381019061052f9190613867565b6113f9565b6040516105419190614517565b60405180910390f35b6105526114b1565b005b61055c6115ee565b60405161056991906140e8565b60405180910390f35b61057a611618565b60405161058791906141b5565b60405180910390f35b6105986116aa565b005b6105b460048036038101906105af91906139d7565b611752565b005b6105d060048036038101906105cb9190613b47565b6118d3565b005b6105ec60048036038101906105e79190613954565b611959565b005b61060860048036038101906106039190613a57565b6119bb565b005b610624600480360381019061061f9190613b47565b611d10565b60405161063191906141b5565b60405180910390f35b610654600480360381019061064f9190613b47565b611db7565b604051610661919061419a565b60405180910390f35b610684600480360381019061067f9190613a57565b611de2565b005b6106a0600480360381019061069b91906138c1565b612193565b6040516106ad919061419a565b60405180910390f35b6106d060048036038101906106cb9190613867565b612227565b005b60006106dd826123d3565b9050919050565b6060600080546106f3906147a6565b80601f016020809104026020016040519081016040528092919081815260200182805461071f906147a6565b801561076c5780601f106107415761010080835404028352916020019161076c565b820191906000526020600020905b81548152906001019060200180831161074f57829003601f168201915b5050505050905090565b600d60149054906101000a900460ff1681565b60006107948261244d565b6107d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ca906143d7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610819826111f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561088a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088190614477565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108a96124b9565b73ffffffffffffffffffffffffffffffffffffffff1614806108d857506108d7816108d26124b9565b612193565b5b610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e906142f7565b60405180910390fd5b61092183836124c1565b505050565b60108054610933906147a6565b80601f016020809104026020016040519081016040528092919081815260200182805461095f906147a6565b80156109ac5780601f10610981576101008083540402835291602001916109ac565b820191906000526020600020905b81548152906001019060200180831161098f57829003601f168201915b505050505081565b6109bc6124b9565b73ffffffffffffffffffffffffffffffffffffffff166109da6115ee565b73ffffffffffffffffffffffffffffffffffffffff1614610a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a27906143f7565b60405180910390fd5b8060109080519060200190610a469291906135fb565b5050565b6000600880549050905090565b6060806000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401610ad391906140e8565b60206040518083038186803b158015610aeb57600080fd5b505afa158015610aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b239190613b74565b90506000805b82811015610c46576000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5988846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401610bac92919061414f565b60206040518083038186803b158015610bc457600080fd5b505afa158015610bd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfc9190613b74565b9050600e600082815260200190815260200160002060009054906101000a900460ff16610c32578280610c2e90614809565b9350505b508080610c3e90614809565b915050610b29565b508067ffffffffffffffff811115610c6157610c6061496e565b5b604051908082528060200260200182016040528015610c8f5781602001602082028036833780820191505090505b5092506000805b83811015610dd3576000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5989846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401610d1992919061414f565b60206040518083038186803b158015610d3157600080fd5b505afa158015610d45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d699190613b74565b9050600e600082815260200190815260200160002060009054906101000a900460ff16610dbf5780868481518110610da457610da361493f565b5b6020026020010181815250508280610dbb90614809565b9350505b508080610dcb90614809565b915050610c96565b5083945050505050919050565b610df1610deb6124b9565b8261257a565b610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2790614497565b60405180910390fd5b610e3b838383612658565b505050565b6000610e4b836113f9565b8210610e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e83906141d7565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600d60159054906101000a900460ff1681565b610f1383838360405180602001604052806000815250611959565b505050565b610f29610f236124b9565b8261257a565b610f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5f906144f7565b60405180910390fd5b610f71816128b4565b50565b6000610f7e610a4a565b8210610fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb6906144b7565b60405180910390fd5b60088281548110610fd357610fd261493f565b5b90600052602060002001549050919050565b600b5481565b610ff36124b9565b73ffffffffffffffffffffffffffffffffffffffff166110116115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105e906143f7565b60405180910390fd5b600d60149054906101000a900460ff1615600d60146101000a81548160ff021916908315150217905550565b61109b6124b9565b73ffffffffffffffffffffffffffffffffffffffff166110b96115ee565b73ffffffffffffffffffffffffffffffffffffffff161461110f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611106906143f7565b60405180910390fd5b80600f90805190602001906111259291906135fb565b5050565b6111316124b9565b73ffffffffffffffffffffffffffffffffffffffff1661114f6115ee565b73ffffffffffffffffffffffffffffffffffffffff16146111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c906143f7565b60405180910390fd5b60006111b1600c6129c5565b90506000600190505b8381116111f3576111d68382846111d19190614635565b6129d3565b6111e0600c6129f1565b80806111eb90614809565b9150506111ba565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990614337565b60405180910390fd5b80915050919050565b600f80546112b8906147a6565b80601f01602080910402602001604051908101604052809291908181526020018280546112e4906147a6565b80156113315780601f1061130657610100808354040283529160200191611331565b820191906000526020600020905b81548152906001019060200180831161131457829003601f168201915b505050505081565b6113416124b9565b73ffffffffffffffffffffffffffffffffffffffff1661135f6115ee565b73ffffffffffffffffffffffffffffffffffffffff16146113b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ac906143f7565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561146a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146190614317565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114b96124b9565b73ffffffffffffffffffffffffffffffffffffffff166114d76115ee565b73ffffffffffffffffffffffffffffffffffffffff161461152d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611524906143f7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611627906147a6565b80601f0160208091040260200160405190810160405280929190818152602001828054611653906147a6565b80156116a05780601f10611675576101008083540402835291602001916116a0565b820191906000526020600020905b81548152906001019060200180831161168357829003601f168201915b5050505050905090565b6116b26124b9565b73ffffffffffffffffffffffffffffffffffffffff166116d06115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d906143f7565b60405180910390fd5b600d60159054906101000a900460ff1615600d60156101000a81548160ff021916908315150217905550565b61175a6124b9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bf90614297565b60405180910390fd5b80600560006117d56124b9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118826124b9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118c7919061419a565b60405180910390a35050565b6118db6124b9565b73ffffffffffffffffffffffffffffffffffffffff166118f96115ee565b73ffffffffffffffffffffffffffffffffffffffff161461194f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611946906143f7565b60405180910390fd5b80600b8190555050565b61196a6119646124b9565b8361257a565b6119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a090614497565b60405180910390fd5b6119b584848484612a07565b50505050565b600d60149054906101000a900460ff16611a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a01906143b7565b60405180910390fd5b600b54600383839050611a1d919061468b565b611a27600c6129c5565b611a319190614635565b1115611a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a69906144d7565b60405180910390fd5b6000600383839050611a849190614852565b14611ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abb90614257565b60405180910390fd5b60005b82829050811015611cba573373ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e858585818110611b3a57611b3961493f565b5b905060200201356040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611b799190614517565b60206040518083038186803b158015611b9157600080fd5b505afa158015611ba5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc99190613894565b73ffffffffffffffffffffffffffffffffffffffff16148015611c235750600e6000848484818110611bfe57611bfd61493f565b5b90506020020135815260200190815260200160002060009054906101000a900460ff16155b611c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5990614357565b60405180910390fd5b6001600e6000858585818110611c7b57611c7a61493f565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611cb290614809565b915050611ac7565b506000600383839050611ccd919061468b565b905060005b81811015611d0a57611ce4600c6129f1565b611cf733611cf2600c6129c5565b6129d3565b8080611d0290614809565b915050611cd2565b50505050565b6060611d1b8261244d565b611d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5190614437565b60405180910390fd5b6000611d64612a63565b90506000815111611d845760405180602001604052806000815250611daf565b80611d8e84612af5565b604051602001611d9f9291906140c4565b6040516020818303038152906040525b915050919050565b6000600e600083815260200190815260200160002060009054906101000a900460ff16159050919050565b600d60159054906101000a900460ff16611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e28906142b7565b60405180910390fd5b600b54600283839050611e44919061468b565b611e4e600c6129c5565b611e589190614635565b1115611e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e90906144d7565b60405180910390fd5b6000600283839050611eab9190614852565b14611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290614377565b60405180910390fd5b60005b82829050811015612059573373ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e858585818110611f6157611f6061493f565b5b905060200201356040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611fa09190614517565b60206040518083038186803b158015611fb857600080fd5b505afa158015611fcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff09190613894565b73ffffffffffffffffffffffffffffffffffffffff1614612046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203d90614457565b60405180910390fd5b808061205190614809565b915050611eee565b5060005b8282905081101561213d57600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c688484848181106120b9576120b861493f565b5b905060200201356040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016120f89190614517565b600060405180830381600087803b15801561211257600080fd5b505af1158015612126573d6000803e3d6000fd5b50505050808061213590614809565b91505061205d565b506000600283839050612150919061468b565b905060005b8181101561218d57612167600c6129f1565b61217a33612175600c6129c5565b6129d3565b808061218590614809565b915050612155565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61222f6124b9565b73ffffffffffffffffffffffffffffffffffffffff1661224d6115ee565b73ffffffffffffffffffffffffffffffffffffffff16146122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229a906143f7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230a90614217565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612446575061244582612c75565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612534836111f9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006125858261244d565b6125c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bb906142d7565b60405180910390fd5b60006125cf836111f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061263e57508373ffffffffffffffffffffffffffffffffffffffff1661262684610789565b73ffffffffffffffffffffffffffffffffffffffff16145b8061264f575061264e8185612193565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612678826111f9565b73ffffffffffffffffffffffffffffffffffffffff16146126ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c590614417565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561273e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273590614277565b60405180910390fd5b612749838383612d57565b6127546000826124c1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127a491906146bc565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127fb9190614635565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006128bf826111f9565b90506128cd81600084612d57565b6128d86000836124c1565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461292891906146bc565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b6129ed828260405180602001604052806000815250612d67565b5050565b6001816000016000828254019250508190555050565b612a12848484612658565b612a1e84848484612dc2565b612a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a54906141f7565b60405180910390fd5b50505050565b6060600f8054612a72906147a6565b80601f0160208091040260200160405190810160405280929190818152602001828054612a9e906147a6565b8015612aeb5780601f10612ac057610100808354040283529160200191612aeb565b820191906000526020600020905b815481529060010190602001808311612ace57829003601f168201915b5050505050905090565b60606000821415612b3d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c70565b600082905060005b60008214612b6f578080612b5890614809565b915050600a82612b68919061468b565b9150612b45565b60008167ffffffffffffffff811115612b8b57612b8a61496e565b5b6040519080825280601f01601f191660200182016040528015612bbd5781602001600182028036833780820191505090505b5090505b60008514612c6957600182612bd691906146bc565b9150600a85612be59190614852565b6030612bf19190614635565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612c2657612c2561493f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c62919061468b565b9450612bc1565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d4057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d505750612d4f82612f91565b5b9050919050565b612d62838383612ffb565b505050565b612d71838361310f565b612d7e6000848484612dc2565b612dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db4906141f7565b60405180910390fd5b505050565b6000612de38473ffffffffffffffffffffffffffffffffffffffff166132dd565b15612f84578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e0c6124b9565b8786866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401612e4a9493929190614103565b602060405180830381600087803b158015612e6457600080fd5b505af1925050508015612e9557506040513d601f19601f82011682018060405250810190612e929190613ad1565b60015b612f18573d8060008114612ec5576040519150601f19603f3d011682016040523d82523d6000602084013e612eca565b606091505b50600081511415612f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f07906141f7565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f89565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6130068383836132f0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561304957613044816132f5565b613088565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461308757613086838261333e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130cb576130c6816134ab565b61310a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461310957613108828261357c565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561317f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317690614397565b60405180910390fd5b6131888161244d565b156131c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bf90614237565b60405180910390fd5b6131d460008383612d57565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132249190614635565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161334b846113f9565b61335591906146bc565b905060006007600084815260200190815260200160002054905081811461343a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134bf91906146bc565b90506000600960008481526020019081526020016000205490506000600883815481106134ef576134ee61493f565b5b9060005260206000200154905080600883815481106135115761351061493f565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806135605761355f614910565b5b6001900381819060005260206000200160009055905550505050565b6000613587836113f9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613607906147a6565b90600052602060002090601f0160209004810192826136295760008555613670565b82601f1061364257805160ff1916838001178555613670565b82800160010185558215613670579182015b8281111561366f578251825591602001919060010190613654565b5b50905061367d9190613681565b5090565b5b8082111561369a576000816000905550600101613682565b5090565b60006136b16136ac84614557565b614532565b9050828152602081018484840111156136cd576136cc6149ac565b5b6136d8848285614764565b509392505050565b60006136f36136ee84614588565b614532565b90508281526020810184848401111561370f5761370e6149ac565b5b61371a848285614764565b509392505050565b60008135905061373181615160565b92915050565b60008151905061374681615160565b92915050565b60008083601f840112613762576137616149a2565b5b8235905067ffffffffffffffff81111561377f5761377e61499d565b5b60208301915083602082028301111561379b5761379a6149a7565b5b9250929050565b6000813590506137b181615177565b92915050565b6000813590506137c68161518e565b92915050565b6000815190506137db8161518e565b92915050565b600082601f8301126137f6576137f56149a2565b5b813561380684826020860161369e565b91505092915050565b600082601f830112613824576138236149a2565b5b81356138348482602086016136e0565b91505092915050565b60008135905061384c816151a5565b92915050565b600081519050613861816151a5565b92915050565b60006020828403121561387d5761387c6149b6565b5b600061388b84828501613722565b91505092915050565b6000602082840312156138aa576138a96149b6565b5b60006138b884828501613737565b91505092915050565b600080604083850312156138d8576138d76149b6565b5b60006138e685828601613722565b92505060206138f785828601613722565b9150509250929050565b60008060006060848603121561391a576139196149b6565b5b600061392886828701613722565b935050602061393986828701613722565b925050604061394a8682870161383d565b9150509250925092565b6000806000806080858703121561396e5761396d6149b6565b5b600061397c87828801613722565b945050602061398d87828801613722565b935050604061399e8782880161383d565b925050606085013567ffffffffffffffff8111156139bf576139be6149b1565b5b6139cb878288016137e1565b91505092959194509250565b600080604083850312156139ee576139ed6149b6565b5b60006139fc85828601613722565b9250506020613a0d858286016137a2565b9150509250929050565b60008060408385031215613a2e57613a2d6149b6565b5b6000613a3c85828601613722565b9250506020613a4d8582860161383d565b9150509250929050565b60008060208385031215613a6e57613a6d6149b6565b5b600083013567ffffffffffffffff811115613a8c57613a8b6149b1565b5b613a988582860161374c565b92509250509250929050565b600060208284031215613aba57613ab96149b6565b5b6000613ac8848285016137b7565b91505092915050565b600060208284031215613ae757613ae66149b6565b5b6000613af5848285016137cc565b91505092915050565b600060208284031215613b1457613b136149b6565b5b600082013567ffffffffffffffff811115613b3257613b316149b1565b5b613b3e8482850161380f565b91505092915050565b600060208284031215613b5d57613b5c6149b6565b5b6000613b6b8482850161383d565b91505092915050565b600060208284031215613b8a57613b896149b6565b5b6000613b9884828501613852565b91505092915050565b60008060408385031215613bb857613bb76149b6565b5b6000613bc68582860161383d565b9250506020613bd785828601613722565b9150509250929050565b6000613bed83836140a6565b60208301905092915050565b613c02816146f0565b82525050565b6000613c13826145c9565b613c1d81856145f7565b9350613c28836145b9565b8060005b83811015613c59578151613c408882613be1565b9750613c4b836145ea565b925050600181019050613c2c565b5085935050505092915050565b613c6f81614702565b82525050565b6000613c80826145d4565b613c8a8185614608565b9350613c9a818560208601614773565b613ca3816149bb565b840191505092915050565b6000613cb9826145df565b613cc38185614619565b9350613cd3818560208601614773565b613cdc816149bb565b840191505092915050565b6000613cf2826145df565b613cfc818561462a565b9350613d0c818560208601614773565b80840191505092915050565b6000613d25602b83614619565b9150613d30826149cc565b604082019050919050565b6000613d48603283614619565b9150613d5382614a1b565b604082019050919050565b6000613d6b602683614619565b9150613d7682614a6a565b604082019050919050565b6000613d8e601c83614619565b9150613d9982614ab9565b602082019050919050565b6000613db1603283614619565b9150613dbc82614ae2565b604082019050919050565b6000613dd4602483614619565b9150613ddf82614b31565b604082019050919050565b6000613df7601983614619565b9150613e0282614b80565b602082019050919050565b6000613e1a602383614619565b9150613e2582614ba9565b604082019050919050565b6000613e3d602c83614619565b9150613e4882614bf8565b604082019050919050565b6000613e60603883614619565b9150613e6b82614c47565b604082019050919050565b6000613e83602a83614619565b9150613e8e82614c96565b604082019050919050565b6000613ea6602983614619565b9150613eb182614ce5565b604082019050919050565b6000613ec9604983614619565b9150613ed482614d34565b606082019050919050565b6000613eec603083614619565b9150613ef782614da9565b604082019050919050565b6000613f0f602083614619565b9150613f1a82614df8565b602082019050919050565b6000613f32602483614619565b9150613f3d82614e21565b604082019050919050565b6000613f55602c83614619565b9150613f6082614e70565b604082019050919050565b6000613f78602083614619565b9150613f8382614ebf565b602082019050919050565b6000613f9b602983614619565b9150613fa682614ee8565b604082019050919050565b6000613fbe602f83614619565b9150613fc982614f37565b604082019050919050565b6000613fe1602383614619565b9150613fec82614f86565b604082019050919050565b6000614004602183614619565b915061400f82614fd5565b604082019050919050565b6000614027603183614619565b915061403282615024565b604082019050919050565b600061404a602c83614619565b915061405582615073565b604082019050919050565b600061406d602e83614619565b9150614078826150c2565b604082019050919050565b6000614090603083614619565b915061409b82615111565b604082019050919050565b6140af8161475a565b82525050565b6140be8161475a565b82525050565b60006140d08285613ce7565b91506140dc8284613ce7565b91508190509392505050565b60006020820190506140fd6000830184613bf9565b92915050565b60006080820190506141186000830187613bf9565b6141256020830186613bf9565b61413260408301856140b5565b81810360608301526141448184613c75565b905095945050505050565b60006040820190506141646000830185613bf9565b61417160208301846140b5565b9392505050565b600060208201905081810360008301526141928184613c08565b905092915050565b60006020820190506141af6000830184613c66565b92915050565b600060208201905081810360008301526141cf8184613cae565b905092915050565b600060208201905081810360008301526141f081613d18565b9050919050565b6000602082019050818103600083015261421081613d3b565b9050919050565b6000602082019050818103600083015261423081613d5e565b9050919050565b6000602082019050818103600083015261425081613d81565b9050919050565b6000602082019050818103600083015261427081613da4565b9050919050565b6000602082019050818103600083015261429081613dc7565b9050919050565b600060208201905081810360008301526142b081613dea565b9050919050565b600060208201905081810360008301526142d081613e0d565b9050919050565b600060208201905081810360008301526142f081613e30565b9050919050565b6000602082019050818103600083015261431081613e53565b9050919050565b6000602082019050818103600083015261433081613e76565b9050919050565b6000602082019050818103600083015261435081613e99565b9050919050565b6000602082019050818103600083015261437081613ebc565b9050919050565b6000602082019050818103600083015261439081613edf565b9050919050565b600060208201905081810360008301526143b081613f02565b9050919050565b600060208201905081810360008301526143d081613f25565b9050919050565b600060208201905081810360008301526143f081613f48565b9050919050565b6000602082019050818103600083015261441081613f6b565b9050919050565b6000602082019050818103600083015261443081613f8e565b9050919050565b6000602082019050818103600083015261445081613fb1565b9050919050565b6000602082019050818103600083015261447081613fd4565b9050919050565b6000602082019050818103600083015261449081613ff7565b9050919050565b600060208201905081810360008301526144b08161401a565b9050919050565b600060208201905081810360008301526144d08161403d565b9050919050565b600060208201905081810360008301526144f081614060565b9050919050565b6000602082019050818103600083015261451081614083565b9050919050565b600060208201905061452c60008301846140b5565b92915050565b600061453c61454d565b905061454882826147d8565b919050565b6000604051905090565b600067ffffffffffffffff8211156145725761457161496e565b5b61457b826149bb565b9050602081019050919050565b600067ffffffffffffffff8211156145a3576145a261496e565b5b6145ac826149bb565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006146408261475a565b915061464b8361475a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146805761467f614883565b5b828201905092915050565b60006146968261475a565b91506146a18361475a565b9250826146b1576146b06148b2565b5b828204905092915050565b60006146c78261475a565b91506146d28361475a565b9250828210156146e5576146e4614883565b5b828203905092915050565b60006146fb8261473a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614791578082015181840152602081019050614776565b838111156147a0576000848401525b50505050565b600060028204905060018216806147be57607f821691505b602082108114156147d2576147d16148e1565b5b50919050565b6147e1826149bb565b810181811067ffffffffffffffff82111715614800576147ff61496e565b5b80604052505050565b60006148148261475a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561484757614846614883565b5b600182019050919050565b600061485d8261475a565b91506148688361475a565b925082614878576148776148b2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f50726f766964656420746f6b656e204944732073686f756c6420626520696e2060008201527f6d756c7469706c6573206f662074687265650000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d696e74696e6720766961206275726e696e67206973206e6f74206c6976652060008201527f7965740000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f43616c6c657220697320656974686572206e6f74206f776e6572206f6620746860008201527f6520746f6b656e204944206f722069742068617320616c72656164792062656560208201527f6e20636c61696d65640000000000000000000000000000000000000000000000604082015250565b7f50726f766964656420746f6b656e204944732073686f756c6420626520696e2060008201527f6d756c7469706c6573206f662074776f00000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4d696e74696e672076696120636c61696d696e67206973206e6f74206c69766560008201527f2079657400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206f662074686520746f6b656e60008201527f2049440000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c652056495020506173736573000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615169816146f0565b811461517457600080fd5b50565b61518081614702565b811461518b57600080fd5b50565b6151978161470e565b81146151a257600080fd5b50565b6151ae8161475a565b81146151b957600080fd5b5056fea2646970667358221220997c8ce877012ffd2a24c5f5f9d5cbf30783908daa12c0b7953ee622abf77b9764736f6c63430008070033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000009c4000000000000000000000000c2f05fd9fe4cfe8f7395ddb220c84d3ef240cf3d000000000000000000000000000000000000000000000000000000000000000a544f5256495050617373000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006544f525649500000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b5060043610610239576000357c01000000000000000000000000000000000000000000000000000000009004806360b02f7011610142578063a22cb465116100ca578063c87b56dd11610099578063c87b56dd1461060a578063c95c0d891461063a578063d30897fe1461066a578063e985e9c514610686578063f2fde38b146106b657610239565b8063a22cb4651461059a578063b07ed982146105b6578063b88d4fde146105d2578063b8ab7a2c146105ee57610239565b806370a082311161011157806370a082311461051a578063715018a61461054a5780638da5cb5b1461055457806395d89b41146105725780639bad0bf31461059057610239565b806360b02f70146104945780636352211e146104b05780636c0360eb146104e05780636d47720b146104fe57610239565b806323b872dd116101c557806342966c681161019457806342966c68146104045780634f6ccce71461042057806350f7c2041461045057806352c28f121461046e57806355f804b31461047857610239565b806323b872dd1461037e5780632f745c591461039a5780632f80ab4b146103ca57806342842e0e146103e857610239565b8063095ea7b31161020c578063095ea7b3146102da5780630f7309e8146102f6578063109695231461031457806318160ddd146103305780631b831ead1461034e57610239565b806301ffc9a71461023e57806306fdde031461026e57806307cf3a771461028c578063081812fc146102aa575b600080fd5b61025860048036038101906102539190613aa4565b6106d2565b604051610265919061419a565b60405180910390f35b6102766106e4565b60405161028391906141b5565b60405180910390f35b610294610776565b6040516102a1919061419a565b60405180910390f35b6102c460048036038101906102bf9190613b47565b610789565b6040516102d191906140e8565b60405180910390f35b6102f460048036038101906102ef9190613a17565b61080e565b005b6102fe610926565b60405161030b91906141b5565b60405180910390f35b61032e60048036038101906103299190613afe565b6109b4565b005b610338610a4a565b6040516103459190614517565b60405180910390f35b61036860048036038101906103639190613867565b610a57565b6040516103759190614178565b60405180910390f35b61039860048036038101906103939190613901565b610de0565b005b6103b460048036038101906103af9190613a17565b610e40565b6040516103c19190614517565b60405180910390f35b6103d2610ee5565b6040516103df919061419a565b60405180910390f35b61040260048036038101906103fd9190613901565b610ef8565b005b61041e60048036038101906104199190613b47565b610f18565b005b61043a60048036038101906104359190613b47565b610f74565b6040516104479190614517565b60405180910390f35b610458610fe5565b6040516104659190614517565b60405180910390f35b610476610feb565b005b610492600480360381019061048d9190613afe565b611093565b005b6104ae60048036038101906104a99190613ba1565b611129565b005b6104ca60048036038101906104c59190613b47565b6111f9565b6040516104d791906140e8565b60405180910390f35b6104e86112ab565b6040516104f591906141b5565b60405180910390f35b61051860048036038101906105139190613867565b611339565b005b610534600480360381019061052f9190613867565b6113f9565b6040516105419190614517565b60405180910390f35b6105526114b1565b005b61055c6115ee565b60405161056991906140e8565b60405180910390f35b61057a611618565b60405161058791906141b5565b60405180910390f35b6105986116aa565b005b6105b460048036038101906105af91906139d7565b611752565b005b6105d060048036038101906105cb9190613b47565b6118d3565b005b6105ec60048036038101906105e79190613954565b611959565b005b61060860048036038101906106039190613a57565b6119bb565b005b610624600480360381019061061f9190613b47565b611d10565b60405161063191906141b5565b60405180910390f35b610654600480360381019061064f9190613b47565b611db7565b604051610661919061419a565b60405180910390f35b610684600480360381019061067f9190613a57565b611de2565b005b6106a0600480360381019061069b91906138c1565b612193565b6040516106ad919061419a565b60405180910390f35b6106d060048036038101906106cb9190613867565b612227565b005b60006106dd826123d3565b9050919050565b6060600080546106f3906147a6565b80601f016020809104026020016040519081016040528092919081815260200182805461071f906147a6565b801561076c5780601f106107415761010080835404028352916020019161076c565b820191906000526020600020905b81548152906001019060200180831161074f57829003601f168201915b5050505050905090565b600d60149054906101000a900460ff1681565b60006107948261244d565b6107d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ca906143d7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610819826111f9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561088a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088190614477565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108a96124b9565b73ffffffffffffffffffffffffffffffffffffffff1614806108d857506108d7816108d26124b9565b612193565b5b610917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090e906142f7565b60405180910390fd5b61092183836124c1565b505050565b60108054610933906147a6565b80601f016020809104026020016040519081016040528092919081815260200182805461095f906147a6565b80156109ac5780601f10610981576101008083540402835291602001916109ac565b820191906000526020600020905b81548152906001019060200180831161098f57829003601f168201915b505050505081565b6109bc6124b9565b73ffffffffffffffffffffffffffffffffffffffff166109da6115ee565b73ffffffffffffffffffffffffffffffffffffffff1614610a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a27906143f7565b60405180910390fd5b8060109080519060200190610a469291906135fb565b5050565b6000600880549050905090565b6060806000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401610ad391906140e8565b60206040518083038186803b158015610aeb57600080fd5b505afa158015610aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b239190613b74565b90506000805b82811015610c46576000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5988846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401610bac92919061414f565b60206040518083038186803b158015610bc457600080fd5b505afa158015610bd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfc9190613b74565b9050600e600082815260200190815260200160002060009054906101000a900460ff16610c32578280610c2e90614809565b9350505b508080610c3e90614809565b915050610b29565b508067ffffffffffffffff811115610c6157610c6061496e565b5b604051908082528060200260200182016040528015610c8f5781602001602082028036833780820191505090505b5092506000805b83811015610dd3576000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5989846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401610d1992919061414f565b60206040518083038186803b158015610d3157600080fd5b505afa158015610d45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d699190613b74565b9050600e600082815260200190815260200160002060009054906101000a900460ff16610dbf5780868481518110610da457610da361493f565b5b6020026020010181815250508280610dbb90614809565b9350505b508080610dcb90614809565b915050610c96565b5083945050505050919050565b610df1610deb6124b9565b8261257a565b610e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2790614497565b60405180910390fd5b610e3b838383612658565b505050565b6000610e4b836113f9565b8210610e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e83906141d7565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600d60159054906101000a900460ff1681565b610f1383838360405180602001604052806000815250611959565b505050565b610f29610f236124b9565b8261257a565b610f68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5f906144f7565b60405180910390fd5b610f71816128b4565b50565b6000610f7e610a4a565b8210610fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb6906144b7565b60405180910390fd5b60088281548110610fd357610fd261493f565b5b90600052602060002001549050919050565b600b5481565b610ff36124b9565b73ffffffffffffffffffffffffffffffffffffffff166110116115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105e906143f7565b60405180910390fd5b600d60149054906101000a900460ff1615600d60146101000a81548160ff021916908315150217905550565b61109b6124b9565b73ffffffffffffffffffffffffffffffffffffffff166110b96115ee565b73ffffffffffffffffffffffffffffffffffffffff161461110f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611106906143f7565b60405180910390fd5b80600f90805190602001906111259291906135fb565b5050565b6111316124b9565b73ffffffffffffffffffffffffffffffffffffffff1661114f6115ee565b73ffffffffffffffffffffffffffffffffffffffff16146111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c906143f7565b60405180910390fd5b60006111b1600c6129c5565b90506000600190505b8381116111f3576111d68382846111d19190614635565b6129d3565b6111e0600c6129f1565b80806111eb90614809565b9150506111ba565b50505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129990614337565b60405180910390fd5b80915050919050565b600f80546112b8906147a6565b80601f01602080910402602001604051908101604052809291908181526020018280546112e4906147a6565b80156113315780601f1061130657610100808354040283529160200191611331565b820191906000526020600020905b81548152906001019060200180831161131457829003601f168201915b505050505081565b6113416124b9565b73ffffffffffffffffffffffffffffffffffffffff1661135f6115ee565b73ffffffffffffffffffffffffffffffffffffffff16146113b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ac906143f7565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561146a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146190614317565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114b96124b9565b73ffffffffffffffffffffffffffffffffffffffff166114d76115ee565b73ffffffffffffffffffffffffffffffffffffffff161461152d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611524906143f7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611627906147a6565b80601f0160208091040260200160405190810160405280929190818152602001828054611653906147a6565b80156116a05780601f10611675576101008083540402835291602001916116a0565b820191906000526020600020905b81548152906001019060200180831161168357829003601f168201915b5050505050905090565b6116b26124b9565b73ffffffffffffffffffffffffffffffffffffffff166116d06115ee565b73ffffffffffffffffffffffffffffffffffffffff1614611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d906143f7565b60405180910390fd5b600d60159054906101000a900460ff1615600d60156101000a81548160ff021916908315150217905550565b61175a6124b9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bf90614297565b60405180910390fd5b80600560006117d56124b9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118826124b9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118c7919061419a565b60405180910390a35050565b6118db6124b9565b73ffffffffffffffffffffffffffffffffffffffff166118f96115ee565b73ffffffffffffffffffffffffffffffffffffffff161461194f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611946906143f7565b60405180910390fd5b80600b8190555050565b61196a6119646124b9565b8361257a565b6119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a090614497565b60405180910390fd5b6119b584848484612a07565b50505050565b600d60149054906101000a900460ff16611a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a01906143b7565b60405180910390fd5b600b54600383839050611a1d919061468b565b611a27600c6129c5565b611a319190614635565b1115611a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a69906144d7565b60405180910390fd5b6000600383839050611a849190614852565b14611ac4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abb90614257565b60405180910390fd5b60005b82829050811015611cba573373ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e858585818110611b3a57611b3961493f565b5b905060200201356040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611b799190614517565b60206040518083038186803b158015611b9157600080fd5b505afa158015611ba5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bc99190613894565b73ffffffffffffffffffffffffffffffffffffffff16148015611c235750600e6000848484818110611bfe57611bfd61493f565b5b90506020020135815260200190815260200160002060009054906101000a900460ff16155b611c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5990614357565b60405180910390fd5b6001600e6000858585818110611c7b57611c7a61493f565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611cb290614809565b915050611ac7565b506000600383839050611ccd919061468b565b905060005b81811015611d0a57611ce4600c6129f1565b611cf733611cf2600c6129c5565b6129d3565b8080611d0290614809565b915050611cd2565b50505050565b6060611d1b8261244d565b611d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5190614437565b60405180910390fd5b6000611d64612a63565b90506000815111611d845760405180602001604052806000815250611daf565b80611d8e84612af5565b604051602001611d9f9291906140c4565b6040516020818303038152906040525b915050919050565b6000600e600083815260200190815260200160002060009054906101000a900460ff16159050919050565b600d60159054906101000a900460ff16611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e28906142b7565b60405180910390fd5b600b54600283839050611e44919061468b565b611e4e600c6129c5565b611e589190614635565b1115611e99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e90906144d7565b60405180910390fd5b6000600283839050611eab9190614852565b14611eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee290614377565b60405180910390fd5b60005b82829050811015612059573373ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e858585818110611f6157611f6061493f565b5b905060200201356040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401611fa09190614517565b60206040518083038186803b158015611fb857600080fd5b505afa158015611fcc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff09190613894565b73ffffffffffffffffffffffffffffffffffffffff1614612046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203d90614457565b60405180910390fd5b808061205190614809565b915050611eee565b5060005b8282905081101561213d57600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c688484848181106120b9576120b861493f565b5b905060200201356040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004016120f89190614517565b600060405180830381600087803b15801561211257600080fd5b505af1158015612126573d6000803e3d6000fd5b50505050808061213590614809565b91505061205d565b506000600283839050612150919061468b565b905060005b8181101561218d57612167600c6129f1565b61217a33612175600c6129c5565b6129d3565b808061218590614809565b915050612155565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61222f6124b9565b73ffffffffffffffffffffffffffffffffffffffff1661224d6115ee565b73ffffffffffffffffffffffffffffffffffffffff16146122a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229a906143f7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230a90614217565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612446575061244582612c75565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612534836111f9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006125858261244d565b6125c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bb906142d7565b60405180910390fd5b60006125cf836111f9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061263e57508373ffffffffffffffffffffffffffffffffffffffff1661262684610789565b73ffffffffffffffffffffffffffffffffffffffff16145b8061264f575061264e8185612193565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612678826111f9565b73ffffffffffffffffffffffffffffffffffffffff16146126ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126c590614417565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561273e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273590614277565b60405180910390fd5b612749838383612d57565b6127546000826124c1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127a491906146bc565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127fb9190614635565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006128bf826111f9565b90506128cd81600084612d57565b6128d86000836124c1565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461292891906146bc565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600081600001549050919050565b6129ed828260405180602001604052806000815250612d67565b5050565b6001816000016000828254019250508190555050565b612a12848484612658565b612a1e84848484612dc2565b612a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a54906141f7565b60405180910390fd5b50505050565b6060600f8054612a72906147a6565b80601f0160208091040260200160405190810160405280929190818152602001828054612a9e906147a6565b8015612aeb5780601f10612ac057610100808354040283529160200191612aeb565b820191906000526020600020905b815481529060010190602001808311612ace57829003601f168201915b5050505050905090565b60606000821415612b3d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c70565b600082905060005b60008214612b6f578080612b5890614809565b915050600a82612b68919061468b565b9150612b45565b60008167ffffffffffffffff811115612b8b57612b8a61496e565b5b6040519080825280601f01601f191660200182016040528015612bbd5781602001600182028036833780820191505090505b5090505b60008514612c6957600182612bd691906146bc565b9150600a85612be59190614852565b6030612bf19190614635565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612c2657612c2561493f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c62919061468b565b9450612bc1565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d4057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d505750612d4f82612f91565b5b9050919050565b612d62838383612ffb565b505050565b612d71838361310f565b612d7e6000848484612dc2565b612dbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db4906141f7565b60405180910390fd5b505050565b6000612de38473ffffffffffffffffffffffffffffffffffffffff166132dd565b15612f84578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e0c6124b9565b8786866040518563ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401612e4a9493929190614103565b602060405180830381600087803b158015612e6457600080fd5b505af1925050508015612e9557506040513d601f19601f82011682018060405250810190612e929190613ad1565b60015b612f18573d8060008114612ec5576040519150601f19603f3d011682016040523d82523d6000602084013e612eca565b606091505b50600081511415612f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f07906141f7565b60405180910390fd5b805181602001fd5b63150b7a027c0100000000000000000000000000000000000000000000000000000000027bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f89565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6130068383836132f0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561304957613044816132f5565b613088565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461308757613086838261333e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130cb576130c6816134ab565b61310a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461310957613108828261357c565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561317f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317690614397565b60405180910390fd5b6131888161244d565b156131c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bf90614237565b60405180910390fd5b6131d460008383612d57565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132249190614635565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161334b846113f9565b61335591906146bc565b905060006007600084815260200190815260200160002054905081811461343a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134bf91906146bc565b90506000600960008481526020019081526020016000205490506000600883815481106134ef576134ee61493f565b5b9060005260206000200154905080600883815481106135115761351061493f565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806135605761355f614910565b5b6001900381819060005260206000200160009055905550505050565b6000613587836113f9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613607906147a6565b90600052602060002090601f0160209004810192826136295760008555613670565b82601f1061364257805160ff1916838001178555613670565b82800160010185558215613670579182015b8281111561366f578251825591602001919060010190613654565b5b50905061367d9190613681565b5090565b5b8082111561369a576000816000905550600101613682565b5090565b60006136b16136ac84614557565b614532565b9050828152602081018484840111156136cd576136cc6149ac565b5b6136d8848285614764565b509392505050565b60006136f36136ee84614588565b614532565b90508281526020810184848401111561370f5761370e6149ac565b5b61371a848285614764565b509392505050565b60008135905061373181615160565b92915050565b60008151905061374681615160565b92915050565b60008083601f840112613762576137616149a2565b5b8235905067ffffffffffffffff81111561377f5761377e61499d565b5b60208301915083602082028301111561379b5761379a6149a7565b5b9250929050565b6000813590506137b181615177565b92915050565b6000813590506137c68161518e565b92915050565b6000815190506137db8161518e565b92915050565b600082601f8301126137f6576137f56149a2565b5b813561380684826020860161369e565b91505092915050565b600082601f830112613824576138236149a2565b5b81356138348482602086016136e0565b91505092915050565b60008135905061384c816151a5565b92915050565b600081519050613861816151a5565b92915050565b60006020828403121561387d5761387c6149b6565b5b600061388b84828501613722565b91505092915050565b6000602082840312156138aa576138a96149b6565b5b60006138b884828501613737565b91505092915050565b600080604083850312156138d8576138d76149b6565b5b60006138e685828601613722565b92505060206138f785828601613722565b9150509250929050565b60008060006060848603121561391a576139196149b6565b5b600061392886828701613722565b935050602061393986828701613722565b925050604061394a8682870161383d565b9150509250925092565b6000806000806080858703121561396e5761396d6149b6565b5b600061397c87828801613722565b945050602061398d87828801613722565b935050604061399e8782880161383d565b925050606085013567ffffffffffffffff8111156139bf576139be6149b1565b5b6139cb878288016137e1565b91505092959194509250565b600080604083850312156139ee576139ed6149b6565b5b60006139fc85828601613722565b9250506020613a0d858286016137a2565b9150509250929050565b60008060408385031215613a2e57613a2d6149b6565b5b6000613a3c85828601613722565b9250506020613a4d8582860161383d565b9150509250929050565b60008060208385031215613a6e57613a6d6149b6565b5b600083013567ffffffffffffffff811115613a8c57613a8b6149b1565b5b613a988582860161374c565b92509250509250929050565b600060208284031215613aba57613ab96149b6565b5b6000613ac8848285016137b7565b91505092915050565b600060208284031215613ae757613ae66149b6565b5b6000613af5848285016137cc565b91505092915050565b600060208284031215613b1457613b136149b6565b5b600082013567ffffffffffffffff811115613b3257613b316149b1565b5b613b3e8482850161380f565b91505092915050565b600060208284031215613b5d57613b5c6149b6565b5b6000613b6b8482850161383d565b91505092915050565b600060208284031215613b8a57613b896149b6565b5b6000613b9884828501613852565b91505092915050565b60008060408385031215613bb857613bb76149b6565b5b6000613bc68582860161383d565b9250506020613bd785828601613722565b9150509250929050565b6000613bed83836140a6565b60208301905092915050565b613c02816146f0565b82525050565b6000613c13826145c9565b613c1d81856145f7565b9350613c28836145b9565b8060005b83811015613c59578151613c408882613be1565b9750613c4b836145ea565b925050600181019050613c2c565b5085935050505092915050565b613c6f81614702565b82525050565b6000613c80826145d4565b613c8a8185614608565b9350613c9a818560208601614773565b613ca3816149bb565b840191505092915050565b6000613cb9826145df565b613cc38185614619565b9350613cd3818560208601614773565b613cdc816149bb565b840191505092915050565b6000613cf2826145df565b613cfc818561462a565b9350613d0c818560208601614773565b80840191505092915050565b6000613d25602b83614619565b9150613d30826149cc565b604082019050919050565b6000613d48603283614619565b9150613d5382614a1b565b604082019050919050565b6000613d6b602683614619565b9150613d7682614a6a565b604082019050919050565b6000613d8e601c83614619565b9150613d9982614ab9565b602082019050919050565b6000613db1603283614619565b9150613dbc82614ae2565b604082019050919050565b6000613dd4602483614619565b9150613ddf82614b31565b604082019050919050565b6000613df7601983614619565b9150613e0282614b80565b602082019050919050565b6000613e1a602383614619565b9150613e2582614ba9565b604082019050919050565b6000613e3d602c83614619565b9150613e4882614bf8565b604082019050919050565b6000613e60603883614619565b9150613e6b82614c47565b604082019050919050565b6000613e83602a83614619565b9150613e8e82614c96565b604082019050919050565b6000613ea6602983614619565b9150613eb182614ce5565b604082019050919050565b6000613ec9604983614619565b9150613ed482614d34565b606082019050919050565b6000613eec603083614619565b9150613ef782614da9565b604082019050919050565b6000613f0f602083614619565b9150613f1a82614df8565b602082019050919050565b6000613f32602483614619565b9150613f3d82614e21565b604082019050919050565b6000613f55602c83614619565b9150613f6082614e70565b604082019050919050565b6000613f78602083614619565b9150613f8382614ebf565b602082019050919050565b6000613f9b602983614619565b9150613fa682614ee8565b604082019050919050565b6000613fbe602f83614619565b9150613fc982614f37565b604082019050919050565b6000613fe1602383614619565b9150613fec82614f86565b604082019050919050565b6000614004602183614619565b915061400f82614fd5565b604082019050919050565b6000614027603183614619565b915061403282615024565b604082019050919050565b600061404a602c83614619565b915061405582615073565b604082019050919050565b600061406d602e83614619565b9150614078826150c2565b604082019050919050565b6000614090603083614619565b915061409b82615111565b604082019050919050565b6140af8161475a565b82525050565b6140be8161475a565b82525050565b60006140d08285613ce7565b91506140dc8284613ce7565b91508190509392505050565b60006020820190506140fd6000830184613bf9565b92915050565b60006080820190506141186000830187613bf9565b6141256020830186613bf9565b61413260408301856140b5565b81810360608301526141448184613c75565b905095945050505050565b60006040820190506141646000830185613bf9565b61417160208301846140b5565b9392505050565b600060208201905081810360008301526141928184613c08565b905092915050565b60006020820190506141af6000830184613c66565b92915050565b600060208201905081810360008301526141cf8184613cae565b905092915050565b600060208201905081810360008301526141f081613d18565b9050919050565b6000602082019050818103600083015261421081613d3b565b9050919050565b6000602082019050818103600083015261423081613d5e565b9050919050565b6000602082019050818103600083015261425081613d81565b9050919050565b6000602082019050818103600083015261427081613da4565b9050919050565b6000602082019050818103600083015261429081613dc7565b9050919050565b600060208201905081810360008301526142b081613dea565b9050919050565b600060208201905081810360008301526142d081613e0d565b9050919050565b600060208201905081810360008301526142f081613e30565b9050919050565b6000602082019050818103600083015261431081613e53565b9050919050565b6000602082019050818103600083015261433081613e76565b9050919050565b6000602082019050818103600083015261435081613e99565b9050919050565b6000602082019050818103600083015261437081613ebc565b9050919050565b6000602082019050818103600083015261439081613edf565b9050919050565b600060208201905081810360008301526143b081613f02565b9050919050565b600060208201905081810360008301526143d081613f25565b9050919050565b600060208201905081810360008301526143f081613f48565b9050919050565b6000602082019050818103600083015261441081613f6b565b9050919050565b6000602082019050818103600083015261443081613f8e565b9050919050565b6000602082019050818103600083015261445081613fb1565b9050919050565b6000602082019050818103600083015261447081613fd4565b9050919050565b6000602082019050818103600083015261449081613ff7565b9050919050565b600060208201905081810360008301526144b08161401a565b9050919050565b600060208201905081810360008301526144d08161403d565b9050919050565b600060208201905081810360008301526144f081614060565b9050919050565b6000602082019050818103600083015261451081614083565b9050919050565b600060208201905061452c60008301846140b5565b92915050565b600061453c61454d565b905061454882826147d8565b919050565b6000604051905090565b600067ffffffffffffffff8211156145725761457161496e565b5b61457b826149bb565b9050602081019050919050565b600067ffffffffffffffff8211156145a3576145a261496e565b5b6145ac826149bb565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006146408261475a565b915061464b8361475a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146805761467f614883565b5b828201905092915050565b60006146968261475a565b91506146a18361475a565b9250826146b1576146b06148b2565b5b828204905092915050565b60006146c78261475a565b91506146d28361475a565b9250828210156146e5576146e4614883565b5b828203905092915050565b60006146fb8261473a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614791578082015181840152602081019050614776565b838111156147a0576000848401525b50505050565b600060028204905060018216806147be57607f821691505b602082108114156147d2576147d16148e1565b5b50919050565b6147e1826149bb565b810181811067ffffffffffffffff82111715614800576147ff61496e565b5b80604052505050565b60006148148261475a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561484757614846614883565b5b600182019050919050565b600061485d8261475a565b91506148688361475a565b925082614878576148776148b2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f50726f766964656420746f6b656e204944732073686f756c6420626520696e2060008201527f6d756c7469706c6573206f662074687265650000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d696e74696e6720766961206275726e696e67206973206e6f74206c6976652060008201527f7965740000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f43616c6c657220697320656974686572206e6f74206f776e6572206f6620746860008201527f6520746f6b656e204944206f722069742068617320616c72656164792062656560208201527f6e20636c61696d65640000000000000000000000000000000000000000000000604082015250565b7f50726f766964656420746f6b656e204944732073686f756c6420626520696e2060008201527f6d756c7469706c6573206f662074776f00000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4d696e74696e672076696120636c61696d696e67206973206e6f74206c69766560008201527f2079657400000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f43616c6c6572206973206e6f74206f776e6572206f662074686520746f6b656e60008201527f2049440000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c652056495020506173736573000000000000000000000000000000000000602082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b615169816146f0565b811461517457600080fd5b50565b61518081614702565b811461518b57600080fd5b50565b6151978161470e565b81146151a257600080fd5b50565b6151ae8161475a565b81146151b957600080fd5b5056fea2646970667358221220997c8ce877012ffd2a24c5f5f9d5cbf30783908daa12c0b7953ee622abf77b9764736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000009c4000000000000000000000000c2f05fd9fe4cfe8f7395ddb220c84d3ef240cf3d000000000000000000000000000000000000000000000000000000000000000a544f5256495050617373000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006544f525649500000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): TORVIPPass
Arg [1] : symbol (string): TORVIP
Arg [2] : maxVIPPassSupply (uint256): 2500
Arg [3] : torContractAddress (address): 0xc2f05fD9fE4cfE8f7395ddb220c84D3Ef240cF3D
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [3] : 000000000000000000000000c2f05fd9fe4cfe8f7395ddb220c84d3ef240cf3d
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 544f525649505061737300000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 544f525649500000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.