ETH Price: $3,358.79 (+0.33%)

Token

Salvador Borpi (BORP2)
 

Overview

Max Total Supply

1,750 BORP2

Holders

946

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
nickdevine.eth
Balance
1 BORP2
0x6f1947CC00FbAe933fa8d5fb6811CC21235B29F5
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Borpacasso: https://opensea.io/collection/borpacasso Andy Borphol: https://opensea.io/collection/andy-borphol MoMB blends popular internet culture with fine art precedents, subverting the art canon to develop an entirely new and widely recognizable NFT artform. Specifically,...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Borpi

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Borpi.sol
// SPDX-License-Identifier: MIT
pragma solidity ^ 0.8.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

contract Borpacasso {
    function balanceOf(address owner) public view virtual returns(uint256) {
    }
}

contract Borpi is ERC721, ERC721Enumerable, ERC721URIStorage, Ownable {
    using Counters for Counters.Counter;
    using SafeMath for uint256;
    string private _baseURIPrefix;

    mapping(address => uint) public whitelist;
    mapping(uint => mapping(address => uint)) public raffleList;
    mapping(address => uint) public claimed;
    uint public raffleSaleIndex;
  
    uint256 private tokenPrice = 100000000000000000; //0.1 ETH
    uint256 private constant nftsNumber = 1750;
    uint256 private constant nftsPublicNumber = 1735;
    uint32 private maxTokensPerTransaction = 3;
    address private constant borpFanOne = 0xb0e7d87fCB3d146d55EB694f9851833f18a7dB11;
    address private constant borpFanTwo = 0xCd2732220292022cC8Ab82173D213f4F51F99f76;
    bool public whitelistSaleActive;
    bool public raffleSaleActive;
    bool public uriUnlocked = true;
    bool public supplyCapped;
    bool public raffleDisabled;

    Counters.Counter private _tokenIdCounter;

    constructor() ERC721("Salvador Borpi", "BORP2") {
        _tokenIdCounter.increment();
    }

    function setBaseURI(string memory baseURIPrefix) public onlyOwner {
        require(uriUnlocked, "Not happening.");
        _baseURIPrefix = baseURIPrefix;
    }
    function _baseURI() internal view override returns(string memory) {
        return _baseURIPrefix;
    }

    function borpacassoBalance(address owner) public view virtual returns(uint256) {
        Borpacasso sd = Borpacasso(0x370108CF39555e561353B20ECF1eAae89bEb72ce);
        return sd.balanceOf(owner);
    }

    function setMaxTokens(uint32 a) public onlyOwner{
        maxTokensPerTransaction = a;
    }
    function lockURI() public onlyOwner {
        uriUnlocked = false;
    }
    function capSupply() public onlyOwner {
        supplyCapped = true;
    }

    function safeMint(address to) public onlyOwner {
        require(!supplyCapped, "The supply has been capped");
        require(_tokenIdCounter.current() <= nftsNumber, "Sry I dont have enough left ;(");
        _safeMint(to, _tokenIdCounter.current());
        _tokenIdCounter.increment();
    }

    function howManyBorp() public view returns(uint256 a){
        return Counters.current(_tokenIdCounter);
    }
    function allotmentOf(address _a) public view returns(uint a){
        return whitelist[_a];
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
    internal
    override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }
    function supportsInterface(bytes4 interfaceId)
    public
    view
    override(ERC721, ERC721Enumerable)
    returns(bool)
    {
        return super.supportsInterface(interfaceId);
    }
    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }
    function tokenURI(uint256 tokenId)
    public
    view
    override(ERC721, ERC721URIStorage)
    returns(string memory)
    {
        return super.tokenURI(tokenId);
    }

    function withdraw() public onlyOwner {
        uint balance = address(this).balance;
        uint cut = balance.div(2);
        payable(borpFanOne).transfer(cut);
        payable(borpFanTwo).transfer(cut);
    }

    function addToWhitelist(address[] memory _address, uint32[] memory _amount)public onlyOwner {
        for (uint i = 0; i < _address.length; i++) {
            whitelist[_address[i]] = _amount[i];
        }
    }
    function removeFromWhitelist(address[] memory _address)public onlyOwner {
        for (uint i = 0; i < _address.length; i++) {
            whitelist[_address[i]] = 0;
        }
    }

    function addToRaffleList(address[] memory _address, uint32[] memory _amount)public onlyOwner {
        for (uint i = 0; i < _address.length; i++) {
            raffleList[raffleSaleIndex][_address[i]] = _amount[i];
        }
    }

    function flipRaffleDisabled() public onlyOwner{
        raffleDisabled = !raffleDisabled;
    }

    function flipWhitelistSale() public onlyOwner {
        whitelistSaleActive = !whitelistSaleActive;
    }
    function flipRaffleSale() public onlyOwner {
        raffleSaleIndex += raffleSaleActive ? 1 : 0;
        raffleSaleActive = !raffleSaleActive;
    }

    function mintGiveawayBorps(address to, uint256 tokenId) public onlyOwner {
        require(tokenId > nftsPublicNumber, "Those aren't for you");
        require(tokenId <= nftsNumber, "Those aren't for you");
        _safeMint(to, tokenId);
    }

    function allotmentScaleOf(uint a) private pure returns(uint b){
        if (a >= 50) { return 5; }
        else if (a >= 25) { return 4; }
        else if (a >= 10) { return 3; }
        else if (a >= 5) { return 2; }
        else if (a >= 1) { return 1; }
        else return 0;
    }

    function buyWhitelistBorp(uint tokensNumber) public payable {
        require(!supplyCapped, "The supply has been capped");
        require(whitelistSaleActive, "Maybe later");
        require(_tokenIdCounter.current().add(tokensNumber) <= nftsPublicNumber + 1, "Sry I dont have enough left for that ;(");
        require(tokensNumber > 0, "U cant mint zero borps bro");
        require(tokenPrice.mul(tokensNumber) <= msg.value, "That's not enough, sry ;(");

        require(tokensNumber <= whitelist[msg.sender], "You can't claim more than your allotment");
        require(claimed[msg.sender].add(tokensNumber) <= allotmentScaleOf(borpacassoBalance(msg.sender)), "You're not holding enough borpacassos to claim that many");

        for (uint i = 0; i < tokensNumber; i++) {
            if (_tokenIdCounter.current() <= nftsPublicNumber) {
                require(whitelist[msg.sender] >= 1, "You don't have any more Borpis to claim");
                require(tokensNumber.sub(i) <= whitelist[msg.sender], "You can't claim more than your allotment");
                require(claimed[msg.sender].add(tokensNumber).sub(i) <= allotmentScaleOf(borpacassoBalance(msg.sender)), "You're not holding enough borpacassos to claim that many");
                require(_tokenIdCounter.current() <= nftsPublicNumber + 1, "Sry I dont have enough left ;(");

                claimed[msg.sender] += 1;
                whitelist[msg.sender] = whitelist[msg.sender].sub(1);

                _safeMint(msg.sender, _tokenIdCounter.current());
                _tokenIdCounter.increment();
            }
        }
    }

    function buyRaffleBorp(uint tokensNumber) public payable {
        require(!supplyCapped, "The supply has been capped");
        require(raffleSaleActive, "Maybe later");
        require(tokensNumber > 0, "U cant mint zero borps bro");
        require(_tokenIdCounter.current().add(tokensNumber) <= nftsPublicNumber + 1, "Sry I dont have enough left ;(");
        require(tokenPrice.mul(tokensNumber) <= msg.value, "That's not enough, sry ;(");

        if (!raffleDisabled) {
            require(tokensNumber == raffleList[raffleSaleIndex][msg.sender], "You must claim the exact amount you were allotted.");
            raffleList[raffleSaleIndex][msg.sender] = 0;
        }
        else {
            require(tokensNumber <= maxTokensPerTransaction, "Save some for everyone else!");
        }

        for (uint i = 0; i < tokensNumber; i++) {
            if (_tokenIdCounter.current() <= nftsPublicNumber) {
                _safeMint(msg.sender, _tokenIdCounter.current());
                _tokenIdCounter.increment();
            }
        }
    }
}

