ETH Price: $2,909.27 (+3.18%)
 

Overview

Max Total Supply

10,000 IndifferentDuck

Holders

4,596

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 IndifferentDuck
0xD1B185112fd7a0446C30669Af065C74a4CdF7B7B
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Indifferent Duck is a collection of 10,000 NFTs customized by the collectors and minted on the Ethereum Blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TheIndifferentDuck

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : TheIndifferentDuck.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';

contract TheIndifferentDuck is ERC721Enumerable, Ownable {
    string _baseTokenURI = 'https://theindifferentduck.com/api/ducks/';

    uint256 private _maxPurchase = 10;
    uint256 private _reserved = 17;
    uint256 private _price = 0.04 ether;
    uint256 public constant MAX_DUCKS = 10000;

    uint256 public saleState = 0; // 0 = paused, 1 = presale, 2 = live

    // list of addresses that have a number of reserved tokens for presale
    mapping(address => uint256) private _preSaleWhitelist;

    address t1 = 0xC6519c6e6d8CF28d39cb07E7589B2F55235C6DAa;
    address t2 = 0xa3E21d485632D0968E61f6466296393Cef81D7d1;
    address t3 = 0x1FA44712Ac662f5A3155A144A1758Bd4a9660b0E;
    address t4 = 0xF7fB9D8ce745310296b97bAFe63E6cbAD45bFe15;
    address t5 = 0x57b090BA902578996Db810e9f3140bd73EA8495e;

    constructor() ERC721('The Indifferent Duck', 'IndifferentDuck') {
        // team gets the first 5
        _safeMint(t1, 1);
        _safeMint(t2, 2);
        _safeMint(t3, 3);
        _safeMint(t4, 4);
        _safeMint(t5, 5);
    }

    function giveAway(address _toAddress, uint256 numberOfTokens)
        public
        onlyOwner
    {
        uint256 supply = totalSupply();

        require(numberOfTokens <= _reserved, 'Exceeds reserved supply');

        _reserved -= numberOfTokens;

        for (uint256 i = 1; i <= numberOfTokens; i++) {
            _safeMint(_toAddress, supply + i);
        }
    }

    function preSaleMintDuck(uint256 numberOfTokens) public payable {
        uint256 supply = totalSupply();
        uint256 reservedAmount = _preSaleWhitelist[msg.sender];

        require(saleState > 0, 'Presale must be active to mint');
        require(reservedAmount > 0, 'No tokens reserved for address');
        require(
            numberOfTokens <= reservedAmount,
            "Can't mint more than reserved"
        );
        require(
            supply + numberOfTokens <= MAX_DUCKS - _reserved,
            'Purchase would exceed max supply of Ducks'
        );
        require(
            msg.value >= _price * numberOfTokens,
            'Ether sent is not correct'
        );

        _preSaleWhitelist[msg.sender] -= numberOfTokens;

        for (uint256 i = 1; i <= numberOfTokens; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function mintDuck(uint256 numberOfTokens) public payable {
        uint256 supply = totalSupply();

        if (msg.sender != owner()) {
            require(saleState > 1, 'Sale must be active to mint');
        }
        require(
            numberOfTokens <= _maxPurchase,
            'You can only mint 10 tokens at a time'
        );
        require(
            supply + numberOfTokens <= MAX_DUCKS - _reserved,
            'Purchase would exceed max supply of Ducks'
        );
        if (msg.sender != owner()) {
            require(
                msg.value >= _price * numberOfTokens,
                'Ether sent is not correct'
            );
        }

        for (uint256 i = 1; i <= numberOfTokens; i++) {
            _safeMint(msg.sender, supply + i);
        }
    }

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 tokenCount = balanceOf(_owner);
        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

    function getPrice() public view returns (uint256) {
        return _price;
    }

    function setPrice(uint256 _newPrice) public onlyOwner {
        _price = _newPrice;
    }

    function setSaleState(uint256 _saleState) public onlyOwner {
        saleState = _saleState;
    }

    function getPreSaleReservedAmount(address _address)
        public
        view
        returns (uint256)
    {
        return _preSaleWhitelist[_address];
    }

    function setPreSaleWhitelist(address[] memory _addresses) public onlyOwner {
        for (uint256 i; i < _addresses.length; i++) {
            _preSaleWhitelist[_addresses[i]] = 10;
        }
    }

    // withdraw

    function withdrawPartial() public payable onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

    function withdrawAll() public payable onlyOwner {
        uint256 _each = address(this).balance / 5;
        require(payable(t1).send(_each));
        require(payable(t2).send(_each));
        require(payable(t3).send(_each));
        require(payable(t4).send(_each));
        require(payable(t5).send(_each));
    }
}

File 2 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 3 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 4 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 5 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 6 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 8 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 9 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 10 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 12 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 13 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_DUCKS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getPreSaleReservedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_toAddress","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"giveAway","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":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintDuck","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"preSaleMintDuck","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":[],"name":"saleState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"setPreSaleWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleState","type":"uint256"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawPartial","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526040518060600160405280602981526020016200601760299139600b90805190602001906200003592919062000ef8565b50600a600c556011600d55668e1bc9bf040000600e556000600f5573c6519c6e6d8cf28d39cb07e7589b2f55235c6daa601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073a3e21d485632d0968e61f6466296393cef81d7d1601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550731fa44712ac662f5a3155a144a1758bd4a9660b0e601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f7fb9d8ce745310296b97bafe63e6cbad45bfe15601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507357b090ba902578996db810e9f3140bd73ea8495e601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200020657600080fd5b506040518060400160405280601481526020017f54686520496e646966666572656e74204475636b0000000000000000000000008152506040518060400160405280600f81526020017f496e646966666572656e744475636b000000000000000000000000000000000081525081600090805190602001906200028b92919062000ef8565b508060019080519060200190620002a492919062000ef8565b505050620002c7620002bb620003d660201b60201c565b620003de60201b60201c565b620002fc601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166001620004a460201b60201c565b62000331601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002620004a460201b60201c565b62000366601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166003620004a460201b60201c565b6200039b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166004620004a460201b60201c565b620003d0601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166005620004a460201b60201c565b620014da565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004c6828260405180602001604052806000815250620004ca60201b60201c565b5050565b620004dc83836200053860201b60201c565b620004f160008484846200071e60201b60201c565b62000533576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200052a906200113e565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620005ab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005a290620011a4565b60405180910390fd5b620005bc81620008d860201b60201c565b15620005ff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005f69062001160565b60405180910390fd5b62000613600083836200094460201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620006659190620011f3565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006200074c8473ffffffffffffffffffffffffffffffffffffffff1662000a8b60201b62001f991760201c565b15620008cb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200077e620003d660201b60201c565b8786866040518563ffffffff1660e01b8152600401620007a29493929190620010ea565b602060405180830381600087803b158015620007bd57600080fd5b505af1925050508015620007f157506040513d601f19601f82011682018060405250810190620007ee919062000fbf565b60015b6200087a573d806000811462000824576040519150601f19603f3d011682016040523d82523d6000602084013e62000829565b606091505b5060008151141562000872576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000869906200113e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050620008d0565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6200095c83838362000a9e60201b62001fac1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620009a957620009a38162000aa360201b60201c565b620009f1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614620009f057620009ef838262000aec60201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000a3e5762000a388162000c6960201b60201c565b62000a86565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000a855762000a84828262000db160201b60201c565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000b068462000e3d60201b620010dc1760201c565b62000b12919062001250565b905060006007600084815260200190815260200160002054905081811462000bf8576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000c7f919062001250565b905060006009600084815260200190815260200160002054905060006008838154811062000cd6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811062000d1f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548062000d95577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600062000dc98362000e3d60201b620010dc1760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000eb1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000ea89062001182565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805462000f06906200132b565b90600052602060002090601f01602090048101928262000f2a576000855562000f76565b82601f1062000f4557805160ff191683800117855562000f76565b8280016001018555821562000f76579182015b8281111562000f7557825182559160200191906001019062000f58565b5b50905062000f85919062000f89565b5090565b5b8082111562000fa457600081600090555060010162000f8a565b5090565b60008151905062000fb981620014c0565b92915050565b60006020828403121562000fd257600080fd5b600062000fe28482850162000fa8565b91505092915050565b62000ff6816200128b565b82525050565b60006200100982620011c6565b620010158185620011d1565b935062001027818560208601620012f5565b6200103281620013bf565b840191505092915050565b60006200104c603283620011e2565b91506200105982620013d0565b604082019050919050565b600062001073601c83620011e2565b915062001080826200141f565b602082019050919050565b60006200109a602a83620011e2565b9150620010a78262001448565b604082019050919050565b6000620010c1602083620011e2565b9150620010ce8262001497565b602082019050919050565b620010e481620012eb565b82525050565b600060808201905062001101600083018762000feb565b62001110602083018662000feb565b6200111f6040830185620010d9565b818103606083015262001133818462000ffc565b905095945050505050565b6000602082019050818103600083015262001159816200103d565b9050919050565b600060208201905081810360008301526200117b8162001064565b9050919050565b600060208201905081810360008301526200119d816200108b565b9050919050565b60006020820190508181036000830152620011bf81620010b2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b60006200120082620012eb565b91506200120d83620012eb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562001245576200124462001361565b5b828201905092915050565b60006200125d82620012eb565b91506200126a83620012eb565b92508282101562001280576200127f62001361565b5b828203905092915050565b60006200129882620012cb565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562001315578082015181840152602081019050620012f8565b8381111562001325576000848401525b50505050565b600060028204905060018216806200134457607f821691505b602082108114156200135b576200135a62001390565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b620014cb816200129f565b8114620014d757600080fd5b50565b614b2d80620014ea6000396000f3fe6080604052600436106101ee5760003560e01c8063715018a61161010d578063a22cb465116100a0578063bd8db2ea1161006f578063bd8db2ea146106b1578063c87b56dd146106dc578063ca80014414610719578063e985e9c514610742578063f2fde38b1461077f576101ee565b8063a22cb465146105f9578063b6c1842614610622578063b88d4fde1461065f578063bd4a82e414610688576101ee565b80638da5cb5b116100dc5780638da5cb5b1461054f57806391b7f5ed1461057a57806395d89b41146105a357806398d5fdca146105ce576101ee565b8063715018a6146105085780637ba63d6c1461051f578063853828b61461053b5780638bf43a8314610545576101ee565b806342842e0e1161018557806355f804b31161015457806355f804b31461043a578063603f4d52146104635780636352211e1461048e57806370a08231146104cb576101ee565b806342842e0e1461037b578063438b6300146103a4578063451bd5c9146103e15780634f6ccce7146103fd576101ee565b8063095ea7b3116101c1578063095ea7b3146102c157806318160ddd146102ea57806323b872dd146103155780632f745c591461033e576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063084c408814610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613589565b6107a8565b6040516102279190613bd5565b60405180910390f35b34801561023c57600080fd5b50610245610822565b6040516102529190613bf0565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d919061361c565b6108b4565b60405161028f9190613b4c565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba919061361c565b610939565b005b3480156102cd57600080fd5b506102e860048036038101906102e3919061350c565b6109bf565b005b3480156102f657600080fd5b506102ff610ad7565b60405161030c9190613f52565b60405180910390f35b34801561032157600080fd5b5061033c60048036038101906103379190613406565b610ae4565b005b34801561034a57600080fd5b506103656004803603810190610360919061350c565b610b44565b6040516103729190613f52565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613406565b610be9565b005b3480156103b057600080fd5b506103cb60048036038101906103c691906133a1565b610c09565b6040516103d89190613bb3565b60405180910390f35b6103fb60048036038101906103f6919061361c565b610d03565b005b34801561040957600080fd5b50610424600480360381019061041f919061361c565b610ef7565b6040516104319190613f52565b60405180910390f35b34801561044657600080fd5b50610461600480360381019061045c91906135db565b610f8e565b005b34801561046f57600080fd5b50610478611024565b6040516104859190613f52565b60405180910390f35b34801561049a57600080fd5b506104b560048036038101906104b0919061361c565b61102a565b6040516104c29190613b4c565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed91906133a1565b6110dc565b6040516104ff9190613f52565b60405180910390f35b34801561051457600080fd5b5061051d611194565b005b6105396004803603810190610534919061361c565b61121c565b005b610543611476565b005b61054d6116e6565b005b34801561055b57600080fd5b506105646117a2565b6040516105719190613b4c565b60405180910390f35b34801561058657600080fd5b506105a1600480360381019061059c919061361c565b6117cc565b005b3480156105af57600080fd5b506105b8611852565b6040516105c59190613bf0565b60405180910390f35b3480156105da57600080fd5b506105e36118e4565b6040516105f09190613f52565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b91906134d0565b6118ee565b005b34801561062e57600080fd5b50610649600480360381019061064491906133a1565b611a6f565b6040516106569190613f52565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190613455565b611ab8565b005b34801561069457600080fd5b506106af60048036038101906106aa9190613548565b611b1a565b005b3480156106bd57600080fd5b506106c6611c3e565b6040516106d39190613f52565b60405180910390f35b3480156106e857600080fd5b5061070360048036038101906106fe919061361c565b611c44565b6040516107109190613bf0565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b919061350c565b611ceb565b005b34801561074e57600080fd5b50610769600480360381019061076491906133ca565b611e0d565b6040516107769190613bd5565b60405180910390f35b34801561078b57600080fd5b506107a660048036038101906107a191906133a1565b611ea1565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081b575061081a82611fb1565b5b9050919050565b60606000805461083190614267565b80601f016020809104026020016040519081016040528092919081815260200182805461085d90614267565b80156108aa5780601f1061087f576101008083540402835291602001916108aa565b820191906000526020600020905b81548152906001019060200180831161088d57829003601f168201915b5050505050905090565b60006108bf82612093565b6108fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f590613e32565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6109416120ff565b73ffffffffffffffffffffffffffffffffffffffff1661095f6117a2565b73ffffffffffffffffffffffffffffffffffffffff16146109b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ac90613e52565b60405180910390fd5b80600f8190555050565b60006109ca8261102a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3290613ed2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a5a6120ff565b73ffffffffffffffffffffffffffffffffffffffff161480610a895750610a8881610a836120ff565b611e0d565b5b610ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abf90613d52565b60405180910390fd5b610ad28383612107565b505050565b6000600880549050905090565b610af5610aef6120ff565b826121c0565b610b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2b90613f12565b60405180910390fd5b610b3f83838361229e565b505050565b6000610b4f836110dc565b8210610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790613c32565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c0483838360405180602001604052806000815250611ab8565b505050565b60606000610c16836110dc565b905060008167ffffffffffffffff811115610c5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610c885781602001602082028036833780820191505090505b50905060005b82811015610cf857610ca08582610b44565b828281518110610cd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610cf0906142ca565b915050610c8e565b508092505050919050565b6000610d0d610ad7565b9050610d176117a2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d8f576001600f5411610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590613d12565b60405180910390fd5b5b600c54821115610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb90613eb2565b60405180910390fd5b600d54612710610de4919061417d565b8282610df0919061409c565b1115610e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2890613e12565b60405180910390fd5b610e396117a2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ebc5781600e54610e799190614123565b341015610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290613ef2565b60405180910390fd5b5b6000600190505b828111610ef257610edf338284610eda919061409c565b6124fa565b8080610eea906142ca565b915050610ec3565b505050565b6000610f01610ad7565b8210610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613f32565b60405180910390fd5b60088281548110610f7c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610f966120ff565b73ffffffffffffffffffffffffffffffffffffffff16610fb46117a2565b73ffffffffffffffffffffffffffffffffffffffff161461100a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100190613e52565b60405180910390fd5b80600b908051906020019061102092919061312f565b5050565b600f5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca90613db2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561114d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114490613d92565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61119c6120ff565b73ffffffffffffffffffffffffffffffffffffffff166111ba6117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790613e52565b60405180910390fd5b61121a6000612518565b565b6000611226610ad7565b90506000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600f54116112b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a890613d72565b60405180910390fd5b600081116112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb90613cb2565b60405180910390fd5b80831115611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e90613c12565b60405180910390fd5b600d54612710611347919061417d565b8383611353919061409c565b1115611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b90613e12565b60405180910390fd5b82600e546113a29190614123565b3410156113e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113db90613ef2565b60405180910390fd5b82601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611433919061417d565b925050819055506000600190505b8381116114705761145d338285611458919061409c565b6124fa565b8080611468906142ca565b915050611441565b50505050565b61147e6120ff565b73ffffffffffffffffffffffffffffffffffffffff1661149c6117a2565b73ffffffffffffffffffffffffffffffffffffffff16146114f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e990613e52565b60405180910390fd5b600060054761150191906140f2565b9050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061156357600080fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506115c357600080fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061162357600080fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061168357600080fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506116e357600080fd5b50565b6116ee6120ff565b73ffffffffffffffffffffffffffffffffffffffff1661170c6117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175990613e52565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506117a057600080fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117d46120ff565b73ffffffffffffffffffffffffffffffffffffffff166117f26117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183f90613e52565b60405180910390fd5b80600e8190555050565b60606001805461186190614267565b80601f016020809104026020016040519081016040528092919081815260200182805461188d90614267565b80156118da5780601f106118af576101008083540402835291602001916118da565b820191906000526020600020905b8154815290600101906020018083116118bd57829003601f168201915b5050505050905090565b6000600e54905090565b6118f66120ff565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195b90613cf2565b60405180910390fd5b80600560006119716120ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a1e6120ff565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a639190613bd5565b60405180910390a35050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ac9611ac36120ff565b836121c0565b611b08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aff90613f12565b60405180910390fd5b611b14848484846125de565b50505050565b611b226120ff565b73ffffffffffffffffffffffffffffffffffffffff16611b406117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8d90613e52565b60405180910390fd5b60005b8151811015611c3a57600a60106000848481518110611be1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611c32906142ca565b915050611b99565b5050565b61271081565b6060611c4f82612093565b611c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8590613e92565b60405180910390fd5b6000611c9861263a565b90506000815111611cb85760405180602001604052806000815250611ce3565b80611cc2846126cc565b604051602001611cd3929190613b28565b6040516020818303038152906040525b915050919050565b611cf36120ff565b73ffffffffffffffffffffffffffffffffffffffff16611d116117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e90613e52565b60405180910390fd5b6000611d71610ad7565b9050600d54821115611db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daf90613dd2565b60405180910390fd5b81600d6000828254611dca919061417d565b925050819055506000600190505b828111611e0757611df4848284611def919061409c565b6124fa565b8080611dff906142ca565b915050611dd8565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ea96120ff565b73ffffffffffffffffffffffffffffffffffffffff16611ec76117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1490613e52565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8490613c72565b60405180910390fd5b611f9681612518565b50565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061207c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061208c575061208b82612879565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661217a8361102a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121cb82612093565b61220a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220190613d32565b60405180910390fd5b60006122158361102a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061228457508373ffffffffffffffffffffffffffffffffffffffff1661226c846108b4565b73ffffffffffffffffffffffffffffffffffffffff16145b8061229557506122948185611e0d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122be8261102a565b73ffffffffffffffffffffffffffffffffffffffff1614612314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230b90613e72565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237b90613cd2565b60405180910390fd5b61238f8383836128e3565b61239a600082612107565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123ea919061417d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612441919061409c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6125148282604051806020016040528060008152506129f7565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125e984848461229e565b6125f584848484612a52565b612634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262b90613c52565b60405180910390fd5b50505050565b6060600b805461264990614267565b80601f016020809104026020016040519081016040528092919081815260200182805461267590614267565b80156126c25780601f10612697576101008083540402835291602001916126c2565b820191906000526020600020905b8154815290600101906020018083116126a557829003601f168201915b5050505050905090565b60606000821415612714576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612874565b600082905060005b6000821461274657808061272f906142ca565b915050600a8261273f91906140f2565b915061271c565b60008167ffffffffffffffff811115612788577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127ba5781602001600182028036833780820191505090505b5090505b6000851461286d576001826127d3919061417d565b9150600a856127e29190614313565b60306127ee919061409c565b60f81b81838151811061282a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561286691906140f2565b94506127be565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128ee838383611fac565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129315761292c81612be9565b612970565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461296f5761296e8382612c32565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129b3576129ae81612d9f565b6129f2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129f1576129f08282612ee2565b5b5b505050565b612a018383612f61565b612a0e6000848484612a52565b612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4490613c52565b60405180910390fd5b505050565b6000612a738473ffffffffffffffffffffffffffffffffffffffff16611f99565b15612bdc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a9c6120ff565b8786866040518563ffffffff1660e01b8152600401612abe9493929190613b67565b602060405180830381600087803b158015612ad857600080fd5b505af1925050508015612b0957506040513d601f19601f82011682018060405250810190612b0691906135b2565b60015b612b8c573d8060008114612b39576040519150601f19603f3d011682016040523d82523d6000602084013e612b3e565b606091505b50600081511415612b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7b90613c52565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612be1565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612c3f846110dc565b612c49919061417d565b9050600060076000848152602001908152602001600020549050818114612d2e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612db3919061417d565b9050600060096000848152602001908152602001600020549050600060088381548110612e09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612e51577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612ec6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612eed836110dc565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc890613df2565b60405180910390fd5b612fda81612093565b1561301a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301190613c92565b60405180910390fd5b613026600083836128e3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613076919061409c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461313b90614267565b90600052602060002090601f01602090048101928261315d57600085556131a4565b82601f1061317657805160ff19168380011785556131a4565b828001600101855582156131a4579182015b828111156131a3578251825591602001919060010190613188565b5b5090506131b191906131b5565b5090565b5b808211156131ce5760008160009055506001016131b6565b5090565b60006131e56131e084613f92565b613f6d565b9050808382526020820190508285602086028201111561320457600080fd5b60005b85811015613234578161321a88826132ba565b845260208401935060208301925050600181019050613207565b5050509392505050565b600061325161324c84613fbe565b613f6d565b90508281526020810184848401111561326957600080fd5b613274848285614225565b509392505050565b600061328f61328a84613fef565b613f6d565b9050828152602081018484840111156132a757600080fd5b6132b2848285614225565b509392505050565b6000813590506132c981614a9b565b92915050565b600082601f8301126132e057600080fd5b81356132f08482602086016131d2565b91505092915050565b60008135905061330881614ab2565b92915050565b60008135905061331d81614ac9565b92915050565b60008151905061333281614ac9565b92915050565b600082601f83011261334957600080fd5b813561335984826020860161323e565b91505092915050565b600082601f83011261337357600080fd5b813561338384826020860161327c565b91505092915050565b60008135905061339b81614ae0565b92915050565b6000602082840312156133b357600080fd5b60006133c1848285016132ba565b91505092915050565b600080604083850312156133dd57600080fd5b60006133eb858286016132ba565b92505060206133fc858286016132ba565b9150509250929050565b60008060006060848603121561341b57600080fd5b6000613429868287016132ba565b935050602061343a868287016132ba565b925050604061344b8682870161338c565b9150509250925092565b6000806000806080858703121561346b57600080fd5b6000613479878288016132ba565b945050602061348a878288016132ba565b935050604061349b8782880161338c565b925050606085013567ffffffffffffffff8111156134b857600080fd5b6134c487828801613338565b91505092959194509250565b600080604083850312156134e357600080fd5b60006134f1858286016132ba565b9250506020613502858286016132f9565b9150509250929050565b6000806040838503121561351f57600080fd5b600061352d858286016132ba565b925050602061353e8582860161338c565b9150509250929050565b60006020828403121561355a57600080fd5b600082013567ffffffffffffffff81111561357457600080fd5b613580848285016132cf565b91505092915050565b60006020828403121561359b57600080fd5b60006135a98482850161330e565b91505092915050565b6000602082840312156135c457600080fd5b60006135d284828501613323565b91505092915050565b6000602082840312156135ed57600080fd5b600082013567ffffffffffffffff81111561360757600080fd5b61361384828501613362565b91505092915050565b60006020828403121561362e57600080fd5b600061363c8482850161338c565b91505092915050565b60006136518383613b0a565b60208301905092915050565b613666816141b1565b82525050565b600061367782614030565b613681818561405e565b935061368c83614020565b8060005b838110156136bd5781516136a48882613645565b97506136af83614051565b925050600181019050613690565b5085935050505092915050565b6136d3816141c3565b82525050565b60006136e48261403b565b6136ee818561406f565b93506136fe818560208601614234565b61370781614400565b840191505092915050565b600061371d82614046565b6137278185614080565b9350613737818560208601614234565b61374081614400565b840191505092915050565b600061375682614046565b6137608185614091565b9350613770818560208601614234565b80840191505092915050565b6000613789601d83614080565b915061379482614411565b602082019050919050565b60006137ac602b83614080565b91506137b78261443a565b604082019050919050565b60006137cf603283614080565b91506137da82614489565b604082019050919050565b60006137f2602683614080565b91506137fd826144d8565b604082019050919050565b6000613815601c83614080565b915061382082614527565b602082019050919050565b6000613838601e83614080565b915061384382614550565b602082019050919050565b600061385b602483614080565b915061386682614579565b604082019050919050565b600061387e601983614080565b9150613889826145c8565b602082019050919050565b60006138a1601b83614080565b91506138ac826145f1565b602082019050919050565b60006138c4602c83614080565b91506138cf8261461a565b604082019050919050565b60006138e7603883614080565b91506138f282614669565b604082019050919050565b600061390a601e83614080565b9150613915826146b8565b602082019050919050565b600061392d602a83614080565b9150613938826146e1565b604082019050919050565b6000613950602983614080565b915061395b82614730565b604082019050919050565b6000613973601783614080565b915061397e8261477f565b602082019050919050565b6000613996602083614080565b91506139a1826147a8565b602082019050919050565b60006139b9602983614080565b91506139c4826147d1565b604082019050919050565b60006139dc602c83614080565b91506139e782614820565b604082019050919050565b60006139ff602083614080565b9150613a0a8261486f565b602082019050919050565b6000613a22602983614080565b9150613a2d82614898565b604082019050919050565b6000613a45602f83614080565b9150613a50826148e7565b604082019050919050565b6000613a68602583614080565b9150613a7382614936565b604082019050919050565b6000613a8b602183614080565b9150613a9682614985565b604082019050919050565b6000613aae601983614080565b9150613ab9826149d4565b602082019050919050565b6000613ad1603183614080565b9150613adc826149fd565b604082019050919050565b6000613af4602c83614080565b9150613aff82614a4c565b604082019050919050565b613b138161421b565b82525050565b613b228161421b565b82525050565b6000613b34828561374b565b9150613b40828461374b565b91508190509392505050565b6000602082019050613b61600083018461365d565b92915050565b6000608082019050613b7c600083018761365d565b613b89602083018661365d565b613b966040830185613b19565b8181036060830152613ba881846136d9565b905095945050505050565b60006020820190508181036000830152613bcd818461366c565b905092915050565b6000602082019050613bea60008301846136ca565b92915050565b60006020820190508181036000830152613c0a8184613712565b905092915050565b60006020820190508181036000830152613c2b8161377c565b9050919050565b60006020820190508181036000830152613c4b8161379f565b9050919050565b60006020820190508181036000830152613c6b816137c2565b9050919050565b60006020820190508181036000830152613c8b816137e5565b9050919050565b60006020820190508181036000830152613cab81613808565b9050919050565b60006020820190508181036000830152613ccb8161382b565b9050919050565b60006020820190508181036000830152613ceb8161384e565b9050919050565b60006020820190508181036000830152613d0b81613871565b9050919050565b60006020820190508181036000830152613d2b81613894565b9050919050565b60006020820190508181036000830152613d4b816138b7565b9050919050565b60006020820190508181036000830152613d6b816138da565b9050919050565b60006020820190508181036000830152613d8b816138fd565b9050919050565b60006020820190508181036000830152613dab81613920565b9050919050565b60006020820190508181036000830152613dcb81613943565b9050919050565b60006020820190508181036000830152613deb81613966565b9050919050565b60006020820190508181036000830152613e0b81613989565b9050919050565b60006020820190508181036000830152613e2b816139ac565b9050919050565b60006020820190508181036000830152613e4b816139cf565b9050919050565b60006020820190508181036000830152613e6b816139f2565b9050919050565b60006020820190508181036000830152613e8b81613a15565b9050919050565b60006020820190508181036000830152613eab81613a38565b9050919050565b60006020820190508181036000830152613ecb81613a5b565b9050919050565b60006020820190508181036000830152613eeb81613a7e565b9050919050565b60006020820190508181036000830152613f0b81613aa1565b9050919050565b60006020820190508181036000830152613f2b81613ac4565b9050919050565b60006020820190508181036000830152613f4b81613ae7565b9050919050565b6000602082019050613f676000830184613b19565b92915050565b6000613f77613f88565b9050613f838282614299565b919050565b6000604051905090565b600067ffffffffffffffff821115613fad57613fac6143d1565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613fd957613fd86143d1565b5b613fe282614400565b9050602081019050919050565b600067ffffffffffffffff82111561400a576140096143d1565b5b61401382614400565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006140a78261421b565b91506140b28361421b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140e7576140e6614344565b5b828201905092915050565b60006140fd8261421b565b91506141088361421b565b92508261411857614117614373565b5b828204905092915050565b600061412e8261421b565b91506141398361421b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561417257614171614344565b5b828202905092915050565b60006141888261421b565b91506141938361421b565b9250828210156141a6576141a5614344565b5b828203905092915050565b60006141bc826141fb565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614252578082015181840152602081019050614237565b83811115614261576000848401525b50505050565b6000600282049050600182168061427f57607f821691505b60208210811415614293576142926143a2565b5b50919050565b6142a282614400565b810181811067ffffffffffffffff821117156142c1576142c06143d1565b5b80604052505050565b60006142d58261421b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561430857614307614344565b5b600182019050919050565b600061431e8261421b565b91506143298361421b565b92508261433957614338614373565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43616e2774206d696e74206d6f7265207468616e207265736572766564000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f20746f6b656e7320726573657276656420666f7220616464726573730000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f50726573616c65206d7573742062652061637469766520746f206d696e740000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4578636565647320726573657276656420737570706c79000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66204475636b730000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f596f752063616e206f6e6c79206d696e7420313020746f6b656e73206174206160008201527f2074696d65000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b614aa4816141b1565b8114614aaf57600080fd5b50565b614abb816141c3565b8114614ac657600080fd5b50565b614ad2816141cf565b8114614add57600080fd5b50565b614ae98161421b565b8114614af457600080fd5b5056fea2646970667358221220c0bf9aa6297b93fbb6761137c753898dbb3f0c92d35f8abf0e89f27438ec7a4664736f6c6343000804003368747470733a2f2f746865696e646966666572656e746475636b2e636f6d2f6170692f6475636b732f

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c8063715018a61161010d578063a22cb465116100a0578063bd8db2ea1161006f578063bd8db2ea146106b1578063c87b56dd146106dc578063ca80014414610719578063e985e9c514610742578063f2fde38b1461077f576101ee565b8063a22cb465146105f9578063b6c1842614610622578063b88d4fde1461065f578063bd4a82e414610688576101ee565b80638da5cb5b116100dc5780638da5cb5b1461054f57806391b7f5ed1461057a57806395d89b41146105a357806398d5fdca146105ce576101ee565b8063715018a6146105085780637ba63d6c1461051f578063853828b61461053b5780638bf43a8314610545576101ee565b806342842e0e1161018557806355f804b31161015457806355f804b31461043a578063603f4d52146104635780636352211e1461048e57806370a08231146104cb576101ee565b806342842e0e1461037b578063438b6300146103a4578063451bd5c9146103e15780634f6ccce7146103fd576101ee565b8063095ea7b3116101c1578063095ea7b3146102c157806318160ddd146102ea57806323b872dd146103155780632f745c591461033e576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063084c408814610298575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190613589565b6107a8565b6040516102279190613bd5565b60405180910390f35b34801561023c57600080fd5b50610245610822565b6040516102529190613bf0565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d919061361c565b6108b4565b60405161028f9190613b4c565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba919061361c565b610939565b005b3480156102cd57600080fd5b506102e860048036038101906102e3919061350c565b6109bf565b005b3480156102f657600080fd5b506102ff610ad7565b60405161030c9190613f52565b60405180910390f35b34801561032157600080fd5b5061033c60048036038101906103379190613406565b610ae4565b005b34801561034a57600080fd5b506103656004803603810190610360919061350c565b610b44565b6040516103729190613f52565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613406565b610be9565b005b3480156103b057600080fd5b506103cb60048036038101906103c691906133a1565b610c09565b6040516103d89190613bb3565b60405180910390f35b6103fb60048036038101906103f6919061361c565b610d03565b005b34801561040957600080fd5b50610424600480360381019061041f919061361c565b610ef7565b6040516104319190613f52565b60405180910390f35b34801561044657600080fd5b50610461600480360381019061045c91906135db565b610f8e565b005b34801561046f57600080fd5b50610478611024565b6040516104859190613f52565b60405180910390f35b34801561049a57600080fd5b506104b560048036038101906104b0919061361c565b61102a565b6040516104c29190613b4c565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed91906133a1565b6110dc565b6040516104ff9190613f52565b60405180910390f35b34801561051457600080fd5b5061051d611194565b005b6105396004803603810190610534919061361c565b61121c565b005b610543611476565b005b61054d6116e6565b005b34801561055b57600080fd5b506105646117a2565b6040516105719190613b4c565b60405180910390f35b34801561058657600080fd5b506105a1600480360381019061059c919061361c565b6117cc565b005b3480156105af57600080fd5b506105b8611852565b6040516105c59190613bf0565b60405180910390f35b3480156105da57600080fd5b506105e36118e4565b6040516105f09190613f52565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b91906134d0565b6118ee565b005b34801561062e57600080fd5b50610649600480360381019061064491906133a1565b611a6f565b6040516106569190613f52565b60405180910390f35b34801561066b57600080fd5b5061068660048036038101906106819190613455565b611ab8565b005b34801561069457600080fd5b506106af60048036038101906106aa9190613548565b611b1a565b005b3480156106bd57600080fd5b506106c6611c3e565b6040516106d39190613f52565b60405180910390f35b3480156106e857600080fd5b5061070360048036038101906106fe919061361c565b611c44565b6040516107109190613bf0565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b919061350c565b611ceb565b005b34801561074e57600080fd5b50610769600480360381019061076491906133ca565b611e0d565b6040516107769190613bd5565b60405180910390f35b34801561078b57600080fd5b506107a660048036038101906107a191906133a1565b611ea1565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081b575061081a82611fb1565b5b9050919050565b60606000805461083190614267565b80601f016020809104026020016040519081016040528092919081815260200182805461085d90614267565b80156108aa5780601f1061087f576101008083540402835291602001916108aa565b820191906000526020600020905b81548152906001019060200180831161088d57829003601f168201915b5050505050905090565b60006108bf82612093565b6108fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f590613e32565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6109416120ff565b73ffffffffffffffffffffffffffffffffffffffff1661095f6117a2565b73ffffffffffffffffffffffffffffffffffffffff16146109b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ac90613e52565b60405180910390fd5b80600f8190555050565b60006109ca8261102a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3290613ed2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a5a6120ff565b73ffffffffffffffffffffffffffffffffffffffff161480610a895750610a8881610a836120ff565b611e0d565b5b610ac8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abf90613d52565b60405180910390fd5b610ad28383612107565b505050565b6000600880549050905090565b610af5610aef6120ff565b826121c0565b610b34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2b90613f12565b60405180910390fd5b610b3f83838361229e565b505050565b6000610b4f836110dc565b8210610b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8790613c32565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c0483838360405180602001604052806000815250611ab8565b505050565b60606000610c16836110dc565b905060008167ffffffffffffffff811115610c5a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610c885781602001602082028036833780820191505090505b50905060005b82811015610cf857610ca08582610b44565b828281518110610cd9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080610cf0906142ca565b915050610c8e565b508092505050919050565b6000610d0d610ad7565b9050610d176117a2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d8f576001600f5411610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590613d12565b60405180910390fd5b5b600c54821115610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb90613eb2565b60405180910390fd5b600d54612710610de4919061417d565b8282610df0919061409c565b1115610e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2890613e12565b60405180910390fd5b610e396117a2565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ebc5781600e54610e799190614123565b341015610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290613ef2565b60405180910390fd5b5b6000600190505b828111610ef257610edf338284610eda919061409c565b6124fa565b8080610eea906142ca565b915050610ec3565b505050565b6000610f01610ad7565b8210610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613f32565b60405180910390fd5b60088281548110610f7c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610f966120ff565b73ffffffffffffffffffffffffffffffffffffffff16610fb46117a2565b73ffffffffffffffffffffffffffffffffffffffff161461100a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100190613e52565b60405180910390fd5b80600b908051906020019061102092919061312f565b5050565b600f5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca90613db2565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561114d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114490613d92565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61119c6120ff565b73ffffffffffffffffffffffffffffffffffffffff166111ba6117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120790613e52565b60405180910390fd5b61121a6000612518565b565b6000611226610ad7565b90506000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600f54116112b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a890613d72565b60405180910390fd5b600081116112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb90613cb2565b60405180910390fd5b80831115611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e90613c12565b60405180910390fd5b600d54612710611347919061417d565b8383611353919061409c565b1115611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b90613e12565b60405180910390fd5b82600e546113a29190614123565b3410156113e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113db90613ef2565b60405180910390fd5b82601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611433919061417d565b925050819055506000600190505b8381116114705761145d338285611458919061409c565b6124fa565b8080611468906142ca565b915050611441565b50505050565b61147e6120ff565b73ffffffffffffffffffffffffffffffffffffffff1661149c6117a2565b73ffffffffffffffffffffffffffffffffffffffff16146114f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e990613e52565b60405180910390fd5b600060054761150191906140f2565b9050601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061156357600080fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506115c357600080fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061162357600080fd5b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061168357600080fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506116e357600080fd5b50565b6116ee6120ff565b73ffffffffffffffffffffffffffffffffffffffff1661170c6117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175990613e52565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506117a057600080fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117d46120ff565b73ffffffffffffffffffffffffffffffffffffffff166117f26117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611848576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183f90613e52565b60405180910390fd5b80600e8190555050565b60606001805461186190614267565b80601f016020809104026020016040519081016040528092919081815260200182805461188d90614267565b80156118da5780601f106118af576101008083540402835291602001916118da565b820191906000526020600020905b8154815290600101906020018083116118bd57829003601f168201915b5050505050905090565b6000600e54905090565b6118f66120ff565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195b90613cf2565b60405180910390fd5b80600560006119716120ff565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a1e6120ff565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a639190613bd5565b60405180910390a35050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ac9611ac36120ff565b836121c0565b611b08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aff90613f12565b60405180910390fd5b611b14848484846125de565b50505050565b611b226120ff565b73ffffffffffffffffffffffffffffffffffffffff16611b406117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8d90613e52565b60405180910390fd5b60005b8151811015611c3a57600a60106000848481518110611be1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611c32906142ca565b915050611b99565b5050565b61271081565b6060611c4f82612093565b611c8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8590613e92565b60405180910390fd5b6000611c9861263a565b90506000815111611cb85760405180602001604052806000815250611ce3565b80611cc2846126cc565b604051602001611cd3929190613b28565b6040516020818303038152906040525b915050919050565b611cf36120ff565b73ffffffffffffffffffffffffffffffffffffffff16611d116117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e90613e52565b60405180910390fd5b6000611d71610ad7565b9050600d54821115611db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daf90613dd2565b60405180910390fd5b81600d6000828254611dca919061417d565b925050819055506000600190505b828111611e0757611df4848284611def919061409c565b6124fa565b8080611dff906142ca565b915050611dd8565b50505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ea96120ff565b73ffffffffffffffffffffffffffffffffffffffff16611ec76117a2565b73ffffffffffffffffffffffffffffffffffffffff1614611f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1490613e52565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8490613c72565b60405180910390fd5b611f9681612518565b50565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061207c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061208c575061208b82612879565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661217a8361102a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121cb82612093565b61220a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220190613d32565b60405180910390fd5b60006122158361102a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061228457508373ffffffffffffffffffffffffffffffffffffffff1661226c846108b4565b73ffffffffffffffffffffffffffffffffffffffff16145b8061229557506122948185611e0d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122be8261102a565b73ffffffffffffffffffffffffffffffffffffffff1614612314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230b90613e72565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237b90613cd2565b60405180910390fd5b61238f8383836128e3565b61239a600082612107565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123ea919061417d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612441919061409c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6125148282604051806020016040528060008152506129f7565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125e984848461229e565b6125f584848484612a52565b612634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262b90613c52565b60405180910390fd5b50505050565b6060600b805461264990614267565b80601f016020809104026020016040519081016040528092919081815260200182805461267590614267565b80156126c25780601f10612697576101008083540402835291602001916126c2565b820191906000526020600020905b8154815290600101906020018083116126a557829003601f168201915b5050505050905090565b60606000821415612714576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612874565b600082905060005b6000821461274657808061272f906142ca565b915050600a8261273f91906140f2565b915061271c565b60008167ffffffffffffffff811115612788577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127ba5781602001600182028036833780820191505090505b5090505b6000851461286d576001826127d3919061417d565b9150600a856127e29190614313565b60306127ee919061409c565b60f81b81838151811061282a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561286691906140f2565b94506127be565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128ee838383611fac565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129315761292c81612be9565b612970565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461296f5761296e8382612c32565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129b3576129ae81612d9f565b6129f2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129f1576129f08282612ee2565b5b5b505050565b612a018383612f61565b612a0e6000848484612a52565b612a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4490613c52565b60405180910390fd5b505050565b6000612a738473ffffffffffffffffffffffffffffffffffffffff16611f99565b15612bdc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a9c6120ff565b8786866040518563ffffffff1660e01b8152600401612abe9493929190613b67565b602060405180830381600087803b158015612ad857600080fd5b505af1925050508015612b0957506040513d601f19601f82011682018060405250810190612b0691906135b2565b60015b612b8c573d8060008114612b39576040519150601f19603f3d011682016040523d82523d6000602084013e612b3e565b606091505b50600081511415612b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7b90613c52565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612be1565b600190505b949350505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612c3f846110dc565b612c49919061417d565b9050600060076000848152602001908152602001600020549050818114612d2e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612db3919061417d565b9050600060096000848152602001908152602001600020549050600060088381548110612e09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612e51577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612ec6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612eed836110dc565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc890613df2565b60405180910390fd5b612fda81612093565b1561301a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301190613c92565b60405180910390fd5b613026600083836128e3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613076919061409c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b82805461313b90614267565b90600052602060002090601f01602090048101928261315d57600085556131a4565b82601f1061317657805160ff19168380011785556131a4565b828001600101855582156131a4579182015b828111156131a3578251825591602001919060010190613188565b5b5090506131b191906131b5565b5090565b5b808211156131ce5760008160009055506001016131b6565b5090565b60006131e56131e084613f92565b613f6d565b9050808382526020820190508285602086028201111561320457600080fd5b60005b85811015613234578161321a88826132ba565b845260208401935060208301925050600181019050613207565b5050509392505050565b600061325161324c84613fbe565b613f6d565b90508281526020810184848401111561326957600080fd5b613274848285614225565b509392505050565b600061328f61328a84613fef565b613f6d565b9050828152602081018484840111156132a757600080fd5b6132b2848285614225565b509392505050565b6000813590506132c981614a9b565b92915050565b600082601f8301126132e057600080fd5b81356132f08482602086016131d2565b91505092915050565b60008135905061330881614ab2565b92915050565b60008135905061331d81614ac9565b92915050565b60008151905061333281614ac9565b92915050565b600082601f83011261334957600080fd5b813561335984826020860161323e565b91505092915050565b600082601f83011261337357600080fd5b813561338384826020860161327c565b91505092915050565b60008135905061339b81614ae0565b92915050565b6000602082840312156133b357600080fd5b60006133c1848285016132ba565b91505092915050565b600080604083850312156133dd57600080fd5b60006133eb858286016132ba565b92505060206133fc858286016132ba565b9150509250929050565b60008060006060848603121561341b57600080fd5b6000613429868287016132ba565b935050602061343a868287016132ba565b925050604061344b8682870161338c565b9150509250925092565b6000806000806080858703121561346b57600080fd5b6000613479878288016132ba565b945050602061348a878288016132ba565b935050604061349b8782880161338c565b925050606085013567ffffffffffffffff8111156134b857600080fd5b6134c487828801613338565b91505092959194509250565b600080604083850312156134e357600080fd5b60006134f1858286016132ba565b9250506020613502858286016132f9565b9150509250929050565b6000806040838503121561351f57600080fd5b600061352d858286016132ba565b925050602061353e8582860161338c565b9150509250929050565b60006020828403121561355a57600080fd5b600082013567ffffffffffffffff81111561357457600080fd5b613580848285016132cf565b91505092915050565b60006020828403121561359b57600080fd5b60006135a98482850161330e565b91505092915050565b6000602082840312156135c457600080fd5b60006135d284828501613323565b91505092915050565b6000602082840312156135ed57600080fd5b600082013567ffffffffffffffff81111561360757600080fd5b61361384828501613362565b91505092915050565b60006020828403121561362e57600080fd5b600061363c8482850161338c565b91505092915050565b60006136518383613b0a565b60208301905092915050565b613666816141b1565b82525050565b600061367782614030565b613681818561405e565b935061368c83614020565b8060005b838110156136bd5781516136a48882613645565b97506136af83614051565b925050600181019050613690565b5085935050505092915050565b6136d3816141c3565b82525050565b60006136e48261403b565b6136ee818561406f565b93506136fe818560208601614234565b61370781614400565b840191505092915050565b600061371d82614046565b6137278185614080565b9350613737818560208601614234565b61374081614400565b840191505092915050565b600061375682614046565b6137608185614091565b9350613770818560208601614234565b80840191505092915050565b6000613789601d83614080565b915061379482614411565b602082019050919050565b60006137ac602b83614080565b91506137b78261443a565b604082019050919050565b60006137cf603283614080565b91506137da82614489565b604082019050919050565b60006137f2602683614080565b91506137fd826144d8565b604082019050919050565b6000613815601c83614080565b915061382082614527565b602082019050919050565b6000613838601e83614080565b915061384382614550565b602082019050919050565b600061385b602483614080565b915061386682614579565b604082019050919050565b600061387e601983614080565b9150613889826145c8565b602082019050919050565b60006138a1601b83614080565b91506138ac826145f1565b602082019050919050565b60006138c4602c83614080565b91506138cf8261461a565b604082019050919050565b60006138e7603883614080565b91506138f282614669565b604082019050919050565b600061390a601e83614080565b9150613915826146b8565b602082019050919050565b600061392d602a83614080565b9150613938826146e1565b604082019050919050565b6000613950602983614080565b915061395b82614730565b604082019050919050565b6000613973601783614080565b915061397e8261477f565b602082019050919050565b6000613996602083614080565b91506139a1826147a8565b602082019050919050565b60006139b9602983614080565b91506139c4826147d1565b604082019050919050565b60006139dc602c83614080565b91506139e782614820565b604082019050919050565b60006139ff602083614080565b9150613a0a8261486f565b602082019050919050565b6000613a22602983614080565b9150613a2d82614898565b604082019050919050565b6000613a45602f83614080565b9150613a50826148e7565b604082019050919050565b6000613a68602583614080565b9150613a7382614936565b604082019050919050565b6000613a8b602183614080565b9150613a9682614985565b604082019050919050565b6000613aae601983614080565b9150613ab9826149d4565b602082019050919050565b6000613ad1603183614080565b9150613adc826149fd565b604082019050919050565b6000613af4602c83614080565b9150613aff82614a4c565b604082019050919050565b613b138161421b565b82525050565b613b228161421b565b82525050565b6000613b34828561374b565b9150613b40828461374b565b91508190509392505050565b6000602082019050613b61600083018461365d565b92915050565b6000608082019050613b7c600083018761365d565b613b89602083018661365d565b613b966040830185613b19565b8181036060830152613ba881846136d9565b905095945050505050565b60006020820190508181036000830152613bcd818461366c565b905092915050565b6000602082019050613bea60008301846136ca565b92915050565b60006020820190508181036000830152613c0a8184613712565b905092915050565b60006020820190508181036000830152613c2b8161377c565b9050919050565b60006020820190508181036000830152613c4b8161379f565b9050919050565b60006020820190508181036000830152613c6b816137c2565b9050919050565b60006020820190508181036000830152613c8b816137e5565b9050919050565b60006020820190508181036000830152613cab81613808565b9050919050565b60006020820190508181036000830152613ccb8161382b565b9050919050565b60006020820190508181036000830152613ceb8161384e565b9050919050565b60006020820190508181036000830152613d0b81613871565b9050919050565b60006020820190508181036000830152613d2b81613894565b9050919050565b60006020820190508181036000830152613d4b816138b7565b9050919050565b60006020820190508181036000830152613d6b816138da565b9050919050565b60006020820190508181036000830152613d8b816138fd565b9050919050565b60006020820190508181036000830152613dab81613920565b9050919050565b60006020820190508181036000830152613dcb81613943565b9050919050565b60006020820190508181036000830152613deb81613966565b9050919050565b60006020820190508181036000830152613e0b81613989565b9050919050565b60006020820190508181036000830152613e2b816139ac565b9050919050565b60006020820190508181036000830152613e4b816139cf565b9050919050565b60006020820190508181036000830152613e6b816139f2565b9050919050565b60006020820190508181036000830152613e8b81613a15565b9050919050565b60006020820190508181036000830152613eab81613a38565b9050919050565b60006020820190508181036000830152613ecb81613a5b565b9050919050565b60006020820190508181036000830152613eeb81613a7e565b9050919050565b60006020820190508181036000830152613f0b81613aa1565b9050919050565b60006020820190508181036000830152613f2b81613ac4565b9050919050565b60006020820190508181036000830152613f4b81613ae7565b9050919050565b6000602082019050613f676000830184613b19565b92915050565b6000613f77613f88565b9050613f838282614299565b919050565b6000604051905090565b600067ffffffffffffffff821115613fad57613fac6143d1565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613fd957613fd86143d1565b5b613fe282614400565b9050602081019050919050565b600067ffffffffffffffff82111561400a576140096143d1565b5b61401382614400565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006140a78261421b565b91506140b28361421b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140e7576140e6614344565b5b828201905092915050565b60006140fd8261421b565b91506141088361421b565b92508261411857614117614373565b5b828204905092915050565b600061412e8261421b565b91506141398361421b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561417257614171614344565b5b828202905092915050565b60006141888261421b565b91506141938361421b565b9250828210156141a6576141a5614344565b5b828203905092915050565b60006141bc826141fb565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614252578082015181840152602081019050614237565b83811115614261576000848401525b50505050565b6000600282049050600182168061427f57607f821691505b60208210811415614293576142926143a2565b5b50919050565b6142a282614400565b810181811067ffffffffffffffff821117156142c1576142c06143d1565b5b80604052505050565b60006142d58261421b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561430857614307614344565b5b600182019050919050565b600061431e8261421b565b91506143298361421b565b92508261433957614338614373565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f43616e2774206d696e74206d6f7265207468616e207265736572766564000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f20746f6b656e7320726573657276656420666f7220616464726573730000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f50726573616c65206d7573742062652061637469766520746f206d696e740000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4578636565647320726573657276656420737570706c79000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f66204475636b730000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f596f752063616e206f6e6c79206d696e7420313020746f6b656e73206174206160008201527f2074696d65000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b614aa4816141b1565b8114614aaf57600080fd5b50565b614abb816141c3565b8114614ac657600080fd5b50565b614ad2816141cf565b8114614add57600080fd5b50565b614ae98161421b565b8114614af457600080fd5b5056fea2646970667358221220c0bf9aa6297b93fbb6761137c753898dbb3f0c92d35f8abf0e89f27438ec7a4664736f6c63430008040033

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.