ETH Price: $3,365.31 (-3.48%)

BAP GENESIS BULLS (BAPBULL)
 

Overview

TokenID

5102

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Ape Invasion has begun. Tension is high and battles will be fought. Yet some Apes will live in harmony with the Bulls. What kind of Ape will you be? BAP introduces the Apes, a Dynamic 3D art pfp collection with interchangeable traits giving you the freedom and control of your digital identity.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
BAPGenesis

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : BAPGenesis.sol
// SPDX-License-Identifier: GPL-3.0
// solhint-disable-next-line
pragma solidity 0.8.12;
import "./ERC721A.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract BAPGenesis is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;
    uint256 public maxSupply;
    uint256 public mintPrice;
    uint256 public mintMax;
    uint256 public holdMax;
    bool public open;
    string public baseURI;
    bool public whitelisted = true;
    uint256 public stage = 1;
    uint256 public constant maxBreedings = 3;
    uint256 public constant mintedAllowedCap = 8810;
    uint256 public constant manualDistCap = 1200;
    uint256 public maxGodBulls = 500;
    address public orchestrator;
    uint256 public userMintedTokens;
    uint256 public manualAirdropsAmount;
    uint256 public genesisTimestamp;
    address public secret;
    mapping(uint256 => string) private _tokenURIs;
    mapping(uint256 => uint256) public mintingDatetime;
    mapping(uint256 => uint256) public originalMintingPrice;
    mapping(uint256 => uint256) public breedings;
    mapping(address => uint256) public walletHoldings;
    mapping(uint256 => uint256) public tokenTxs;
    mapping(uint256 => bool) public notAvailableForRefund;
    event Received(address, uint256);

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _totalSupply,
        uint256 _mintPrice,
        uint256 _mintMax,
        uint256 _holdMax,
        address _secret
    ) ERC721A(_name, _symbol) {
        maxSupply = _totalSupply;
        mintPrice = _mintPrice;
        mintMax = _mintMax;
        holdMax = _holdMax;
        secret = _secret;
    }

    modifier onlyOrchestrator() {
        require(
            orchestrator == _msgSender(),
            "Ownable: caller is not the orchestrator"
        );
        _;
    }

    receive() external payable {
        emit Received(msg.sender, msg.value);
    }

    function airdrop(address receiver, uint256 amount)
        public
        onlyOwner
        nonReentrant
    {
        require(maxSupply >= amount + _totalMinted(), "Supply limit");
        require(
            manualAirdropsAmount + amount <= manualDistCap,
            "Manual distribution cap reached"
        );
        _buy(receiver, amount, 0);
        manualAirdropsAmount += amount;
    }

    function breedBulls(uint256 token1, uint256 token2)
        external
        onlyOrchestrator
    {
        require(
            breedings[token1] > 0 &&
                breedings[token2] > 0 &&
                ownerOf(token1) == tx.origin &&
                ownerOf(token2) == tx.origin,
            "The bull cant be used to buy an Incubator"
        );
        _setBreeds(token1);
        _setBreeds(token2);
    }

    function contractURI() external view returns (string memory) {
        return baseURI;
    }

    function generateGodBull() external onlyOrchestrator {
        require(maxGodBulls-- >= 10, "All God bulls are created");
        _safeMint(tx.origin, 1);
    }

    function mint(
        bytes memory signature,
        uint256 tokenAmount,
        uint256 tier,
        uint256 walletLimit
    ) public payable nonReentrant {
        require(open, "Contract closed");
        require(msg.value >= tokenAmount * mintPrice, "Insufficient ETH");
        require(maxSupply >= tokenAmount + _totalMinted(), "Supply limit");
        require(
            _verify(signature, tokenAmount, tier, walletLimit),
            "Wallet is not whitelisted"
        );
        if (whitelisted) {
            require(tier <= stage || (tier == 3), "Tier is not valid");
            if (tier != 3) {
                require(
                    _checkHolding(msg.sender, tokenAmount),
                    "Holding limit reached"
                );
                require(mintMax >= tokenAmount, "Too many tokens");
            } else {
                require(
                    walletHoldings[msg.sender] + tokenAmount <= walletLimit,
                    "Holding limit reached"
                );
            }
        } else {
            require(mintMax >= tokenAmount, "Too many tokens");
        }

        require(
            userMintedTokens + tokenAmount <= mintedAllowedCap,
            "User Minting Amount Reached"
        );
        userMintedTokens += tokenAmount;
        walletHoldings[msg.sender] += tokenAmount;
        _buy(msg.sender, tokenAmount, mintPrice);
    }

    function minted() external view returns (uint256) {
        return _totalMinted();
    }

    function refund(address depositAddress, uint256 tokenId)
        public
        nonReentrant
        onlyOrchestrator
    {
        uint256 balance = originalMintingPrice[tokenId];
        require(balance > 0, "Original Minting Price is zero");
        require(
            notAvailableForRefund[tokenId] == false,
            "The token is not available for refund"
        );
        require(
            this.ownerOf(tokenId) == depositAddress,
            "Permission Denied : Token Owner not valid"
        );
        (bool success, ) = depositAddress.call{value: balance}("");
        notAvailableForRefund[tokenId] = true;
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _checkTransferPeriod(tokenId);
        super.safeTransferFrom(from, to, tokenId, "");
        tokenTxs[tokenId]++;
        if (tokenTxs[tokenId] > 1) notAvailableForRefund[tokenId] = true;
    }

    function setTokenURI(uint256 id, string memory newURL) external onlyOwner {
        require(bytes(newURL).length > 0, "New URL Invalid");
        require(_exists(id), "Invalid Token");
        _tokenURIs[id] = newURL;
    }

    function setSecret(address _secret) external onlyOwner {
        require(_secret != address(0), "200:ZERO_ADDRESS");
        secret = _secret;
    }

    function setOpen(bool _open) external onlyOwner {
        if (_open && genesisTimestamp == 0) {
            genesisTimestamp = block.timestamp;
        }
        open = _open;
    }

    function setWhitelisted(bool _whitelisted) external onlyOwner {
        whitelisted = _whitelisted;
    }

    function setMultiple(
        uint256 _maxSupply,
        uint256 _mintPrice,
        uint256 _mintMax,
        uint256 _holdMax,
        uint256 _newStage,
        string memory _newBaseURI
    ) external onlyOwner {
        require(_maxSupply > _totalMinted(), "Total supply too low");
        maxSupply = _maxSupply;
        mintPrice = _mintPrice;
        mintMax = _mintMax;
        holdMax = _holdMax;
        stage = _newStage;
        baseURI = _newBaseURI;
    }

    function setMaxSupply(uint256 _totalSupply) external onlyOwner {
        require(_totalSupply >= _totalMinted(), "Total supply too low");
        maxSupply = _totalSupply;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */

    function setOrchestrator(address newOrchestrator) external onlyOwner {
        require(newOrchestrator != address(0), "200:ZERO_ADDRESS");
        orchestrator = newOrchestrator;
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _checkTransferPeriod(tokenId);
        super.transferFrom(from, to, tokenId);
        tokenTxs[tokenId]++;
        if (tokenTxs[tokenId] > 1) notAvailableForRefund[tokenId] = true;
    }

    function tokenExist(uint256 id) external view returns (bool) {
        return _exists(id);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = baseURI;

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

    function updateBullBreedings(uint256 id) external onlyOrchestrator {
        _setBreeds(id);
    }

    function withdrawETH(address _address, uint256 amount)
        public
        nonReentrant
        onlyOwner
    {
        require(_address != address(0), "200:ZERO_ADDRESS");
        require(amount <= address(this).balance, "Insufficient funds");
        (bool success, ) = _address.call{value: amount}("");
    }

    function _buy(
        address to,
        uint256 quantity,
        uint256 price
    ) internal {
        uint256 _totalTokens = _totalMinted();
        _safeMint(to, quantity);
        for (uint256 i = _totalTokens; i < _totalTokens + quantity; i++) {
            uint256 id = i + 1;
            mintingDatetime[id] = block.timestamp;
            originalMintingPrice[id] = price;
            breedings[id] = maxBreedings;
        }
    }

    function _checkHolding(address wallet, uint256 tokenAmount)
        internal
        view
        returns (bool)
    {
        uint256 holding = walletHoldings[wallet];
        return (holding + tokenAmount) <= holdMax;
    }

    function _checkTransferPeriod(uint256 tokenId) internal {
        if (
            block.timestamp > mintingDatetime[tokenId] + 3 hours &&
            !notAvailableForRefund[tokenId]
        ) {
            notAvailableForRefund[tokenId] = true;
        }
    }

    function _setBreeds(uint256 tokenId) internal {
        require(_exists(tokenId), "Invalid Token");
        require(
            breedings[tokenId] >= 0,
            "The bull already evolved to maximum capacity"
        );
        breedings[tokenId]--;
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function _verify(
        bytes memory signature,
        uint256 tokenAmount,
        uint256 tier,
        uint256 walletLimit
    ) internal view returns (bool) {
        if (!whitelisted) {
            return true;
        }
        if (tier < 3) {
            walletLimit = holdMax;
        }
        bytes32 freshHash = keccak256(
            abi.encode(msg.sender, tokenAmount, tier, walletLimit)
        );
        bytes32 candidateHash = keccak256(
            abi.encodePacked("\x19Ethereum Signed Message:\n32", freshHash)
        );
        return _verifyHashSignature(candidateHash, signature);
    }

    function _verifyHashSignature(bytes32 hash, bytes memory signature)
        internal
        view
        returns (bool)
    {
        bytes32 r;
        bytes32 s;
        uint8 v;

        if (signature.length != 65) {
            return false;
        }

        assembly {
            r := mload(add(signature, 32))
            s := mload(add(signature, 64))
            v := byte(0, mload(add(signature, 96)))
        }

        if (v < 27) {
            v += 27;
        }

        address signer = address(0);
        // If the version is correct, gather info
        if (v == 27 || v == 28) {
            // solium-disable-next-line arg-overflow
            signer = ecrecover(hash, v, r, s);
        }
        return secret == signer;
    }
}

File 2 of 7 : 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 3 of 7 : 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 4 of 7 : 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 5 of 7 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import "./IERC721A.sol";

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @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 IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

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

    // The number of tokens burned.
    uint256 private _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 `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // 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();
    }

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev 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 Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override
        returns (bool)
    {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (_addressToUint256(owner) == 0) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return
            (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) &
            BITMASK_ADDRESS_DATA_ENTRY;
    }

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

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_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 {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly {
            // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId)
        private
        view
        returns (uint256)
    {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // 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.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed)
        private
        pure
        returns (TokenOwnership memory ownership)
    {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index)
        internal
        view
        returns (TokenOwnership memory)
    {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * 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)
    {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

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

    /**
     * @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, _toString(tokenId)))
                : "";
    }

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value)
        private
        pure
        returns (uint256 result)
    {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

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

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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.code.length != 0)
            if (!_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 && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] +=
                quantity *
                ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            if (to.code.length != 0) {
                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 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) internal {
        uint256 startTokenId = _currentIndex;
        if (_addressToUint256(to) == 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 {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] +=
                quantity *
                ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

            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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from)
            revert TransferFromIncorrectOwner();

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            approvedAddress == _msgSenderERC721A());

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev 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 {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));
        address approvedAddress = _tokenApprovals[tokenId];

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                approvedAddress == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        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 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
            ERC721A__IERC721Receiver(to).onERC721Received(
                _msgSenderERC721A(),
                from,
                tokenId,
                _data
            )
        returns (bytes4 retval) {
            return
                retval ==
                ERC721A__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 {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value)
        internal
        pure
        returns (string memory ptr)
    {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 6 of 7 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    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;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

    // ==============================
    //            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);

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);

    // ==============================
    //        IERC721Metadata
    // ==============================

    /**
     * @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 7 of 7 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_mintMax","type":"uint256"},{"internalType":"uint256","name":"_holdMax","type":"uint256"},{"internalType":"address","name":"_secret","type":"address"}],"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":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"token1","type":"uint256"},{"internalType":"uint256","name":"token2","type":"uint256"}],"name":"breedBulls","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"breedings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"generateGodBull","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"genesisTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"holdMax","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":"manualAirdropsAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualDistCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBreedings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGodBulls","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"uint256","name":"tier","type":"uint256"},{"internalType":"uint256","name":"walletLimit","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedAllowedCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintingDatetime","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":"uint256","name":"","type":"uint256"}],"name":"notAvailableForRefund","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"open","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"orchestrator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"originalMintingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"depositAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","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":"secret","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"_totalSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_mintMax","type":"uint256"},{"internalType":"uint256","name":"_holdMax","type":"uint256"},{"internalType":"uint256","name":"_newStage","type":"uint256"},{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_open","type":"bool"}],"name":"setOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOrchestrator","type":"address"}],"name":"setOrchestrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_secret","type":"address"}],"name":"setSecret","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"newURL","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whitelisted","type":"bool"}],"name":"setWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stage","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":"id","type":"uint256"}],"name":"tokenExist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenTxs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"updateBullBreedings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"userMintedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletHoldings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526001601060006101000a81548160ff02191690831515021790555060016011556101f46012553480156200003757600080fd5b50604051620062303803806200623083398181016040528101906200005d9190620004ff565b868681600290805190602001906200007792919062000212565b5080600390805190602001906200009092919062000212565b50620000a16200013b60201b60201c565b6000819055505050620000c9620000bd6200014460201b60201c565b6200014c60201b60201c565b600160098190555084600a8190555083600b8190555082600c8190555081600d8190555080601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050505062000655565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000220906200061f565b90600052602060002090601f01602090048101928262000244576000855562000290565b82601f106200025f57805160ff191683800117855562000290565b8280016001018555821562000290579182015b828111156200028f57825182559160200191906001019062000272565b5b5090506200029f9190620002a3565b5090565b5b80821115620002be576000816000905550600101620002a4565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200032b82620002e0565b810181811067ffffffffffffffff821117156200034d576200034c620002f1565b5b80604052505050565b600062000362620002c2565b905062000370828262000320565b919050565b600067ffffffffffffffff821115620003935762000392620002f1565b5b6200039e82620002e0565b9050602081019050919050565b60005b83811015620003cb578082015181840152602081019050620003ae565b83811115620003db576000848401525b50505050565b6000620003f8620003f28462000375565b62000356565b905082815260208101848484011115620004175762000416620002db565b5b62000424848285620003ab565b509392505050565b600082601f830112620004445762000443620002d6565b5b815162000456848260208601620003e1565b91505092915050565b6000819050919050565b62000474816200045f565b81146200048057600080fd5b50565b600081519050620004948162000469565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004c7826200049a565b9050919050565b620004d981620004ba565b8114620004e557600080fd5b50565b600081519050620004f981620004ce565b92915050565b600080600080600080600060e0888a031215620005215762000520620002cc565b5b600088015167ffffffffffffffff811115620005425762000541620002d1565b5b620005508a828b016200042c565b975050602088015167ffffffffffffffff811115620005745762000573620002d1565b5b620005828a828b016200042c565b9650506040620005958a828b0162000483565b9550506060620005a88a828b0162000483565b9450506080620005bb8a828b0162000483565b93505060a0620005ce8a828b0162000483565b92505060c0620005e18a828b01620004e8565b91505092959891949750929550565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200063857607f821691505b602082108114156200064f576200064e620005f0565b5b50919050565b615bcb80620006656000396000f3fe60806040526004361061037a5760003560e01c80637879426e116101d1578063c87b56dd11610102578063dea89056116100a0578063f2fde38b1161006f578063f2fde38b14610d4b578063f8cfff9914610d74578063fcf0885314610d9f578063fcfff16f14610db6576103ba565b8063dea8905614610c8f578063e8a3d48514610cba578063e985e9c514610ce5578063e9a7484c14610d22576103ba565b8063cd28ef0d116100dc578063cd28ef0d14610bf4578063d1efd30d14610c1d578063d5abeb0114610c48578063d6d12c4014610c73576103ba565b8063c87b56dd14610b4f578063cacf66ab14610b8c578063cc0c523614610bb7576103ba565b8063a5c6834d1161016f578063b5f222ee11610149578063b5f222ee14610a93578063b74795d914610ad0578063b88d4fde14610afb578063c040e6b814610b24576103ba565b8063a5c6834d14610a02578063a8fb7bb114610a2b578063b4fb8dcd14610a56576103ba565b80638ba4cc3c116101ab5780638ba4cc3c1461095a5780638da5cb5b1461098357806395d89b41146109ae578063a22cb465146109d9576103ba565b80637879426e146108c9578063794e9609146109065780637b78920414610931576103ba565b80634782f779116102ab5780636817c76c116102495780636fdca5e0116102235780636fdca5e01461080f57806370a0823114610838578063715018a614610875578063757f08dc1461088c576103ba565b80636817c76c146107905780636c0360eb146107bb5780636f8b44b0146107e6576103ba565b80634f02c420116102855780634f02c420146106d457806358c453a3146106ff5780635c295e5e1461072a5780636352211e14610753576103ba565b80634782f7791461065757806348918fb8146106805780634d155561146106a9576103ba565b806318160ddd116103185780633d9287fa116102f25780633d9287fa146105af578063410085df146105da57806342842e0e146106035780634761d5c41461062c576103ba565b806318160ddd1461051e5780631cf777ec1461054957806323b872dd14610586576103ba565b8063081812fc11610354578063081812fc14610464578063095ea7b3146104a15780630deb0034146104ca578063162094c4146104f5576103ba565b806301ffc9a7146103bf57806303e8697e146103fc57806306fdde0314610439576103ba565b366103ba577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587433346040516103b09291906141dc565b60405180910390a1005b600080fd5b3480156103cb57600080fd5b506103e660048036038101906103e19190614271565b610de1565b6040516103f391906142b9565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e9190614300565b610e73565b604051610430919061432d565b60405180910390f35b34801561044557600080fd5b5061044e610e8b565b60405161045b91906143e1565b60405180910390f35b34801561047057600080fd5b5061048b6004803603810190610486919061442f565b610f1d565b604051610498919061445c565b60405180910390f35b3480156104ad57600080fd5b506104c860048036038101906104c39190614477565b610f99565b005b3480156104d657600080fd5b506104df611140565b6040516104ec919061432d565b60405180910390f35b34801561050157600080fd5b5061051c600480360381019061051791906145ec565b611146565b005b34801561052a57600080fd5b5061053361127a565b604051610540919061432d565b60405180910390f35b34801561055557600080fd5b50610570600480360381019061056b919061442f565b611291565b60405161057d919061432d565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a89190614648565b6112a9565b005b3480156105bb57600080fd5b506105c4611334565b6040516105d191906142b9565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc9190614477565b611347565b005b34801561060f57600080fd5b5061062a60048036038101906106259190614648565b61167b565b005b34801561063857600080fd5b50610641611716565b60405161064e919061432d565b60405180910390f35b34801561066357600080fd5b5061067e60048036038101906106799190614477565b61171c565b005b34801561068c57600080fd5b506106a760048036038101906106a2919061469b565b611912565b005b3480156106b557600080fd5b506106be611a19565b6040516106cb919061432d565b60405180910390f35b3480156106e057600080fd5b506106e9611a1f565b6040516106f6919061432d565b60405180910390f35b34801561070b57600080fd5b50610714611a2e565b604051610721919061432d565b60405180910390f35b34801561073657600080fd5b50610751600480360381019061074c919061442f565b611a34565b005b34801561075f57600080fd5b5061077a6004803603810190610775919061442f565b611ad7565b604051610787919061445c565b60405180910390f35b34801561079c57600080fd5b506107a5611ae9565b6040516107b2919061432d565b60405180910390f35b3480156107c757600080fd5b506107d0611aef565b6040516107dd91906143e1565b60405180910390f35b3480156107f257600080fd5b5061080d6004803603810190610808919061442f565b611b7d565b005b34801561081b57600080fd5b5061083660048036038101906108319190614770565b611c4d565b005b34801561084457600080fd5b5061085f600480360381019061085a9190614300565b611d02565b60405161086c919061432d565b60405180910390f35b34801561088157600080fd5b5061088a611d97565b005b34801561089857600080fd5b506108b360048036038101906108ae919061442f565b611e1f565b6040516108c0919061432d565b60405180910390f35b3480156108d557600080fd5b506108f060048036038101906108eb919061442f565b611e37565b6040516108fd919061432d565b60405180910390f35b34801561091257600080fd5b5061091b611e4f565b604051610928919061432d565b60405180910390f35b34801561093d57600080fd5b5061095860048036038101906109539190614770565b611e55565b005b34801561096657600080fd5b50610981600480360381019061097c9190614477565b611eee565b005b34801561098f57600080fd5b50610998612092565b6040516109a5919061445c565b60405180910390f35b3480156109ba57600080fd5b506109c36120bc565b6040516109d091906143e1565b60405180910390f35b3480156109e557600080fd5b50610a0060048036038101906109fb919061479d565b61214e565b005b348015610a0e57600080fd5b50610a296004803603810190610a2491906147dd565b6122c6565b005b348015610a3757600080fd5b50610a40612466565b604051610a4d919061432d565b60405180910390f35b348015610a6257600080fd5b50610a7d6004803603810190610a78919061442f565b61246b565b604051610a8a919061432d565b60405180910390f35b348015610a9f57600080fd5b50610aba6004803603810190610ab5919061442f565b612483565b604051610ac791906142b9565b60405180910390f35b348015610adc57600080fd5b50610ae56124a3565b604051610af2919061445c565b60405180910390f35b348015610b0757600080fd5b50610b226004803603810190610b1d91906148be565b6124c9565b005b348015610b3057600080fd5b50610b3961253c565b604051610b46919061432d565b60405180910390f35b348015610b5b57600080fd5b50610b766004803603810190610b71919061442f565b612542565b604051610b8391906143e1565b60405180910390f35b348015610b9857600080fd5b50610ba1612738565b604051610bae919061432d565b60405180910390f35b348015610bc357600080fd5b50610bde6004803603810190610bd9919061442f565b61273e565b604051610beb91906142b9565b60405180910390f35b348015610c0057600080fd5b50610c1b6004803603810190610c169190614300565b612750565b005b348015610c2957600080fd5b50610c32612880565b604051610c3f919061445c565b60405180910390f35b348015610c5457600080fd5b50610c5d6128a6565b604051610c6a919061432d565b60405180910390f35b610c8d6004803603810190610c889190614941565b6128ac565b005b348015610c9b57600080fd5b50610ca4612cf0565b604051610cb1919061432d565b60405180910390f35b348015610cc657600080fd5b50610ccf612cf6565b604051610cdc91906143e1565b60405180910390f35b348015610cf157600080fd5b50610d0c6004803603810190610d0791906149c4565b612d88565b604051610d1991906142b9565b60405180910390f35b348015610d2e57600080fd5b50610d496004803603810190610d449190614300565b612e1c565b005b348015610d5757600080fd5b50610d726004803603810190610d6d9190614300565b612f4c565b005b348015610d8057600080fd5b50610d89613044565b604051610d96919061432d565b60405180910390f35b348015610dab57600080fd5b50610db461304a565b005b348015610dc257600080fd5b50610dcb613148565b604051610dd891906142b9565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e3c57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e6c5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b601c6020528060005260406000206000915090505481565b606060028054610e9a90614a33565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec690614a33565b8015610f135780601f10610ee857610100808354040283529160200191610f13565b820191906000526020600020905b815481529060010190602001808311610ef657829003601f168201915b5050505050905090565b6000610f288261315b565b610f5e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610fa4826131ba565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561100c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661102b613288565b73ffffffffffffffffffffffffffffffffffffffff161461108e5761105781611052613288565b612d88565b61108d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60155481565b61114e613290565b73ffffffffffffffffffffffffffffffffffffffff1661116c612092565b73ffffffffffffffffffffffffffffffffffffffff16146111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b990614ab1565b60405180910390fd5b6000815111611206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd90614b1d565b60405180910390fd5b61120f8261315b565b61124e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124590614b89565b60405180910390fd5b806018600084815260200190815260200160002090805190602001906112759291906140df565b505050565b6000611284613298565b6001546000540303905090565b601b6020528060005260406000206000915090505481565b6112b2816132a1565b6112bd838383613323565b601d600082815260200190815260200160002060008154809291906112e190614bd8565b91905055506001601d600083815260200190815260200160002054111561132f576001601e600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b505050565b601060009054906101000a900460ff1681565b6002600954141561138d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138490614c6d565b60405180910390fd5b600260098190555061139d613290565b73ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390614cff565b60405180910390fd5b6000601a600083815260200190815260200160002054905060008111611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147e90614d6b565b60405180910390fd5b60001515601e600084815260200190815260200160002060009054906101000a900460ff161515146114ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e590614dfd565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161153e919061432d565b602060405180830381865afa15801561155b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157f9190614e32565b73ffffffffffffffffffffffffffffffffffffffff16146115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc90614ed1565b60405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff16826040516115fb90614f22565b60006040518083038185875af1925050503d8060008114611638576040519150601f19603f3d011682016040523d82523d6000602084013e61163d565b606091505b505090506001601e600085815260200190815260200160002060006101000a81548160ff021916908315150217905550505060016009819055505050565b611684816132a1565b61169f838383604051806020016040528060008152506124c9565b601d600082815260200190815260200160002060008154809291906116c390614bd8565b91905055506001601d6000838152602001908152602001600020541115611711576001601e600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b505050565b60125481565b60026009541415611762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175990614c6d565b60405180910390fd5b6002600981905550611772613290565b73ffffffffffffffffffffffffffffffffffffffff16611790612092565b73ffffffffffffffffffffffffffffffffffffffff16146117e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117dd90614ab1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d90614f83565b60405180910390fd5b47811115611899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189090614fef565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516118bf90614f22565b60006040518083038185875af1925050503d80600081146118fc576040519150601f19603f3d011682016040523d82523d6000602084013e611901565b606091505b505090505060016009819055505050565b61191a613290565b73ffffffffffffffffffffffffffffffffffffffff16611938612092565b73ffffffffffffffffffffffffffffffffffffffff161461198e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198590614ab1565b60405180910390fd5b611996613333565b86116119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce9061505b565b60405180910390fd5b85600a8190555084600b8190555083600c8190555082600d819055508160118190555080600f9080519060200190611a109291906140df565b50505050505050565b600c5481565b6000611a29613333565b905090565b6104b081565b611a3c613290565b73ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac290614cff565b60405180910390fd5b611ad481613346565b50565b6000611ae2826131ba565b9050919050565b600b5481565b600f8054611afc90614a33565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2890614a33565b8015611b755780601f10611b4a57610100808354040283529160200191611b75565b820191906000526020600020905b815481529060010190602001808311611b5857829003601f168201915b505050505081565b611b85613290565b73ffffffffffffffffffffffffffffffffffffffff16611ba3612092565b73ffffffffffffffffffffffffffffffffffffffff1614611bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf090614ab1565b60405180910390fd5b611c01613333565b811015611c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3a9061505b565b60405180910390fd5b80600a8190555050565b611c55613290565b73ffffffffffffffffffffffffffffffffffffffff16611c73612092565b73ffffffffffffffffffffffffffffffffffffffff1614611cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc090614ab1565b60405180910390fd5b808015611cd857506000601654145b15611ce557426016819055505b80600e60006101000a81548160ff02191690831515021790555050565b600080611d0e83613411565b1415611d46576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611d9f613290565b73ffffffffffffffffffffffffffffffffffffffff16611dbd612092565b73ffffffffffffffffffffffffffffffffffffffff1614611e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0a90614ab1565b60405180910390fd5b611e1d600061341b565b565b60196020528060005260406000206000915090505481565b601d6020528060005260406000206000915090505481565b60145481565b611e5d613290565b73ffffffffffffffffffffffffffffffffffffffff16611e7b612092565b73ffffffffffffffffffffffffffffffffffffffff1614611ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec890614ab1565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b611ef6613290565b73ffffffffffffffffffffffffffffffffffffffff16611f14612092565b73ffffffffffffffffffffffffffffffffffffffff1614611f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6190614ab1565b60405180910390fd5b60026009541415611fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa790614c6d565b60405180910390fd5b6002600981905550611fc0613333565b81611fcb919061507b565b600a54101561200f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120069061511d565b60405180910390fd5b6104b081601554612020919061507b565b1115612061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205890615189565b60405180910390fd5b61206d828260006134e1565b806015600082825461207f919061507b565b9250508190555060016009819055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546120cb90614a33565b80601f01602080910402602001604051908101604052809291908181526020018280546120f790614a33565b80156121445780601f1061211957610100808354040283529160200191612144565b820191906000526020600020905b81548152906001019060200180831161212757829003601f168201915b5050505050905090565b612156613288565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121bb576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006121c8613288565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612275613288565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122ba91906142b9565b60405180910390a35050565b6122ce613290565b73ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461235d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235490614cff565b60405180910390fd5b6000601b60008481526020019081526020016000205411801561239357506000601b600083815260200190815260200160002054115b80156123d257503273ffffffffffffffffffffffffffffffffffffffff166123ba83611ad7565b73ffffffffffffffffffffffffffffffffffffffff16145b801561241157503273ffffffffffffffffffffffffffffffffffffffff166123f982611ad7565b73ffffffffffffffffffffffffffffffffffffffff16145b612450576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124479061521b565b60405180910390fd5b61245982613346565b61246281613346565b5050565b600381565b601a6020528060005260406000206000915090505481565b601e6020528060005260406000206000915054906101000a900460ff1681565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6124d4848484613585565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612536576124ff8484848461394d565b612535576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60115481565b606061254d8261315b565b61258c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612583906152ad565b60405180910390fd5b60006018600084815260200190815260200160002080546125ac90614a33565b80601f01602080910402602001604051908101604052809291908181526020018280546125d890614a33565b80156126255780601f106125fa57610100808354040283529160200191612625565b820191906000526020600020905b81548152906001019060200180831161260857829003601f168201915b505050505090506000600f805461263b90614a33565b80601f016020809104026020016040519081016040528092919081815260200182805461266790614a33565b80156126b45780601f10612689576101008083540402835291602001916126b4565b820191906000526020600020905b81548152906001019060200180831161269757829003601f168201915b505050505090506000815114156126cf578192505050612733565b6000825111156127045780826040516020016126ec929190615309565b60405160208183030381529060405292505050612733565b8061270e85613a9e565b60405160200161271f929190615309565b604051602081830303815290604052925050505b919050565b60165481565b60006127498261315b565b9050919050565b612758613290565b73ffffffffffffffffffffffffffffffffffffffff16612776612092565b73ffffffffffffffffffffffffffffffffffffffff16146127cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c390614ab1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561283c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283390614f83565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b600260095414156128f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e990614c6d565b60405180910390fd5b6002600981905550600e60009054906101000a900460ff16612949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294090615379565b60405180910390fd5b600b54836129579190615399565b341015612999576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129909061543f565b60405180910390fd5b6129a1613333565b836129ac919061507b565b600a5410156129f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e79061511d565b60405180910390fd5b6129fc84848484613bff565b612a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a32906154ab565b60405180910390fd5b601060009054906101000a900460ff1615612bce5760115482111580612a615750600382145b612aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9790615517565b60405180910390fd5b60038214612b3b57612ab23384613ca0565b612af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae890615583565b60405180910390fd5b82600c541015612b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2d906155ef565b60405180910390fd5b612bc9565b8083601c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b87919061507b565b1115612bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbf90615583565b60405180910390fd5b5b612c14565b82600c541015612c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0a906155ef565b60405180910390fd5b5b61226a83601454612c25919061507b565b1115612c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5d9061565b565b60405180910390fd5b8260146000828254612c78919061507b565b9250508190555082601c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cce919061507b565b92505081905550612ce23384600b546134e1565b600160098190555050505050565b600d5481565b6060600f8054612d0590614a33565b80601f0160208091040260200160405190810160405280929190818152602001828054612d3190614a33565b8015612d7e5780601f10612d5357610100808354040283529160200191612d7e565b820191906000526020600020905b815481529060010190602001808311612d6157829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612e24613290565b73ffffffffffffffffffffffffffffffffffffffff16612e42612092565b73ffffffffffffffffffffffffffffffffffffffff1614612e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8f90614ab1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eff90614f83565b60405180910390fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612f54613290565b73ffffffffffffffffffffffffffffffffffffffff16612f72612092565b73ffffffffffffffffffffffffffffffffffffffff1614612fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbf90614ab1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302f906156ed565b60405180910390fd5b6130418161341b565b50565b61226a81565b613052613290565b73ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146130e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d890614cff565b60405180910390fd5b600a601260008154809291906130f69061570d565b91905055101561313b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313290615783565b60405180910390fd5b613146326001613cff565b565b600e60009054906101000a900460ff1681565b600081613166613298565b11158015613175575060005482105b80156131b3575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806131c9613298565b11613251576000548110156132505760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561324e575b6000811415613244576004600083600190039350838152602001908152602001600020549050613219565b8092505050613283565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b612a3060196000838152602001908152602001600020546132c2919061507b565b421180156132ee5750601e600082815260200190815260200160002060009054906101000a900460ff16155b15613320576001601e600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50565b61332e838383613585565b505050565b600061333d613298565b60005403905090565b61334f8161315b565b61338e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338590614b89565b60405180910390fd5b6000601b60008381526020019081526020016000205410156133e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133dc90615815565b60405180910390fd5b601b600082815260200190815260200160002060008154809291906134099061570d565b919050555050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006134eb613333565b90506134f78484613cff565b60008190505b8382613509919061507b565b81101561357e57600060018261351f919061507b565b905042601960008381526020019081526020016000208190555083601a6000838152602001908152602001600020819055506003601b60008381526020019081526020016000208190555050808061357690614bd8565b9150506134fd565b5050505050565b6000613590826131ba565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146135f7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff16613650613288565b73ffffffffffffffffffffffffffffffffffffffff16148061367f575061367e86613679613288565b612d88565b5b806136bc575061368d613288565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050806136f5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061370086613411565b1415613738576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6137458686866001613d1d565b600061375083613411565b1461378c576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61385387613411565b1717600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156138dd5760006001850190506000600460008381526020019081526020016000205414156138db5760005481146138da578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139458686866001613d23565b505050505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613973613288565b8786866040518563ffffffff1660e01b8152600401613995949392919061588a565b6020604051808303816000875af19250505080156139d157506040513d601f19601f820116820180604052508101906139ce91906158eb565b60015b613a4b573d8060008114613a01576040519150601f19603f3d011682016040523d82523d6000602084013e613a06565b606091505b50600081511415613a43576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415613ae6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613bfa565b600082905060005b60008214613b18578080613b0190614bd8565b915050600a82613b119190615947565b9150613aee565b60008167ffffffffffffffff811115613b3457613b336144c1565b5b6040519080825280601f01601f191660200182016040528015613b665781602001600182028036833780820191505090505b5090505b60008514613bf357600182613b7f9190615978565b9150600a85613b8e91906159ac565b6030613b9a919061507b565b60f81b818381518110613bb057613baf6159dd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613bec9190615947565b9450613b6a565b8093505050505b919050565b6000601060009054906101000a900460ff16613c1e5760019050613c98565b6003831015613c2d57600d5491505b600033858585604051602001613c469493929190615a0c565b604051602081830303815290604052805190602001209050600081604051602001613c719190615ac8565b604051602081830303815290604052805190602001209050613c938188613d29565b925050505b949350505050565b600080601c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600d548382613cf4919061507b565b111591505092915050565b613d19828260405180602001604052806000815250613e44565b5050565b50505050565b50505050565b6000806000806041855114613d445760009350505050613e3e565b6020850151925060408501519150606085015160001a9050601b8160ff161015613d7857601b81613d759190615afb565b90505b6000601b8260ff161480613d8f5750601c8260ff16145b15613de65760018783868660405160008152602001604052604051613db79493929190615b50565b6020604051602081039080840390855afa158015613dd9573d6000803e3d6000fd5b5050506020604051035190505b8073ffffffffffffffffffffffffffffffffffffffff16601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149450505050505b92915050565b6000805490506000613e5585613411565b1415613e8d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613ec8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613ed56000858386613d1d565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1613f3a600185146140d5565b901b60a042901b613f4a86613411565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b1461404e575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ffe600087848060010195508761394d565b614034576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210613f8f57826000541461404957600080fd5b6140b9565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061404f575b8160008190555050506140cf6000858386613d23565b50505050565b6000819050919050565b8280546140eb90614a33565b90600052602060002090601f01602090048101928261410d5760008555614154565b82601f1061412657805160ff1916838001178555614154565b82800160010185558215614154579182015b82811115614153578251825591602001919060010190614138565b5b5090506141619190614165565b5090565b5b8082111561417e576000816000905550600101614166565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141ad82614182565b9050919050565b6141bd816141a2565b82525050565b6000819050919050565b6141d6816141c3565b82525050565b60006040820190506141f160008301856141b4565b6141fe60208301846141cd565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61424e81614219565b811461425957600080fd5b50565b60008135905061426b81614245565b92915050565b6000602082840312156142875761428661420f565b5b60006142958482850161425c565b91505092915050565b60008115159050919050565b6142b38161429e565b82525050565b60006020820190506142ce60008301846142aa565b92915050565b6142dd816141a2565b81146142e857600080fd5b50565b6000813590506142fa816142d4565b92915050565b6000602082840312156143165761431561420f565b5b6000614324848285016142eb565b91505092915050565b600060208201905061434260008301846141cd565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614382578082015181840152602081019050614367565b83811115614391576000848401525b50505050565b6000601f19601f8301169050919050565b60006143b382614348565b6143bd8185614353565b93506143cd818560208601614364565b6143d681614397565b840191505092915050565b600060208201905081810360008301526143fb81846143a8565b905092915050565b61440c816141c3565b811461441757600080fd5b50565b60008135905061442981614403565b92915050565b6000602082840312156144455761444461420f565b5b60006144538482850161441a565b91505092915050565b600060208201905061447160008301846141b4565b92915050565b6000806040838503121561448e5761448d61420f565b5b600061449c858286016142eb565b92505060206144ad8582860161441a565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144f982614397565b810181811067ffffffffffffffff82111715614518576145176144c1565b5b80604052505050565b600061452b614205565b905061453782826144f0565b919050565b600067ffffffffffffffff821115614557576145566144c1565b5b61456082614397565b9050602081019050919050565b82818337600083830152505050565b600061458f61458a8461453c565b614521565b9050828152602081018484840111156145ab576145aa6144bc565b5b6145b684828561456d565b509392505050565b600082601f8301126145d3576145d26144b7565b5b81356145e384826020860161457c565b91505092915050565b600080604083850312156146035761460261420f565b5b60006146118582860161441a565b925050602083013567ffffffffffffffff81111561463257614631614214565b5b61463e858286016145be565b9150509250929050565b6000806000606084860312156146615761466061420f565b5b600061466f868287016142eb565b9350506020614680868287016142eb565b92505060406146918682870161441a565b9150509250925092565b60008060008060008060c087890312156146b8576146b761420f565b5b60006146c689828a0161441a565b96505060206146d789828a0161441a565b95505060406146e889828a0161441a565b94505060606146f989828a0161441a565b935050608061470a89828a0161441a565b92505060a087013567ffffffffffffffff81111561472b5761472a614214565b5b61473789828a016145be565b9150509295509295509295565b61474d8161429e565b811461475857600080fd5b50565b60008135905061476a81614744565b92915050565b6000602082840312156147865761478561420f565b5b60006147948482850161475b565b91505092915050565b600080604083850312156147b4576147b361420f565b5b60006147c2858286016142eb565b92505060206147d38582860161475b565b9150509250929050565b600080604083850312156147f4576147f361420f565b5b60006148028582860161441a565b92505060206148138582860161441a565b9150509250929050565b600067ffffffffffffffff821115614838576148376144c1565b5b61484182614397565b9050602081019050919050565b600061486161485c8461481d565b614521565b90508281526020810184848401111561487d5761487c6144bc565b5b61488884828561456d565b509392505050565b600082601f8301126148a5576148a46144b7565b5b81356148b584826020860161484e565b91505092915050565b600080600080608085870312156148d8576148d761420f565b5b60006148e6878288016142eb565b94505060206148f7878288016142eb565b93505060406149088782880161441a565b925050606085013567ffffffffffffffff81111561492957614928614214565b5b61493587828801614890565b91505092959194509250565b6000806000806080858703121561495b5761495a61420f565b5b600085013567ffffffffffffffff81111561497957614978614214565b5b61498587828801614890565b94505060206149968782880161441a565b93505060406149a78782880161441a565b92505060606149b88782880161441a565b91505092959194509250565b600080604083850312156149db576149da61420f565b5b60006149e9858286016142eb565b92505060206149fa858286016142eb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a4b57607f821691505b60208210811415614a5f57614a5e614a04565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a9b602083614353565b9150614aa682614a65565b602082019050919050565b60006020820190508181036000830152614aca81614a8e565b9050919050565b7f4e65772055524c20496e76616c69640000000000000000000000000000000000600082015250565b6000614b07600f83614353565b9150614b1282614ad1565b602082019050919050565b60006020820190508181036000830152614b3681614afa565b9050919050565b7f496e76616c696420546f6b656e00000000000000000000000000000000000000600082015250565b6000614b73600d83614353565b9150614b7e82614b3d565b602082019050919050565b60006020820190508181036000830152614ba281614b66565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614be3826141c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c1657614c15614ba9565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614c57601f83614353565b9150614c6282614c21565b602082019050919050565b60006020820190508181036000830152614c8681614c4a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f7263686560008201527f73747261746f7200000000000000000000000000000000000000000000000000602082015250565b6000614ce9602783614353565b9150614cf482614c8d565b604082019050919050565b60006020820190508181036000830152614d1881614cdc565b9050919050565b7f4f726967696e616c204d696e74696e67205072696365206973207a65726f0000600082015250565b6000614d55601e83614353565b9150614d6082614d1f565b602082019050919050565b60006020820190508181036000830152614d8481614d48565b9050919050565b7f54686520746f6b656e206973206e6f7420617661696c61626c6520666f72207260008201527f6566756e64000000000000000000000000000000000000000000000000000000602082015250565b6000614de7602583614353565b9150614df282614d8b565b604082019050919050565b60006020820190508181036000830152614e1681614dda565b9050919050565b600081519050614e2c816142d4565b92915050565b600060208284031215614e4857614e4761420f565b5b6000614e5684828501614e1d565b91505092915050565b7f5065726d697373696f6e2044656e696564203a20546f6b656e204f776e65722060008201527f6e6f742076616c69640000000000000000000000000000000000000000000000602082015250565b6000614ebb602983614353565b9150614ec682614e5f565b604082019050919050565b60006020820190508181036000830152614eea81614eae565b9050919050565b600081905092915050565b50565b6000614f0c600083614ef1565b9150614f1782614efc565b600082019050919050565b6000614f2d82614eff565b9150819050919050565b7f3230303a5a45524f5f4144445245535300000000000000000000000000000000600082015250565b6000614f6d601083614353565b9150614f7882614f37565b602082019050919050565b60006020820190508181036000830152614f9c81614f60565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000614fd9601283614353565b9150614fe482614fa3565b602082019050919050565b6000602082019050818103600083015261500881614fcc565b9050919050565b7f546f74616c20737570706c7920746f6f206c6f77000000000000000000000000600082015250565b6000615045601483614353565b91506150508261500f565b602082019050919050565b6000602082019050818103600083015261507481615038565b9050919050565b6000615086826141c3565b9150615091836141c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150c6576150c5614ba9565b5b828201905092915050565b7f537570706c79206c696d69740000000000000000000000000000000000000000600082015250565b6000615107600c83614353565b9150615112826150d1565b602082019050919050565b60006020820190508181036000830152615136816150fa565b9050919050565b7f4d616e75616c20646973747269627574696f6e20636170207265616368656400600082015250565b6000615173601f83614353565b915061517e8261513d565b602082019050919050565b600060208201905081810360008301526151a281615166565b9050919050565b7f5468652062756c6c2063616e74206265207573656420746f2062757920616e2060008201527f496e63756261746f720000000000000000000000000000000000000000000000602082015250565b6000615205602983614353565b9150615210826151a9565b604082019050919050565b60006020820190508181036000830152615234816151f8565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615297602f83614353565b91506152a28261523b565b604082019050919050565b600060208201905081810360008301526152c68161528a565b9050919050565b600081905092915050565b60006152e382614348565b6152ed81856152cd565b93506152fd818560208601614364565b80840191505092915050565b600061531582856152d8565b915061532182846152d8565b91508190509392505050565b7f436f6e747261637420636c6f7365640000000000000000000000000000000000600082015250565b6000615363600f83614353565b915061536e8261532d565b602082019050919050565b6000602082019050818103600083015261539281615356565b9050919050565b60006153a4826141c3565b91506153af836141c3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153e8576153e7614ba9565b5b828202905092915050565b7f496e73756666696369656e742045544800000000000000000000000000000000600082015250565b6000615429601083614353565b9150615434826153f3565b602082019050919050565b600060208201905081810360008301526154588161541c565b9050919050565b7f57616c6c6574206973206e6f742077686974656c697374656400000000000000600082015250565b6000615495601983614353565b91506154a08261545f565b602082019050919050565b600060208201905081810360008301526154c481615488565b9050919050565b7f54696572206973206e6f742076616c6964000000000000000000000000000000600082015250565b6000615501601183614353565b915061550c826154cb565b602082019050919050565b60006020820190508181036000830152615530816154f4565b9050919050565b7f486f6c64696e67206c696d697420726561636865640000000000000000000000600082015250565b600061556d601583614353565b915061557882615537565b602082019050919050565b6000602082019050818103600083015261559c81615560565b9050919050565b7f546f6f206d616e7920746f6b656e730000000000000000000000000000000000600082015250565b60006155d9600f83614353565b91506155e4826155a3565b602082019050919050565b60006020820190508181036000830152615608816155cc565b9050919050565b7f55736572204d696e74696e6720416d6f756e7420526561636865640000000000600082015250565b6000615645601b83614353565b91506156508261560f565b602082019050919050565b6000602082019050818103600083015261567481615638565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156d7602683614353565b91506156e28261567b565b604082019050919050565b60006020820190508181036000830152615706816156ca565b9050919050565b6000615718826141c3565b9150600082141561572c5761572b614ba9565b5b600182039050919050565b7f416c6c20476f642062756c6c7320617265206372656174656400000000000000600082015250565b600061576d601983614353565b915061577882615737565b602082019050919050565b6000602082019050818103600083015261579c81615760565b9050919050565b7f5468652062756c6c20616c72656164792065766f6c76656420746f206d61786960008201527f6d756d2063617061636974790000000000000000000000000000000000000000602082015250565b60006157ff602c83614353565b915061580a826157a3565b604082019050919050565b6000602082019050818103600083015261582e816157f2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061585c82615835565b6158668185615840565b9350615876818560208601614364565b61587f81614397565b840191505092915050565b600060808201905061589f60008301876141b4565b6158ac60208301866141b4565b6158b960408301856141cd565b81810360608301526158cb8184615851565b905095945050505050565b6000815190506158e581614245565b92915050565b6000602082840312156159015761590061420f565b5b600061590f848285016158d6565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615952826141c3565b915061595d836141c3565b92508261596d5761596c615918565b5b828204905092915050565b6000615983826141c3565b915061598e836141c3565b9250828210156159a1576159a0614ba9565b5b828203905092915050565b60006159b7826141c3565b91506159c2836141c3565b9250826159d2576159d1615918565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000608082019050615a2160008301876141b4565b615a2e60208301866141cd565b615a3b60408301856141cd565b615a4860608301846141cd565b95945050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615a87601c836152cd565b9150615a9282615a51565b601c82019050919050565b6000819050919050565b6000819050919050565b615ac2615abd82615a9d565b615aa7565b82525050565b6000615ad382615a7a565b9150615adf8284615ab1565b60208201915081905092915050565b600060ff82169050919050565b6000615b0682615aee565b9150615b1183615aee565b92508260ff03821115615b2757615b26614ba9565b5b828201905092915050565b615b3b81615a9d565b82525050565b615b4a81615aee565b82525050565b6000608082019050615b656000830187615b32565b615b726020830186615b41565b615b7f6040830185615b32565b615b8c6060830184615b32565b9594505050505056fea26469706673582212203384755de02a21df14633f5bfb6f73aaa6f4eb3c5086f033be7ad7187c74988564736f6c634300080c003300000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000002904000000000000000000000000000000000000000000000000025bf6196bd1000000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000b1bbe302bb74f45564258a8eb00e7852230a33ff00000000000000000000000000000000000000000000000000000000000000114241502047454e455349532042554c4c53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000742415042554c4c00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061037a5760003560e01c80637879426e116101d1578063c87b56dd11610102578063dea89056116100a0578063f2fde38b1161006f578063f2fde38b14610d4b578063f8cfff9914610d74578063fcf0885314610d9f578063fcfff16f14610db6576103ba565b8063dea8905614610c8f578063e8a3d48514610cba578063e985e9c514610ce5578063e9a7484c14610d22576103ba565b8063cd28ef0d116100dc578063cd28ef0d14610bf4578063d1efd30d14610c1d578063d5abeb0114610c48578063d6d12c4014610c73576103ba565b8063c87b56dd14610b4f578063cacf66ab14610b8c578063cc0c523614610bb7576103ba565b8063a5c6834d1161016f578063b5f222ee11610149578063b5f222ee14610a93578063b74795d914610ad0578063b88d4fde14610afb578063c040e6b814610b24576103ba565b8063a5c6834d14610a02578063a8fb7bb114610a2b578063b4fb8dcd14610a56576103ba565b80638ba4cc3c116101ab5780638ba4cc3c1461095a5780638da5cb5b1461098357806395d89b41146109ae578063a22cb465146109d9576103ba565b80637879426e146108c9578063794e9609146109065780637b78920414610931576103ba565b80634782f779116102ab5780636817c76c116102495780636fdca5e0116102235780636fdca5e01461080f57806370a0823114610838578063715018a614610875578063757f08dc1461088c576103ba565b80636817c76c146107905780636c0360eb146107bb5780636f8b44b0146107e6576103ba565b80634f02c420116102855780634f02c420146106d457806358c453a3146106ff5780635c295e5e1461072a5780636352211e14610753576103ba565b80634782f7791461065757806348918fb8146106805780634d155561146106a9576103ba565b806318160ddd116103185780633d9287fa116102f25780633d9287fa146105af578063410085df146105da57806342842e0e146106035780634761d5c41461062c576103ba565b806318160ddd1461051e5780631cf777ec1461054957806323b872dd14610586576103ba565b8063081812fc11610354578063081812fc14610464578063095ea7b3146104a15780630deb0034146104ca578063162094c4146104f5576103ba565b806301ffc9a7146103bf57806303e8697e146103fc57806306fdde0314610439576103ba565b366103ba577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f8852587433346040516103b09291906141dc565b60405180910390a1005b600080fd5b3480156103cb57600080fd5b506103e660048036038101906103e19190614271565b610de1565b6040516103f391906142b9565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e9190614300565b610e73565b604051610430919061432d565b60405180910390f35b34801561044557600080fd5b5061044e610e8b565b60405161045b91906143e1565b60405180910390f35b34801561047057600080fd5b5061048b6004803603810190610486919061442f565b610f1d565b604051610498919061445c565b60405180910390f35b3480156104ad57600080fd5b506104c860048036038101906104c39190614477565b610f99565b005b3480156104d657600080fd5b506104df611140565b6040516104ec919061432d565b60405180910390f35b34801561050157600080fd5b5061051c600480360381019061051791906145ec565b611146565b005b34801561052a57600080fd5b5061053361127a565b604051610540919061432d565b60405180910390f35b34801561055557600080fd5b50610570600480360381019061056b919061442f565b611291565b60405161057d919061432d565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a89190614648565b6112a9565b005b3480156105bb57600080fd5b506105c4611334565b6040516105d191906142b9565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc9190614477565b611347565b005b34801561060f57600080fd5b5061062a60048036038101906106259190614648565b61167b565b005b34801561063857600080fd5b50610641611716565b60405161064e919061432d565b60405180910390f35b34801561066357600080fd5b5061067e60048036038101906106799190614477565b61171c565b005b34801561068c57600080fd5b506106a760048036038101906106a2919061469b565b611912565b005b3480156106b557600080fd5b506106be611a19565b6040516106cb919061432d565b60405180910390f35b3480156106e057600080fd5b506106e9611a1f565b6040516106f6919061432d565b60405180910390f35b34801561070b57600080fd5b50610714611a2e565b604051610721919061432d565b60405180910390f35b34801561073657600080fd5b50610751600480360381019061074c919061442f565b611a34565b005b34801561075f57600080fd5b5061077a6004803603810190610775919061442f565b611ad7565b604051610787919061445c565b60405180910390f35b34801561079c57600080fd5b506107a5611ae9565b6040516107b2919061432d565b60405180910390f35b3480156107c757600080fd5b506107d0611aef565b6040516107dd91906143e1565b60405180910390f35b3480156107f257600080fd5b5061080d6004803603810190610808919061442f565b611b7d565b005b34801561081b57600080fd5b5061083660048036038101906108319190614770565b611c4d565b005b34801561084457600080fd5b5061085f600480360381019061085a9190614300565b611d02565b60405161086c919061432d565b60405180910390f35b34801561088157600080fd5b5061088a611d97565b005b34801561089857600080fd5b506108b360048036038101906108ae919061442f565b611e1f565b6040516108c0919061432d565b60405180910390f35b3480156108d557600080fd5b506108f060048036038101906108eb919061442f565b611e37565b6040516108fd919061432d565b60405180910390f35b34801561091257600080fd5b5061091b611e4f565b604051610928919061432d565b60405180910390f35b34801561093d57600080fd5b5061095860048036038101906109539190614770565b611e55565b005b34801561096657600080fd5b50610981600480360381019061097c9190614477565b611eee565b005b34801561098f57600080fd5b50610998612092565b6040516109a5919061445c565b60405180910390f35b3480156109ba57600080fd5b506109c36120bc565b6040516109d091906143e1565b60405180910390f35b3480156109e557600080fd5b50610a0060048036038101906109fb919061479d565b61214e565b005b348015610a0e57600080fd5b50610a296004803603810190610a2491906147dd565b6122c6565b005b348015610a3757600080fd5b50610a40612466565b604051610a4d919061432d565b60405180910390f35b348015610a6257600080fd5b50610a7d6004803603810190610a78919061442f565b61246b565b604051610a8a919061432d565b60405180910390f35b348015610a9f57600080fd5b50610aba6004803603810190610ab5919061442f565b612483565b604051610ac791906142b9565b60405180910390f35b348015610adc57600080fd5b50610ae56124a3565b604051610af2919061445c565b60405180910390f35b348015610b0757600080fd5b50610b226004803603810190610b1d91906148be565b6124c9565b005b348015610b3057600080fd5b50610b3961253c565b604051610b46919061432d565b60405180910390f35b348015610b5b57600080fd5b50610b766004803603810190610b71919061442f565b612542565b604051610b8391906143e1565b60405180910390f35b348015610b9857600080fd5b50610ba1612738565b604051610bae919061432d565b60405180910390f35b348015610bc357600080fd5b50610bde6004803603810190610bd9919061442f565b61273e565b604051610beb91906142b9565b60405180910390f35b348015610c0057600080fd5b50610c1b6004803603810190610c169190614300565b612750565b005b348015610c2957600080fd5b50610c32612880565b604051610c3f919061445c565b60405180910390f35b348015610c5457600080fd5b50610c5d6128a6565b604051610c6a919061432d565b60405180910390f35b610c8d6004803603810190610c889190614941565b6128ac565b005b348015610c9b57600080fd5b50610ca4612cf0565b604051610cb1919061432d565b60405180910390f35b348015610cc657600080fd5b50610ccf612cf6565b604051610cdc91906143e1565b60405180910390f35b348015610cf157600080fd5b50610d0c6004803603810190610d0791906149c4565b612d88565b604051610d1991906142b9565b60405180910390f35b348015610d2e57600080fd5b50610d496004803603810190610d449190614300565b612e1c565b005b348015610d5757600080fd5b50610d726004803603810190610d6d9190614300565b612f4c565b005b348015610d8057600080fd5b50610d89613044565b604051610d96919061432d565b60405180910390f35b348015610dab57600080fd5b50610db461304a565b005b348015610dc257600080fd5b50610dcb613148565b604051610dd891906142b9565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610e3c57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610e6c5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b601c6020528060005260406000206000915090505481565b606060028054610e9a90614a33565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec690614a33565b8015610f135780601f10610ee857610100808354040283529160200191610f13565b820191906000526020600020905b815481529060010190602001808311610ef657829003601f168201915b5050505050905090565b6000610f288261315b565b610f5e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610fa4826131ba565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561100c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661102b613288565b73ffffffffffffffffffffffffffffffffffffffff161461108e5761105781611052613288565b612d88565b61108d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60155481565b61114e613290565b73ffffffffffffffffffffffffffffffffffffffff1661116c612092565b73ffffffffffffffffffffffffffffffffffffffff16146111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b990614ab1565b60405180910390fd5b6000815111611206576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd90614b1d565b60405180910390fd5b61120f8261315b565b61124e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124590614b89565b60405180910390fd5b806018600084815260200190815260200160002090805190602001906112759291906140df565b505050565b6000611284613298565b6001546000540303905090565b601b6020528060005260406000206000915090505481565b6112b2816132a1565b6112bd838383613323565b601d600082815260200190815260200160002060008154809291906112e190614bd8565b91905055506001601d600083815260200190815260200160002054111561132f576001601e600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b505050565b601060009054906101000a900460ff1681565b6002600954141561138d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138490614c6d565b60405180910390fd5b600260098190555061139d613290565b73ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461142c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142390614cff565b60405180910390fd5b6000601a600083815260200190815260200160002054905060008111611487576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147e90614d6b565b60405180910390fd5b60001515601e600084815260200190815260200160002060009054906101000a900460ff161515146114ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e590614dfd565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161153e919061432d565b602060405180830381865afa15801561155b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061157f9190614e32565b73ffffffffffffffffffffffffffffffffffffffff16146115d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cc90614ed1565b60405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff16826040516115fb90614f22565b60006040518083038185875af1925050503d8060008114611638576040519150601f19603f3d011682016040523d82523d6000602084013e61163d565b606091505b505090506001601e600085815260200190815260200160002060006101000a81548160ff021916908315150217905550505060016009819055505050565b611684816132a1565b61169f838383604051806020016040528060008152506124c9565b601d600082815260200190815260200160002060008154809291906116c390614bd8565b91905055506001601d6000838152602001908152602001600020541115611711576001601e600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b505050565b60125481565b60026009541415611762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175990614c6d565b60405180910390fd5b6002600981905550611772613290565b73ffffffffffffffffffffffffffffffffffffffff16611790612092565b73ffffffffffffffffffffffffffffffffffffffff16146117e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117dd90614ab1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d90614f83565b60405180910390fd5b47811115611899576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189090614fef565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516118bf90614f22565b60006040518083038185875af1925050503d80600081146118fc576040519150601f19603f3d011682016040523d82523d6000602084013e611901565b606091505b505090505060016009819055505050565b61191a613290565b73ffffffffffffffffffffffffffffffffffffffff16611938612092565b73ffffffffffffffffffffffffffffffffffffffff161461198e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198590614ab1565b60405180910390fd5b611996613333565b86116119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce9061505b565b60405180910390fd5b85600a8190555084600b8190555083600c8190555082600d819055508160118190555080600f9080519060200190611a109291906140df565b50505050505050565b600c5481565b6000611a29613333565b905090565b6104b081565b611a3c613290565b73ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac290614cff565b60405180910390fd5b611ad481613346565b50565b6000611ae2826131ba565b9050919050565b600b5481565b600f8054611afc90614a33565b80601f0160208091040260200160405190810160405280929190818152602001828054611b2890614a33565b8015611b755780601f10611b4a57610100808354040283529160200191611b75565b820191906000526020600020905b815481529060010190602001808311611b5857829003601f168201915b505050505081565b611b85613290565b73ffffffffffffffffffffffffffffffffffffffff16611ba3612092565b73ffffffffffffffffffffffffffffffffffffffff1614611bf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf090614ab1565b60405180910390fd5b611c01613333565b811015611c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3a9061505b565b60405180910390fd5b80600a8190555050565b611c55613290565b73ffffffffffffffffffffffffffffffffffffffff16611c73612092565b73ffffffffffffffffffffffffffffffffffffffff1614611cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc090614ab1565b60405180910390fd5b808015611cd857506000601654145b15611ce557426016819055505b80600e60006101000a81548160ff02191690831515021790555050565b600080611d0e83613411565b1415611d46576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611d9f613290565b73ffffffffffffffffffffffffffffffffffffffff16611dbd612092565b73ffffffffffffffffffffffffffffffffffffffff1614611e13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0a90614ab1565b60405180910390fd5b611e1d600061341b565b565b60196020528060005260406000206000915090505481565b601d6020528060005260406000206000915090505481565b60145481565b611e5d613290565b73ffffffffffffffffffffffffffffffffffffffff16611e7b612092565b73ffffffffffffffffffffffffffffffffffffffff1614611ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec890614ab1565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b611ef6613290565b73ffffffffffffffffffffffffffffffffffffffff16611f14612092565b73ffffffffffffffffffffffffffffffffffffffff1614611f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6190614ab1565b60405180910390fd5b60026009541415611fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa790614c6d565b60405180910390fd5b6002600981905550611fc0613333565b81611fcb919061507b565b600a54101561200f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120069061511d565b60405180910390fd5b6104b081601554612020919061507b565b1115612061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205890615189565b60405180910390fd5b61206d828260006134e1565b806015600082825461207f919061507b565b9250508190555060016009819055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546120cb90614a33565b80601f01602080910402602001604051908101604052809291908181526020018280546120f790614a33565b80156121445780601f1061211957610100808354040283529160200191612144565b820191906000526020600020905b81548152906001019060200180831161212757829003601f168201915b5050505050905090565b612156613288565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121bb576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006121c8613288565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612275613288565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122ba91906142b9565b60405180910390a35050565b6122ce613290565b73ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461235d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235490614cff565b60405180910390fd5b6000601b60008481526020019081526020016000205411801561239357506000601b600083815260200190815260200160002054115b80156123d257503273ffffffffffffffffffffffffffffffffffffffff166123ba83611ad7565b73ffffffffffffffffffffffffffffffffffffffff16145b801561241157503273ffffffffffffffffffffffffffffffffffffffff166123f982611ad7565b73ffffffffffffffffffffffffffffffffffffffff16145b612450576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124479061521b565b60405180910390fd5b61245982613346565b61246281613346565b5050565b600381565b601a6020528060005260406000206000915090505481565b601e6020528060005260406000206000915054906101000a900460ff1681565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6124d4848484613585565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612536576124ff8484848461394d565b612535576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60115481565b606061254d8261315b565b61258c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612583906152ad565b60405180910390fd5b60006018600084815260200190815260200160002080546125ac90614a33565b80601f01602080910402602001604051908101604052809291908181526020018280546125d890614a33565b80156126255780601f106125fa57610100808354040283529160200191612625565b820191906000526020600020905b81548152906001019060200180831161260857829003601f168201915b505050505090506000600f805461263b90614a33565b80601f016020809104026020016040519081016040528092919081815260200182805461266790614a33565b80156126b45780601f10612689576101008083540402835291602001916126b4565b820191906000526020600020905b81548152906001019060200180831161269757829003601f168201915b505050505090506000815114156126cf578192505050612733565b6000825111156127045780826040516020016126ec929190615309565b60405160208183030381529060405292505050612733565b8061270e85613a9e565b60405160200161271f929190615309565b604051602081830303815290604052925050505b919050565b60165481565b60006127498261315b565b9050919050565b612758613290565b73ffffffffffffffffffffffffffffffffffffffff16612776612092565b73ffffffffffffffffffffffffffffffffffffffff16146127cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c390614ab1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561283c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161283390614f83565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b600260095414156128f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e990614c6d565b60405180910390fd5b6002600981905550600e60009054906101000a900460ff16612949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294090615379565b60405180910390fd5b600b54836129579190615399565b341015612999576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129909061543f565b60405180910390fd5b6129a1613333565b836129ac919061507b565b600a5410156129f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e79061511d565b60405180910390fd5b6129fc84848484613bff565b612a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a32906154ab565b60405180910390fd5b601060009054906101000a900460ff1615612bce5760115482111580612a615750600382145b612aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9790615517565b60405180910390fd5b60038214612b3b57612ab23384613ca0565b612af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae890615583565b60405180910390fd5b82600c541015612b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b2d906155ef565b60405180910390fd5b612bc9565b8083601c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b87919061507b565b1115612bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbf90615583565b60405180910390fd5b5b612c14565b82600c541015612c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0a906155ef565b60405180910390fd5b5b61226a83601454612c25919061507b565b1115612c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5d9061565b565b60405180910390fd5b8260146000828254612c78919061507b565b9250508190555082601c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cce919061507b565b92505081905550612ce23384600b546134e1565b600160098190555050505050565b600d5481565b6060600f8054612d0590614a33565b80601f0160208091040260200160405190810160405280929190818152602001828054612d3190614a33565b8015612d7e5780601f10612d5357610100808354040283529160200191612d7e565b820191906000526020600020905b815481529060010190602001808311612d6157829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612e24613290565b73ffffffffffffffffffffffffffffffffffffffff16612e42612092565b73ffffffffffffffffffffffffffffffffffffffff1614612e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8f90614ab1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eff90614f83565b60405180910390fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612f54613290565b73ffffffffffffffffffffffffffffffffffffffff16612f72612092565b73ffffffffffffffffffffffffffffffffffffffff1614612fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbf90614ab1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302f906156ed565b60405180910390fd5b6130418161341b565b50565b61226a81565b613052613290565b73ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146130e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d890614cff565b60405180910390fd5b600a601260008154809291906130f69061570d565b91905055101561313b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313290615783565b60405180910390fd5b613146326001613cff565b565b600e60009054906101000a900460ff1681565b600081613166613298565b11158015613175575060005482105b80156131b3575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600080829050806131c9613298565b11613251576000548110156132505760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561324e575b6000811415613244576004600083600190039350838152602001908152602001600020549050613219565b8092505050613283565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b612a3060196000838152602001908152602001600020546132c2919061507b565b421180156132ee5750601e600082815260200190815260200160002060009054906101000a900460ff16155b15613320576001601e600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50565b61332e838383613585565b505050565b600061333d613298565b60005403905090565b61334f8161315b565b61338e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338590614b89565b60405180910390fd5b6000601b60008381526020019081526020016000205410156133e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133dc90615815565b60405180910390fd5b601b600082815260200190815260200160002060008154809291906134099061570d565b919050555050565b6000819050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006134eb613333565b90506134f78484613cff565b60008190505b8382613509919061507b565b81101561357e57600060018261351f919061507b565b905042601960008381526020019081526020016000208190555083601a6000838152602001908152602001600020819055506003601b60008381526020019081526020016000208190555050808061357690614bd8565b9150506134fd565b5050505050565b6000613590826131ba565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146135f7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006006600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008573ffffffffffffffffffffffffffffffffffffffff16613650613288565b73ffffffffffffffffffffffffffffffffffffffff16148061367f575061367e86613679613288565b612d88565b5b806136bc575061368d613288565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b9050806136f5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061370086613411565b1415613738576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6137458686866001613d1d565b600061375083613411565b1461378c576006600085815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b61385387613411565b1717600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156138dd5760006001850190506000600460008381526020019081526020016000205414156138db5760005481146138da578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139458686866001613d23565b505050505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613973613288565b8786866040518563ffffffff1660e01b8152600401613995949392919061588a565b6020604051808303816000875af19250505080156139d157506040513d601f19601f820116820180604052508101906139ce91906158eb565b60015b613a4b573d8060008114613a01576040519150601f19603f3d011682016040523d82523d6000602084013e613a06565b606091505b50600081511415613a43576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415613ae6576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613bfa565b600082905060005b60008214613b18578080613b0190614bd8565b915050600a82613b119190615947565b9150613aee565b60008167ffffffffffffffff811115613b3457613b336144c1565b5b6040519080825280601f01601f191660200182016040528015613b665781602001600182028036833780820191505090505b5090505b60008514613bf357600182613b7f9190615978565b9150600a85613b8e91906159ac565b6030613b9a919061507b565b60f81b818381518110613bb057613baf6159dd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613bec9190615947565b9450613b6a565b8093505050505b919050565b6000601060009054906101000a900460ff16613c1e5760019050613c98565b6003831015613c2d57600d5491505b600033858585604051602001613c469493929190615a0c565b604051602081830303815290604052805190602001209050600081604051602001613c719190615ac8565b604051602081830303815290604052805190602001209050613c938188613d29565b925050505b949350505050565b600080601c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600d548382613cf4919061507b565b111591505092915050565b613d19828260405180602001604052806000815250613e44565b5050565b50505050565b50505050565b6000806000806041855114613d445760009350505050613e3e565b6020850151925060408501519150606085015160001a9050601b8160ff161015613d7857601b81613d759190615afb565b90505b6000601b8260ff161480613d8f5750601c8260ff16145b15613de65760018783868660405160008152602001604052604051613db79493929190615b50565b6020604051602081039080840390855afa158015613dd9573d6000803e3d6000fd5b5050506020604051035190505b8073ffffffffffffffffffffffffffffffffffffffff16601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16149450505050505b92915050565b6000805490506000613e5585613411565b1415613e8d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613ec8576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613ed56000858386613d1d565b600160406001901b178302600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e1613f3a600185146140d5565b901b60a042901b613f4a86613411565b1717600460008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b1461404e575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ffe600087848060010195508761394d565b614034576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210613f8f57826000541461404957600080fd5b6140b9565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061404f575b8160008190555050506140cf6000858386613d23565b50505050565b6000819050919050565b8280546140eb90614a33565b90600052602060002090601f01602090048101928261410d5760008555614154565b82601f1061412657805160ff1916838001178555614154565b82800160010185558215614154579182015b82811115614153578251825591602001919060010190614138565b5b5090506141619190614165565b5090565b5b8082111561417e576000816000905550600101614166565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006141ad82614182565b9050919050565b6141bd816141a2565b82525050565b6000819050919050565b6141d6816141c3565b82525050565b60006040820190506141f160008301856141b4565b6141fe60208301846141cd565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61424e81614219565b811461425957600080fd5b50565b60008135905061426b81614245565b92915050565b6000602082840312156142875761428661420f565b5b60006142958482850161425c565b91505092915050565b60008115159050919050565b6142b38161429e565b82525050565b60006020820190506142ce60008301846142aa565b92915050565b6142dd816141a2565b81146142e857600080fd5b50565b6000813590506142fa816142d4565b92915050565b6000602082840312156143165761431561420f565b5b6000614324848285016142eb565b91505092915050565b600060208201905061434260008301846141cd565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614382578082015181840152602081019050614367565b83811115614391576000848401525b50505050565b6000601f19601f8301169050919050565b60006143b382614348565b6143bd8185614353565b93506143cd818560208601614364565b6143d681614397565b840191505092915050565b600060208201905081810360008301526143fb81846143a8565b905092915050565b61440c816141c3565b811461441757600080fd5b50565b60008135905061442981614403565b92915050565b6000602082840312156144455761444461420f565b5b60006144538482850161441a565b91505092915050565b600060208201905061447160008301846141b4565b92915050565b6000806040838503121561448e5761448d61420f565b5b600061449c858286016142eb565b92505060206144ad8582860161441a565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144f982614397565b810181811067ffffffffffffffff82111715614518576145176144c1565b5b80604052505050565b600061452b614205565b905061453782826144f0565b919050565b600067ffffffffffffffff821115614557576145566144c1565b5b61456082614397565b9050602081019050919050565b82818337600083830152505050565b600061458f61458a8461453c565b614521565b9050828152602081018484840111156145ab576145aa6144bc565b5b6145b684828561456d565b509392505050565b600082601f8301126145d3576145d26144b7565b5b81356145e384826020860161457c565b91505092915050565b600080604083850312156146035761460261420f565b5b60006146118582860161441a565b925050602083013567ffffffffffffffff81111561463257614631614214565b5b61463e858286016145be565b9150509250929050565b6000806000606084860312156146615761466061420f565b5b600061466f868287016142eb565b9350506020614680868287016142eb565b92505060406146918682870161441a565b9150509250925092565b60008060008060008060c087890312156146b8576146b761420f565b5b60006146c689828a0161441a565b96505060206146d789828a0161441a565b95505060406146e889828a0161441a565b94505060606146f989828a0161441a565b935050608061470a89828a0161441a565b92505060a087013567ffffffffffffffff81111561472b5761472a614214565b5b61473789828a016145be565b9150509295509295509295565b61474d8161429e565b811461475857600080fd5b50565b60008135905061476a81614744565b92915050565b6000602082840312156147865761478561420f565b5b60006147948482850161475b565b91505092915050565b600080604083850312156147b4576147b361420f565b5b60006147c2858286016142eb565b92505060206147d38582860161475b565b9150509250929050565b600080604083850312156147f4576147f361420f565b5b60006148028582860161441a565b92505060206148138582860161441a565b9150509250929050565b600067ffffffffffffffff821115614838576148376144c1565b5b61484182614397565b9050602081019050919050565b600061486161485c8461481d565b614521565b90508281526020810184848401111561487d5761487c6144bc565b5b61488884828561456d565b509392505050565b600082601f8301126148a5576148a46144b7565b5b81356148b584826020860161484e565b91505092915050565b600080600080608085870312156148d8576148d761420f565b5b60006148e6878288016142eb565b94505060206148f7878288016142eb565b93505060406149088782880161441a565b925050606085013567ffffffffffffffff81111561492957614928614214565b5b61493587828801614890565b91505092959194509250565b6000806000806080858703121561495b5761495a61420f565b5b600085013567ffffffffffffffff81111561497957614978614214565b5b61498587828801614890565b94505060206149968782880161441a565b93505060406149a78782880161441a565b92505060606149b88782880161441a565b91505092959194509250565b600080604083850312156149db576149da61420f565b5b60006149e9858286016142eb565b92505060206149fa858286016142eb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614a4b57607f821691505b60208210811415614a5f57614a5e614a04565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614a9b602083614353565b9150614aa682614a65565b602082019050919050565b60006020820190508181036000830152614aca81614a8e565b9050919050565b7f4e65772055524c20496e76616c69640000000000000000000000000000000000600082015250565b6000614b07600f83614353565b9150614b1282614ad1565b602082019050919050565b60006020820190508181036000830152614b3681614afa565b9050919050565b7f496e76616c696420546f6b656e00000000000000000000000000000000000000600082015250565b6000614b73600d83614353565b9150614b7e82614b3d565b602082019050919050565b60006020820190508181036000830152614ba281614b66565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614be3826141c3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c1657614c15614ba9565b5b600182019050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614c57601f83614353565b9150614c6282614c21565b602082019050919050565b60006020820190508181036000830152614c8681614c4a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f7263686560008201527f73747261746f7200000000000000000000000000000000000000000000000000602082015250565b6000614ce9602783614353565b9150614cf482614c8d565b604082019050919050565b60006020820190508181036000830152614d1881614cdc565b9050919050565b7f4f726967696e616c204d696e74696e67205072696365206973207a65726f0000600082015250565b6000614d55601e83614353565b9150614d6082614d1f565b602082019050919050565b60006020820190508181036000830152614d8481614d48565b9050919050565b7f54686520746f6b656e206973206e6f7420617661696c61626c6520666f72207260008201527f6566756e64000000000000000000000000000000000000000000000000000000602082015250565b6000614de7602583614353565b9150614df282614d8b565b604082019050919050565b60006020820190508181036000830152614e1681614dda565b9050919050565b600081519050614e2c816142d4565b92915050565b600060208284031215614e4857614e4761420f565b5b6000614e5684828501614e1d565b91505092915050565b7f5065726d697373696f6e2044656e696564203a20546f6b656e204f776e65722060008201527f6e6f742076616c69640000000000000000000000000000000000000000000000602082015250565b6000614ebb602983614353565b9150614ec682614e5f565b604082019050919050565b60006020820190508181036000830152614eea81614eae565b9050919050565b600081905092915050565b50565b6000614f0c600083614ef1565b9150614f1782614efc565b600082019050919050565b6000614f2d82614eff565b9150819050919050565b7f3230303a5a45524f5f4144445245535300000000000000000000000000000000600082015250565b6000614f6d601083614353565b9150614f7882614f37565b602082019050919050565b60006020820190508181036000830152614f9c81614f60565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b6000614fd9601283614353565b9150614fe482614fa3565b602082019050919050565b6000602082019050818103600083015261500881614fcc565b9050919050565b7f546f74616c20737570706c7920746f6f206c6f77000000000000000000000000600082015250565b6000615045601483614353565b91506150508261500f565b602082019050919050565b6000602082019050818103600083015261507481615038565b9050919050565b6000615086826141c3565b9150615091836141c3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156150c6576150c5614ba9565b5b828201905092915050565b7f537570706c79206c696d69740000000000000000000000000000000000000000600082015250565b6000615107600c83614353565b9150615112826150d1565b602082019050919050565b60006020820190508181036000830152615136816150fa565b9050919050565b7f4d616e75616c20646973747269627574696f6e20636170207265616368656400600082015250565b6000615173601f83614353565b915061517e8261513d565b602082019050919050565b600060208201905081810360008301526151a281615166565b9050919050565b7f5468652062756c6c2063616e74206265207573656420746f2062757920616e2060008201527f496e63756261746f720000000000000000000000000000000000000000000000602082015250565b6000615205602983614353565b9150615210826151a9565b604082019050919050565b60006020820190508181036000830152615234816151f8565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615297602f83614353565b91506152a28261523b565b604082019050919050565b600060208201905081810360008301526152c68161528a565b9050919050565b600081905092915050565b60006152e382614348565b6152ed81856152cd565b93506152fd818560208601614364565b80840191505092915050565b600061531582856152d8565b915061532182846152d8565b91508190509392505050565b7f436f6e747261637420636c6f7365640000000000000000000000000000000000600082015250565b6000615363600f83614353565b915061536e8261532d565b602082019050919050565b6000602082019050818103600083015261539281615356565b9050919050565b60006153a4826141c3565b91506153af836141c3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153e8576153e7614ba9565b5b828202905092915050565b7f496e73756666696369656e742045544800000000000000000000000000000000600082015250565b6000615429601083614353565b9150615434826153f3565b602082019050919050565b600060208201905081810360008301526154588161541c565b9050919050565b7f57616c6c6574206973206e6f742077686974656c697374656400000000000000600082015250565b6000615495601983614353565b91506154a08261545f565b602082019050919050565b600060208201905081810360008301526154c481615488565b9050919050565b7f54696572206973206e6f742076616c6964000000000000000000000000000000600082015250565b6000615501601183614353565b915061550c826154cb565b602082019050919050565b60006020820190508181036000830152615530816154f4565b9050919050565b7f486f6c64696e67206c696d697420726561636865640000000000000000000000600082015250565b600061556d601583614353565b915061557882615537565b602082019050919050565b6000602082019050818103600083015261559c81615560565b9050919050565b7f546f6f206d616e7920746f6b656e730000000000000000000000000000000000600082015250565b60006155d9600f83614353565b91506155e4826155a3565b602082019050919050565b60006020820190508181036000830152615608816155cc565b9050919050565b7f55736572204d696e74696e6720416d6f756e7420526561636865640000000000600082015250565b6000615645601b83614353565b91506156508261560f565b602082019050919050565b6000602082019050818103600083015261567481615638565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156d7602683614353565b91506156e28261567b565b604082019050919050565b60006020820190508181036000830152615706816156ca565b9050919050565b6000615718826141c3565b9150600082141561572c5761572b614ba9565b5b600182039050919050565b7f416c6c20476f642062756c6c7320617265206372656174656400000000000000600082015250565b600061576d601983614353565b915061577882615737565b602082019050919050565b6000602082019050818103600083015261579c81615760565b9050919050565b7f5468652062756c6c20616c72656164792065766f6c76656420746f206d61786960008201527f6d756d2063617061636974790000000000000000000000000000000000000000602082015250565b60006157ff602c83614353565b915061580a826157a3565b604082019050919050565b6000602082019050818103600083015261582e816157f2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061585c82615835565b6158668185615840565b9350615876818560208601614364565b61587f81614397565b840191505092915050565b600060808201905061589f60008301876141b4565b6158ac60208301866141b4565b6158b960408301856141cd565b81810360608301526158cb8184615851565b905095945050505050565b6000815190506158e581614245565b92915050565b6000602082840312156159015761590061420f565b5b600061590f848285016158d6565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615952826141c3565b915061595d836141c3565b92508261596d5761596c615918565b5b828204905092915050565b6000615983826141c3565b915061598e836141c3565b9250828210156159a1576159a0614ba9565b5b828203905092915050565b60006159b7826141c3565b91506159c2836141c3565b9250826159d2576159d1615918565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000608082019050615a2160008301876141b4565b615a2e60208301866141cd565b615a3b60408301856141cd565b615a4860608301846141cd565b95945050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615a87601c836152cd565b9150615a9282615a51565b601c82019050919050565b6000819050919050565b6000819050919050565b615ac2615abd82615a9d565b615aa7565b82525050565b6000615ad382615a7a565b9150615adf8284615ab1565b60208201915081905092915050565b600060ff82169050919050565b6000615b0682615aee565b9150615b1183615aee565b92508260ff03821115615b2757615b26614ba9565b5b828201905092915050565b615b3b81615a9d565b82525050565b615b4a81615aee565b82525050565b6000608082019050615b656000830187615b32565b615b726020830186615b41565b615b7f6040830185615b32565b615b8c6060830184615b32565b9594505050505056fea26469706673582212203384755de02a21df14633f5bfb6f73aaa6f4eb3c5086f033be7ad7187c74988564736f6c634300080c0033

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

00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000002904000000000000000000000000000000000000000000000000025bf6196bd1000000000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000b1bbe302bb74f45564258a8eb00e7852230a33ff00000000000000000000000000000000000000000000000000000000000000114241502047454e455349532042554c4c53000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000742415042554c4c00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): BAP GENESIS BULLS
Arg [1] : _symbol (string): BAPBULL
Arg [2] : _totalSupply (uint256): 10500
Arg [3] : _mintPrice (uint256): 170000000000000000
Arg [4] : _mintMax (uint256): 5
Arg [5] : _holdMax (uint256): 5
Arg [6] : _secret (address): 0xB1BbE302BB74f45564258a8Eb00E7852230A33fF

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002904
Arg [3] : 000000000000000000000000000000000000000000000000025bf6196bd10000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 000000000000000000000000b1bbe302bb74f45564258a8eb00e7852230a33ff
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [8] : 4241502047454e455349532042554c4c53000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [10] : 42415042554c4c00000000000000000000000000000000000000000000000000


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.