File 2 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 3 of 16 : 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 4 of 16 : 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 5 of 16 : 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 6 of 16 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 7 of 16 : 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 8 of 16 : 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 9 of 16 : 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 10 of 16 : 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 11 of 16 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 12 of 16 : 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 13 of 16 : 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 14 of 16 : 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 15 of 16 : 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 16 of 16 : 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": "london",
  "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":[{"internalType":"address[]","name":"_address","type":"address[]"},{"internalType":"uint32[]","name":"_amount","type":"uint32[]"}],"name":"addToRaffleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_address","type":"address[]"},{"internalType":"uint32[]","name":"_amount","type":"uint32[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_a","type":"address"}],"name":"allotmentOf","outputs":[{"internalType":"uint256","name":"a","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":"address","name":"owner","type":"address"}],"name":"borpacassoBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensNumber","type":"uint256"}],"name":"buyRaffleBorp","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokensNumber","type":"uint256"}],"name":"buyWhitelistBorp","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"capSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipRaffleDisabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipRaffleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipWhitelistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"howManyBorp","outputs":[{"internalType":"uint256","name":"a","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintGiveawayBorps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raffleDisabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"raffleList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raffleSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raffleSaleIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_address","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURIPrefix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"a","type":"uint32"}],"name":"setMaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyCapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[],"name":"uriUnlocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405267016345785d8a00006011556003601260006101000a81548163ffffffff021916908363ffffffff1602179055506001601260066101000a81548160ff0219169083151502179055503480156200005a57600080fd5b506040518060400160405280600e81526020017f53616c7661646f7220426f7270690000000000000000000000000000000000008152506040518060400160405280600581526020017f424f5250320000000000000000000000000000000000000000000000000000008152508160009080519060200190620000df9291906200021c565b508060019080519060200190620000f89291906200021c565b5050506200011b6200010f6200013860201b60201c565b6200014060201b60201c565b6200013260136200020660201b62002b921760201c565b62000331565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b8280546200022a90620002fb565b90600052602060002090601f0160209004810192826200024e57600085556200029a565b82601f106200026957805160ff19168380011785556200029a565b828001600101855582156200029a579182015b82811115620002995782518255916020019190600101906200027c565b5b509050620002a99190620002ad565b5090565b5b80821115620002c8576000816000905550600101620002ae565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200031457607f821691505b602082108114156200032b576200032a620002cc565b5b50919050565b615eee80620003416000396000f3fe60806040526004361061027d5760003560e01c8063715018a61161014f578063bd816277116100c1578063e072e16d1161007a578063e072e16d14610966578063e985e9c514610991578063f25b1ace146109ce578063f2fde38b146109e5578063f31d7c6c14610a0e578063f865339a14610a375761027d565b8063bd8162771461083d578063c87b56dd14610859578063c884ef8314610896578063ccf62392146108d3578063dabe8aca146108fe578063dd3c81811461093b5761027d565b806395d89b411161011357806395d89b411461073e5780639b19251a14610769578063a22cb465146107a6578063a5aeeb72146107cf578063b88d4fde146107eb578063bcce3b2f146108145761027d565b8063715018a61461067f5780637ac2ee54146106965780638c0745c8146106bf5780638da5cb5b146106fc5780638e021c06146107275761027d565b80632f745c59116101f3578063548db174116101ac578063548db1741461055f57806355f804b3146105885780635ccc40c6146105b15780636352211e146105dc5780636a92072b1461061957806370a08231146106425761027d565b80632f745c59146104515780633ad7f56c1461048e5780633ccfd60b146104b957806340d097c3146104d057806342842e0e146104f95780634f6ccce7146105225761027d565b80630f5d66ad116102455780630f5d66ad1461038d57806318160ddd146103a4578063196038c8146103cf57806323b872dd146103e6578063242628571461040f5780632930758d146104265761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b3146103275780630c128e9214610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a491906140d9565b610a62565b6040516102b69190614121565b60405180910390f35b3480156102cb57600080fd5b506102d4610a74565b6040516102e191906141d5565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c919061422d565b610b06565b60405161031e919061429b565b60405180910390f35b34801561033357600080fd5b5061034e600480360381019061034991906142e2565b610b8b565b005b34801561035c57600080fd5b5061037760048036038101906103729190614322565b610ca3565b604051610384919061435e565b60405180910390f35b34801561039957600080fd5b506103a2610d4e565b005b3480156103b057600080fd5b506103b9610df6565b6040516103c6919061435e565b60405180910390f35b3480156103db57600080fd5b506103e4610e03565b005b3480156103f257600080fd5b5061040d60048036038101906104089190614379565b610ee4565b005b34801561041b57600080fd5b50610424610f44565b005b34801561043257600080fd5b5061043b610fdd565b604051610448919061435e565b60405180910390f35b34801561045d57600080fd5b50610478600480360381019061047391906142e2565b610fe3565b604051610485919061435e565b60405180910390f35b34801561049a57600080fd5b506104a3611088565b6040516104b09190614121565b60405180910390f35b3480156104c557600080fd5b506104ce61109b565b005b3480156104dc57600080fd5b506104f760048036038101906104f29190614322565b6111ee565b005b34801561050557600080fd5b50610520600480360381019061051b9190614379565b611328565b005b34801561052e57600080fd5b506105496004803603810190610544919061422d565b611348565b604051610556919061435e565b60405180910390f35b34801561056b57600080fd5b5061058660048036038101906105819190614514565b6113b9565b005b34801561059457600080fd5b506105af60048036038101906105aa9190614612565b6114b7565b005b3480156105bd57600080fd5b506105c661159c565b6040516105d39190614121565b60405180910390f35b3480156105e857600080fd5b5061060360048036038101906105fe919061422d565b6115af565b604051610610919061429b565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b9190614697565b611661565b005b34801561064e57600080fd5b5061066960048036038101906106649190614322565b611701565b604051610676919061435e565b60405180910390f35b34801561068b57600080fd5b506106946117b9565b005b3480156106a257600080fd5b506106bd60048036038101906106b891906142e2565b611841565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190614322565b611954565b6040516106f3919061435e565b60405180910390f35b34801561070857600080fd5b5061071161199d565b60405161071e919061429b565b60405180910390f35b34801561073357600080fd5b5061073c6119c7565b005b34801561074a57600080fd5b50610753611a60565b60405161076091906141d5565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190614322565b611af2565b60405161079d919061435e565b60405180910390f35b3480156107b257600080fd5b506107cd60048036038101906107c891906146f0565b611b0a565b005b6107e960048036038101906107e4919061422d565b611c8b565b005b3480156107f757600080fd5b50610812600480360381019061080d91906147d1565b611fe3565b005b34801561082057600080fd5b5061083b60048036038101906108369190614917565b612045565b005b6108576004803603810190610852919061422d565b612176565b005b34801561086557600080fd5b50610880600480360381019061087b919061422d565b6127a7565b60405161088d91906141d5565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b89190614322565b6127b9565b6040516108ca919061435e565b60405180910390f35b3480156108df57600080fd5b506108e86127d1565b6040516108f59190614121565b60405180910390f35b34801561090a57600080fd5b506109256004803603810190610920919061498f565b6127e4565b604051610932919061435e565b60405180910390f35b34801561094757600080fd5b50610950612809565b60405161095d9190614121565b60405180910390f35b34801561097257600080fd5b5061097b61281c565b6040516109889190614121565b60405180910390f35b34801561099d57600080fd5b506109b860048036038101906109b391906149cf565b61282f565b6040516109c59190614121565b60405180910390f35b3480156109da57600080fd5b506109e36128c3565b005b3480156109f157600080fd5b50610a0c6004803603810190610a079190614322565b61296b565b005b348015610a1a57600080fd5b50610a356004803603810190610a309190614917565b612a63565b005b348015610a4357600080fd5b50610a4c612b81565b604051610a59919061435e565b60405180910390f35b6000610a6d82612ba8565b9050919050565b606060008054610a8390614a3e565b80601f0160208091040260200160405190810160405280929190818152602001828054610aaf90614a3e565b8015610afc5780601f10610ad157610100808354040283529160200191610afc565b820191906000526020600020905b815481529060010190602001808311610adf57829003601f168201915b5050505050905090565b6000610b1182612c22565b610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4790614ae2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b96826115af565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfe90614b74565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c26612c8e565b73ffffffffffffffffffffffffffffffffffffffff161480610c555750610c5481610c4f612c8e565b61282f565b5b610c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8b90614c06565b60405180910390fd5b610c9e8383612c96565b505050565b60008073370108cf39555e561353b20ecf1eaae89beb72ce90508073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610cf6919061429b565b60206040518083038186803b158015610d0e57600080fd5b505afa158015610d22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d469190614c3b565b915050919050565b610d56612c8e565b73ffffffffffffffffffffffffffffffffffffffff16610d7461199d565b73ffffffffffffffffffffffffffffffffffffffff1614610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc190614cb4565b60405180910390fd5b601260049054906101000a900460ff1615601260046101000a81548160ff021916908315150217905550565b6000600880549050905090565b610e0b612c8e565b73ffffffffffffffffffffffffffffffffffffffff16610e2961199d565b73ffffffffffffffffffffffffffffffffffffffff1614610e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7690614cb4565b60405180910390fd5b601260059054906101000a900460ff16610e9a576000610e9d565b60015b60ff1660106000828254610eb19190614d03565b92505081905550601260059054906101000a900460ff1615601260056101000a81548160ff021916908315150217905550565b610ef5610eef612c8e565b82612d4f565b610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b90614dcb565b60405180910390fd5b610f3f838383612e2d565b505050565b610f4c612c8e565b73ffffffffffffffffffffffffffffffffffffffff16610f6a61199d565b73ffffffffffffffffffffffffffffffffffffffff1614610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790614cb4565b60405180910390fd5b6001601260076101000a81548160ff021916908315150217905550565b60105481565b6000610fee83611701565b821061102f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102690614e5d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601260049054906101000a900460ff1681565b6110a3612c8e565b73ffffffffffffffffffffffffffffffffffffffff166110c161199d565b73ffffffffffffffffffffffffffffffffffffffff1614611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e90614cb4565b60405180910390fd5b6000479050600061113260028361308990919063ffffffff16565b905073b0e7d87fcb3d146d55eb694f9851833f18a7db1173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561118e573d6000803e3d6000fd5b5073cd2732220292022cc8ab82173d213f4f51f99f7673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111e9573d6000803e3d6000fd5b505050565b6111f6612c8e565b73ffffffffffffffffffffffffffffffffffffffff1661121461199d565b73ffffffffffffffffffffffffffffffffffffffff161461126a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126190614cb4565b60405180910390fd5b601260079054906101000a900460ff16156112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b190614ec9565b60405180910390fd5b6106d66112c7601361309f565b1115611308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ff90614f35565b60405180910390fd5b61131b81611316601361309f565b6130ad565b6113256013612b92565b50565b61134383838360405180602001604052806000815250611fe3565b505050565b6000611352610df6565b8210611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a90614fc7565b60405180910390fd5b600882815481106113a7576113a6614fe7565b5b90600052602060002001549050919050565b6113c1612c8e565b73ffffffffffffffffffffffffffffffffffffffff166113df61199d565b73ffffffffffffffffffffffffffffffffffffffff1614611435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142c90614cb4565b60405180910390fd5b60005b81518110156114b3576000600d600084848151811061145a57611459614fe7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806114ab90615016565b915050611438565b5050565b6114bf612c8e565b73ffffffffffffffffffffffffffffffffffffffff166114dd61199d565b73ffffffffffffffffffffffffffffffffffffffff1614611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90614cb4565b60405180910390fd5b601260069054906101000a900460ff16611582576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611579906150ab565b60405180910390fd5b80600c9080519060200190611598929190613fca565b5050565b601260089054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f9061513d565b60405180910390fd5b80915050919050565b611669612c8e565b73ffffffffffffffffffffffffffffffffffffffff1661168761199d565b73ffffffffffffffffffffffffffffffffffffffff16146116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d490614cb4565b60405180910390fd5b80601260006101000a81548163ffffffff021916908363ffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611772576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611769906151cf565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c1612c8e565b73ffffffffffffffffffffffffffffffffffffffff166117df61199d565b73ffffffffffffffffffffffffffffffffffffffff1614611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90614cb4565b60405180910390fd5b61183f60006130cb565b565b611849612c8e565b73ffffffffffffffffffffffffffffffffffffffff1661186761199d565b73ffffffffffffffffffffffffffffffffffffffff16146118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b490614cb4565b60405180910390fd5b6106c78111611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f89061523b565b60405180910390fd5b6106d6811115611946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193d9061523b565b60405180910390fd5b61195082826130ad565b5050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6119cf612c8e565b73ffffffffffffffffffffffffffffffffffffffff166119ed61199d565b73ffffffffffffffffffffffffffffffffffffffff1614611a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3a90614cb4565b60405180910390fd5b6000601260066101000a81548160ff021916908315150217905550565b606060018054611a6f90614a3e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9b90614a3e565b8015611ae85780601f10611abd57610100808354040283529160200191611ae8565b820191906000526020600020905b815481529060010190602001808311611acb57829003601f168201915b5050505050905090565b600d6020528060005260406000206000915090505481565b611b12612c8e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b77906152a7565b60405180910390fd5b8060056000611b8d612c8e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c3a612c8e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c7f9190614121565b60405180910390a35050565b601260079054906101000a900460ff1615611cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd290614ec9565b60405180910390fd5b601260059054906101000a900460ff16611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2190615313565b60405180910390fd5b60008111611d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d649061537f565b60405180910390fd5b60016106c7611d7c9190614d03565b611d9882611d8a601361309f565b61319190919063ffffffff16565b1115611dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd090614f35565b60405180910390fd5b34611def826011546131a790919063ffffffff16565b1115611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e27906153eb565b60405180910390fd5b601260089054906101000a900460ff16611f3557600e6000601054815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548114611ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecf9061547d565b60405180910390fd5b6000600e6000601054815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f91565b601260009054906101000a900463ffffffff1663ffffffff16811115611f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f87906154e9565b60405180910390fd5b5b60005b81811015611fdf576106c7611fa9601361309f565b11611fcc57611fc133611fbc601361309f565b6130ad565b611fcb6013612b92565b5b8080611fd790615016565b915050611f94565b5050565b611ff4611fee612c8e565b83612d4f565b612033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202a90614dcb565b60405180910390fd5b61203f848484846131bd565b50505050565b61204d612c8e565b73ffffffffffffffffffffffffffffffffffffffff1661206b61199d565b73ffffffffffffffffffffffffffffffffffffffff16146120c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b890614cb4565b60405180910390fd5b60005b8251811015612171578181815181106120e0576120df614fe7565b5b602002602001015163ffffffff16600e60006010548152602001908152602001600020600085848151811061211857612117614fe7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061216990615016565b9150506120c4565b505050565b601260079054906101000a900460ff16156121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd90614ec9565b60405180910390fd5b601260049054906101000a900460ff16612215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220c90615313565b60405180910390fd5b60016106c76122249190614d03565b61224082612232601361309f565b61319190919063ffffffff16565b1115612281576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122789061557b565b60405180910390fd5b600081116122c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bb9061537f565b60405180910390fd5b346122da826011546131a790919063ffffffff16565b111561231b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612312906153eb565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481111561239d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123949061560d565b60405180910390fd5b6123ae6123a933610ca3565b613219565b61240082600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461319190919063ffffffff16565b1115612441576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124389061569f565b60405180910390fd5b60005b818110156127a3576106c7612459601361309f565b11612790576001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156124e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d890615731565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612534828461327a90919063ffffffff16565b1115612575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256c9061560d565b60405180910390fd5b61258661258133610ca3565b613219565b6125ea826125dc85600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461319190919063ffffffff16565b61327a90919063ffffffff16565b111561262b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126229061569f565b60405180910390fd5b60016106c761263a9190614d03565b612644601361309f565b1115612685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267c90614f35565b60405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126d59190614d03565b9250508190555061272f6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461327a90919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061278533612780601361309f565b6130ad565b61278f6013612b92565b5b808061279b90615016565b915050612444565b5050565b60606127b282613290565b9050919050565b600f6020528060005260406000206000915090505481565b601260059054906101000a900460ff1681565b600e602052816000526040600020602052806000526040600020600091509150505481565b601260079054906101000a900460ff1681565b601260069054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128cb612c8e565b73ffffffffffffffffffffffffffffffffffffffff166128e961199d565b73ffffffffffffffffffffffffffffffffffffffff161461293f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293690614cb4565b60405180910390fd5b601260089054906101000a900460ff1615601260086101000a81548160ff021916908315150217905550565b612973612c8e565b73ffffffffffffffffffffffffffffffffffffffff1661299161199d565b73ffffffffffffffffffffffffffffffffffffffff16146129e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129de90614cb4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4e906157c3565b60405180910390fd5b612a60816130cb565b50565b612a6b612c8e565b73ffffffffffffffffffffffffffffffffffffffff16612a8961199d565b73ffffffffffffffffffffffffffffffffffffffff1614612adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad690614cb4565b60405180910390fd5b60005b8251811015612b7c57818181518110612afe57612afd614fe7565b5b602002602001015163ffffffff16600d6000858481518110612b2357612b22614fe7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080612b7490615016565b915050612ae2565b505050565b6000612b8d601361309f565b905090565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c1b5750612c1a826133e2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612d09836115af565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d5a82612c22565b612d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9090615855565b60405180910390fd5b6000612da4836115af565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e1357508373ffffffffffffffffffffffffffffffffffffffff16612dfb84610b06565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e245750612e23818561282f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e4d826115af565b73ffffffffffffffffffffffffffffffffffffffff1614612ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9a906158e7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0a90615979565b60405180910390fd5b612f1e8383836134c4565b612f29600082612c96565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f799190615999565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fd09190614d03565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361309791906159fc565b905092915050565b600081600001549050919050565b6130c78282604051806020016040528060008152506134d4565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361319f9190614d03565b905092915050565b600081836131b59190615a2d565b905092915050565b6131c8848484612e2d565b6131d48484848461352f565b613213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320a90615af9565b60405180910390fd5b50505050565b60006032821061322c5760059050613275565b6019821061323d5760049050613275565b600a821061324e5760039050613275565b6005821061325f5760029050613275565b600182106132705760019050613275565b600090505b919050565b600081836132889190615999565b905092915050565b606061329b82612c22565b6132da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d190615b8b565b60405180910390fd5b6000600a600084815260200190815260200160002080546132fa90614a3e565b80601f016020809104026020016040519081016040528092919081815260200182805461332690614a3e565b80156133735780601f1061334857610100808354040283529160200191613373565b820191906000526020600020905b81548152906001019060200180831161335657829003601f168201915b5050505050905060006133846136c6565b905060008151141561339a5781925050506133dd565b6000825111156133cf5780826040516020016133b7929190615be7565b604051602081830303815290604052925050506133dd565b6133d884613758565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806134ad57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134bd57506134bc826137ff565b5b9050919050565b6134cf838383613869565b505050565b6134de838361397d565b6134eb600084848461352f565b61352a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352190615af9565b60405180910390fd5b505050565b60006135508473ffffffffffffffffffffffffffffffffffffffff16613b4b565b156136b9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613579612c8e565b8786866040518563ffffffff1660e01b815260040161359b9493929190615c60565b602060405180830381600087803b1580156135b557600080fd5b505af19250505080156135e657506040513d601f19601f820116820180604052508101906135e39190615cc1565b60015b613669573d8060008114613616576040519150601f19603f3d011682016040523d82523d6000602084013e61361b565b606091505b50600081511415613661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365890615af9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136be565b600190505b949350505050565b6060600c80546136d590614a3e565b80601f016020809104026020016040519081016040528092919081815260200182805461370190614a3e565b801561374e5780601f106137235761010080835404028352916020019161374e565b820191906000526020600020905b81548152906001019060200180831161373157829003601f168201915b5050505050905090565b606061376382612c22565b6137a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379990615d60565b60405180910390fd5b60006137ac6136c6565b905060008151116137cc57604051806020016040528060008152506137f7565b806137d684613b5e565b6040516020016137e7929190615be7565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613874838383613cbf565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138b7576138b281613cc4565b6138f6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138f5576138f48382613d0d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139395761393481613e7a565b613978565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613977576139768282613f4b565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139e490615dcc565b60405180910390fd5b6139f681612c22565b15613a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2d90615e38565b60405180910390fd5b613a42600083836134c4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a929190614d03565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415613ba6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613cba565b600082905060005b60008214613bd8578080613bc190615016565b915050600a82613bd191906159fc565b9150613bae565b60008167ffffffffffffffff811115613bf457613bf36143d1565b5b6040519080825280601f01601f191660200182016040528015613c265781602001600182028036833780820191505090505b5090505b60008514613cb357600182613c3f9190615999565b9150600a85613c4e9190615e58565b6030613c5a9190614d03565b60f81b818381518110613c7057613c6f614fe7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613cac91906159fc565b9450613c2a565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613d1a84611701565b613d249190615999565b9050600060076000848152602001908152602001600020549050818114613e09576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e8e9190615999565b9050600060096000848152602001908152602001600020549050600060088381548110613ebe57613ebd614fe7565b5b906000526020600020015490508060088381548110613ee057613edf614fe7565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f2f57613f2e615e89565b5b6001900381819060005260206000200160009055905550505050565b6000613f5683611701565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613fd690614a3e565b90600052602060002090601f016020900481019282613ff8576000855561403f565b82601f1061401157805160ff191683800117855561403f565b8280016001018555821561403f579182015b8281111561403e578251825591602001919060010190614023565b5b50905061404c9190614050565b5090565b5b80821115614069576000816000905550600101614051565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6140b681614081565b81146140c157600080fd5b50565b6000813590506140d3816140ad565b92915050565b6000602082840312156140ef576140ee614077565b5b60006140fd848285016140c4565b91505092915050565b60008115159050919050565b61411b81614106565b82525050565b60006020820190506141366000830184614112565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561417657808201518184015260208101905061415b565b83811115614185576000848401525b50505050565b6000601f19601f8301169050919050565b60006141a78261413c565b6141b18185614147565b93506141c1818560208601614158565b6141ca8161418b565b840191505092915050565b600060208201905081810360008301526141ef818461419c565b905092915050565b6000819050919050565b61420a816141f7565b811461421557600080fd5b50565b60008135905061422781614201565b92915050565b60006020828403121561424357614242614077565b5b600061425184828501614218565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006142858261425a565b9050919050565b6142958161427a565b82525050565b60006020820190506142b0600083018461428c565b92915050565b6142bf8161427a565b81146142ca57600080fd5b50565b6000813590506142dc816142b6565b92915050565b600080604083850312156142f9576142f8614077565b5b6000614307858286016142cd565b925050602061431885828601614218565b9150509250929050565b60006020828403121561433857614337614077565b5b6000614346848285016142cd565b91505092915050565b614358816141f7565b82525050565b6000602082019050614373600083018461434f565b92915050565b60008060006060848603121561439257614391614077565b5b60006143a0868287016142cd565b93505060206143b1868287016142cd565b92505060406143c286828701614218565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144098261418b565b810181811067ffffffffffffffff82111715614428576144276143d1565b5b80604052505050565b600061443b61406d565b90506144478282614400565b919050565b600067ffffffffffffffff821115614467576144666143d1565b5b602082029050602081019050919050565b600080fd5b600061449061448b8461444c565b614431565b905080838252602082019050602084028301858111156144b3576144b2614478565b5b835b818110156144dc57806144c888826142cd565b8452602084019350506020810190506144b5565b5050509392505050565b600082601f8301126144fb576144fa6143cc565b5b813561450b84826020860161447d565b91505092915050565b60006020828403121561452a57614529614077565b5b600082013567ffffffffffffffff8111156145485761454761407c565b5b614554848285016144e6565b91505092915050565b600080fd5b600067ffffffffffffffff82111561457d5761457c6143d1565b5b6145868261418b565b9050602081019050919050565b82818337600083830152505050565b60006145b56145b084614562565b614431565b9050828152602081018484840111156145d1576145d061455d565b5b6145dc848285614593565b509392505050565b600082601f8301126145f9576145f86143cc565b5b81356146098482602086016145a2565b91505092915050565b60006020828403121561462857614627614077565b5b600082013567ffffffffffffffff8111156146465761464561407c565b5b614652848285016145e4565b91505092915050565b600063ffffffff82169050919050565b6146748161465b565b811461467f57600080fd5b50565b6000813590506146918161466b565b92915050565b6000602082840312156146ad576146ac614077565b5b60006146bb84828501614682565b91505092915050565b6146cd81614106565b81146146d857600080fd5b50565b6000813590506146ea816146c4565b92915050565b6000806040838503121561470757614706614077565b5b6000614715858286016142cd565b9250506020614726858286016146db565b9150509250929050565b600067ffffffffffffffff82111561474b5761474a6143d1565b5b6147548261418b565b9050602081019050919050565b600061477461476f84614730565b614431565b9050828152602081018484840111156147905761478f61455d565b5b61479b848285614593565b509392505050565b600082601f8301126147b8576147b76143cc565b5b81356147c8848260208601614761565b91505092915050565b600080600080608085870312156147eb576147ea614077565b5b60006147f9878288016142cd565b945050602061480a878288016142cd565b935050604061481b87828801614218565b925050606085013567ffffffffffffffff81111561483c5761483b61407c565b5b614848878288016147a3565b91505092959194509250565b600067ffffffffffffffff82111561486f5761486e6143d1565b5b602082029050602081019050919050565b600061489361488e84614854565b614431565b905080838252602082019050602084028301858111156148b6576148b5614478565b5b835b818110156148df57806148cb8882614682565b8452602084019350506020810190506148b8565b5050509392505050565b600082601f8301126148fe576148fd6143cc565b5b813561490e848260208601614880565b91505092915050565b6000806040838503121561492e5761492d614077565b5b600083013567ffffffffffffffff81111561494c5761494b61407c565b5b614958858286016144e6565b925050602083013567ffffffffffffffff8111156149795761497861407c565b5b614985858286016148e9565b9150509250929050565b600080604083850312156149a6576149a5614077565b5b60006149b485828601614218565b92505060206149c5858286016142cd565b9150509250929050565b600080604083850312156149e6576149e5614077565b5b60006149f4858286016142cd565b9250506020614a05858286016142cd565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a5657607f821691505b60208210811415614a6a57614a69614a0f565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614acc602c83614147565b9150614ad782614a70565b604082019050919050565b60006020820190508181036000830152614afb81614abf565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b5e602183614147565b9150614b6982614b02565b604082019050919050565b60006020820190508181036000830152614b8d81614b51565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614bf0603883614147565b9150614bfb82614b94565b604082019050919050565b60006020820190508181036000830152614c1f81614be3565b9050919050565b600081519050614c3581614201565b92915050565b600060208284031215614c5157614c50614077565b5b6000614c5f84828501614c26565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c9e602083614147565b9150614ca982614c68565b602082019050919050565b60006020820190508181036000830152614ccd81614c91565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614d0e826141f7565b9150614d19836141f7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d4e57614d4d614cd4565b5b828201905092915050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614db5603183614147565b9150614dc082614d59565b604082019050919050565b60006020820190508181036000830152614de481614da8565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614e47602b83614147565b9150614e5282614deb565b604082019050919050565b60006020820190508181036000830152614e7681614e3a565b9050919050565b7f54686520737570706c7920686173206265656e20636170706564000000000000600082015250565b6000614eb3601a83614147565b9150614ebe82614e7d565b602082019050919050565b60006020820190508181036000830152614ee281614ea6565b9050919050565b7f537279204920646f6e74206861766520656e6f756768206c656674203b280000600082015250565b6000614f1f601e83614147565b9150614f2a82614ee9565b602082019050919050565b60006020820190508181036000830152614f4e81614f12565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614fb1602c83614147565b9150614fbc82614f55565b604082019050919050565b60006020820190508181036000830152614fe081614fa4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000615021826141f7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561505457615053614cd4565b5b600182019050919050565b7f4e6f742068617070656e696e672e000000000000000000000000000000000000600082015250565b6000615095600e83614147565b91506150a08261505f565b602082019050919050565b600060208201905081810360008301526150c481615088565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615127602983614147565b9150615132826150cb565b604082019050919050565b600060208201905081810360008301526151568161511a565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006151b9602a83614147565b91506151c48261515d565b604082019050919050565b600060208201905081810360008301526151e8816151ac565b9050919050565b7f54686f7365206172656e277420666f7220796f75000000000000000000000000600082015250565b6000615225601483614147565b9150615230826151ef565b602082019050919050565b6000602082019050818103600083015261525481615218565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615291601983614147565b915061529c8261525b565b602082019050919050565b600060208201905081810360008301526152c081615284565b9050919050565b7f4d61796265206c61746572000000000000000000000000000000000000000000600082015250565b60006152fd600b83614147565b9150615308826152c7565b602082019050919050565b6000602082019050818103600083015261532c816152f0565b9050919050565b7f552063616e74206d696e74207a65726f20626f7270732062726f000000000000600082015250565b6000615369601a83614147565b915061537482615333565b602082019050919050565b600060208201905081810360008301526153988161535c565b9050919050565b7f546861742773206e6f7420656e6f7567682c20737279203b2800000000000000600082015250565b60006153d5601983614147565b91506153e08261539f565b602082019050919050565b60006020820190508181036000830152615404816153c8565b9050919050565b7f596f75206d75737420636c61696d2074686520657861637420616d6f756e742060008201527f796f75207765726520616c6c6f747465642e0000000000000000000000000000602082015250565b6000615467603283614147565b91506154728261540b565b604082019050919050565b600060208201905081810360008301526154968161545a565b9050919050565b7f5361766520736f6d6520666f722065766572796f6e6520656c73652100000000600082015250565b60006154d3601c83614147565b91506154de8261549d565b602082019050919050565b60006020820190508181036000830152615502816154c6565b9050919050565b7f537279204920646f6e74206861766520656e6f756768206c65667420666f722060008201527f74686174203b2800000000000000000000000000000000000000000000000000602082015250565b6000615565602783614147565b915061557082615509565b604082019050919050565b6000602082019050818103600083015261559481615558565b9050919050565b7f596f752063616e277420636c61696d206d6f7265207468616e20796f7572206160008201527f6c6c6f746d656e74000000000000000000000000000000000000000000000000602082015250565b60006155f7602883614147565b91506156028261559b565b604082019050919050565b60006020820190508181036000830152615626816155ea565b9050919050565b7f596f75277265206e6f7420686f6c64696e6720656e6f75676820626f7270616360008201527f6173736f7320746f20636c61696d2074686174206d616e790000000000000000602082015250565b6000615689603883614147565b91506156948261562d565b604082019050919050565b600060208201905081810360008301526156b88161567c565b9050919050565b7f596f7520646f6e2774206861766520616e79206d6f726520426f72706973207460008201527f6f20636c61696d00000000000000000000000000000000000000000000000000602082015250565b600061571b602783614147565b9150615726826156bf565b604082019050919050565b6000602082019050818103600083015261574a8161570e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006157ad602683614147565b91506157b882615751565b604082019050919050565b600060208201905081810360008301526157dc816157a0565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061583f602c83614147565b915061584a826157e3565b604082019050919050565b6000602082019050818103600083015261586e81615832565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006158d1602983614147565b91506158dc82615875565b604082019050919050565b60006020820190508181036000830152615900816158c4565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615963602483614147565b915061596e82615907565b604082019050919050565b6000602082019050818103600083015261599281615956565b9050919050565b60006159a4826141f7565b91506159af836141f7565b9250828210156159c2576159c1614cd4565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615a07826141f7565b9150615a12836141f7565b925082615a2257615a216159cd565b5b828204905092915050565b6000615a38826141f7565b9150615a43836141f7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615a7c57615a7b614cd4565b5b828202905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615ae3603283614147565b9150615aee82615a87565b604082019050919050565b60006020820190508181036000830152615b1281615ad6565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000615b75603183614147565b9150615b8082615b19565b604082019050919050565b60006020820190508181036000830152615ba481615b68565b9050919050565b600081905092915050565b6000615bc18261413c565b615bcb8185615bab565b9350615bdb818560208601614158565b80840191505092915050565b6000615bf38285615bb6565b9150615bff8284615bb6565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000615c3282615c0b565b615c3c8185615c16565b9350615c4c818560208601614158565b615c558161418b565b840191505092915050565b6000608082019050615c75600083018761428c565b615c82602083018661428c565b615c8f604083018561434f565b8181036060830152615ca18184615c27565b905095945050505050565b600081519050615cbb816140ad565b92915050565b600060208284031215615cd757615cd6614077565b5b6000615ce584828501615cac565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615d4a602f83614147565b9150615d5582615cee565b604082019050919050565b60006020820190508181036000830152615d7981615d3d565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615db6602083614147565b9150615dc182615d80565b602082019050919050565b60006020820190508181036000830152615de581615da9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615e22601c83614147565b9150615e2d82615dec565b602082019050919050565b60006020820190508181036000830152615e5181615e15565b9050919050565b6000615e63826141f7565b9150615e6e836141f7565b925082615e7e57615e7d6159cd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220c9a72e3ca32c61a9fd16556d7632148fd10e9553c886098d6b65cf4c591c4b8964736f6c63430008090033

