ERC-721
Overview
Max Total Supply
2,888 Cutetis
Holders
591
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 CutetisLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Cutetis
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721A.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract Cutetis is ERC721A, Ownable { using Strings for uint256; //token Index tracker //supply counters uint256 public totalCount; uint256 public maxBatch; uint256 public price = 50000000000000000; //string string public baseURI; // Minting sale state enum SaleState { CLOSED, PRESALE, OPEN } SaleState saleState = SaleState.CLOSED; // Whitelist token allowances mapping(address => uint256) presaleAllowance; //constructor args constructor(string memory baseURI_, uint256 maxBatchSize_, uint256 collectionSize_) ERC721A("Cutetis", "Cutetis",maxBatchSize_,collectionSize_) { baseURI = baseURI_; totalCount = collectionSize_; maxBatch = maxBatchSize_; } function setPresaleAllowance(address _to, uint256 _allowance) public onlyOwner { presaleAllowance[_to] = _allowance; } function setPresaleAllowances(address[] memory _to, uint256 _allowance) public onlyOwner { for (uint256 i = 0; i < _to.length; i++) { presaleAllowance[_to[i]] = _allowance; } } function getPresaleAllowance(address _to) public view returns (uint256) { return presaleAllowance[_to]; } function isWhitelisted(address _account) public view returns (bool) { return presaleAllowance[_account] > 0; } function isWhitelisted(address _account, uint256 _count) public view returns (bool) { return presaleAllowance[_account] >= _count; } function setSaleState(uint8 _state) public onlyOwner { saleState = SaleState(_state); } function getSaleState() public view returns (uint8) { return uint8(saleState); } function setPrice(uint256 _price) public onlyOwner { price = _price; } function getPrice() public view returns (uint256) { return price; } function getSupply() public view returns (uint256) { return totalCount; } function setSupply(uint256 _newSupply) public onlyOwner { totalCount = _newSupply; } //basic functions. function _baseURI() internal view virtual override returns (string memory){ return baseURI; } function setBaseURI(string memory _newURI) public onlyOwner { baseURI = _newURI; } //erc721 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(), ".json")) : '.json'; } // Need ERC721A to get tokenOfOWnerByIndex for staking function tokensOfOwner(address owner) public view returns (uint256[] memory) { uint256 count = balanceOf(owner); uint256[] memory ids = new uint256[](count); for (uint256 i = 0; i < count; i++) { ids[i] = tokenOfOwnerByIndex(owner, i); } return ids; } // Presale mint function presaleMint(uint256 _times) public payable { require(saleState == SaleState.PRESALE, "Not in presale"); uint256 totalPrice = price * _times; require(msg.value == totalPrice,"Wrong input price"); require(totalSupply() + _times <= totalCount, "Max supply reached"); require(isWhitelisted(msg.sender, _times),"Insufficient reserved tokens"); payable(owner()).transfer(msg.value); _safeMint(msg.sender, _times); presaleAllowance[msg.sender] -= _times; } // Public mint function publicMint(uint256 _times) payable public { require(saleState == SaleState.OPEN, "Sales are closed to public"); require(_times >0 && _times <= maxBatch, "Exceeded Max Batch"); require(totalSupply() + _times <= totalCount, "Max supply reached"); uint256 totalPrice = _times * price; require(msg.value == totalPrice, "Price not equal amount paid"); payable(owner()).transfer(msg.value); _safeMint(msg.sender, _times); } // For gifting & creating collection function giftTo(uint256 _times, address _to) public onlyOwner { require(totalSupply() + _times <= totalCount, "Max supply reached"); _safeMint(_to, _times); } // Withdraw. Not really needed function withdrawMoney() public onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128. * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; uint256 internal immutable collectionSize; uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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 * `maxBatchSize` refers to how much a minter can mint at a time. * `collectionSize_` refers to how many tokens are in the collection. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_, uint256 collectionSize_ ) { require( collectionSize_ > 0, "ERC721A: collection must have a nonzero supply" ); require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; collectionSize = collectionSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721A: balance query for the zero address"); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), "ERC721A: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: 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 override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: 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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - there must be `quantity` tokens remaining unminted in the total collection. * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > collectionSize - 1) { endIndex = collectionSize - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @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("ERC721A: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"uint256","name":"maxBatchSize_","type":"uint256"},{"internalType":"uint256","name":"collectionSize_","type":"uint256"}],"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":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"getPresaleAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleState","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_times","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"giftTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBatch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_times","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_times","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_allowance","type":"uint256"}],"name":"setPresaleAllowance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256","name":"_allowance","type":"uint256"}],"name":"setPresaleAllowances","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_state","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"setSupply","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405260008055600060075566b1a2bc2ec50000600b556000600d60006101000a81548160ff0219169083600281111562000065577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055503480156200007757600080fd5b50604051620059fa380380620059fa83398181016040528101906200009d919062000434565b6040518060400160405280600781526020017f43757465746973000000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f437574657469730000000000000000000000000000000000000000000000000081525083836000811162000151576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001489062000595565b60405180910390fd5b6000821162000197576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200018e9062000573565b60405180910390fd5b8360019080519060200190620001af929190620002fb565b508260029080519060200190620001c8929190620002fb565b508160a08181525050806080818152505050505050620001fd620001f16200022d60201b60201c565b6200023560201b60201c565b82600c908051906020019062000215929190620002fb565b508060098190555081600a819055505050506200071d565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000309906200066f565b90600052602060002090601f0160209004810192826200032d576000855562000379565b82601f106200034857805160ff191683800117855562000379565b8280016001018555821562000379579182015b82811115620003785782518255916020019190600101906200035b565b5b5090506200038891906200038c565b5090565b5b80821115620003a75760008160009055506001016200038d565b5090565b6000620003c2620003bc84620005eb565b620005b7565b905082815260208101848484011115620003db57600080fd5b620003e884828562000639565b509392505050565b600082601f8301126200040257600080fd5b815162000414848260208601620003ab565b91505092915050565b6000815190506200042e8162000703565b92915050565b6000806000606084860312156200044a57600080fd5b600084015167ffffffffffffffff8111156200046557600080fd5b6200047386828701620003f0565b935050602062000486868287016200041d565b925050604062000499868287016200041d565b9150509250925092565b6000620004b26027836200061e565b91507f455243373231413a206d61782062617463682073697a65206d7573742062652060008301527f6e6f6e7a65726f000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006200051a602e836200061e565b91507f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008301527f6e6f6e7a65726f20737570706c790000000000000000000000000000000000006020830152604082019050919050565b600060208201905081810360008301526200058e81620004a3565b9050919050565b60006020820190508181036000830152620005b0816200050b565b9050919050565b6000604051905081810181811067ffffffffffffffff82111715620005e157620005e0620006d4565b5b8060405250919050565b600067ffffffffffffffff821115620006095762000608620006d4565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b6000819050919050565b60005b83811015620006595780820151818401526020810190506200063c565b8381111562000669576000848401525b50505050565b600060028204905060018216806200068857607f821691505b602082108114156200069f576200069e620006a5565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200070e816200062f565b81146200071a57600080fd5b50565b60805160a0516152ac6200074e60003960008181612b8401528181612bad015261329c0152600050506152ac6000f3fe6080604052600436106102465760003560e01c806370a0823111610139578063a035b1fe116100b6578063c313b3391161007a578063c313b3391461087f578063c87b56dd146108bc578063c9b298f1146108f9578063d7224ba014610915578063e985e9c514610940578063f2fde38b1461097d57610246565b8063a035b1fe146107c2578063a152e361146107ed578063a22cb46514610816578063ac4460021461083f578063b88d4fde1461085657610246565b80638da5cb5b116100fd5780638da5cb5b146106ef57806391b7f5ed1461071a57806395d89b411461074357806398a6417c1461076e57806398d5fdca1461079757610246565b806370a08231146105f8578063715018a61461063557806380a9dc0f1461064c578063830639ac146106755780638462151c146106b257610246565b80633af32abf116101c75780635a67de071161018b5780635a67de07146105115780636352211e1461053a57806367765b87146105775780636c0360eb146105a25780636c9c2faf146105cd57610246565b80633af32abf1461041c5780633b4c4b251461045957806342842e0e146104825780634f6ccce7146104ab57806355f804b3146104e857610246565b806323b872dd1161020e57806323b872dd1461034457806325bdb2a81461036d5780632db11544146103985780632f745c59146103b457806334eafb11146103f157610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f057806318160ddd14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613b89565b6109a6565b60405161027f91906148bb565b60405180910390f35b34801561029457600080fd5b5061029d610af0565b6040516102aa91906148d6565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613c1c565b610b82565b6040516102e79190614832565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613af9565b610c07565b005b34801561032557600080fd5b5061032e610d20565b60405161033b9190614c78565b60405180910390f35b34801561035057600080fd5b5061036b600480360381019061036691906139f3565b610d29565b005b34801561037957600080fd5b50610382610d39565b60405161038f9190614c93565b60405180910390f35b6103b260048036038101906103ad9190613c1c565b610d88565b005b3480156103c057600080fd5b506103db60048036038101906103d69190613af9565b610fa1565b6040516103e89190614c78565b60405180910390f35b3480156103fd57600080fd5b5061040661119f565b6040516104139190614c78565b60405180910390f35b34801561042857600080fd5b50610443600480360381019061043e919061398e565b6111a5565b60405161045091906148bb565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b9190613c1c565b6111f0565b005b34801561048e57600080fd5b506104a960048036038101906104a491906139f3565b611276565b005b3480156104b757600080fd5b506104d260048036038101906104cd9190613c1c565b611296565b6040516104df9190614c78565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190613bdb565b6112e9565b005b34801561051d57600080fd5b5061053860048036038101906105339190613c81565b61137f565b005b34801561054657600080fd5b50610561600480360381019061055c9190613c1c565b611489565b60405161056e9190614832565b60405180910390f35b34801561058357600080fd5b5061058c61149f565b6040516105999190614c78565b60405180910390f35b3480156105ae57600080fd5b506105b76114a5565b6040516105c491906148d6565b60405180910390f35b3480156105d957600080fd5b506105e2611533565b6040516105ef9190614c78565b60405180910390f35b34801561060457600080fd5b5061061f600480360381019061061a919061398e565b61153d565b60405161062c9190614c78565b60405180910390f35b34801561064157600080fd5b5061064a611626565b005b34801561065857600080fd5b50610673600480360381019061066e9190613b35565b6116ae565b005b34801561068157600080fd5b5061069c60048036038101906106979190613af9565b6117d2565b6040516106a991906148bb565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d4919061398e565b61181f565b6040516106e69190614899565b60405180910390f35b3480156106fb57600080fd5b50610704611919565b6040516107119190614832565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190613c1c565b611943565b005b34801561074f57600080fd5b506107586119c9565b60405161076591906148d6565b60405180910390f35b34801561077a57600080fd5b5061079560048036038101906107909190613c45565b611a5b565b005b3480156107a357600080fd5b506107ac611b3c565b6040516107b99190614c78565b60405180910390f35b3480156107ce57600080fd5b506107d7611b46565b6040516107e49190614c78565b60405180910390f35b3480156107f957600080fd5b50610814600480360381019061080f9190613af9565b611b4c565b005b34801561082257600080fd5b5061083d60048036038101906108389190613abd565b611c10565b005b34801561084b57600080fd5b50610854611d91565b005b34801561086257600080fd5b5061087d60048036038101906108789190613a42565b611ebc565b005b34801561088b57600080fd5b506108a660048036038101906108a1919061398e565b611f18565b6040516108b39190614c78565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613c1c565b611f61565b6040516108f091906148d6565b60405180910390f35b610913600480360381019061090e9190613c1c565b61202e565b005b34801561092157600080fd5b5061092a612296565b6040516109379190614c78565b60405180910390f35b34801561094c57600080fd5b50610967600480360381019061096291906139b7565b61229c565b60405161097491906148bb565b60405180910390f35b34801561098957600080fd5b506109a4600480360381019061099f919061398e565b612330565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a7157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ad957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ae95750610ae882612428565b5b9050919050565b606060018054610aff9061508a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2b9061508a565b8015610b785780601f10610b4d57610100808354040283529160200191610b78565b820191906000526020600020905b815481529060010190602001808311610b5b57829003601f168201915b5050505050905090565b6000610b8d82612492565b610bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc390614bf8565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1282611489565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a90614ab8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ca261249f565b73ffffffffffffffffffffffffffffffffffffffff161480610cd15750610cd081610ccb61249f565b61229c565b5b610d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d07906149b8565b60405180910390fd5b610d1b8383836124a7565b505050565b60008054905090565b610d34838383612559565b505050565b6000600d60009054906101000a900460ff166002811115610d83577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b905090565b600280811115610dc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60009054906101000a900460ff166002811115610e09577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e40906149f8565b60405180910390fd5b600081118015610e5b5750600a548111155b610e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9190614a58565b60405180910390fd5b60095481610ea6610d20565b610eb09190614e38565b1115610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee890614b38565b60405180910390fd5b6000600b5482610f019190614ebf565b9050803414610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c90614bd8565b60405180910390fd5b610f4d611919565b73ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610f92573d6000803e3d6000fd5b50610f9d3383612b12565b5050565b6000610fac8361153d565b8210610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe4906148f8565b60405180910390fd5b6000610ff7610d20565b905060008060005b8381101561115d576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146110f157806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611149578684141561113a578195505050505050611199565b8380611145906150bc565b9450505b508080611155906150bc565b915050610fff565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119090614b98565b60405180910390fd5b92915050565b60095481565b600080600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b6111f861249f565b73ffffffffffffffffffffffffffffffffffffffff16611216611919565b73ffffffffffffffffffffffffffffffffffffffff161461126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126390614a38565b60405180910390fd5b8060098190555050565b61129183838360405180602001604052806000815250611ebc565b505050565b60006112a0610d20565b82106112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d890614958565b60405180910390fd5b819050919050565b6112f161249f565b73ffffffffffffffffffffffffffffffffffffffff1661130f611919565b73ffffffffffffffffffffffffffffffffffffffff1614611365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135c90614a38565b60405180910390fd5b80600c908051906020019061137b9291906136cd565b5050565b61138761249f565b73ffffffffffffffffffffffffffffffffffffffff166113a5611919565b73ffffffffffffffffffffffffffffffffffffffff16146113fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f290614a38565b60405180910390fd5b8060ff166002811115611437577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60006101000a81548160ff02191690836002811115611481577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b600061149482612b30565b600001519050919050565b600a5481565b600c80546114b29061508a565b80601f01602080910402602001604051908101604052809291908181526020018280546114de9061508a565b801561152b5780601f106115005761010080835404028352916020019161152b565b820191906000526020600020905b81548152906001019060200180831161150e57829003601f168201915b505050505081565b6000600954905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a5906149d8565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61162e61249f565b73ffffffffffffffffffffffffffffffffffffffff1661164c611919565b73ffffffffffffffffffffffffffffffffffffffff16146116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990614a38565b60405180910390fd5b6116ac6000612d33565b565b6116b661249f565b73ffffffffffffffffffffffffffffffffffffffff166116d4611919565b73ffffffffffffffffffffffffffffffffffffffff161461172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190614a38565b60405180910390fd5b60005b82518110156117cd5781600e6000858481518110611774577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806117c5906150bc565b91505061172d565b505050565b600081600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015905092915050565b6060600061182c8361153d565b905060008167ffffffffffffffff811115611870577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561189e5781602001602082028036833780820191505090505b50905060005b8281101561190e576118b68582610fa1565b8282815181106118ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611906906150bc565b9150506118a4565b508092505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61194b61249f565b73ffffffffffffffffffffffffffffffffffffffff16611969611919565b73ffffffffffffffffffffffffffffffffffffffff16146119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690614a38565b60405180910390fd5b80600b8190555050565b6060600280546119d89061508a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a049061508a565b8015611a515780601f10611a2657610100808354040283529160200191611a51565b820191906000526020600020905b815481529060010190602001808311611a3457829003601f168201915b5050505050905090565b611a6361249f565b73ffffffffffffffffffffffffffffffffffffffff16611a81611919565b73ffffffffffffffffffffffffffffffffffffffff1614611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace90614a38565b60405180910390fd5b60095482611ae3610d20565b611aed9190614e38565b1115611b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2590614b38565b60405180910390fd5b611b388183612b12565b5050565b6000600b54905090565b600b5481565b611b5461249f565b73ffffffffffffffffffffffffffffffffffffffff16611b72611919565b73ffffffffffffffffffffffffffffffffffffffff1614611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90614a38565b60405180910390fd5b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b611c1861249f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7d90614a78565b60405180910390fd5b8060066000611c9361249f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d4061249f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d8591906148bb565b60405180910390a35050565b611d9961249f565b73ffffffffffffffffffffffffffffffffffffffff16611db7611919565b73ffffffffffffffffffffffffffffffffffffffff1614611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0490614a38565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611e339061481d565b60006040518083038185875af1925050503d8060008114611e70576040519150601f19603f3d011682016040523d82523d6000602084013e611e75565b606091505b5050905080611eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb090614ad8565b60405180910390fd5b50565b611ec7848484612559565b611ed384848484612df9565b611f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0990614af8565b60405180910390fd5b50505050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060611f6c82612492565b611fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa290614c18565b60405180910390fd5b6000611fb5612f90565b90506000815111611ffb576040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250612026565b8061200584613022565b6040516020016120169291906147ee565b6040516020818303038152906040525b915050919050565b60016002811115612068577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60009054906101000a900460ff1660028111156120b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146120f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e790614998565b60405180910390fd5b600081600b546121009190614ebf565b9050803414612144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213b90614b78565b60405180910390fd5b60095482612150610d20565b61215a9190614e38565b111561219b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219290614b38565b60405180910390fd5b6121a533836117d2565b6121e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121db90614c58565b60405180910390fd5b6121ec611919565b73ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612231573d6000803e3d6000fd5b5061223c3383612b12565b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461228b9190614f4d565b925050819055505050565b60075481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61233861249f565b73ffffffffffffffffffffffffffffffffffffffff16612356611919565b73ffffffffffffffffffffffffffffffffffffffff16146123ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a390614a38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561241c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241390614918565b60405180910390fd5b61242581612d33565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061256482612b30565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661258b61249f565b73ffffffffffffffffffffffffffffffffffffffff1614806125e757506125b061249f565b73ffffffffffffffffffffffffffffffffffffffff166125cf84610b82565b73ffffffffffffffffffffffffffffffffffffffff16145b80612603575061260282600001516125fd61249f565b61229c565b5b905080612645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263c90614a98565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146126b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ae90614a18565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e90614978565b60405180910390fd5b61273485858560016131cf565b61274460008484600001516124a7565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166127b29190614f19565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166128569190614df2565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461295c9190614e38565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612aa2576129d281612492565b15612aa1576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b0a86868660016131d5565b505050505050565b612b2c8282604051806020016040528060008152506131db565b5050565b612b38613753565b612b4182612492565b612b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7790614938565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000008310612be45760017f000000000000000000000000000000000000000000000000000000000000000084612bd79190614f4d565b612be19190614e38565b90505b60008390505b818110612cf2576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612cde57809350505050612d2e565b508080612cea90615060565b915050612bea565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2590614bb8565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612e1a8473ffffffffffffffffffffffffffffffffffffffff166136ba565b15612f83578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e4361249f565b8786866040518563ffffffff1660e01b8152600401612e65949392919061484d565b602060405180830381600087803b158015612e7f57600080fd5b505af1925050508015612eb057506040513d601f19601f82011682018060405250810190612ead9190613bb2565b60015b612f33573d8060008114612ee0576040519150601f19603f3d011682016040523d82523d6000602084013e612ee5565b606091505b50600081511415612f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2290614af8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f88565b600190505b949350505050565b6060600c8054612f9f9061508a565b80601f0160208091040260200160405190810160405280929190818152602001828054612fcb9061508a565b80156130185780601f10612fed57610100808354040283529160200191613018565b820191906000526020600020905b815481529060010190602001808311612ffb57829003601f168201915b5050505050905090565b6060600082141561306a576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131ca565b600082905060005b6000821461309c578080613085906150bc565b915050600a826130959190614e8e565b9150613072565b60008167ffffffffffffffff8111156130de577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131105781602001600182028036833780820191505090505b5090505b600085146131c3576001826131299190614f4d565b9150600a856131389190615105565b60306131449190614e38565b60f81b818381518110613180577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131bc9190614e8e565b9450613114565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324890614b58565b60405180910390fd5b61325a81612492565b1561329a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329190614b18565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008311156132fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f490614c38565b60405180910390fd5b61330a60008583866131cf565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516134079190614df2565b6fffffffffffffffffffffffffffffffff16815260200185836020015161342e9190614df2565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561369d57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461363d6000888488612df9565b61367c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367390614af8565b60405180910390fd5b8180613687906150bc565b9250508080613695906150bc565b9150506135cc565b50806000819055506136b260008785886131d5565b505050505050565b600080823b905060008111915050919050565b8280546136d99061508a565b90600052602060002090601f0160209004810192826136fb5760008555613742565b82601f1061371457805160ff1916838001178555613742565b82800160010185558215613742579182015b82811115613741578251825591602001919060010190613726565b5b50905061374f919061378d565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156137a657600081600090555060010161378e565b5090565b60006137bd6137b884614cdf565b614cae565b905080838252602082019050828560208602820111156137dc57600080fd5b60005b8581101561380c57816137f28882613892565b8452602084019350602083019250506001810190506137df565b5050509392505050565b600061382961382484614d0b565b614cae565b90508281526020810184848401111561384157600080fd5b61384c84828561501e565b509392505050565b600061386761386284614d3b565b614cae565b90508281526020810184848401111561387f57600080fd5b61388a84828561501e565b509392505050565b6000813590506138a181615203565b92915050565b600082601f8301126138b857600080fd5b81356138c88482602086016137aa565b91505092915050565b6000813590506138e08161521a565b92915050565b6000813590506138f581615231565b92915050565b60008151905061390a81615231565b92915050565b600082601f83011261392157600080fd5b8135613931848260208601613816565b91505092915050565b600082601f83011261394b57600080fd5b813561395b848260208601613854565b91505092915050565b60008135905061397381615248565b92915050565b6000813590506139888161525f565b92915050565b6000602082840312156139a057600080fd5b60006139ae84828501613892565b91505092915050565b600080604083850312156139ca57600080fd5b60006139d885828601613892565b92505060206139e985828601613892565b9150509250929050565b600080600060608486031215613a0857600080fd5b6000613a1686828701613892565b9350506020613a2786828701613892565b9250506040613a3886828701613964565b9150509250925092565b60008060008060808587031215613a5857600080fd5b6000613a6687828801613892565b9450506020613a7787828801613892565b9350506040613a8887828801613964565b925050606085013567ffffffffffffffff811115613aa557600080fd5b613ab187828801613910565b91505092959194509250565b60008060408385031215613ad057600080fd5b6000613ade85828601613892565b9250506020613aef858286016138d1565b9150509250929050565b60008060408385031215613b0c57600080fd5b6000613b1a85828601613892565b9250506020613b2b85828601613964565b9150509250929050565b60008060408385031215613b4857600080fd5b600083013567ffffffffffffffff811115613b6257600080fd5b613b6e858286016138a7565b9250506020613b7f85828601613964565b9150509250929050565b600060208284031215613b9b57600080fd5b6000613ba9848285016138e6565b91505092915050565b600060208284031215613bc457600080fd5b6000613bd2848285016138fb565b91505092915050565b600060208284031215613bed57600080fd5b600082013567ffffffffffffffff811115613c0757600080fd5b613c138482850161393a565b91505092915050565b600060208284031215613c2e57600080fd5b6000613c3c84828501613964565b91505092915050565b60008060408385031215613c5857600080fd5b6000613c6685828601613964565b9250506020613c7785828601613892565b9150509250929050565b600060208284031215613c9357600080fd5b6000613ca184828501613979565b91505092915050565b6000613cb683836147c1565b60208301905092915050565b613ccb81614f81565b82525050565b6000613cdc82614d7b565b613ce68185614da9565b9350613cf183614d6b565b8060005b83811015613d22578151613d098882613caa565b9750613d1483614d9c565b925050600181019050613cf5565b5085935050505092915050565b613d3881614f93565b82525050565b6000613d4982614d86565b613d538185614dba565b9350613d6381856020860161502d565b613d6c816151f2565b840191505092915050565b6000613d8282614d91565b613d8c8185614dd6565b9350613d9c81856020860161502d565b613da5816151f2565b840191505092915050565b6000613dbb82614d91565b613dc58185614de7565b9350613dd581856020860161502d565b80840191505092915050565b6000613dee602283614dd6565b91507f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e54602683614dd6565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613eba602a83614dd6565b91507f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008301527f74656e7420746f6b656e000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f20602383614dd6565b91507f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008301527f6e647300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f86602583614dd6565b91507f455243373231413a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fec600e83614dd6565b91507f4e6f7420696e2070726573616c650000000000000000000000000000000000006000830152602082019050919050565b600061402c603983614dd6565b91507f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006020830152604082019050919050565b6000614092602b83614dd6565b91507f455243373231413a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b60006140f8601a83614dd6565b91507f53616c65732061726520636c6f73656420746f207075626c69630000000000006000830152602082019050919050565b6000614138602683614dd6565b91507f455243373231413a207472616e736665722066726f6d20696e636f727265637460008301527f206f776e657200000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061419e600583614de7565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006141de602083614dd6565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061421e601283614dd6565b91507f4578636565646564204d617820426174636800000000000000000000000000006000830152602082019050919050565b600061425e601a83614dd6565b91507f455243373231413a20617070726f766520746f2063616c6c65720000000000006000830152602082019050919050565b600061429e603283614dd6565b91507f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000614304602283614dd6565b91507f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008301527f65720000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061436a600083614dcb565b9150600082019050919050565b6000614384601083614dd6565b91507f5472616e73666572206661696c65642e000000000000000000000000000000006000830152602082019050919050565b60006143c4603383614dd6565b91507f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008301527f6563656976657220696d706c656d656e746572000000000000000000000000006020830152604082019050919050565b600061442a601d83614dd6565b91507f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006000830152602082019050919050565b600061446a601283614dd6565b91507f4d617820737570706c79207265616368656400000000000000000000000000006000830152602082019050919050565b60006144aa602183614dd6565b91507f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614510601183614dd6565b91507f57726f6e6720696e7075742070726963650000000000000000000000000000006000830152602082019050919050565b6000614550602e83614dd6565b91507f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008301527f6f776e657220627920696e6465780000000000000000000000000000000000006020830152604082019050919050565b60006145b6602f83614dd6565b91507f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008301527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006020830152604082019050919050565b600061461c601b83614dd6565b91507f5072696365206e6f7420657175616c20616d6f756e74207061696400000000006000830152602082019050919050565b600061465c602d83614dd6565b91507f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008301527f78697374656e7420746f6b656e000000000000000000000000000000000000006020830152604082019050919050565b60006146c2603083614dd6565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e2e000000000000000000000000000000006020830152604082019050919050565b6000614728602283614dd6565b91507f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008301527f67680000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061478e601c83614dd6565b91507f496e73756666696369656e7420726573657276656420746f6b656e73000000006000830152602082019050919050565b6147ca81615007565b82525050565b6147d981615007565b82525050565b6147e881615011565b82525050565b60006147fa8285613db0565b91506148068284613db0565b915061481182614191565b91508190509392505050565b60006148288261435d565b9150819050919050565b60006020820190506148476000830184613cc2565b92915050565b60006080820190506148626000830187613cc2565b61486f6020830186613cc2565b61487c60408301856147d0565b818103606083015261488e8184613d3e565b905095945050505050565b600060208201905081810360008301526148b38184613cd1565b905092915050565b60006020820190506148d06000830184613d2f565b92915050565b600060208201905081810360008301526148f08184613d77565b905092915050565b6000602082019050818103600083015261491181613de1565b9050919050565b6000602082019050818103600083015261493181613e47565b9050919050565b6000602082019050818103600083015261495181613ead565b9050919050565b6000602082019050818103600083015261497181613f13565b9050919050565b6000602082019050818103600083015261499181613f79565b9050919050565b600060208201905081810360008301526149b181613fdf565b9050919050565b600060208201905081810360008301526149d18161401f565b9050919050565b600060208201905081810360008301526149f181614085565b9050919050565b60006020820190508181036000830152614a11816140eb565b9050919050565b60006020820190508181036000830152614a318161412b565b9050919050565b60006020820190508181036000830152614a51816141d1565b9050919050565b60006020820190508181036000830152614a7181614211565b9050919050565b60006020820190508181036000830152614a9181614251565b9050919050565b60006020820190508181036000830152614ab181614291565b9050919050565b60006020820190508181036000830152614ad1816142f7565b9050919050565b60006020820190508181036000830152614af181614377565b9050919050565b60006020820190508181036000830152614b11816143b7565b9050919050565b60006020820190508181036000830152614b318161441d565b9050919050565b60006020820190508181036000830152614b518161445d565b9050919050565b60006020820190508181036000830152614b718161449d565b9050919050565b60006020820190508181036000830152614b9181614503565b9050919050565b60006020820190508181036000830152614bb181614543565b9050919050565b60006020820190508181036000830152614bd1816145a9565b9050919050565b60006020820190508181036000830152614bf18161460f565b9050919050565b60006020820190508181036000830152614c118161464f565b9050919050565b60006020820190508181036000830152614c31816146b5565b9050919050565b60006020820190508181036000830152614c518161471b565b9050919050565b60006020820190508181036000830152614c7181614781565b9050919050565b6000602082019050614c8d60008301846147d0565b92915050565b6000602082019050614ca860008301846147df565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614cd557614cd46151c3565b5b8060405250919050565b600067ffffffffffffffff821115614cfa57614cf96151c3565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d2657614d256151c3565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614d5657614d556151c3565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614dfd82614fcb565b9150614e0883614fcb565b9250826fffffffffffffffffffffffffffffffff03821115614e2d57614e2c615136565b5b828201905092915050565b6000614e4382615007565b9150614e4e83615007565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8357614e82615136565b5b828201905092915050565b6000614e9982615007565b9150614ea483615007565b925082614eb457614eb3615165565b5b828204905092915050565b6000614eca82615007565b9150614ed583615007565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f0e57614f0d615136565b5b828202905092915050565b6000614f2482614fcb565b9150614f2f83614fcb565b925082821015614f4257614f41615136565b5b828203905092915050565b6000614f5882615007565b9150614f6383615007565b925082821015614f7657614f75615136565b5b828203905092915050565b6000614f8c82614fe7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561504b578082015181840152602081019050615030565b8381111561505a576000848401525b50505050565b600061506b82615007565b9150600082141561507f5761507e615136565b5b600182039050919050565b600060028204905060018216806150a257607f821691505b602082108114156150b6576150b5615194565b5b50919050565b60006150c782615007565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150fa576150f9615136565b5b600182019050919050565b600061511082615007565b915061511b83615007565b92508261512b5761512a615165565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61520c81614f81565b811461521757600080fd5b50565b61522381614f93565b811461522e57600080fd5b50565b61523a81614f9f565b811461524557600080fd5b50565b61525181615007565b811461525c57600080fd5b50565b61526881615011565b811461527357600080fd5b5056fea264697066735822122007f7f3299d5b996eec0097daa81f4f7195688417681a42c6eba04893b80a2f8c64736f6c634300080000330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000022b80000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d546e3741387764464261717a5659637258465575516d6d4e61756a426e6d314436746f61333536387676426b2f00000000000000000000
Deployed Bytecode
0x6080604052600436106102465760003560e01c806370a0823111610139578063a035b1fe116100b6578063c313b3391161007a578063c313b3391461087f578063c87b56dd146108bc578063c9b298f1146108f9578063d7224ba014610915578063e985e9c514610940578063f2fde38b1461097d57610246565b8063a035b1fe146107c2578063a152e361146107ed578063a22cb46514610816578063ac4460021461083f578063b88d4fde1461085657610246565b80638da5cb5b116100fd5780638da5cb5b146106ef57806391b7f5ed1461071a57806395d89b411461074357806398a6417c1461076e57806398d5fdca1461079757610246565b806370a08231146105f8578063715018a61461063557806380a9dc0f1461064c578063830639ac146106755780638462151c146106b257610246565b80633af32abf116101c75780635a67de071161018b5780635a67de07146105115780636352211e1461053a57806367765b87146105775780636c0360eb146105a25780636c9c2faf146105cd57610246565b80633af32abf1461041c5780633b4c4b251461045957806342842e0e146104825780634f6ccce7146104ab57806355f804b3146104e857610246565b806323b872dd1161020e57806323b872dd1461034457806325bdb2a81461036d5780632db11544146103985780632f745c59146103b457806334eafb11146103f157610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f057806318160ddd14610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613b89565b6109a6565b60405161027f91906148bb565b60405180910390f35b34801561029457600080fd5b5061029d610af0565b6040516102aa91906148d6565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d59190613c1c565b610b82565b6040516102e79190614832565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613af9565b610c07565b005b34801561032557600080fd5b5061032e610d20565b60405161033b9190614c78565b60405180910390f35b34801561035057600080fd5b5061036b600480360381019061036691906139f3565b610d29565b005b34801561037957600080fd5b50610382610d39565b60405161038f9190614c93565b60405180910390f35b6103b260048036038101906103ad9190613c1c565b610d88565b005b3480156103c057600080fd5b506103db60048036038101906103d69190613af9565b610fa1565b6040516103e89190614c78565b60405180910390f35b3480156103fd57600080fd5b5061040661119f565b6040516104139190614c78565b60405180910390f35b34801561042857600080fd5b50610443600480360381019061043e919061398e565b6111a5565b60405161045091906148bb565b60405180910390f35b34801561046557600080fd5b50610480600480360381019061047b9190613c1c565b6111f0565b005b34801561048e57600080fd5b506104a960048036038101906104a491906139f3565b611276565b005b3480156104b757600080fd5b506104d260048036038101906104cd9190613c1c565b611296565b6040516104df9190614c78565b60405180910390f35b3480156104f457600080fd5b5061050f600480360381019061050a9190613bdb565b6112e9565b005b34801561051d57600080fd5b5061053860048036038101906105339190613c81565b61137f565b005b34801561054657600080fd5b50610561600480360381019061055c9190613c1c565b611489565b60405161056e9190614832565b60405180910390f35b34801561058357600080fd5b5061058c61149f565b6040516105999190614c78565b60405180910390f35b3480156105ae57600080fd5b506105b76114a5565b6040516105c491906148d6565b60405180910390f35b3480156105d957600080fd5b506105e2611533565b6040516105ef9190614c78565b60405180910390f35b34801561060457600080fd5b5061061f600480360381019061061a919061398e565b61153d565b60405161062c9190614c78565b60405180910390f35b34801561064157600080fd5b5061064a611626565b005b34801561065857600080fd5b50610673600480360381019061066e9190613b35565b6116ae565b005b34801561068157600080fd5b5061069c60048036038101906106979190613af9565b6117d2565b6040516106a991906148bb565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d4919061398e565b61181f565b6040516106e69190614899565b60405180910390f35b3480156106fb57600080fd5b50610704611919565b6040516107119190614832565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190613c1c565b611943565b005b34801561074f57600080fd5b506107586119c9565b60405161076591906148d6565b60405180910390f35b34801561077a57600080fd5b5061079560048036038101906107909190613c45565b611a5b565b005b3480156107a357600080fd5b506107ac611b3c565b6040516107b99190614c78565b60405180910390f35b3480156107ce57600080fd5b506107d7611b46565b6040516107e49190614c78565b60405180910390f35b3480156107f957600080fd5b50610814600480360381019061080f9190613af9565b611b4c565b005b34801561082257600080fd5b5061083d60048036038101906108389190613abd565b611c10565b005b34801561084b57600080fd5b50610854611d91565b005b34801561086257600080fd5b5061087d60048036038101906108789190613a42565b611ebc565b005b34801561088b57600080fd5b506108a660048036038101906108a1919061398e565b611f18565b6040516108b39190614c78565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613c1c565b611f61565b6040516108f091906148d6565b60405180910390f35b610913600480360381019061090e9190613c1c565b61202e565b005b34801561092157600080fd5b5061092a612296565b6040516109379190614c78565b60405180910390f35b34801561094c57600080fd5b50610967600480360381019061096291906139b7565b61229c565b60405161097491906148bb565b60405180910390f35b34801561098957600080fd5b506109a4600480360381019061099f919061398e565b612330565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a7157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ad957507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ae95750610ae882612428565b5b9050919050565b606060018054610aff9061508a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2b9061508a565b8015610b785780601f10610b4d57610100808354040283529160200191610b78565b820191906000526020600020905b815481529060010190602001808311610b5b57829003601f168201915b5050505050905090565b6000610b8d82612492565b610bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc390614bf8565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1282611489565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a90614ab8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ca261249f565b73ffffffffffffffffffffffffffffffffffffffff161480610cd15750610cd081610ccb61249f565b61229c565b5b610d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d07906149b8565b60405180910390fd5b610d1b8383836124a7565b505050565b60008054905090565b610d34838383612559565b505050565b6000600d60009054906101000a900460ff166002811115610d83577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b905090565b600280811115610dc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60009054906101000a900460ff166002811115610e09577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e40906149f8565b60405180910390fd5b600081118015610e5b5750600a548111155b610e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9190614a58565b60405180910390fd5b60095481610ea6610d20565b610eb09190614e38565b1115610ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee890614b38565b60405180910390fd5b6000600b5482610f019190614ebf565b9050803414610f45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3c90614bd8565b60405180910390fd5b610f4d611919565b73ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610f92573d6000803e3d6000fd5b50610f9d3383612b12565b5050565b6000610fac8361153d565b8210610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe4906148f8565b60405180910390fd5b6000610ff7610d20565b905060008060005b8381101561115d576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146110f157806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611149578684141561113a578195505050505050611199565b8380611145906150bc565b9450505b508080611155906150bc565b915050610fff565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119090614b98565b60405180910390fd5b92915050565b60095481565b600080600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054119050919050565b6111f861249f565b73ffffffffffffffffffffffffffffffffffffffff16611216611919565b73ffffffffffffffffffffffffffffffffffffffff161461126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126390614a38565b60405180910390fd5b8060098190555050565b61129183838360405180602001604052806000815250611ebc565b505050565b60006112a0610d20565b82106112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d890614958565b60405180910390fd5b819050919050565b6112f161249f565b73ffffffffffffffffffffffffffffffffffffffff1661130f611919565b73ffffffffffffffffffffffffffffffffffffffff1614611365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135c90614a38565b60405180910390fd5b80600c908051906020019061137b9291906136cd565b5050565b61138761249f565b73ffffffffffffffffffffffffffffffffffffffff166113a5611919565b73ffffffffffffffffffffffffffffffffffffffff16146113fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f290614a38565b60405180910390fd5b8060ff166002811115611437577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60006101000a81548160ff02191690836002811115611481577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b600061149482612b30565b600001519050919050565b600a5481565b600c80546114b29061508a565b80601f01602080910402602001604051908101604052809291908181526020018280546114de9061508a565b801561152b5780601f106115005761010080835404028352916020019161152b565b820191906000526020600020905b81548152906001019060200180831161150e57829003601f168201915b505050505081565b6000600954905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a5906149d8565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61162e61249f565b73ffffffffffffffffffffffffffffffffffffffff1661164c611919565b73ffffffffffffffffffffffffffffffffffffffff16146116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990614a38565b60405180910390fd5b6116ac6000612d33565b565b6116b661249f565b73ffffffffffffffffffffffffffffffffffffffff166116d4611919565b73ffffffffffffffffffffffffffffffffffffffff161461172a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172190614a38565b60405180910390fd5b60005b82518110156117cd5781600e6000858481518110611774577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806117c5906150bc565b91505061172d565b505050565b600081600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015905092915050565b6060600061182c8361153d565b905060008167ffffffffffffffff811115611870577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561189e5781602001602082028036833780820191505090505b50905060005b8281101561190e576118b68582610fa1565b8282815181106118ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611906906150bc565b9150506118a4565b508092505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61194b61249f565b73ffffffffffffffffffffffffffffffffffffffff16611969611919565b73ffffffffffffffffffffffffffffffffffffffff16146119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b690614a38565b60405180910390fd5b80600b8190555050565b6060600280546119d89061508a565b80601f0160208091040260200160405190810160405280929190818152602001828054611a049061508a565b8015611a515780601f10611a2657610100808354040283529160200191611a51565b820191906000526020600020905b815481529060010190602001808311611a3457829003601f168201915b5050505050905090565b611a6361249f565b73ffffffffffffffffffffffffffffffffffffffff16611a81611919565b73ffffffffffffffffffffffffffffffffffffffff1614611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace90614a38565b60405180910390fd5b60095482611ae3610d20565b611aed9190614e38565b1115611b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2590614b38565b60405180910390fd5b611b388183612b12565b5050565b6000600b54905090565b600b5481565b611b5461249f565b73ffffffffffffffffffffffffffffffffffffffff16611b72611919565b73ffffffffffffffffffffffffffffffffffffffff1614611bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bbf90614a38565b60405180910390fd5b80600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b611c1861249f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7d90614a78565b60405180910390fd5b8060066000611c9361249f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d4061249f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d8591906148bb565b60405180910390a35050565b611d9961249f565b73ffffffffffffffffffffffffffffffffffffffff16611db7611919565b73ffffffffffffffffffffffffffffffffffffffff1614611e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0490614a38565b60405180910390fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611e339061481d565b60006040518083038185875af1925050503d8060008114611e70576040519150601f19603f3d011682016040523d82523d6000602084013e611e75565b606091505b5050905080611eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb090614ad8565b60405180910390fd5b50565b611ec7848484612559565b611ed384848484612df9565b611f12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0990614af8565b60405180910390fd5b50505050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060611f6c82612492565b611fab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa290614c18565b60405180910390fd5b6000611fb5612f90565b90506000815111611ffb576040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250612026565b8061200584613022565b6040516020016120169291906147ee565b6040516020818303038152906040525b915050919050565b60016002811115612068577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60009054906101000a900460ff1660028111156120b0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146120f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e790614998565b60405180910390fd5b600081600b546121009190614ebf565b9050803414612144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213b90614b78565b60405180910390fd5b60095482612150610d20565b61215a9190614e38565b111561219b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219290614b38565b60405180910390fd5b6121a533836117d2565b6121e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121db90614c58565b60405180910390fd5b6121ec611919565b73ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015612231573d6000803e3d6000fd5b5061223c3383612b12565b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461228b9190614f4d565b925050819055505050565b60075481565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61233861249f565b73ffffffffffffffffffffffffffffffffffffffff16612356611919565b73ffffffffffffffffffffffffffffffffffffffff16146123ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a390614a38565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561241c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241390614918565b60405180910390fd5b61242581612d33565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061256482612b30565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661258b61249f565b73ffffffffffffffffffffffffffffffffffffffff1614806125e757506125b061249f565b73ffffffffffffffffffffffffffffffffffffffff166125cf84610b82565b73ffffffffffffffffffffffffffffffffffffffff16145b80612603575061260282600001516125fd61249f565b61229c565b5b905080612645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263c90614a98565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146126b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ae90614a18565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271e90614978565b60405180910390fd5b61273485858560016131cf565b61274460008484600001516124a7565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166127b29190614f19565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166128569190614df2565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461295c9190614e38565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612aa2576129d281612492565b15612aa1576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b0a86868660016131d5565b505050505050565b612b2c8282604051806020016040528060008152506131db565b5050565b612b38613753565b612b4182612492565b612b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7790614938565b60405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000058310612be45760017f000000000000000000000000000000000000000000000000000000000000000584612bd79190614f4d565b612be19190614e38565b90505b60008390505b818110612cf2576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612cde57809350505050612d2e565b508080612cea90615060565b915050612bea565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2590614bb8565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612e1a8473ffffffffffffffffffffffffffffffffffffffff166136ba565b15612f83578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e4361249f565b8786866040518563ffffffff1660e01b8152600401612e65949392919061484d565b602060405180830381600087803b158015612e7f57600080fd5b505af1925050508015612eb057506040513d601f19601f82011682018060405250810190612ead9190613bb2565b60015b612f33573d8060008114612ee0576040519150601f19603f3d011682016040523d82523d6000602084013e612ee5565b606091505b50600081511415612f2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2290614af8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f88565b600190505b949350505050565b6060600c8054612f9f9061508a565b80601f0160208091040260200160405190810160405280929190818152602001828054612fcb9061508a565b80156130185780601f10612fed57610100808354040283529160200191613018565b820191906000526020600020905b815481529060010190602001808311612ffb57829003601f168201915b5050505050905090565b6060600082141561306a576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131ca565b600082905060005b6000821461309c578080613085906150bc565b915050600a826130959190614e8e565b9150613072565b60008167ffffffffffffffff8111156130de577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131105781602001600182028036833780820191505090505b5090505b600085146131c3576001826131299190614f4d565b9150600a856131389190615105565b60306131449190614e38565b60f81b818381518110613180577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131bc9190614e8e565b9450613114565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613251576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324890614b58565b60405180910390fd5b61325a81612492565b1561329a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329190614b18565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000058311156132fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f490614c38565b60405180910390fd5b61330a60008583866131cf565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516134079190614df2565b6fffffffffffffffffffffffffffffffff16815260200185836020015161342e9190614df2565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561369d57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461363d6000888488612df9565b61367c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161367390614af8565b60405180910390fd5b8180613687906150bc565b9250508080613695906150bc565b9150506135cc565b50806000819055506136b260008785886131d5565b505050505050565b600080823b905060008111915050919050565b8280546136d99061508a565b90600052602060002090601f0160209004810192826136fb5760008555613742565b82601f1061371457805160ff1916838001178555613742565b82800160010185558215613742579182015b82811115613741578251825591602001919060010190613726565b5b50905061374f919061378d565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156137a657600081600090555060010161378e565b5090565b60006137bd6137b884614cdf565b614cae565b905080838252602082019050828560208602820111156137dc57600080fd5b60005b8581101561380c57816137f28882613892565b8452602084019350602083019250506001810190506137df565b5050509392505050565b600061382961382484614d0b565b614cae565b90508281526020810184848401111561384157600080fd5b61384c84828561501e565b509392505050565b600061386761386284614d3b565b614cae565b90508281526020810184848401111561387f57600080fd5b61388a84828561501e565b509392505050565b6000813590506138a181615203565b92915050565b600082601f8301126138b857600080fd5b81356138c88482602086016137aa565b91505092915050565b6000813590506138e08161521a565b92915050565b6000813590506138f581615231565b92915050565b60008151905061390a81615231565b92915050565b600082601f83011261392157600080fd5b8135613931848260208601613816565b91505092915050565b600082601f83011261394b57600080fd5b813561395b848260208601613854565b91505092915050565b60008135905061397381615248565b92915050565b6000813590506139888161525f565b92915050565b6000602082840312156139a057600080fd5b60006139ae84828501613892565b91505092915050565b600080604083850312156139ca57600080fd5b60006139d885828601613892565b92505060206139e985828601613892565b9150509250929050565b600080600060608486031215613a0857600080fd5b6000613a1686828701613892565b9350506020613a2786828701613892565b9250506040613a3886828701613964565b9150509250925092565b60008060008060808587031215613a5857600080fd5b6000613a6687828801613892565b9450506020613a7787828801613892565b9350506040613a8887828801613964565b925050606085013567ffffffffffffffff811115613aa557600080fd5b613ab187828801613910565b91505092959194509250565b60008060408385031215613ad057600080fd5b6000613ade85828601613892565b9250506020613aef858286016138d1565b9150509250929050565b60008060408385031215613b0c57600080fd5b6000613b1a85828601613892565b9250506020613b2b85828601613964565b9150509250929050565b60008060408385031215613b4857600080fd5b600083013567ffffffffffffffff811115613b6257600080fd5b613b6e858286016138a7565b9250506020613b7f85828601613964565b9150509250929050565b600060208284031215613b9b57600080fd5b6000613ba9848285016138e6565b91505092915050565b600060208284031215613bc457600080fd5b6000613bd2848285016138fb565b91505092915050565b600060208284031215613bed57600080fd5b600082013567ffffffffffffffff811115613c0757600080fd5b613c138482850161393a565b91505092915050565b600060208284031215613c2e57600080fd5b6000613c3c84828501613964565b91505092915050565b60008060408385031215613c5857600080fd5b6000613c6685828601613964565b9250506020613c7785828601613892565b9150509250929050565b600060208284031215613c9357600080fd5b6000613ca184828501613979565b91505092915050565b6000613cb683836147c1565b60208301905092915050565b613ccb81614f81565b82525050565b6000613cdc82614d7b565b613ce68185614da9565b9350613cf183614d6b565b8060005b83811015613d22578151613d098882613caa565b9750613d1483614d9c565b925050600181019050613cf5565b5085935050505092915050565b613d3881614f93565b82525050565b6000613d4982614d86565b613d538185614dba565b9350613d6381856020860161502d565b613d6c816151f2565b840191505092915050565b6000613d8282614d91565b613d8c8185614dd6565b9350613d9c81856020860161502d565b613da5816151f2565b840191505092915050565b6000613dbb82614d91565b613dc58185614de7565b9350613dd581856020860161502d565b80840191505092915050565b6000613dee602283614dd6565b91507f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e54602683614dd6565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613eba602a83614dd6565b91507f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008301527f74656e7420746f6b656e000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f20602383614dd6565b91507f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008301527f6e647300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f86602583614dd6565b91507f455243373231413a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fec600e83614dd6565b91507f4e6f7420696e2070726573616c650000000000000000000000000000000000006000830152602082019050919050565b600061402c603983614dd6565b91507f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006020830152604082019050919050565b6000614092602b83614dd6565b91507f455243373231413a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b60006140f8601a83614dd6565b91507f53616c65732061726520636c6f73656420746f207075626c69630000000000006000830152602082019050919050565b6000614138602683614dd6565b91507f455243373231413a207472616e736665722066726f6d20696e636f727265637460008301527f206f776e657200000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061419e600583614de7565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b60006141de602083614dd6565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061421e601283614dd6565b91507f4578636565646564204d617820426174636800000000000000000000000000006000830152602082019050919050565b600061425e601a83614dd6565b91507f455243373231413a20617070726f766520746f2063616c6c65720000000000006000830152602082019050919050565b600061429e603283614dd6565b91507f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000614304602283614dd6565b91507f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008301527f65720000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061436a600083614dcb565b9150600082019050919050565b6000614384601083614dd6565b91507f5472616e73666572206661696c65642e000000000000000000000000000000006000830152602082019050919050565b60006143c4603383614dd6565b91507f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008301527f6563656976657220696d706c656d656e746572000000000000000000000000006020830152604082019050919050565b600061442a601d83614dd6565b91507f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006000830152602082019050919050565b600061446a601283614dd6565b91507f4d617820737570706c79207265616368656400000000000000000000000000006000830152602082019050919050565b60006144aa602183614dd6565b91507f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614510601183614dd6565b91507f57726f6e6720696e7075742070726963650000000000000000000000000000006000830152602082019050919050565b6000614550602e83614dd6565b91507f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008301527f6f776e657220627920696e6465780000000000000000000000000000000000006020830152604082019050919050565b60006145b6602f83614dd6565b91507f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008301527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006020830152604082019050919050565b600061461c601b83614dd6565b91507f5072696365206e6f7420657175616c20616d6f756e74207061696400000000006000830152602082019050919050565b600061465c602d83614dd6565b91507f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008301527f78697374656e7420746f6b656e000000000000000000000000000000000000006020830152604082019050919050565b60006146c2603083614dd6565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e2e000000000000000000000000000000006020830152604082019050919050565b6000614728602283614dd6565b91507f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008301527f67680000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061478e601c83614dd6565b91507f496e73756666696369656e7420726573657276656420746f6b656e73000000006000830152602082019050919050565b6147ca81615007565b82525050565b6147d981615007565b82525050565b6147e881615011565b82525050565b60006147fa8285613db0565b91506148068284613db0565b915061481182614191565b91508190509392505050565b60006148288261435d565b9150819050919050565b60006020820190506148476000830184613cc2565b92915050565b60006080820190506148626000830187613cc2565b61486f6020830186613cc2565b61487c60408301856147d0565b818103606083015261488e8184613d3e565b905095945050505050565b600060208201905081810360008301526148b38184613cd1565b905092915050565b60006020820190506148d06000830184613d2f565b92915050565b600060208201905081810360008301526148f08184613d77565b905092915050565b6000602082019050818103600083015261491181613de1565b9050919050565b6000602082019050818103600083015261493181613e47565b9050919050565b6000602082019050818103600083015261495181613ead565b9050919050565b6000602082019050818103600083015261497181613f13565b9050919050565b6000602082019050818103600083015261499181613f79565b9050919050565b600060208201905081810360008301526149b181613fdf565b9050919050565b600060208201905081810360008301526149d18161401f565b9050919050565b600060208201905081810360008301526149f181614085565b9050919050565b60006020820190508181036000830152614a11816140eb565b9050919050565b60006020820190508181036000830152614a318161412b565b9050919050565b60006020820190508181036000830152614a51816141d1565b9050919050565b60006020820190508181036000830152614a7181614211565b9050919050565b60006020820190508181036000830152614a9181614251565b9050919050565b60006020820190508181036000830152614ab181614291565b9050919050565b60006020820190508181036000830152614ad1816142f7565b9050919050565b60006020820190508181036000830152614af181614377565b9050919050565b60006020820190508181036000830152614b11816143b7565b9050919050565b60006020820190508181036000830152614b318161441d565b9050919050565b60006020820190508181036000830152614b518161445d565b9050919050565b60006020820190508181036000830152614b718161449d565b9050919050565b60006020820190508181036000830152614b9181614503565b9050919050565b60006020820190508181036000830152614bb181614543565b9050919050565b60006020820190508181036000830152614bd1816145a9565b9050919050565b60006020820190508181036000830152614bf18161460f565b9050919050565b60006020820190508181036000830152614c118161464f565b9050919050565b60006020820190508181036000830152614c31816146b5565b9050919050565b60006020820190508181036000830152614c518161471b565b9050919050565b60006020820190508181036000830152614c7181614781565b9050919050565b6000602082019050614c8d60008301846147d0565b92915050565b6000602082019050614ca860008301846147df565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614cd557614cd46151c3565b5b8060405250919050565b600067ffffffffffffffff821115614cfa57614cf96151c3565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d2657614d256151c3565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614d5657614d556151c3565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614dfd82614fcb565b9150614e0883614fcb565b9250826fffffffffffffffffffffffffffffffff03821115614e2d57614e2c615136565b5b828201905092915050565b6000614e4382615007565b9150614e4e83615007565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8357614e82615136565b5b828201905092915050565b6000614e9982615007565b9150614ea483615007565b925082614eb457614eb3615165565b5b828204905092915050565b6000614eca82615007565b9150614ed583615007565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f0e57614f0d615136565b5b828202905092915050565b6000614f2482614fcb565b9150614f2f83614fcb565b925082821015614f4257614f41615136565b5b828203905092915050565b6000614f5882615007565b9150614f6383615007565b925082821015614f7657614f75615136565b5b828203905092915050565b6000614f8c82614fe7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561504b578082015181840152602081019050615030565b8381111561505a576000848401525b50505050565b600061506b82615007565b9150600082141561507f5761507e615136565b5b600182039050919050565b600060028204905060018216806150a257607f821691505b602082108114156150b6576150b5615194565b5b50919050565b60006150c782615007565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150fa576150f9615136565b5b600182019050919050565b600061511082615007565b915061511b83615007565b92508261512b5761512a615165565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61520c81614f81565b811461521757600080fd5b50565b61522381614f93565b811461522e57600080fd5b50565b61523a81614f9f565b811461524557600080fd5b50565b61525181615007565b811461525c57600080fd5b50565b61526881615011565b811461527357600080fd5b5056fea264697066735822122007f7f3299d5b996eec0097daa81f4f7195688417681a42c6eba04893b80a2f8c64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000022b80000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d546e3741387764464261717a5659637258465575516d6d4e61756a426e6d314436746f61333536387676426b2f00000000000000000000
-----Decoded View---------------
Arg [0] : baseURI_ (string): ipfs://QmTn7A8wdFBaqzVYcrXFUuQmmNaujBnm1D6toa3568vvBk/
Arg [1] : maxBatchSize_ (uint256): 5
Arg [2] : collectionSize_ (uint256): 8888
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [2] : 00000000000000000000000000000000000000000000000000000000000022b8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d546e3741387764464261717a5659637258465575516d6d
Arg [5] : 4e61756a426e6d314436746f61333536387676426b2f00000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.