ETH Price: $3,412.64 (+1.64%)

EveraiDuo (EveraiDuo)
 

Overview

TokenID

4896

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Everai is a brand of Heroes. As the first hero of the Everai Universe, Duo has over 10,000 unique skins drawn from the different missions and challenges he faced throughout his life.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
EveraiDuo

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : EveraiDuo.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

import "erc721a/contracts/ERC721A.sol";

contract EveraiDuo is Ownable, ERC721A, ReentrancyGuard {
    using SafeMath for uint256;

    string private _baseTokenURI;

    string public provenance = "";
    uint256 public immutable maxPerAddressDuringMint;
    uint256 public immutable amountForDevs;
    uint256 public immutable amountForAuctionAndDev;
    uint256 public immutable collectionSize;
    mapping(address => uint256) public allowlistMinted;
    uint256 public startingIndexBlock;
    uint256 public startingIndex;
    uint256 public constant AUCTION_START_PRICE = 0.3 ether;
    uint256 public constant AUCTION_END_PRICE = 0.1 ether;
    uint256 public constant AUCTION_PRICE_CURVE_LENGTH = 80 minutes;
    uint256 public constant AUCTION_DROP_INTERVAL = 20 minutes;
    uint256 public constant AUCTION_DROP_PER_STEP =
        (AUCTION_START_PRICE - AUCTION_END_PRICE) /
            (AUCTION_PRICE_CURVE_LENGTH / (AUCTION_DROP_INTERVAL));

    struct SaleConfig {
        bool isEnabled;
        uint32 auctionSaleStartTime;
        uint32 allowlistMintStartTime;
        uint32 publicSaleStartTime;
        uint64 allowlistPrice;
        uint64 publicPrice;
        bytes32 merkleRoot;
    }

    SaleConfig public saleConfig;

    constructor(
        uint256 maxBatchSize_,
        uint256 collectionSize_,
        uint256 amountForAuctionAndDev_,
        uint256 amountForDevs_
    ) ERC721A("EveraiDuo", "EveraiDuo") {
        maxPerAddressDuringMint = maxBatchSize_;
        amountForAuctionAndDev = amountForAuctionAndDev_;
        amountForDevs = amountForDevs_;
        collectionSize = collectionSize_;
        saleConfig.isEnabled = true;
        require(
            amountForAuctionAndDev_ <= collectionSize_,
            "larger collection size needed"
        );
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "the caller is another contract");
        _;
    }

    function allowlistMint(
        bytes32[] calldata proof,
        uint256 quantity,
        uint256 allowance
    ) external payable callerIsUser {
        uint256 _saleStartTime = uint256(saleConfig.allowlistMintStartTime);
        require(saleConfig.isEnabled == true, "Sale is disabled");
        require(
            _saleStartTime != 0 && block.timestamp >= _saleStartTime,
            "allowlist mint has not started yet"
        );

        require(
            allowlistMinted[msg.sender].add(quantity) <= allowance,
            "reached max allowance"
        );
        require(
            totalSupply().add(quantity) <= collectionSize,
            "reached max supply"
        );
        uint256 price = uint256(saleConfig.allowlistPrice);
        require(price != 0, "allowlist sale has not begun yet");

        uint256 totalPrice = price.mul(quantity);
        require(msg.value >= totalPrice, "need to send more eth");
        require(
            _verify(_leaf(msg.sender, allowance), proof),
            "invalid merkle proof"
        );

        allowlistMinted[msg.sender] = allowlistMinted[msg.sender] + quantity;
        _safeMint(msg.sender, quantity);
    }

    function auctionMint(uint256 quantity)
        external
        payable
        callerIsUser
        nonReentrant
    {
        require(saleConfig.isEnabled == true, "Sale is disabled");
        uint256 _saleStartTime = uint256(saleConfig.auctionSaleStartTime);
        require(
            _saleStartTime != 0 && block.timestamp >= _saleStartTime,
            "sale has not started yet"
        );
        require(
            totalSupply().add(quantity) <= amountForAuctionAndDev,
            "not enough remaining reserved for auction to support desired mint amount"
        );
        require(
            numberMinted(msg.sender).add(quantity) <= maxPerAddressDuringMint,
            "can not mint this many"
        );
        uint256 totalCost = getAuctionPrice(_saleStartTime).mul(quantity);
        require(msg.value >= totalCost, "need to send more eth");
        _safeMint(msg.sender, quantity);
        if (msg.value > totalCost) {
            payable(msg.sender).transfer(msg.value.sub(totalCost));
        }

        if (startingIndexBlock == 0 && totalSupply() == collectionSize) {
            startingIndexBlock = block.number;
        }
    }

    function setSaleEnabled(bool isEnabled) external onlyOwner {
        saleConfig.isEnabled = isEnabled;
    }

    function setAuctionSaleStartTime(uint32 timestamp) external onlyOwner {
        saleConfig.auctionSaleStartTime = timestamp;
    }

    function endAuctionAndSetupNonAuctionSaleInfo(
        uint64 allowlistPriceWei,
        uint64 publicPriceWei,
        uint32 publicSaleStartTime,
        uint32 allowlistMintStartTime,
        bytes32 merkleRoot
    ) external onlyOwner {
        saleConfig = SaleConfig(
            true,
            0,
            allowlistMintStartTime,
            publicSaleStartTime,
            allowlistPriceWei,
            publicPriceWei,
            merkleRoot
        );
    }

    function devMint(uint256 quantity) external onlyOwner {
        require(
            totalSupply().add(quantity) <= amountForDevs,
            "too many already minted before dev mint"
        );
        require(
            quantity % maxPerAddressDuringMint == 0,
            "can only mint a multiple of the maxPerAddressDuringMint"
        );
        uint256 numChunks = quantity / maxPerAddressDuringMint;
        for (uint256 i = 0; i < numChunks; i++) {
            _safeMint(msg.sender, maxPerAddressDuringMint);
        }
    }

    function publicSaleMint(uint256 quantity) external payable callerIsUser {
        SaleConfig memory config = saleConfig;
        require(saleConfig.isEnabled == true, "Sale is disabled");

        uint256 publicPrice = uint256(config.publicPrice);
        uint256 publicSaleStartTime = uint256(config.publicSaleStartTime);

        uint256 totalPrice = publicPrice.mul(quantity);
        require(msg.value >= totalPrice, "need to send more eth");

        require(
            publicPrice != 0 && block.timestamp >= publicSaleStartTime,
            "public sale has not begun yet"
        );
        require(
            totalSupply().add(quantity) <= collectionSize,
            "reached max supply"
        );
        require(
            numberMinted(msg.sender).add(quantity) <= maxPerAddressDuringMint,
            "can not mint this many"
        );
        _safeMint(msg.sender, quantity);

        if (startingIndexBlock == 0 && totalSupply() == collectionSize) {
            startingIndexBlock = block.number;
        }
    }

    function getAuctionPrice(uint256 _saleStartTime)
        public
        view
        returns (uint256)
    {
        if (block.timestamp < _saleStartTime) {
            return AUCTION_START_PRICE;
        }
        if (block.timestamp - _saleStartTime >= AUCTION_PRICE_CURVE_LENGTH) {
            return AUCTION_END_PRICE;
        } else {
            uint256 steps = (block.timestamp - _saleStartTime) /
                AUCTION_DROP_INTERVAL;
            return AUCTION_START_PRICE - (steps * AUCTION_DROP_PER_STEP);
        }
    }

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

    function _verify(bytes32 leaf, bytes32[] memory proof)
        internal
        view
        returns (bool)
    {
        return MerkleProof.verify(proof, saleConfig.merkleRoot, leaf);
    }

    function _leaf(address account, uint256 amount)
        internal
        pure
        returns (bytes32)
    {
        return keccak256(abi.encodePacked(account, amount));
    }

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function setProvenanceHash(string memory provenanceHash)
        external
        onlyOwner
    {
        provenance = provenanceHash;
    }

    function withdrawMoney() external onlyOwner nonReentrant {
        address vault = payable(0xC5BEBD56E6c1Fd825C2c4C50Ce08E80c91a3Bc5d);
        (bool success, ) = vault.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function setStartingIndex() public {
        require(startingIndex == 0, "starting index is already set");
        require(startingIndexBlock != 0, "starting index block must be set");

        startingIndex = uint256(blockhash(startingIndexBlock)) % collectionSize;
        // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes)

        if (block.number.sub(startingIndexBlock) > 255) {
            startingIndex =
                uint256(blockhash(block.number - 1)) %
                collectionSize;
        }
        // Prevent default sequence
        if (startingIndex == 0) {
            startingIndex = startingIndex.add(1);
        }
    }

    /**
     * Set the starting index block for the collection, essentially unblocking
     * setting starting index
     */
    function emergencySetStartingIndexBlock() public onlyOwner {
        require(startingIndex == 0, "starting index is already set");
        startingIndexBlock = block.number;
    }
}

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 4 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 6 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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 7 of 14 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 8 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 11 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxBatchSize_","type":"uint256"},{"internalType":"uint256","name":"collectionSize_","type":"uint256"},{"internalType":"uint256","name":"amountForAuctionAndDev_","type":"uint256"},{"internalType":"uint256","name":"amountForDevs_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"AUCTION_DROP_INTERVAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AUCTION_DROP_PER_STEP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AUCTION_END_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AUCTION_PRICE_CURVE_LENGTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AUCTION_START_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountForAuctionAndDev","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountForDevs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"auctionMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencySetStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"allowlistPriceWei","type":"uint64"},{"internalType":"uint64","name":"publicPriceWei","type":"uint64"},{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint32","name":"allowlistMintStartTime","type":"uint32"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"endAuctionAndSetupNonAuctionSaleInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleStartTime","type":"uint256"}],"name":"getAuctionPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerAddressDuringMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"bool","name":"isEnabled","type":"bool"},{"internalType":"uint32","name":"auctionSaleStartTime","type":"uint32"},{"internalType":"uint32","name":"allowlistMintStartTime","type":"uint32"},{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint64","name":"allowlistPrice","type":"uint64"},{"internalType":"uint64","name":"publicPrice","type":"uint64"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"timestamp","type":"uint32"}],"name":"setAuctionSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isEnabled","type":"bool"}],"name":"setSaleEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61010060405260405180602001604052806000815250600b90805190602001906200002c9291906200029d565b503480156200003a57600080fd5b5060405162005de338038062005de3833981810160405281019062000060919062000364565b6040518060400160405280600981526020017f45766572616944756f00000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f45766572616944756f0000000000000000000000000000000000000000000000815250620000ec620000e0620001cc60201b60201c565b620001d460201b60201c565b8160039080519060200190620001049291906200029d565b5080600490805190602001906200011d9291906200029d565b506200012e6200029860201b60201c565b6001819055505050600160098190555083608081815250508160c081815250508060a081815250508260e081815250506001600f60000160006101000a81548160ff02191690831515021790555082821115620001c2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001b990620003f7565b60405180910390fd5b50505050620004dc565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b828054620002ab9062000434565b90600052602060002090601f016020900481019282620002cf57600085556200031b565b82601f10620002ea57805160ff19168380011785556200031b565b828001600101855582156200031b579182015b828111156200031a578251825591602001919060010190620002fd565b5b5090506200032a91906200032e565b5090565b5b80821115620003495760008160009055506001016200032f565b5090565b6000815190506200035e81620004c2565b92915050565b600080600080608085870312156200037b57600080fd5b60006200038b878288016200034d565b94505060206200039e878288016200034d565b9350506040620003b1878288016200034d565b9250506060620003c4878288016200034d565b91505092959194509250565b6000620003df601d8362000419565b9150620003ec8262000499565b602082019050919050565b600060208201905081810360008301526200041281620003d0565b9050919050565b600082825260208201905092915050565b6000819050919050565b600060028204905060018216806200044d57607f821691505b602082108114156200046457620004636200046a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f6c617267657220636f6c6c656374696f6e2073697a65206e6565646564000000600082015250565b620004cd816200042a565b8114620004d957600080fd5b50565b60805160a05160c05160e05161587262000571600039600081816110050152818161172301528181611aa00152818161269f015281816127af01528181612a6a0152612abf0152600081816118cc0152611b770152600081816113ba0152612c2a015260008181611438015281816114a6015281816114e30152818161194801528181611ec1015261271b01526158726000f3fe6080604052600436106102725760003560e01c8063715018a61161014f578063b88d4fde116100c1578063e81ed0441161007a578063e81ed04414610909578063e985e9c514610946578063e986655014610983578063f2fde38b1461099a578063f8a987d8146109c3578063fbe1aa51146109ee57610272565b8063b88d4fde146107e5578063c87b56dd1461080e578063caf8a6d11461084b578063cb774d4714610876578063dc33e681146108a1578063e36d6498146108de57610272565b806390aa0b0f1161011357806390aa0b0f146106f0578063917d009e1461072157806395d89b411461075e578063a22cb46514610789578063ac446002146107b2578063b3ab66b0146107c957610272565b8063715018a6146106415780637a1c4a56146106585780637d17fcbe146106835780638bc35c2f1461069a5780638da5cb5b146106c557610272565b80633be32076116101e85780635666c880116101ac5780635666c8801461051d57806359f369fe146105485780635cae01d3146105735780636352211e1461059e5780636ebc5601146105db57806370a082311461060457610272565b80633be320761461045b57806342842e0e1461048457806345c0f533146104ad5780634d3554c3146104d857806355f804b3146104f457610272565b8063109695231161023a578063109695231461037057806315d8f2d71461039957806318160ddd146103b557806323b872dd146103e05780633020a18e14610409578063375a069a1461043257610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630f7309e814610345575b600080fd5b34801561028357600080fd5b5061029e6004803603810190610299919061450f565b610a19565b6040516102ab9190614b86565b60405180910390f35b3480156102c057600080fd5b506102c9610afb565b6040516102d69190614c10565b60405180910390f35b3480156102eb57600080fd5b50610306600480360381019061030191906145e7565b610b8d565b6040516103139190614b1f565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e919061443e565b610c09565b005b34801561035157600080fd5b5061035a610d14565b6040516103679190614c10565b60405180910390f35b34801561037c57600080fd5b50610397600480360381019061039291906145a6565b610da2565b005b6103b360048036038101906103ae919061447a565b610e38565b005b3480156103c157600080fd5b506103ca611279565b6040516103d79190614eb2565b60405180910390f35b3480156103ec57600080fd5b5061040760048036038101906104029190614338565b611290565b005b34801561041557600080fd5b50610430600480360381019061042b91906144e6565b6112a0565b005b34801561043e57600080fd5b50610459600480360381019061045491906145e7565b61133c565b005b34801561046757600080fd5b50610482600480360381019061047d9190614639565b61151f565b005b34801561049057600080fd5b506104ab60048036038101906104a69190614338565b611701565b005b3480156104b957600080fd5b506104c2611721565b6040516104cf9190614eb2565b60405180910390f35b6104f260048036038101906104ed91906145e7565b611745565b005b34801561050057600080fd5b5061051b60048036038101906105169190614561565b611ae3565b005b34801561052957600080fd5b50610532611b75565b60405161053f9190614eb2565b60405180910390f35b34801561055457600080fd5b5061055d611b99565b60405161056a9190614eb2565b60405180910390f35b34801561057f57600080fd5b50610588611bd2565b6040516105959190614eb2565b60405180910390f35b3480156105aa57600080fd5b506105c560048036038101906105c091906145e7565b611bd8565b6040516105d29190614b1f565b60405180910390f35b3480156105e757600080fd5b5061060260048036038101906105fd9190614610565b611bee565b005b34801561061057600080fd5b5061062b600480360381019061062691906142d3565b611c91565b6040516106389190614eb2565b60405180910390f35b34801561064d57600080fd5b50610656611d61565b005b34801561066457600080fd5b5061066d611de9565b60405161067a9190614eb2565b60405180910390f35b34801561068f57600080fd5b50610698611df5565b005b3480156106a657600080fd5b506106af611ebf565b6040516106bc9190614eb2565b60405180910390f35b3480156106d157600080fd5b506106da611ee3565b6040516106e79190614b1f565b60405180910390f35b3480156106fc57600080fd5b50610705611f0c565b6040516107189796959493929190614ba1565b60405180910390f35b34801561072d57600080fd5b50610748600480360381019061074391906145e7565b611fa1565b6040516107559190614eb2565b60405180910390f35b34801561076a57600080fd5b50610773612059565b6040516107809190614c10565b60405180910390f35b34801561079557600080fd5b506107b060048036038101906107ab9190614402565b6120eb565b005b3480156107be57600080fd5b506107c7612263565b005b6107e360048036038101906107de91906145e7565b6123fe565b005b3480156107f157600080fd5b5061080c60048036038101906108079190614387565b6127ec565b005b34801561081a57600080fd5b50610835600480360381019061083091906145e7565b612868565b6040516108429190614c10565b60405180910390f35b34801561085757600080fd5b50610860612907565b60405161086d9190614eb2565b60405180910390f35b34801561088257600080fd5b5061088b612913565b6040516108989190614eb2565b60405180910390f35b3480156108ad57600080fd5b506108c860048036038101906108c391906142d3565b612919565b6040516108d59190614eb2565b60405180910390f35b3480156108ea57600080fd5b506108f361292b565b6040516109009190614eb2565b60405180910390f35b34801561091557600080fd5b50610930600480360381019061092b91906142d3565b612931565b60405161093d9190614eb2565b60405180910390f35b34801561095257600080fd5b5061096d600480360381019061096891906142fc565b612949565b60405161097a9190614b86565b60405180910390f35b34801561098f57600080fd5b506109986129dd565b005b3480156109a657600080fd5b506109c160048036038101906109bc91906142d3565b612b2a565b005b3480156109cf57600080fd5b506109d8612c22565b6040516109e59190614eb2565b60405180910390f35b3480156109fa57600080fd5b50610a03612c28565b604051610a109190614eb2565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af45750610af382612c4c565b5b9050919050565b606060038054610b0a9061519b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b369061519b565b8015610b835780601f10610b5857610100808354040283529160200191610b83565b820191906000526020600020905b815481529060010190602001808311610b6657829003601f168201915b5050505050905090565b6000610b9882612cb6565b610bce576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1482611bd8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c7c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c9b612d04565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ccd5750610ccb81610cc6612d04565b612949565b155b15610d04576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d0f838383612d0c565b505050565b600b8054610d219061519b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4d9061519b565b8015610d9a5780601f10610d6f57610100808354040283529160200191610d9a565b820191906000526020600020905b815481529060010190602001808311610d7d57829003601f168201915b505050505081565b610daa612d04565b73ffffffffffffffffffffffffffffffffffffffff16610dc8611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1590614d72565b60405180910390fd5b80600b9080519060200190610e34929190613f5b565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90614e32565b60405180910390fd5b6000600f60000160059054906101000a900463ffffffff1663ffffffff16905060011515600f60000160009054906101000a900460ff16151514610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1690614cd2565b60405180910390fd5b60008114158015610f305750804210155b610f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6690614c92565b60405180910390fd5b81610fc284600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612dbe90919063ffffffff16565b1115611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa90614d32565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000061103e84611030611279565b612dbe90919063ffffffff16565b111561107f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107690614d52565b60405180910390fd5b6000600f600001600d9054906101000a900467ffffffffffffffff1667ffffffffffffffff16905060008114156110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e290614d92565b60405180910390fd5b60006111008583612dd490919063ffffffff16565b905080341015611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c90614db2565b60405180910390fd5b6111996111523386612dea565b888880806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612e1d565b6111d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cf90614c72565b60405180910390fd5b84600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112239190614fa2565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112703386612e37565b50505050505050565b6000611283612e55565b6002546001540303905090565b61129b838383612e5a565b505050565b6112a8612d04565b73ffffffffffffffffffffffffffffffffffffffff166112c6611ee3565b73ffffffffffffffffffffffffffffffffffffffff161461131c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131390614d72565b60405180910390fd5b80600f60000160006101000a81548160ff02191690831515021790555050565b611344612d04565b73ffffffffffffffffffffffffffffffffffffffff16611362611ee3565b73ffffffffffffffffffffffffffffffffffffffff16146113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90614d72565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006113f3826113e5611279565b612dbe90919063ffffffff16565b1115611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90614e52565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000826114629190615275565b146114a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149990614cf2565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000826114d09190614ff8565b905060005b8181101561151a57611507337f0000000000000000000000000000000000000000000000000000000000000000612e37565b8080611512906151fe565b9150506114d5565b505050565b611527612d04565b73ffffffffffffffffffffffffffffffffffffffff16611545611ee3565b73ffffffffffffffffffffffffffffffffffffffff161461159b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159290614d72565b60405180910390fd5b6040518060e00160405280600115158152602001600063ffffffff1681526020018363ffffffff1681526020018463ffffffff1681526020018667ffffffffffffffff1681526020018567ffffffffffffffff16815260200182815250600f60008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160056101000a81548163ffffffff021916908363ffffffff16021790555060608201518160000160096101000a81548163ffffffff021916908363ffffffff160217905550608082015181600001600d6101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a08201518160000160156101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060c082015181600101559050505050505050565b61171c838383604051806020016040528060008152506127ec565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146117b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117aa90614e32565b60405180910390fd5b600260095414156117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f090614e92565b60405180910390fd5b600260098190555060011515600f60000160009054906101000a900460ff1615151461185a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185190614cd2565b60405180910390fd5b6000600f60000160019054906101000a900463ffffffff1663ffffffff1690506000811415801561188b5750804210155b6118ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c190614cb2565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000611905836118f7611279565b612dbe90919063ffffffff16565b1115611946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193d90614e72565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006119828361197433612919565b612dbe90919063ffffffff16565b11156119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba90614e12565b60405180910390fd5b60006119e0836119d284611fa1565b612dd490919063ffffffff16565b905080341015611a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1c90614db2565b60405180910390fd5b611a2f3384612e37565b80341115611a91573373ffffffffffffffffffffffffffffffffffffffff166108fc611a64833461331090919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611a8f573d6000803e3d6000fd5b505b6000600d54148015611ac957507f0000000000000000000000000000000000000000000000000000000000000000611ac7611279565b145b15611ad65743600d819055505b5050600160098190555050565b611aeb612d04565b73ffffffffffffffffffffffffffffffffffffffff16611b09611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614611b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5690614d72565b60405180910390fd5b8181600a9190611b70929190613fe1565b505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6104b06112c0611ba99190614ff8565b67016345785d8a0000670429d069189e0000611bc59190615083565b611bcf9190614ff8565b81565b6104b081565b6000611be382613326565b600001519050919050565b611bf6612d04565b73ffffffffffffffffffffffffffffffffffffffff16611c14611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614611c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6190614d72565b60405180910390fd5b80600f60000160016101000a81548163ffffffff021916908363ffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cf9576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611d69612d04565b73ffffffffffffffffffffffffffffffffffffffff16611d87611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd490614d72565b60405180910390fd5b611de760006135b5565b565b670429d069189e000081565b611dfd612d04565b73ffffffffffffffffffffffffffffffffffffffff16611e1b611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614611e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6890614d72565b60405180910390fd5b6000600e5414611eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ead90614c32565b60405180910390fd5b43600d81905550565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f8060000160009054906101000a900460ff16908060000160019054906101000a900463ffffffff16908060000160059054906101000a900463ffffffff16908060000160099054906101000a900463ffffffff169080600001600d9054906101000a900467ffffffffffffffff16908060000160159054906101000a900467ffffffffffffffff16908060010154905087565b600081421015611fbb57670429d069189e00009050612054565b6112c08242611fca9190615083565b10611fdf5767016345785d8a00009050612054565b60006104b08342611ff09190615083565b611ffa9190614ff8565b90506104b06112c061200c9190614ff8565b67016345785d8a0000670429d069189e00006120289190615083565b6120329190614ff8565b8161203d9190615029565b670429d069189e00006120509190615083565b9150505b919050565b6060600480546120689061519b565b80601f01602080910402602001604051908101604052809291908181526020018280546120949061519b565b80156120e15780601f106120b6576101008083540402835291602001916120e1565b820191906000526020600020905b8154815290600101906020018083116120c457829003601f168201915b5050505050905090565b6120f3612d04565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612158576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060086000612165612d04565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612212612d04565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122579190614b86565b60405180910390a35050565b61226b612d04565b73ffffffffffffffffffffffffffffffffffffffff16612289611ee3565b73ffffffffffffffffffffffffffffffffffffffff16146122df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d690614d72565b60405180910390fd5b60026009541415612325576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231c90614e92565b60405180910390fd5b6002600981905550600073c5bebd56e6c1fd825c2c4c50ce08e80c91a3bc5d905060008173ffffffffffffffffffffffffffffffffffffffff164760405161236c90614b0a565b60006040518083038185875af1925050503d80600081146123a9576040519150601f19603f3d011682016040523d82523d6000602084013e6123ae565b606091505b50509050806123f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e990614df2565b60405180910390fd5b50506001600981905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461246c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246390614e32565b60405180910390fd5b6000600f6040518060e00160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160059054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160099054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201600d9054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160159054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff168152602001600182015481525050905060011515600f60000160009054906101000a900460ff161515146125d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c890614cd2565b60405180910390fd5b60008160a0015167ffffffffffffffff1690506000826060015163ffffffff16905060006126088584612dd490919063ffffffff16565b90508034101561264d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264490614db2565b60405180910390fd5b6000831415801561265e5750814210155b61269d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269490614dd2565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006126d8866126ca611279565b612dbe90919063ffffffff16565b1115612719576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271090614d52565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006127558661274733612919565b612dbe90919063ffffffff16565b1115612796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278d90614e12565b60405180910390fd5b6127a03386612e37565b6000600d541480156127d857507f00000000000000000000000000000000000000000000000000000000000000006127d6611279565b145b156127e55743600d819055505b5050505050565b6127f7848484612e5a565b6128168373ffffffffffffffffffffffffffffffffffffffff16613679565b801561282b57506128298484848461369c565b155b15612862576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061287382612cb6565b6128a9576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128b36137fc565b90506000815114156128d457604051806020016040528060008152506128ff565b806128de8461388e565b6040516020016128ef929190614ae6565b6040516020818303038152906040525b915050919050565b67016345785d8a000081565b600e5481565b600061292482613a3b565b9050919050565b600d5481565b600c6020528060005260406000206000915090505481565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600e5414612a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1990614c32565b60405180910390fd5b6000600d541415612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f90614d12565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000600d544060001c612a9a9190615275565b600e8190555060ff612ab7600d544361331090919063ffffffff16565b1115612b00577f0000000000000000000000000000000000000000000000000000000000000000600143612aeb9190615083565b4060001c612af99190615275565b600e819055505b6000600e541415612b2857612b216001600e54612dbe90919063ffffffff16565b600e819055505b565b612b32612d04565b73ffffffffffffffffffffffffffffffffffffffff16612b50611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614612ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9d90614d72565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0d90614c52565b60405180910390fd5b612c1f816135b5565b50565b6112c081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612cc1612e55565b11158015612cd0575060015482105b8015612cfd575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60008183612dcc9190614fa2565b905092915050565b60008183612de29190615029565b905092915050565b60008282604051602001612dff929190614aba565b60405160208183030381529060405280519060200120905092915050565b6000612e2f82600f6001015485613aa5565b905092915050565b612e51828260405180602001604052806000815250613abc565b5050565b600090565b6000612e6582613326565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ed0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612ef1612d04565b73ffffffffffffffffffffffffffffffffffffffff161480612f205750612f1f85612f1a612d04565b612949565b5b80612f655750612f2e612d04565b73ffffffffffffffffffffffffffffffffffffffff16612f4d84610b8d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612f9e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613005576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130128585856001613ace565b61301e60008487612d0c565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600560008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600560008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561329e57600154821461329d57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133098585856001613ad4565b5050505050565b6000818361331e9190615083565b905092915050565b61332e614067565b60008290508061333c612e55565b1115801561334b575060015481105b1561357e576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161357c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134605780925050506135b0565b5b60011561357b57818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146135765780925050506135b0565b613461565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026136c2612d04565b8786866040518563ffffffff1660e01b81526004016136e49493929190614b3a565b602060405180830381600087803b1580156136fe57600080fd5b505af192505050801561372f57506040513d601f19601f8201168201806040525081019061372c9190614538565b60015b6137a9573d806000811461375f576040519150601f19603f3d011682016040523d82523d6000602084013e613764565b606091505b506000815114156137a1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461380b9061519b565b80601f01602080910402602001604051908101604052809291908181526020018280546138379061519b565b80156138845780601f1061385957610100808354040283529160200191613884565b820191906000526020600020905b81548152906001019060200180831161386757829003601f168201915b5050505050905090565b606060008214156138d6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a36565b600082905060005b600082146139085780806138f1906151fe565b915050600a826139019190614ff8565b91506138de565b60008167ffffffffffffffff81111561394a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561397c5781602001600182028036833780820191505090505b5090505b60008514613a2f576001826139959190615083565b9150600a856139a49190615275565b60306139b09190614fa2565b60f81b8183815181106139ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a289190614ff8565b9450613980565b8093505050505b919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600082613ab28584613ada565b1490509392505050565b613ac98383836001613b75565b505050565b50505050565b50505050565b60008082905060005b8451811015613b6a576000858281518110613b27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311613b4957613b428382613f44565b9250613b56565b613b538184613f44565b92505b508080613b62906151fe565b915050613ae3565b508091505092915050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613be3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613c1e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c2b6000868387613ace565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613df55750613df48773ffffffffffffffffffffffffffffffffffffffff16613679565b5b15613ebb575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e6a600088848060010195508861369c565b613ea0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613dfb578260015414613eb657600080fd5b613f27565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613ebc575b816001819055505050613f3d6000868387613ad4565b5050505050565b600082600052816020526040600020905092915050565b828054613f679061519b565b90600052602060002090601f016020900481019282613f895760008555613fd0565b82601f10613fa257805160ff1916838001178555613fd0565b82800160010185558215613fd0579182015b82811115613fcf578251825591602001919060010190613fb4565b5b509050613fdd91906140aa565b5090565b828054613fed9061519b565b90600052602060002090601f01602090048101928261400f5760008555614056565b82601f1061402857803560ff1916838001178555614056565b82800160010185558215614056579182015b8281111561405557823582559160200191906001019061403a565b5b50905061406391906140aa565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156140c35760008160009055506001016140ab565b5090565b60006140da6140d584614ef2565b614ecd565b9050828152602081018484840111156140f257600080fd5b6140fd848285615159565b509392505050565b600061411861411384614f23565b614ecd565b90508281526020810184848401111561413057600080fd5b61413b848285615159565b509392505050565b6000813590506141528161579b565b92915050565b60008083601f84011261416a57600080fd5b8235905067ffffffffffffffff81111561418357600080fd5b60208301915083602082028301111561419b57600080fd5b9250929050565b6000813590506141b1816157b2565b92915050565b6000813590506141c6816157c9565b92915050565b6000813590506141db816157e0565b92915050565b6000815190506141f0816157e0565b92915050565b600082601f83011261420757600080fd5b81356142178482602086016140c7565b91505092915050565b60008083601f84011261423257600080fd5b8235905067ffffffffffffffff81111561424b57600080fd5b60208301915083600182028301111561426357600080fd5b9250929050565b600082601f83011261427b57600080fd5b813561428b848260208601614105565b91505092915050565b6000813590506142a3816157f7565b92915050565b6000813590506142b88161580e565b92915050565b6000813590506142cd81615825565b92915050565b6000602082840312156142e557600080fd5b60006142f384828501614143565b91505092915050565b6000806040838503121561430f57600080fd5b600061431d85828601614143565b925050602061432e85828601614143565b9150509250929050565b60008060006060848603121561434d57600080fd5b600061435b86828701614143565b935050602061436c86828701614143565b925050604061437d86828701614294565b9150509250925092565b6000806000806080858703121561439d57600080fd5b60006143ab87828801614143565b94505060206143bc87828801614143565b93505060406143cd87828801614294565b925050606085013567ffffffffffffffff8111156143ea57600080fd5b6143f6878288016141f6565b91505092959194509250565b6000806040838503121561441557600080fd5b600061442385828601614143565b9250506020614434858286016141a2565b9150509250929050565b6000806040838503121561445157600080fd5b600061445f85828601614143565b925050602061447085828601614294565b9150509250929050565b6000806000806060858703121561449057600080fd5b600085013567ffffffffffffffff8111156144aa57600080fd5b6144b687828801614158565b945094505060206144c987828801614294565b92505060406144da87828801614294565b91505092959194509250565b6000602082840312156144f857600080fd5b6000614506848285016141a2565b91505092915050565b60006020828403121561452157600080fd5b600061452f848285016141cc565b91505092915050565b60006020828403121561454a57600080fd5b6000614558848285016141e1565b91505092915050565b6000806020838503121561457457600080fd5b600083013567ffffffffffffffff81111561458e57600080fd5b61459a85828601614220565b92509250509250929050565b6000602082840312156145b857600080fd5b600082013567ffffffffffffffff8111156145d257600080fd5b6145de8482850161426a565b91505092915050565b6000602082840312156145f957600080fd5b600061460784828501614294565b91505092915050565b60006020828403121561462257600080fd5b6000614630848285016142a9565b91505092915050565b600080600080600060a0868803121561465157600080fd5b600061465f888289016142be565b9550506020614670888289016142be565b9450506040614681888289016142a9565b9350506060614692888289016142a9565b92505060806146a3888289016141b7565b9150509295509295909350565b6146b9816150b7565b82525050565b6146d06146cb826150b7565b615247565b82525050565b6146df816150c9565b82525050565b6146ee816150d5565b82525050565b60006146ff82614f54565b6147098185614f6a565b9350614719818560208601615168565b61472281615362565b840191505092915050565b600061473882614f5f565b6147428185614f86565b9350614752818560208601615168565b61475b81615362565b840191505092915050565b600061477182614f5f565b61477b8185614f97565b935061478b818560208601615168565b80840191505092915050565b60006147a4601d83614f86565b91506147af82615380565b602082019050919050565b60006147c7602683614f86565b91506147d2826153a9565b604082019050919050565b60006147ea601483614f86565b91506147f5826153f8565b602082019050919050565b600061480d602283614f86565b915061481882615421565b604082019050919050565b6000614830601883614f86565b915061483b82615470565b602082019050919050565b6000614853601083614f86565b915061485e82615499565b602082019050919050565b6000614876603783614f86565b9150614881826154c2565b604082019050919050565b6000614899602083614f86565b91506148a482615511565b602082019050919050565b60006148bc601583614f86565b91506148c78261553a565b602082019050919050565b60006148df601283614f86565b91506148ea82615563565b602082019050919050565b6000614902602083614f86565b915061490d8261558c565b602082019050919050565b6000614925602083614f86565b9150614930826155b5565b602082019050919050565b6000614948601583614f86565b9150614953826155de565b602082019050919050565b600061496b601d83614f86565b915061497682615607565b602082019050919050565b600061498e600083614f7b565b915061499982615630565b600082019050919050565b60006149b1601083614f86565b91506149bc82615633565b602082019050919050565b60006149d4601683614f86565b91506149df8261565c565b602082019050919050565b60006149f7601e83614f86565b9150614a0282615685565b602082019050919050565b6000614a1a602783614f86565b9150614a25826156ae565b604082019050919050565b6000614a3d604883614f86565b9150614a48826156fd565b606082019050919050565b6000614a60601f83614f86565b9150614a6b82615772565b602082019050919050565b614a7f8161512b565b82525050565b614a96614a918261512b565b61526b565b82525050565b614aa581615135565b82525050565b614ab481615145565b82525050565b6000614ac682856146bf565b601482019150614ad68284614a85565b6020820191508190509392505050565b6000614af28285614766565b9150614afe8284614766565b91508190509392505050565b6000614b1582614981565b9150819050919050565b6000602082019050614b3460008301846146b0565b92915050565b6000608082019050614b4f60008301876146b0565b614b5c60208301866146b0565b614b696040830185614a76565b8181036060830152614b7b81846146f4565b905095945050505050565b6000602082019050614b9b60008301846146d6565b92915050565b600060e082019050614bb6600083018a6146d6565b614bc36020830189614a9c565b614bd06040830188614a9c565b614bdd6060830187614a9c565b614bea6080830186614aab565b614bf760a0830185614aab565b614c0460c08301846146e5565b98975050505050505050565b60006020820190508181036000830152614c2a818461472d565b905092915050565b60006020820190508181036000830152614c4b81614797565b9050919050565b60006020820190508181036000830152614c6b816147ba565b9050919050565b60006020820190508181036000830152614c8b816147dd565b9050919050565b60006020820190508181036000830152614cab81614800565b9050919050565b60006020820190508181036000830152614ccb81614823565b9050919050565b60006020820190508181036000830152614ceb81614846565b9050919050565b60006020820190508181036000830152614d0b81614869565b9050919050565b60006020820190508181036000830152614d2b8161488c565b9050919050565b60006020820190508181036000830152614d4b816148af565b9050919050565b60006020820190508181036000830152614d6b816148d2565b9050919050565b60006020820190508181036000830152614d8b816148f5565b9050919050565b60006020820190508181036000830152614dab81614918565b9050919050565b60006020820190508181036000830152614dcb8161493b565b9050919050565b60006020820190508181036000830152614deb8161495e565b9050919050565b60006020820190508181036000830152614e0b816149a4565b9050919050565b60006020820190508181036000830152614e2b816149c7565b9050919050565b60006020820190508181036000830152614e4b816149ea565b9050919050565b60006020820190508181036000830152614e6b81614a0d565b9050919050565b60006020820190508181036000830152614e8b81614a30565b9050919050565b60006020820190508181036000830152614eab81614a53565b9050919050565b6000602082019050614ec76000830184614a76565b92915050565b6000614ed7614ee8565b9050614ee382826151cd565b919050565b6000604051905090565b600067ffffffffffffffff821115614f0d57614f0c615333565b5b614f1682615362565b9050602081019050919050565b600067ffffffffffffffff821115614f3e57614f3d615333565b5b614f4782615362565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fad8261512b565b9150614fb88361512b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fed57614fec6152a6565b5b828201905092915050565b60006150038261512b565b915061500e8361512b565b92508261501e5761501d6152d5565b5b828204905092915050565b60006150348261512b565b915061503f8361512b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615078576150776152a6565b5b828202905092915050565b600061508e8261512b565b91506150998361512b565b9250828210156150ac576150ab6152a6565b5b828203905092915050565b60006150c28261510b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561518657808201518184015260208101905061516b565b83811115615195576000848401525b50505050565b600060028204905060018216806151b357607f821691505b602082108114156151c7576151c6615304565b5b50919050565b6151d682615362565b810181811067ffffffffffffffff821117156151f5576151f4615333565b5b80604052505050565b60006152098261512b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561523c5761523b6152a6565b5b600182019050919050565b600061525282615259565b9050919050565b600061526482615373565b9050919050565b6000819050919050565b60006152808261512b565b915061528b8361512b565b92508261529b5761529a6152d5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f7374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b7f616c6c6f776c697374206d696e7420686173206e6f742073746172746564207960008201527f6574000000000000000000000000000000000000000000000000000000000000602082015250565b7f73616c6520686173206e6f742073746172746564207965740000000000000000600082015250565b7f53616c652069732064697361626c656400000000000000000000000000000000600082015250565b7f63616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060008201527f6d617850657241646472657373447572696e674d696e74000000000000000000602082015250565b7f7374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b7f72656163686564206d617820616c6c6f77616e63650000000000000000000000600082015250565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f616c6c6f776c6973742073616c6520686173206e6f7420626567756e20796574600082015250565b7f6e65656420746f2073656e64206d6f7265206574680000000000000000000000600082015250565b7f7075626c69632073616c6520686173206e6f7420626567756e20796574000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f63616e206e6f74206d696e742074686973206d616e7900000000000000000000600082015250565b7f7468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f746f6f206d616e7920616c7265616479206d696e746564206265666f7265206460008201527f6576206d696e7400000000000000000000000000000000000000000000000000602082015250565b7f6e6f7420656e6f7567682072656d61696e696e6720726573657276656420666f60008201527f722061756374696f6e20746f20737570706f72742064657369726564206d696e60208201527f7420616d6f756e74000000000000000000000000000000000000000000000000604082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6157a4816150b7565b81146157af57600080fd5b50565b6157bb816150c9565b81146157c657600080fd5b50565b6157d2816150d5565b81146157dd57600080fd5b50565b6157e9816150df565b81146157f457600080fd5b50565b6158008161512b565b811461580b57600080fd5b50565b61581781615135565b811461582257600080fd5b50565b61582e81615145565b811461583957600080fd5b5056fea26469706673582212203e4879feecfbe4d0225814e98e4b09042b577808e38a805bae16f264a66c9f9c64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000abe00000000000000000000000000000000000000000000000000000000000000fa

Deployed Bytecode

0x6080604052600436106102725760003560e01c8063715018a61161014f578063b88d4fde116100c1578063e81ed0441161007a578063e81ed04414610909578063e985e9c514610946578063e986655014610983578063f2fde38b1461099a578063f8a987d8146109c3578063fbe1aa51146109ee57610272565b8063b88d4fde146107e5578063c87b56dd1461080e578063caf8a6d11461084b578063cb774d4714610876578063dc33e681146108a1578063e36d6498146108de57610272565b806390aa0b0f1161011357806390aa0b0f146106f0578063917d009e1461072157806395d89b411461075e578063a22cb46514610789578063ac446002146107b2578063b3ab66b0146107c957610272565b8063715018a6146106415780637a1c4a56146106585780637d17fcbe146106835780638bc35c2f1461069a5780638da5cb5b146106c557610272565b80633be32076116101e85780635666c880116101ac5780635666c8801461051d57806359f369fe146105485780635cae01d3146105735780636352211e1461059e5780636ebc5601146105db57806370a082311461060457610272565b80633be320761461045b57806342842e0e1461048457806345c0f533146104ad5780634d3554c3146104d857806355f804b3146104f457610272565b8063109695231161023a578063109695231461037057806315d8f2d71461039957806318160ddd146103b557806323b872dd146103e05780633020a18e14610409578063375a069a1461043257610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630f7309e814610345575b600080fd5b34801561028357600080fd5b5061029e6004803603810190610299919061450f565b610a19565b6040516102ab9190614b86565b60405180910390f35b3480156102c057600080fd5b506102c9610afb565b6040516102d69190614c10565b60405180910390f35b3480156102eb57600080fd5b50610306600480360381019061030191906145e7565b610b8d565b6040516103139190614b1f565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e919061443e565b610c09565b005b34801561035157600080fd5b5061035a610d14565b6040516103679190614c10565b60405180910390f35b34801561037c57600080fd5b50610397600480360381019061039291906145a6565b610da2565b005b6103b360048036038101906103ae919061447a565b610e38565b005b3480156103c157600080fd5b506103ca611279565b6040516103d79190614eb2565b60405180910390f35b3480156103ec57600080fd5b5061040760048036038101906104029190614338565b611290565b005b34801561041557600080fd5b50610430600480360381019061042b91906144e6565b6112a0565b005b34801561043e57600080fd5b50610459600480360381019061045491906145e7565b61133c565b005b34801561046757600080fd5b50610482600480360381019061047d9190614639565b61151f565b005b34801561049057600080fd5b506104ab60048036038101906104a69190614338565b611701565b005b3480156104b957600080fd5b506104c2611721565b6040516104cf9190614eb2565b60405180910390f35b6104f260048036038101906104ed91906145e7565b611745565b005b34801561050057600080fd5b5061051b60048036038101906105169190614561565b611ae3565b005b34801561052957600080fd5b50610532611b75565b60405161053f9190614eb2565b60405180910390f35b34801561055457600080fd5b5061055d611b99565b60405161056a9190614eb2565b60405180910390f35b34801561057f57600080fd5b50610588611bd2565b6040516105959190614eb2565b60405180910390f35b3480156105aa57600080fd5b506105c560048036038101906105c091906145e7565b611bd8565b6040516105d29190614b1f565b60405180910390f35b3480156105e757600080fd5b5061060260048036038101906105fd9190614610565b611bee565b005b34801561061057600080fd5b5061062b600480360381019061062691906142d3565b611c91565b6040516106389190614eb2565b60405180910390f35b34801561064d57600080fd5b50610656611d61565b005b34801561066457600080fd5b5061066d611de9565b60405161067a9190614eb2565b60405180910390f35b34801561068f57600080fd5b50610698611df5565b005b3480156106a657600080fd5b506106af611ebf565b6040516106bc9190614eb2565b60405180910390f35b3480156106d157600080fd5b506106da611ee3565b6040516106e79190614b1f565b60405180910390f35b3480156106fc57600080fd5b50610705611f0c565b6040516107189796959493929190614ba1565b60405180910390f35b34801561072d57600080fd5b50610748600480360381019061074391906145e7565b611fa1565b6040516107559190614eb2565b60405180910390f35b34801561076a57600080fd5b50610773612059565b6040516107809190614c10565b60405180910390f35b34801561079557600080fd5b506107b060048036038101906107ab9190614402565b6120eb565b005b3480156107be57600080fd5b506107c7612263565b005b6107e360048036038101906107de91906145e7565b6123fe565b005b3480156107f157600080fd5b5061080c60048036038101906108079190614387565b6127ec565b005b34801561081a57600080fd5b50610835600480360381019061083091906145e7565b612868565b6040516108429190614c10565b60405180910390f35b34801561085757600080fd5b50610860612907565b60405161086d9190614eb2565b60405180910390f35b34801561088257600080fd5b5061088b612913565b6040516108989190614eb2565b60405180910390f35b3480156108ad57600080fd5b506108c860048036038101906108c391906142d3565b612919565b6040516108d59190614eb2565b60405180910390f35b3480156108ea57600080fd5b506108f361292b565b6040516109009190614eb2565b60405180910390f35b34801561091557600080fd5b50610930600480360381019061092b91906142d3565b612931565b60405161093d9190614eb2565b60405180910390f35b34801561095257600080fd5b5061096d600480360381019061096891906142fc565b612949565b60405161097a9190614b86565b60405180910390f35b34801561098f57600080fd5b506109986129dd565b005b3480156109a657600080fd5b506109c160048036038101906109bc91906142d3565b612b2a565b005b3480156109cf57600080fd5b506109d8612c22565b6040516109e59190614eb2565b60405180910390f35b3480156109fa57600080fd5b50610a03612c28565b604051610a109190614eb2565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af45750610af382612c4c565b5b9050919050565b606060038054610b0a9061519b565b80601f0160208091040260200160405190810160405280929190818152602001828054610b369061519b565b8015610b835780601f10610b5857610100808354040283529160200191610b83565b820191906000526020600020905b815481529060010190602001808311610b6657829003601f168201915b5050505050905090565b6000610b9882612cb6565b610bce576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c1482611bd8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c7c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c9b612d04565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ccd5750610ccb81610cc6612d04565b612949565b155b15610d04576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d0f838383612d0c565b505050565b600b8054610d219061519b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4d9061519b565b8015610d9a5780601f10610d6f57610100808354040283529160200191610d9a565b820191906000526020600020905b815481529060010190602001808311610d7d57829003601f168201915b505050505081565b610daa612d04565b73ffffffffffffffffffffffffffffffffffffffff16610dc8611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1590614d72565b60405180910390fd5b80600b9080519060200190610e34929190613f5b565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9d90614e32565b60405180910390fd5b6000600f60000160059054906101000a900463ffffffff1663ffffffff16905060011515600f60000160009054906101000a900460ff16151514610f1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1690614cd2565b60405180910390fd5b60008114158015610f305750804210155b610f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6690614c92565b60405180910390fd5b81610fc284600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612dbe90919063ffffffff16565b1115611003576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffa90614d32565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000271061103e84611030611279565b612dbe90919063ffffffff16565b111561107f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107690614d52565b60405180910390fd5b6000600f600001600d9054906101000a900467ffffffffffffffff1667ffffffffffffffff16905060008114156110eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e290614d92565b60405180910390fd5b60006111008583612dd490919063ffffffff16565b905080341015611145576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113c90614db2565b60405180910390fd5b6111996111523386612dea565b888880806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612e1d565b6111d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cf90614c72565b60405180910390fd5b84600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112239190614fa2565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112703386612e37565b50505050505050565b6000611283612e55565b6002546001540303905090565b61129b838383612e5a565b505050565b6112a8612d04565b73ffffffffffffffffffffffffffffffffffffffff166112c6611ee3565b73ffffffffffffffffffffffffffffffffffffffff161461131c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131390614d72565b60405180910390fd5b80600f60000160006101000a81548160ff02191690831515021790555050565b611344612d04565b73ffffffffffffffffffffffffffffffffffffffff16611362611ee3565b73ffffffffffffffffffffffffffffffffffffffff16146113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90614d72565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000fa6113f3826113e5611279565b612dbe90919063ffffffff16565b1115611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90614e52565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000005826114629190615275565b146114a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149990614cf2565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000005826114d09190614ff8565b905060005b8181101561151a57611507337f0000000000000000000000000000000000000000000000000000000000000005612e37565b8080611512906151fe565b9150506114d5565b505050565b611527612d04565b73ffffffffffffffffffffffffffffffffffffffff16611545611ee3565b73ffffffffffffffffffffffffffffffffffffffff161461159b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159290614d72565b60405180910390fd5b6040518060e00160405280600115158152602001600063ffffffff1681526020018363ffffffff1681526020018463ffffffff1681526020018667ffffffffffffffff1681526020018567ffffffffffffffff16815260200182815250600f60008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548163ffffffff021916908363ffffffff16021790555060408201518160000160056101000a81548163ffffffff021916908363ffffffff16021790555060608201518160000160096101000a81548163ffffffff021916908363ffffffff160217905550608082015181600001600d6101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060a08201518160000160156101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060c082015181600101559050505050505050565b61171c838383604051806020016040528060008152506127ec565b505050565b7f000000000000000000000000000000000000000000000000000000000000271081565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146117b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117aa90614e32565b60405180910390fd5b600260095414156117f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f090614e92565b60405180910390fd5b600260098190555060011515600f60000160009054906101000a900460ff1615151461185a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185190614cd2565b60405180910390fd5b6000600f60000160019054906101000a900463ffffffff1663ffffffff1690506000811415801561188b5750804210155b6118ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c190614cb2565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000abe611905836118f7611279565b612dbe90919063ffffffff16565b1115611946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193d90614e72565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000056119828361197433612919565b612dbe90919063ffffffff16565b11156119c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ba90614e12565b60405180910390fd5b60006119e0836119d284611fa1565b612dd490919063ffffffff16565b905080341015611a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1c90614db2565b60405180910390fd5b611a2f3384612e37565b80341115611a91573373ffffffffffffffffffffffffffffffffffffffff166108fc611a64833461331090919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611a8f573d6000803e3d6000fd5b505b6000600d54148015611ac957507f0000000000000000000000000000000000000000000000000000000000002710611ac7611279565b145b15611ad65743600d819055505b5050600160098190555050565b611aeb612d04565b73ffffffffffffffffffffffffffffffffffffffff16611b09611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614611b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5690614d72565b60405180910390fd5b8181600a9190611b70929190613fe1565b505050565b7f0000000000000000000000000000000000000000000000000000000000000abe81565b6104b06112c0611ba99190614ff8565b67016345785d8a0000670429d069189e0000611bc59190615083565b611bcf9190614ff8565b81565b6104b081565b6000611be382613326565b600001519050919050565b611bf6612d04565b73ffffffffffffffffffffffffffffffffffffffff16611c14611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614611c6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6190614d72565b60405180910390fd5b80600f60000160016101000a81548163ffffffff021916908363ffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cf9576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611d69612d04565b73ffffffffffffffffffffffffffffffffffffffff16611d87611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd490614d72565b60405180910390fd5b611de760006135b5565b565b670429d069189e000081565b611dfd612d04565b73ffffffffffffffffffffffffffffffffffffffff16611e1b611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614611e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6890614d72565b60405180910390fd5b6000600e5414611eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ead90614c32565b60405180910390fd5b43600d81905550565b7f000000000000000000000000000000000000000000000000000000000000000581565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600f8060000160009054906101000a900460ff16908060000160019054906101000a900463ffffffff16908060000160059054906101000a900463ffffffff16908060000160099054906101000a900463ffffffff169080600001600d9054906101000a900467ffffffffffffffff16908060000160159054906101000a900467ffffffffffffffff16908060010154905087565b600081421015611fbb57670429d069189e00009050612054565b6112c08242611fca9190615083565b10611fdf5767016345785d8a00009050612054565b60006104b08342611ff09190615083565b611ffa9190614ff8565b90506104b06112c061200c9190614ff8565b67016345785d8a0000670429d069189e00006120289190615083565b6120329190614ff8565b8161203d9190615029565b670429d069189e00006120509190615083565b9150505b919050565b6060600480546120689061519b565b80601f01602080910402602001604051908101604052809291908181526020018280546120949061519b565b80156120e15780601f106120b6576101008083540402835291602001916120e1565b820191906000526020600020905b8154815290600101906020018083116120c457829003601f168201915b5050505050905090565b6120f3612d04565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612158576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060086000612165612d04565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612212612d04565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122579190614b86565b60405180910390a35050565b61226b612d04565b73ffffffffffffffffffffffffffffffffffffffff16612289611ee3565b73ffffffffffffffffffffffffffffffffffffffff16146122df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d690614d72565b60405180910390fd5b60026009541415612325576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231c90614e92565b60405180910390fd5b6002600981905550600073c5bebd56e6c1fd825c2c4c50ce08e80c91a3bc5d905060008173ffffffffffffffffffffffffffffffffffffffff164760405161236c90614b0a565b60006040518083038185875af1925050503d80600081146123a9576040519150601f19603f3d011682016040523d82523d6000602084013e6123ae565b606091505b50509050806123f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e990614df2565b60405180910390fd5b50506001600981905550565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461246c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246390614e32565b60405180910390fd5b6000600f6040518060e00160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160059054906101000a900463ffffffff1663ffffffff1663ffffffff1681526020016000820160099054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201600d9054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160159054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff168152602001600182015481525050905060011515600f60000160009054906101000a900460ff161515146125d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c890614cd2565b60405180910390fd5b60008160a0015167ffffffffffffffff1690506000826060015163ffffffff16905060006126088584612dd490919063ffffffff16565b90508034101561264d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264490614db2565b60405180910390fd5b6000831415801561265e5750814210155b61269d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269490614dd2565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000027106126d8866126ca611279565b612dbe90919063ffffffff16565b1115612719576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271090614d52565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000056127558661274733612919565b612dbe90919063ffffffff16565b1115612796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161278d90614e12565b60405180910390fd5b6127a03386612e37565b6000600d541480156127d857507f00000000000000000000000000000000000000000000000000000000000027106127d6611279565b145b156127e55743600d819055505b5050505050565b6127f7848484612e5a565b6128168373ffffffffffffffffffffffffffffffffffffffff16613679565b801561282b57506128298484848461369c565b155b15612862576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061287382612cb6565b6128a9576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006128b36137fc565b90506000815114156128d457604051806020016040528060008152506128ff565b806128de8461388e565b6040516020016128ef929190614ae6565b6040516020818303038152906040525b915050919050565b67016345785d8a000081565b600e5481565b600061292482613a3b565b9050919050565b600d5481565b600c6020528060005260406000206000915090505481565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600e5414612a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1990614c32565b60405180910390fd5b6000600d541415612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f90614d12565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000002710600d544060001c612a9a9190615275565b600e8190555060ff612ab7600d544361331090919063ffffffff16565b1115612b00577f0000000000000000000000000000000000000000000000000000000000002710600143612aeb9190615083565b4060001c612af99190615275565b600e819055505b6000600e541415612b2857612b216001600e54612dbe90919063ffffffff16565b600e819055505b565b612b32612d04565b73ffffffffffffffffffffffffffffffffffffffff16612b50611ee3565b73ffffffffffffffffffffffffffffffffffffffff1614612ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9d90614d72565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0d90614c52565b60405180910390fd5b612c1f816135b5565b50565b6112c081565b7f00000000000000000000000000000000000000000000000000000000000000fa81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612cc1612e55565b11158015612cd0575060015482105b8015612cfd575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60008183612dcc9190614fa2565b905092915050565b60008183612de29190615029565b905092915050565b60008282604051602001612dff929190614aba565b60405160208183030381529060405280519060200120905092915050565b6000612e2f82600f6001015485613aa5565b905092915050565b612e51828260405180602001604052806000815250613abc565b5050565b600090565b6000612e6582613326565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612ed0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612ef1612d04565b73ffffffffffffffffffffffffffffffffffffffff161480612f205750612f1f85612f1a612d04565b612949565b5b80612f655750612f2e612d04565b73ffffffffffffffffffffffffffffffffffffffff16612f4d84610b8d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612f9e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613005576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130128585856001613ace565b61301e60008487612d0c565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600560008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600560008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561329e57600154821461329d57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46133098585856001613ad4565b5050505050565b6000818361331e9190615083565b905092915050565b61332e614067565b60008290508061333c612e55565b1115801561334b575060015481105b1561357e576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161357c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146134605780925050506135b0565b5b60011561357b57818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146135765780925050506135b0565b613461565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026136c2612d04565b8786866040518563ffffffff1660e01b81526004016136e49493929190614b3a565b602060405180830381600087803b1580156136fe57600080fd5b505af192505050801561372f57506040513d601f19601f8201168201806040525081019061372c9190614538565b60015b6137a9573d806000811461375f576040519150601f19603f3d011682016040523d82523d6000602084013e613764565b606091505b506000815114156137a1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461380b9061519b565b80601f01602080910402602001604051908101604052809291908181526020018280546138379061519b565b80156138845780601f1061385957610100808354040283529160200191613884565b820191906000526020600020905b81548152906001019060200180831161386757829003601f168201915b5050505050905090565b606060008214156138d6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613a36565b600082905060005b600082146139085780806138f1906151fe565b915050600a826139019190614ff8565b91506138de565b60008167ffffffffffffffff81111561394a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561397c5781602001600182028036833780820191505090505b5090505b60008514613a2f576001826139959190615083565b9150600a856139a49190615275565b60306139b09190614fa2565b60f81b8183815181106139ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613a289190614ff8565b9450613980565b8093505050505b919050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600082613ab28584613ada565b1490509392505050565b613ac98383836001613b75565b505050565b50505050565b50505050565b60008082905060005b8451811015613b6a576000858281518110613b27577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311613b4957613b428382613f44565b9250613b56565b613b538184613f44565b92505b508080613b62906151fe565b915050613ae3565b508091505092915050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613be3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613c1e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c2b6000868387613ace565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613df55750613df48773ffffffffffffffffffffffffffffffffffffffff16613679565b5b15613ebb575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613e6a600088848060010195508861369c565b613ea0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613dfb578260015414613eb657600080fd5b613f27565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613ebc575b816001819055505050613f3d6000868387613ad4565b5050505050565b600082600052816020526040600020905092915050565b828054613f679061519b565b90600052602060002090601f016020900481019282613f895760008555613fd0565b82601f10613fa257805160ff1916838001178555613fd0565b82800160010185558215613fd0579182015b82811115613fcf578251825591602001919060010190613fb4565b5b509050613fdd91906140aa565b5090565b828054613fed9061519b565b90600052602060002090601f01602090048101928261400f5760008555614056565b82601f1061402857803560ff1916838001178555614056565b82800160010185558215614056579182015b8281111561405557823582559160200191906001019061403a565b5b50905061406391906140aa565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156140c35760008160009055506001016140ab565b5090565b60006140da6140d584614ef2565b614ecd565b9050828152602081018484840111156140f257600080fd5b6140fd848285615159565b509392505050565b600061411861411384614f23565b614ecd565b90508281526020810184848401111561413057600080fd5b61413b848285615159565b509392505050565b6000813590506141528161579b565b92915050565b60008083601f84011261416a57600080fd5b8235905067ffffffffffffffff81111561418357600080fd5b60208301915083602082028301111561419b57600080fd5b9250929050565b6000813590506141b1816157b2565b92915050565b6000813590506141c6816157c9565b92915050565b6000813590506141db816157e0565b92915050565b6000815190506141f0816157e0565b92915050565b600082601f83011261420757600080fd5b81356142178482602086016140c7565b91505092915050565b60008083601f84011261423257600080fd5b8235905067ffffffffffffffff81111561424b57600080fd5b60208301915083600182028301111561426357600080fd5b9250929050565b600082601f83011261427b57600080fd5b813561428b848260208601614105565b91505092915050565b6000813590506142a3816157f7565b92915050565b6000813590506142b88161580e565b92915050565b6000813590506142cd81615825565b92915050565b6000602082840312156142e557600080fd5b60006142f384828501614143565b91505092915050565b6000806040838503121561430f57600080fd5b600061431d85828601614143565b925050602061432e85828601614143565b9150509250929050565b60008060006060848603121561434d57600080fd5b600061435b86828701614143565b935050602061436c86828701614143565b925050604061437d86828701614294565b9150509250925092565b6000806000806080858703121561439d57600080fd5b60006143ab87828801614143565b94505060206143bc87828801614143565b93505060406143cd87828801614294565b925050606085013567ffffffffffffffff8111156143ea57600080fd5b6143f6878288016141f6565b91505092959194509250565b6000806040838503121561441557600080fd5b600061442385828601614143565b9250506020614434858286016141a2565b9150509250929050565b6000806040838503121561445157600080fd5b600061445f85828601614143565b925050602061447085828601614294565b9150509250929050565b6000806000806060858703121561449057600080fd5b600085013567ffffffffffffffff8111156144aa57600080fd5b6144b687828801614158565b945094505060206144c987828801614294565b92505060406144da87828801614294565b91505092959194509250565b6000602082840312156144f857600080fd5b6000614506848285016141a2565b91505092915050565b60006020828403121561452157600080fd5b600061452f848285016141cc565b91505092915050565b60006020828403121561454a57600080fd5b6000614558848285016141e1565b91505092915050565b6000806020838503121561457457600080fd5b600083013567ffffffffffffffff81111561458e57600080fd5b61459a85828601614220565b92509250509250929050565b6000602082840312156145b857600080fd5b600082013567ffffffffffffffff8111156145d257600080fd5b6145de8482850161426a565b91505092915050565b6000602082840312156145f957600080fd5b600061460784828501614294565b91505092915050565b60006020828403121561462257600080fd5b6000614630848285016142a9565b91505092915050565b600080600080600060a0868803121561465157600080fd5b600061465f888289016142be565b9550506020614670888289016142be565b9450506040614681888289016142a9565b9350506060614692888289016142a9565b92505060806146a3888289016141b7565b9150509295509295909350565b6146b9816150b7565b82525050565b6146d06146cb826150b7565b615247565b82525050565b6146df816150c9565b82525050565b6146ee816150d5565b82525050565b60006146ff82614f54565b6147098185614f6a565b9350614719818560208601615168565b61472281615362565b840191505092915050565b600061473882614f5f565b6147428185614f86565b9350614752818560208601615168565b61475b81615362565b840191505092915050565b600061477182614f5f565b61477b8185614f97565b935061478b818560208601615168565b80840191505092915050565b60006147a4601d83614f86565b91506147af82615380565b602082019050919050565b60006147c7602683614f86565b91506147d2826153a9565b604082019050919050565b60006147ea601483614f86565b91506147f5826153f8565b602082019050919050565b600061480d602283614f86565b915061481882615421565b604082019050919050565b6000614830601883614f86565b915061483b82615470565b602082019050919050565b6000614853601083614f86565b915061485e82615499565b602082019050919050565b6000614876603783614f86565b9150614881826154c2565b604082019050919050565b6000614899602083614f86565b91506148a482615511565b602082019050919050565b60006148bc601583614f86565b91506148c78261553a565b602082019050919050565b60006148df601283614f86565b91506148ea82615563565b602082019050919050565b6000614902602083614f86565b915061490d8261558c565b602082019050919050565b6000614925602083614f86565b9150614930826155b5565b602082019050919050565b6000614948601583614f86565b9150614953826155de565b602082019050919050565b600061496b601d83614f86565b915061497682615607565b602082019050919050565b600061498e600083614f7b565b915061499982615630565b600082019050919050565b60006149b1601083614f86565b91506149bc82615633565b602082019050919050565b60006149d4601683614f86565b91506149df8261565c565b602082019050919050565b60006149f7601e83614f86565b9150614a0282615685565b602082019050919050565b6000614a1a602783614f86565b9150614a25826156ae565b604082019050919050565b6000614a3d604883614f86565b9150614a48826156fd565b606082019050919050565b6000614a60601f83614f86565b9150614a6b82615772565b602082019050919050565b614a7f8161512b565b82525050565b614a96614a918261512b565b61526b565b82525050565b614aa581615135565b82525050565b614ab481615145565b82525050565b6000614ac682856146bf565b601482019150614ad68284614a85565b6020820191508190509392505050565b6000614af28285614766565b9150614afe8284614766565b91508190509392505050565b6000614b1582614981565b9150819050919050565b6000602082019050614b3460008301846146b0565b92915050565b6000608082019050614b4f60008301876146b0565b614b5c60208301866146b0565b614b696040830185614a76565b8181036060830152614b7b81846146f4565b905095945050505050565b6000602082019050614b9b60008301846146d6565b92915050565b600060e082019050614bb6600083018a6146d6565b614bc36020830189614a9c565b614bd06040830188614a9c565b614bdd6060830187614a9c565b614bea6080830186614aab565b614bf760a0830185614aab565b614c0460c08301846146e5565b98975050505050505050565b60006020820190508181036000830152614c2a818461472d565b905092915050565b60006020820190508181036000830152614c4b81614797565b9050919050565b60006020820190508181036000830152614c6b816147ba565b9050919050565b60006020820190508181036000830152614c8b816147dd565b9050919050565b60006020820190508181036000830152614cab81614800565b9050919050565b60006020820190508181036000830152614ccb81614823565b9050919050565b60006020820190508181036000830152614ceb81614846565b9050919050565b60006020820190508181036000830152614d0b81614869565b9050919050565b60006020820190508181036000830152614d2b8161488c565b9050919050565b60006020820190508181036000830152614d4b816148af565b9050919050565b60006020820190508181036000830152614d6b816148d2565b9050919050565b60006020820190508181036000830152614d8b816148f5565b9050919050565b60006020820190508181036000830152614dab81614918565b9050919050565b60006020820190508181036000830152614dcb8161493b565b9050919050565b60006020820190508181036000830152614deb8161495e565b9050919050565b60006020820190508181036000830152614e0b816149a4565b9050919050565b60006020820190508181036000830152614e2b816149c7565b9050919050565b60006020820190508181036000830152614e4b816149ea565b9050919050565b60006020820190508181036000830152614e6b81614a0d565b9050919050565b60006020820190508181036000830152614e8b81614a30565b9050919050565b60006020820190508181036000830152614eab81614a53565b9050919050565b6000602082019050614ec76000830184614a76565b92915050565b6000614ed7614ee8565b9050614ee382826151cd565b919050565b6000604051905090565b600067ffffffffffffffff821115614f0d57614f0c615333565b5b614f1682615362565b9050602081019050919050565b600067ffffffffffffffff821115614f3e57614f3d615333565b5b614f4782615362565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614fad8261512b565b9150614fb88361512b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fed57614fec6152a6565b5b828201905092915050565b60006150038261512b565b915061500e8361512b565b92508261501e5761501d6152d5565b5b828204905092915050565b60006150348261512b565b915061503f8361512b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615078576150776152a6565b5b828202905092915050565b600061508e8261512b565b91506150998361512b565b9250828210156150ac576150ab6152a6565b5b828203905092915050565b60006150c28261510b565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b8381101561518657808201518184015260208101905061516b565b83811115615195576000848401525b50505050565b600060028204905060018216806151b357607f821691505b602082108114156151c7576151c6615304565b5b50919050565b6151d682615362565b810181811067ffffffffffffffff821117156151f5576151f4615333565b5b80604052505050565b60006152098261512b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561523c5761523b6152a6565b5b600182019050919050565b600061525282615259565b9050919050565b600061526482615373565b9050919050565b6000819050919050565b60006152808261512b565b915061528b8361512b565b92508261529b5761529a6152d5565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f7374617274696e6720696e64657820697320616c726561647920736574000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b7f616c6c6f776c697374206d696e7420686173206e6f742073746172746564207960008201527f6574000000000000000000000000000000000000000000000000000000000000602082015250565b7f73616c6520686173206e6f742073746172746564207965740000000000000000600082015250565b7f53616c652069732064697361626c656400000000000000000000000000000000600082015250565b7f63616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060008201527f6d617850657241646472657373447572696e674d696e74000000000000000000602082015250565b7f7374617274696e6720696e64657820626c6f636b206d75737420626520736574600082015250565b7f72656163686564206d617820616c6c6f77616e63650000000000000000000000600082015250565b7f72656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f616c6c6f776c6973742073616c6520686173206e6f7420626567756e20796574600082015250565b7f6e65656420746f2073656e64206d6f7265206574680000000000000000000000600082015250565b7f7075626c69632073616c6520686173206e6f7420626567756e20796574000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f63616e206e6f74206d696e742074686973206d616e7900000000000000000000600082015250565b7f7468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f746f6f206d616e7920616c7265616479206d696e746564206265666f7265206460008201527f6576206d696e7400000000000000000000000000000000000000000000000000602082015250565b7f6e6f7420656e6f7567682072656d61696e696e6720726573657276656420666f60008201527f722061756374696f6e20746f20737570706f72742064657369726564206d696e60208201527f7420616d6f756e74000000000000000000000000000000000000000000000000604082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6157a4816150b7565b81146157af57600080fd5b50565b6157bb816150c9565b81146157c657600080fd5b50565b6157d2816150d5565b81146157dd57600080fd5b50565b6157e9816150df565b81146157f457600080fd5b50565b6158008161512b565b811461580b57600080fd5b50565b61581781615135565b811461582257600080fd5b50565b61582e81615145565b811461583957600080fd5b5056fea26469706673582212203e4879feecfbe4d0225814e98e4b09042b577808e38a805bae16f264a66c9f9c64736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000abe00000000000000000000000000000000000000000000000000000000000000fa

-----Decoded View---------------
Arg [0] : maxBatchSize_ (uint256): 5
Arg [1] : collectionSize_ (uint256): 10000
Arg [2] : amountForAuctionAndDev_ (uint256): 2750
Arg [3] : amountForDevs_ (uint256): 250

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [1] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000abe
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000fa


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.