Deployed Bytecode

0x60806040526004361061027d5760003560e01c8063715018a61161014f578063bd816277116100c1578063e072e16d1161007a578063e072e16d14610966578063e985e9c514610991578063f25b1ace146109ce578063f2fde38b146109e5578063f31d7c6c14610a0e578063f865339a14610a375761027d565b8063bd8162771461083d578063c87b56dd14610859578063c884ef8314610896578063ccf62392146108d3578063dabe8aca146108fe578063dd3c81811461093b5761027d565b806395d89b411161011357806395d89b411461073e5780639b19251a14610769578063a22cb465146107a6578063a5aeeb72146107cf578063b88d4fde146107eb578063bcce3b2f146108145761027d565b8063715018a61461067f5780637ac2ee54146106965780638c0745c8146106bf5780638da5cb5b146106fc5780638e021c06146107275761027d565b80632f745c59116101f3578063548db174116101ac578063548db1741461055f57806355f804b3146105885780635ccc40c6146105b15780636352211e146105dc5780636a92072b1461061957806370a08231146106425761027d565b80632f745c59146104515780633ad7f56c1461048e5780633ccfd60b146104b957806340d097c3146104d057806342842e0e146104f95780634f6ccce7146105225761027d565b80630f5d66ad116102455780630f5d66ad1461038d57806318160ddd146103a4578063196038c8146103cf57806323b872dd146103e6578063242628571461040f5780632930758d146104265761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b3146103275780630c128e9214610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a491906140d9565b610a62565b6040516102b69190614121565b60405180910390f35b3480156102cb57600080fd5b506102d4610a74565b6040516102e191906141d5565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c919061422d565b610b06565b60405161031e919061429b565b60405180910390f35b34801561033357600080fd5b5061034e600480360381019061034991906142e2565b610b8b565b005b34801561035c57600080fd5b5061037760048036038101906103729190614322565b610ca3565b604051610384919061435e565b60405180910390f35b34801561039957600080fd5b506103a2610d4e565b005b3480156103b057600080fd5b506103b9610df6565b6040516103c6919061435e565b60405180910390f35b3480156103db57600080fd5b506103e4610e03565b005b3480156103f257600080fd5b5061040d60048036038101906104089190614379565b610ee4565b005b34801561041b57600080fd5b50610424610f44565b005b34801561043257600080fd5b5061043b610fdd565b604051610448919061435e565b60405180910390f35b34801561045d57600080fd5b50610478600480360381019061047391906142e2565b610fe3565b604051610485919061435e565b60405180910390f35b34801561049a57600080fd5b506104a3611088565b6040516104b09190614121565b60405180910390f35b3480156104c557600080fd5b506104ce61109b565b005b3480156104dc57600080fd5b506104f760048036038101906104f29190614322565b6111ee565b005b34801561050557600080fd5b50610520600480360381019061051b9190614379565b611328565b005b34801561052e57600080fd5b506105496004803603810190610544919061422d565b611348565b604051610556919061435e565b60405180910390f35b34801561056b57600080fd5b5061058660048036038101906105819190614514565b6113b9565b005b34801561059457600080fd5b506105af60048036038101906105aa9190614612565b6114b7565b005b3480156105bd57600080fd5b506105c661159c565b6040516105d39190614121565b60405180910390f35b3480156105e857600080fd5b5061060360048036038101906105fe919061422d565b6115af565b604051610610919061429b565b60405180910390f35b34801561062557600080fd5b50610640600480360381019061063b9190614697565b611661565b005b34801561064e57600080fd5b5061066960048036038101906106649190614322565b611701565b604051610676919061435e565b60405180910390f35b34801561068b57600080fd5b506106946117b9565b005b3480156106a257600080fd5b506106bd60048036038101906106b891906142e2565b611841565b005b3480156106cb57600080fd5b506106e660048036038101906106e19190614322565b611954565b6040516106f3919061435e565b60405180910390f35b34801561070857600080fd5b5061071161199d565b60405161071e919061429b565b60405180910390f35b34801561073357600080fd5b5061073c6119c7565b005b34801561074a57600080fd5b50610753611a60565b60405161076091906141d5565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190614322565b611af2565b60405161079d919061435e565b60405180910390f35b3480156107b257600080fd5b506107cd60048036038101906107c891906146f0565b611b0a565b005b6107e960048036038101906107e4919061422d565b611c8b565b005b3480156107f757600080fd5b50610812600480360381019061080d91906147d1565b611fe3565b005b34801561082057600080fd5b5061083b60048036038101906108369190614917565b612045565b005b6108576004803603810190610852919061422d565b612176565b005b34801561086557600080fd5b50610880600480360381019061087b919061422d565b6127a7565b60405161088d91906141d5565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b89190614322565b6127b9565b6040516108ca919061435e565b60405180910390f35b3480156108df57600080fd5b506108e86127d1565b6040516108f59190614121565b60405180910390f35b34801561090a57600080fd5b506109256004803603810190610920919061498f565b6127e4565b604051610932919061435e565b60405180910390f35b34801561094757600080fd5b50610950612809565b60405161095d9190614121565b60405180910390f35b34801561097257600080fd5b5061097b61281c565b6040516109889190614121565b60405180910390f35b34801561099d57600080fd5b506109b860048036038101906109b391906149cf565b61282f565b6040516109c59190614121565b60405180910390f35b3480156109da57600080fd5b506109e36128c3565b005b3480156109f157600080fd5b50610a0c6004803603810190610a079190614322565b61296b565b005b348015610a1a57600080fd5b50610a356004803603810190610a309190614917565b612a63565b005b348015610a4357600080fd5b50610a4c612b81565b604051610a59919061435e565b60405180910390f35b6000610a6d82612ba8565b9050919050565b606060008054610a8390614a3e565b80601f0160208091040260200160405190810160405280929190818152602001828054610aaf90614a3e565b8015610afc5780601f10610ad157610100808354040283529160200191610afc565b820191906000526020600020905b815481529060010190602001808311610adf57829003601f168201915b5050505050905090565b6000610b1182612c22565b610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4790614ae2565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b96826115af565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfe90614b74565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c26612c8e565b73ffffffffffffffffffffffffffffffffffffffff161480610c555750610c5481610c4f612c8e565b61282f565b5b610c94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8b90614c06565b60405180910390fd5b610c9e8383612c96565b505050565b60008073370108cf39555e561353b20ecf1eaae89beb72ce90508073ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610cf6919061429b565b60206040518083038186803b158015610d0e57600080fd5b505afa158015610d22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d469190614c3b565b915050919050565b610d56612c8e565b73ffffffffffffffffffffffffffffffffffffffff16610d7461199d565b73ffffffffffffffffffffffffffffffffffffffff1614610dca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc190614cb4565b60405180910390fd5b601260049054906101000a900460ff1615601260046101000a81548160ff021916908315150217905550565b6000600880549050905090565b610e0b612c8e565b73ffffffffffffffffffffffffffffffffffffffff16610e2961199d565b73ffffffffffffffffffffffffffffffffffffffff1614610e7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7690614cb4565b60405180910390fd5b601260059054906101000a900460ff16610e9a576000610e9d565b60015b60ff1660106000828254610eb19190614d03565b92505081905550601260059054906101000a900460ff1615601260056101000a81548160ff021916908315150217905550565b610ef5610eef612c8e565b82612d4f565b610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b90614dcb565b60405180910390fd5b610f3f838383612e2d565b505050565b610f4c612c8e565b73ffffffffffffffffffffffffffffffffffffffff16610f6a61199d565b73ffffffffffffffffffffffffffffffffffffffff1614610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790614cb4565b60405180910390fd5b6001601260076101000a81548160ff021916908315150217905550565b60105481565b6000610fee83611701565b821061102f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102690614e5d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601260049054906101000a900460ff1681565b6110a3612c8e565b73ffffffffffffffffffffffffffffffffffffffff166110c161199d565b73ffffffffffffffffffffffffffffffffffffffff1614611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e90614cb4565b60405180910390fd5b6000479050600061113260028361308990919063ffffffff16565b905073b0e7d87fcb3d146d55eb694f9851833f18a7db1173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561118e573d6000803e3d6000fd5b5073cd2732220292022cc8ab82173d213f4f51f99f7673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111e9573d6000803e3d6000fd5b505050565b6111f6612c8e565b73ffffffffffffffffffffffffffffffffffffffff1661121461199d565b73ffffffffffffffffffffffffffffffffffffffff161461126a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126190614cb4565b60405180910390fd5b601260079054906101000a900460ff16156112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b190614ec9565b60405180910390fd5b6106d66112c7601361309f565b1115611308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ff90614f35565b60405180910390fd5b61131b81611316601361309f565b6130ad565b6113256013612b92565b50565b61134383838360405180602001604052806000815250611fe3565b505050565b6000611352610df6565b8210611393576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138a90614fc7565b60405180910390fd5b600882815481106113a7576113a6614fe7565b5b90600052602060002001549050919050565b6113c1612c8e565b73ffffffffffffffffffffffffffffffffffffffff166113df61199d565b73ffffffffffffffffffffffffffffffffffffffff1614611435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142c90614cb4565b60405180910390fd5b60005b81518110156114b3576000600d600084848151811061145a57611459614fe7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806114ab90615016565b915050611438565b5050565b6114bf612c8e565b73ffffffffffffffffffffffffffffffffffffffff166114dd61199d565b73ffffffffffffffffffffffffffffffffffffffff1614611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90614cb4565b60405180910390fd5b601260069054906101000a900460ff16611582576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611579906150ab565b60405180910390fd5b80600c9080519060200190611598929190613fca565b5050565b601260089054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f9061513d565b60405180910390fd5b80915050919050565b611669612c8e565b73ffffffffffffffffffffffffffffffffffffffff1661168761199d565b73ffffffffffffffffffffffffffffffffffffffff16146116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d490614cb4565b60405180910390fd5b80601260006101000a81548163ffffffff021916908363ffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611772576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611769906151cf565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c1612c8e565b73ffffffffffffffffffffffffffffffffffffffff166117df61199d565b73ffffffffffffffffffffffffffffffffffffffff1614611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90614cb4565b60405180910390fd5b61183f60006130cb565b565b611849612c8e565b73ffffffffffffffffffffffffffffffffffffffff1661186761199d565b73ffffffffffffffffffffffffffffffffffffffff16146118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b490614cb4565b60405180910390fd5b6106c78111611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f89061523b565b60405180910390fd5b6106d6811115611946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193d9061523b565b60405180910390fd5b61195082826130ad565b5050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6119cf612c8e565b73ffffffffffffffffffffffffffffffffffffffff166119ed61199d565b73ffffffffffffffffffffffffffffffffffffffff1614611a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3a90614cb4565b60405180910390fd5b6000601260066101000a81548160ff021916908315150217905550565b606060018054611a6f90614a3e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9b90614a3e565b8015611ae85780601f10611abd57610100808354040283529160200191611ae8565b820191906000526020600020905b815481529060010190602001808311611acb57829003601f168201915b5050505050905090565b600d6020528060005260406000206000915090505481565b611b12612c8e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b77906152a7565b60405180910390fd5b8060056000611b8d612c8e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c3a612c8e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c7f9190614121565b60405180910390a35050565b601260079054906101000a900460ff1615611cdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd290614ec9565b60405180910390fd5b601260059054906101000a900460ff16611d2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2190615313565b60405180910390fd5b60008111611d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d649061537f565b60405180910390fd5b60016106c7611d7c9190614d03565b611d9882611d8a601361309f565b61319190919063ffffffff16565b1115611dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd090614f35565b60405180910390fd5b34611def826011546131a790919063ffffffff16565b1115611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e27906153eb565b60405180910390fd5b601260089054906101000a900460ff16611f3557600e6000601054815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548114611ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecf9061547d565b60405180910390fd5b6000600e6000601054815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f91565b601260009054906101000a900463ffffffff1663ffffffff16811115611f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f87906154e9565b60405180910390fd5b5b60005b81811015611fdf576106c7611fa9601361309f565b11611fcc57611fc133611fbc601361309f565b6130ad565b611fcb6013612b92565b5b8080611fd790615016565b915050611f94565b5050565b611ff4611fee612c8e565b83612d4f565b612033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202a90614dcb565b60405180910390fd5b61203f848484846131bd565b50505050565b61204d612c8e565b73ffffffffffffffffffffffffffffffffffffffff1661206b61199d565b73ffffffffffffffffffffffffffffffffffffffff16146120c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b890614cb4565b60405180910390fd5b60005b8251811015612171578181815181106120e0576120df614fe7565b5b602002602001015163ffffffff16600e60006010548152602001908152602001600020600085848151811061211857612117614fe7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061216990615016565b9150506120c4565b505050565b601260079054906101000a900460ff16156121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd90614ec9565b60405180910390fd5b601260049054906101000a900460ff16612215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220c90615313565b60405180910390fd5b60016106c76122249190614d03565b61224082612232601361309f565b61319190919063ffffffff16565b1115612281576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122789061557b565b60405180910390fd5b600081116122c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bb9061537f565b60405180910390fd5b346122da826011546131a790919063ffffffff16565b111561231b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612312906153eb565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481111561239d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123949061560d565b60405180910390fd5b6123ae6123a933610ca3565b613219565b61240082600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461319190919063ffffffff16565b1115612441576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124389061569f565b60405180910390fd5b60005b818110156127a3576106c7612459601361309f565b11612790576001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156124e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d890615731565b60405180910390fd5b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612534828461327a90919063ffffffff16565b1115612575576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256c9061560d565b60405180910390fd5b61258661258133610ca3565b613219565b6125ea826125dc85600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461319190919063ffffffff16565b61327a90919063ffffffff16565b111561262b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126229061569f565b60405180910390fd5b60016106c761263a9190614d03565b612644601361309f565b1115612685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267c90614f35565b60405180910390fd5b6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126d59190614d03565b9250508190555061272f6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461327a90919063ffffffff16565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061278533612780601361309f565b6130ad565b61278f6013612b92565b5b808061279b90615016565b915050612444565b5050565b60606127b282613290565b9050919050565b600f6020528060005260406000206000915090505481565b601260059054906101000a900460ff1681565b600e602052816000526040600020602052806000526040600020600091509150505481565b601260079054906101000a900460ff1681565b601260069054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6128cb612c8e565b73ffffffffffffffffffffffffffffffffffffffff166128e961199d565b73ffffffffffffffffffffffffffffffffffffffff161461293f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293690614cb4565b60405180910390fd5b601260089054906101000a900460ff1615601260086101000a81548160ff021916908315150217905550565b612973612c8e565b73ffffffffffffffffffffffffffffffffffffffff1661299161199d565b73ffffffffffffffffffffffffffffffffffffffff16146129e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129de90614cb4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4e906157c3565b60405180910390fd5b612a60816130cb565b50565b612a6b612c8e565b73ffffffffffffffffffffffffffffffffffffffff16612a8961199d565b73ffffffffffffffffffffffffffffffffffffffff1614612adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ad690614cb4565b60405180910390fd5b60005b8251811015612b7c57818181518110612afe57612afd614fe7565b5b602002602001015163ffffffff16600d6000858481518110612b2357612b22614fe7565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080612b7490615016565b915050612ae2565b505050565b6000612b8d601361309f565b905090565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c1b5750612c1a826133e2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612d09836115af565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d5a82612c22565b612d99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9090615855565b60405180910390fd5b6000612da4836115af565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e1357508373ffffffffffffffffffffffffffffffffffffffff16612dfb84610b06565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e245750612e23818561282f565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e4d826115af565b73ffffffffffffffffffffffffffffffffffffffff1614612ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9a906158e7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0a90615979565b60405180910390fd5b612f1e8383836134c4565b612f29600082612c96565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f799190615999565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fd09190614d03565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361309791906159fc565b905092915050565b600081600001549050919050565b6130c78282604051806020016040528060008152506134d4565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000818361319f9190614d03565b905092915050565b600081836131b59190615a2d565b905092915050565b6131c8848484612e2d565b6131d48484848461352f565b613213576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320a90615af9565b60405180910390fd5b50505050565b60006032821061322c5760059050613275565b6019821061323d5760049050613275565b600a821061324e5760039050613275565b6005821061325f5760029050613275565b600182106132705760019050613275565b600090505b919050565b600081836132889190615999565b905092915050565b606061329b82612c22565b6132da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d190615b8b565b60405180910390fd5b6000600a600084815260200190815260200160002080546132fa90614a3e565b80601f016020809104026020016040519081016040528092919081815260200182805461332690614a3e565b80156133735780601f1061334857610100808354040283529160200191613373565b820191906000526020600020905b81548152906001019060200180831161335657829003601f168201915b5050505050905060006133846136c6565b905060008151141561339a5781925050506133dd565b6000825111156133cf5780826040516020016133b7929190615be7565b604051602081830303815290604052925050506133dd565b6133d884613758565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806134ad57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806134bd57506134bc826137ff565b5b9050919050565b6134cf838383613869565b505050565b6134de838361397d565b6134eb600084848461352f565b61352a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352190615af9565b60405180910390fd5b505050565b60006135508473ffffffffffffffffffffffffffffffffffffffff16613b4b565b156136b9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613579612c8e565b8786866040518563ffffffff1660e01b815260040161359b9493929190615c60565b602060405180830381600087803b1580156135b557600080fd5b505af19250505080156135e657506040513d601f19601f820116820180604052508101906135e39190615cc1565b60015b613669573d8060008114613616576040519150601f19603f3d011682016040523d82523d6000602084013e61361b565b606091505b50600081511415613661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365890615af9565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136be565b600190505b949350505050565b6060600c80546136d590614a3e565b80601f016020809104026020016040519081016040528092919081815260200182805461370190614a3e565b801561374e5780601f106137235761010080835404028352916020019161374e565b820191906000526020600020905b81548152906001019060200180831161373157829003601f168201915b5050505050905090565b606061376382612c22565b6137a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379990615d60565b60405180910390fd5b60006137ac6136c6565b905060008151116137cc57604051806020016040528060008152506137f7565b806137d684613b5e565b6040516020016137e7929190615be7565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613874838383613cbf565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138b7576138b281613cc4565b6138f6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138f5576138f48382613d0d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139395761393481613e7a565b613978565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613977576139768282613f4b565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156139ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139e490615dcc565b60405180910390fd5b6139f681612c22565b15613a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a2d90615e38565b60405180910390fd5b613a42600083836134c4565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613a929190614d03565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415613ba6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613cba565b600082905060005b60008214613bd8578080613bc190615016565b915050600a82613bd191906159fc565b9150613bae565b60008167ffffffffffffffff811115613bf457613bf36143d1565b5b6040519080825280601f01601f191660200182016040528015613c265781602001600182028036833780820191505090505b5090505b60008514613cb357600182613c3f9190615999565b9150600a85613c4e9190615e58565b6030613c5a9190614d03565b60f81b818381518110613c7057613c6f614fe7565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613cac91906159fc565b9450613c2a565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613d1a84611701565b613d249190615999565b9050600060076000848152602001908152602001600020549050818114613e09576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613e8e9190615999565b9050600060096000848152602001908152602001600020549050600060088381548110613ebe57613ebd614fe7565b5b906000526020600020015490508060088381548110613ee057613edf614fe7565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613f2f57613f2e615e89565b5b6001900381819060005260206000200160009055905550505050565b6000613f5683611701565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613fd690614a3e565b90600052602060002090601f016020900481019282613ff8576000855561403f565b82601f1061401157805160ff191683800117855561403f565b8280016001018555821561403f579182015b8281111561403e578251825591602001919060010190614023565b5b50905061404c9190614050565b5090565b5b80821115614069576000816000905550600101614051565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6140b681614081565b81146140c157600080fd5b50565b6000813590506140d3816140ad565b92915050565b6000602082840312156140ef576140ee614077565b5b60006140fd848285016140c4565b91505092915050565b60008115159050919050565b61411b81614106565b82525050565b60006020820190506141366000830184614112565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561417657808201518184015260208101905061415b565b83811115614185576000848401525b50505050565b6000601f19601f8301169050919050565b60006141a78261413c565b6141b18185614147565b93506141c1818560208601614158565b6141ca8161418b565b840191505092915050565b600060208201905081810360008301526141ef818461419c565b905092915050565b6000819050919050565b61420a816141f7565b811461421557600080fd5b50565b60008135905061422781614201565b92915050565b60006020828403121561424357614242614077565b5b600061425184828501614218565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006142858261425a565b9050919050565b6142958161427a565b82525050565b60006020820190506142b0600083018461428c565b92915050565b6142bf8161427a565b81146142ca57600080fd5b50565b6000813590506142dc816142b6565b92915050565b600080604083850312156142f9576142f8614077565b5b6000614307858286016142cd565b925050602061431885828601614218565b9150509250929050565b60006020828403121561433857614337614077565b5b6000614346848285016142cd565b91505092915050565b614358816141f7565b82525050565b6000602082019050614373600083018461434f565b92915050565b60008060006060848603121561439257614391614077565b5b60006143a0868287016142cd565b93505060206143b1868287016142cd565b92505060406143c286828701614218565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144098261418b565b810181811067ffffffffffffffff82111715614428576144276143d1565b5b80604052505050565b600061443b61406d565b90506144478282614400565b919050565b600067ffffffffffffffff821115614467576144666143d1565b5b602082029050602081019050919050565b600080fd5b600061449061448b8461444c565b614431565b905080838252602082019050602084028301858111156144b3576144b2614478565b5b835b818110156144dc57806144c888826142cd565b8452602084019350506020810190506144b5565b5050509392505050565b600082601f8301126144fb576144fa6143cc565b5b813561450b84826020860161447d565b91505092915050565b60006020828403121561452a57614529614077565b5b600082013567ffffffffffffffff8111156145485761454761407c565b5b614554848285016144e6565b91505092915050565b600080fd5b600067ffffffffffffffff82111561457d5761457c6143d1565b5b6145868261418b565b9050602081019050919050565b82818337600083830152505050565b60006145b56145b084614562565b614431565b9050828152602081018484840111156145d1576145d061455d565b5b6145dc848285614593565b509392505050565b600082601f8301126145f9576145f86143cc565b5b81356146098482602086016145a2565b91505092915050565b60006020828403121561462857614627614077565b5b600082013567ffffffffffffffff8111156146465761464561407c565b5b614652848285016145e4565b91505092915050565b600063ffffffff82169050919050565b6146748161465b565b811461467f57600080fd5b50565b6000813590506146918161466b565b92915050565b6000602082840312156146ad576146ac614077565b5b60006146bb84828501614682565b91505092915050565b6146cd81614106565b81146146d857600080fd5b50565b6000813590506146ea816146c4565b92915050565b6000806040838503121561470757614706614077565b5b6000614715858286016142cd565b9250506020614726858286016146db565b9150509250929050565b600067ffffffffffffffff82111561474b5761474a6143d1565b5b6147548261418b565b9050602081019050919050565b600061477461476f84614730565b614431565b9050828152602081018484840111156147905761478f61455d565b5b61479b848285614593565b509392505050565b600082601f8301126147b8576147b76143cc565b5b81356147c8848260208601614761565b91505092915050565b600080600080608085870312156147eb576147ea614077565b5b60006147f9878288016142cd565b945050602061480a878288016142cd565b935050604061481b87828801614218565b925050606085013567ffffffffffffffff81111561483c5761483b61407c565b5b614848878288016147a3565b91505092959194509250565b600067ffffffffffffffff82111561486f5761486e6143d1565b5b602082029050602081019050919050565b600061489361488e84614854565b614431565b905080838252602082019050602084028301858111156148b6576148b5614478565b5b835b818110156148df57806148cb8882614682565b8452602084019350506020810190506148b8565b5050509392505050565b600082601f8301126148fe576148fd6143cc565b5b813561490e848260208601614880565b91505092915050565b6000806040838503121561492e5761492d614077565b5b600083013567ffffffffffffffff81111561494c5761494b61407c565b5b614958858286016144e6565b925050602083013567ffffffffffffffff8111156149795761497861407c565b5b614985858286016148e9565b9150509250929050565b600080604083850312156149a6576149a5614077565b5b60006149b485828601614218565b92505060206149c5858286016142cd565b9150509250929050565b600080604083850312156149e6576149e5614077565b5b60006149f4858286016142cd565b9250506020614a05858286016142cd565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a5657607f821691505b60208210811415614a6a57614a69614a0f565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614acc602c83614147565b9150614ad782614a70565b604082019050919050565b60006020820190508181036000830152614afb81614abf565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b5e602183614147565b9150614b6982614b02565b604082019050919050565b60006020820190508181036000830152614b8d81614b51565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614bf0603883614147565b9150614bfb82614b94565b604082019050919050565b60006020820190508181036000830152614c1f81614be3565b9050919050565b600081519050614c3581614201565b92915050565b600060208284031215614c5157614c50614077565b5b6000614c5f84828501614c26565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614c9e602083614147565b9150614ca982614c68565b602082019050919050565b60006020820190508181036000830152614ccd81614c91565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614d0e826141f7565b9150614d19836141f7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d4e57614d4d614cd4565b5b828201905092915050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614db5603183614147565b9150614dc082614d59565b604082019050919050565b60006020820190508181036000830152614de481614da8565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614e47602b83614147565b9150614e5282614deb565b604082019050919050565b60006020820190508181036000830152614e7681614e3a565b9050919050565b7f54686520737570706c7920686173206265656e20636170706564000000000000600082015250565b6000614eb3601a83614147565b9150614ebe82614e7d565b602082019050919050565b60006020820190508181036000830152614ee281614ea6565b9050919050565b7f537279204920646f6e74206861766520656e6f756768206c656674203b280000600082015250565b6000614f1f601e83614147565b9150614f2a82614ee9565b602082019050919050565b60006020820190508181036000830152614f4e81614f12565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614fb1602c83614147565b9150614fbc82614f55565b604082019050919050565b60006020820190508181036000830152614fe081614fa4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000615021826141f7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561505457615053614cd4565b5b600182019050919050565b7f4e6f742068617070656e696e672e000000000000000000000000000000000000600082015250565b6000615095600e83614147565b91506150a08261505f565b602082019050919050565b600060208201905081810360008301526150c481615088565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615127602983614147565b9150615132826150cb565b604082019050919050565b600060208201905081810360008301526151568161511a565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006151b9602a83614147565b91506151c48261515d565b604082019050919050565b600060208201905081810360008301526151e8816151ac565b9050919050565b7f54686f7365206172656e277420666f7220796f75000000000000000000000000600082015250565b6000615225601483614147565b9150615230826151ef565b602082019050919050565b6000602082019050818103600083015261525481615218565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615291601983614147565b915061529c8261525b565b602082019050919050565b600060208201905081810360008301526152c081615284565b9050919050565b7f4d61796265206c61746572000000000000000000000000000000000000000000600082015250565b60006152fd600b83614147565b9150615308826152c7565b602082019050919050565b6000602082019050818103600083015261532c816152f0565b9050919050565b7f552063616e74206d696e74207a65726f20626f7270732062726f000000000000600082015250565b6000615369601a83614147565b915061537482615333565b602082019050919050565b600060208201905081810360008301526153988161535c565b9050919050565b7f546861742773206e6f7420656e6f7567682c20737279203b2800000000000000600082015250565b60006153d5601983614147565b91506153e08261539f565b602082019050919050565b60006020820190508181036000830152615404816153c8565b9050919050565b7f596f75206d75737420636c61696d2074686520657861637420616d6f756e742060008201527f796f75207765726520616c6c6f747465642e0000000000000000000000000000602082015250565b6000615467603283614147565b91506154728261540b565b604082019050919050565b600060208201905081810360008301526154968161545a565b9050919050565b7f5361766520736f6d6520666f722065766572796f6e6520656c73652100000000600082015250565b60006154d3601c83614147565b91506154de8261549d565b602082019050919050565b60006020820190508181036000830152615502816154c6565b9050919050565b7f537279204920646f6e74206861766520656e6f756768206c65667420666f722060008201527f74686174203b2800000000000000000000000000000000000000000000000000602082015250565b6000615565602783614147565b915061557082615509565b604082019050919050565b6000602082019050818103600083015261559481615558565b9050919050565b7f596f752063616e277420636c61696d206d6f7265207468616e20796f7572206160008201527f6c6c6f746d656e74000000000000000000000000000000000000000000000000602082015250565b60006155f7602883614147565b91506156028261559b565b604082019050919050565b60006020820190508181036000830152615626816155ea565b9050919050565b7f596f75277265206e6f7420686f6c64696e6720656e6f75676820626f7270616360008201527f6173736f7320746f20636c61696d2074686174206d616e790000000000000000602082015250565b6000615689603883614147565b91506156948261562d565b604082019050919050565b600060208201905081810360008301526156b88161567c565b9050919050565b7f596f7520646f6e2774206861766520616e79206d6f726520426f72706973207460008201527f6f20636c61696d00000000000000000000000000000000000000000000000000602082015250565b600061571b602783614147565b9150615726826156bf565b604082019050919050565b6000602082019050818103600083015261574a8161570e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006157ad602683614147565b91506157b882615751565b604082019050919050565b600060208201905081810360008301526157dc816157a0565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061583f602c83614147565b915061584a826157e3565b604082019050919050565b6000602082019050818103600083015261586e81615832565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006158d1602983614147565b91506158dc82615875565b604082019050919050565b60006020820190508181036000830152615900816158c4565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615963602483614147565b915061596e82615907565b604082019050919050565b6000602082019050818103600083015261599281615956565b9050919050565b60006159a4826141f7565b91506159af836141f7565b9250828210156159c2576159c1614cd4565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615a07826141f7565b9150615a12836141f7565b925082615a2257615a216159cd565b5b828204905092915050565b6000615a38826141f7565b9150615a43836141f7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615a7c57615a7b614cd4565b5b828202905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615ae3603283614147565b9150615aee82615a87565b604082019050919050565b60006020820190508181036000830152615b1281615ad6565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000615b75603183614147565b9150615b8082615b19565b604082019050919050565b60006020820190508181036000830152615ba481615b68565b9050919050565b600081905092915050565b6000615bc18261413c565b615bcb8185615bab565b9350615bdb818560208601614158565b80840191505092915050565b6000615bf38285615bb6565b9150615bff8284615bb6565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000615c3282615c0b565b615c3c8185615c16565b9350615c4c818560208601614158565b615c558161418b565b840191505092915050565b6000608082019050615c75600083018761428c565b615c82602083018661428c565b615c8f604083018561434f565b8181036060830152615ca18184615c27565b905095945050505050565b600081519050615cbb816140ad565b92915050565b600060208284031215615cd757615cd6614077565b5b6000615ce584828501615cac565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615d4a602f83614147565b9150615d5582615cee565b604082019050919050565b60006020820190508181036000830152615d7981615d3d565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615db6602083614147565b9150615dc182615d80565b602082019050919050565b60006020820190508181036000830152615de581615da9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615e22601c83614147565b9150615e2d82615dec565b602082019050919050565b60006020820190508181036000830152615e5181615e15565b9050919050565b6000615e63826141f7565b9150615e6e836141f7565b925082615e7e57615e7d6159cd565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220c9a72e3ca32c61a9fd16556d7632148fd10e9553c886098d6b65cf4c591c4b8964736f6c63430008090033

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.