ETH Price: $3,180.40 (+3.05%)

Token

The Sevens Eve (EVE)
 

Overview

Max Total Supply

10,777 EVE

Holders

3,226

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 EVE
0x45b0cc5ae38dab55977f2e85952b0109d35ccd5c
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Eve

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 7 of 13: Eve.sol
// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.10;

import { ERC721ALowCap } from "./ERC721ALowCap.sol";
import { ERC721A } from "./ERC721A.sol";
import { Strings } from "./Strings.sol";
import { ECDSA } from "./ECDSA.sol";
import { Ownable } from "./Ownable.sol";

contract Eve is ERC721A, ERC721ALowCap, Ownable {
    using ECDSA for bytes32;
    using Strings for uint256;

    modifier directOnly {
        require(msg.sender == tx.origin);
        _;
    }

    enum SaleStatus {
        CLOSED,
        WHITELIST,
        PUBLIC
    }

    struct AirdropData {
        address to;
        uint96 amount;
    }

    // Supply constants
    uint public constant MaxSupply = 10777;
    uint public constant ReservedSupply = 4407;
    uint public constant PublicSupply = MaxSupply - ReservedSupply;

    // Mint Settings
    uint public constant MintPassWhitelistMintPrice =  0.049 ether;
    uint public constant WhitelistMintPrice =  0.06 ether;
    uint public constant PublicMintPrice =  0.07 ether;
    uint constant maxMintsPerPublicTX = 7;

    // Sha-256 provenance
    bytes32 public constant provenanceHash = 0x0f3ca15e7fa2310a264187a0541bea543c0109ee43414f6bccdbfda35feb2de0;

    // Muttable state
    uint public reservedMinted;
    uint public randomStartingIndex;

    SaleStatus public saleStatus;

    string baseURI = "";

    address public signer = 0x6BFe1678260eAE70bD571997F4fDa7B731a155fD;

    constructor() ERC721A("The Sevens Eve", "EVE") {}

    // Minting

    function mintPublic(uint amount) external payable directOnly {
        // Check for sale status
        require(saleStatus == SaleStatus.PUBLIC, "Sale is not active");

        // Make sure mint doesn't go over total supply
        require(_totalMinted() + amount <= PublicSupply + reservedMinted, "Mint would go over max supply");

        // Verify the ETH amount sent
        require(msg.value == amount * PublicMintPrice, "Invalid ETH sent");

        // Mints per public transaction are limited to 7
        require(amount > 0 && amount <= maxMintsPerPublicTX, "Invalid amount");

        // Mint the token(s)
        _mint(msg.sender, amount, false, false);

        // If maximum public supply is reached, close the saleStatus
        if(_totalMinted() == PublicSupply + reservedMinted) {
            saleStatus = SaleStatus.CLOSED;
        }
    }

    function mintWhitelist(uint amount, uint mintPassAmount, uint maxAmount, uint maxMintPassAmount, bytes calldata signature) external payable directOnly {
        // Check for sale status
        require(saleStatus == SaleStatus.WHITELIST, "Sale is not active");

        // Make sure mint doesn't go over total supply
        require(_totalMinted() + amount + mintPassAmount <= PublicSupply + reservedMinted, "Mint would go over max supply");

        // Fetch amount minted for sender
        (uint whitelistMinted, uint mintPassMinted) = getWhitelistMintedData(msg.sender);

        // Verify sender isn't minting over maximum allowed for both whitelist minting and mint pass whitelist minting
        require(amount + whitelistMinted <= maxAmount, "Invalid amount");
        require(mintPassAmount + mintPassMinted <= maxMintPassAmount, "Invalid amount");

        // Verify the ETH amount sent
        require(msg.value == (amount * WhitelistMintPrice) + (mintPassAmount * MintPassWhitelistMintPrice), "Invalid ETH sent");

        // Verify the ECDSA signature
        require(verifySignature(keccak256(abi.encode(msg.sender, maxAmount, maxMintPassAmount)), signature));
        
        /*
         * Mint the token(s)
         * while splitting mints in batches of 7
         * this will help with gas consuming loops when transferring or selling tokens
         */ 
        if(amount > 0) {
            uint mintedSoFar = 0;
            do {
                uint batchAmount = min(amount - mintedSoFar, 7);
                mintedSoFar += batchAmount;
                _mint(msg.sender, batchAmount, true, false);
            } while(mintedSoFar < amount);
        }

        if(mintPassAmount > 0) {
            uint mintedSoFar = 0;
            do {
                uint batchAmount = min(mintPassAmount - mintedSoFar, 7);
                mintedSoFar += batchAmount;
                _mint(msg.sender, batchAmount, false, true);
            } while(mintedSoFar < mintPassAmount);
        }
    }

    // View Only

    function tokenURI(uint tokenId) public view override returns(string memory) {
        return string(abi.encodePacked(baseURI, tokenId.toString(), '.json'));
    }

    // Internal

    function verifySignature(bytes32 hash, bytes calldata signature) internal view returns(bool) {
        return hash.toEthSignedMessageHash().recover(signature) == signer;
    }

    // Only Owner

    function airdrop(AirdropData[] calldata airdropData) external onlyOwner {
        uint totalDropped = 0;
        unchecked {
            uint len = airdropData.length;
            for(uint i = 0; i < len; i++) {
                totalDropped += airdropData[i].amount;
                _airdropMint(airdropData[i].to, airdropData[i].amount);
            }
        }
        require((reservedMinted += totalDropped) <= ReservedSupply, "OVER_SUPPLY");
    }

    function setSigner(address _signer) external onlyOwner {
        signer = _signer;
    }

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

    function rollRandomStartingIndex() external onlyOwner {
        require(provenanceHash != bytes32(0), "PROVENANCE_HASH_NOT_SET");
        require(randomStartingIndex == 0, "RSI_SET");

        uint random = uint(keccak256(abi.encode(block.timestamp, block.difficulty, totalSupply())));
        randomStartingIndex = (random % MaxSupply);

        /* 
         * The first token in the collection(which starts from 1) will have the metadata of `randomStartingIndex`
         * for that reason it must not be the same to avoid default order
         */
        if(randomStartingIndex == 1) randomStartingIndex++;
    }

    // 0: CLOSED
    // 1: WHITELIST
    // 2: PUBLIC
    function setSaleStatus(SaleStatus _saleStatus) external onlyOwner {
        saleStatus = _saleStatus;
    }

    function withdraw(address to) external onlyOwner {
        (bool success, ) = to.call{ value: address(this).balance }("");
        require(success, "Transfer failed");
    }

    // Utils

    function min(uint a, uint b) internal pure returns(uint) {
        return(a < b ? a : b);
    }

}

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 3 of 13: ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "./Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 4 of 13: ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 5 of 13: ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721.sol';
import './IERC721Receiver.sol';
import './IERC721Metadata.sol';
import './Address.sol';
import './Context.sol';
import './Strings.sol';
import './ERC165.sol';

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

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

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;

        uint32 whitelistMinted;
        uint32 mintPassWhitelistMinted;
    }

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    function getWhitelistMintedData(address owner) public view returns (uint32, uint32) {
        return (_addressData[owner].whitelistMinted, _addressData[owner].mintPassWhitelistMinted);
    }

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    /**
     * @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,
        bool addToWhitelistMinted,
        bool addToMintPassWhitelistMinted
    ) internal {
        uint256 startTokenId = _currentIndex;

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

            _ownerships[startTokenId].addr = to;

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

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex != end);
            _currentIndex = updatedIndex;
        }
    }

    function _airdropMint(
        address to,
        uint256 quantity
    ) internal {
        uint256 startTokenId = _currentIndex;

        unchecked {
            _addressData[to].balance += uint64(quantity);

            _ownerships[startTokenId].addr = to;

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

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex != end);
            _currentIndex = updatedIndex;
        }
    }

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

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

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

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

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

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

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;

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

        emit Transfer(from, to, tokenId);
    }

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

File 6 of 13: ERC721ALowCap.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './ERC721A.sol';

/**
 * @title ERC721A Low Cap
 * @dev ERC721A Helper functions for Low Cap (<= 10,000) totalSupply.
 */
abstract contract ERC721ALowCap is ERC721A {
    /**
     * @dev Returns the tokenIds of the address. O(totalSupply) in complexity.
     */
    function tokensOfOwner(address owner) public view returns (uint256[] memory) {
        uint256 holdingAmount = balanceOf(owner);
        uint256 currSupply = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        uint256[] memory list = new uint256[](holdingAmount);

        unchecked {
            for (uint256 i = _startTokenId(); i < currSupply; ++i) {
                TokenOwnership memory ownership = _ownerships[i];

                if (ownership.burned) {
                    continue;
                }

                // Find out who owns this sequence
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }

                // Append tokens the last found owner owns in the sequence
                if (currOwnershipAddr == owner) {
                    list[tokenIdsIdx++] = i;
                }

                // All tokens have been found, we don't need to keep searching
                if (tokenIdsIdx == holdingAmount) {
                    break;
                }
            }
        }

        return list;
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./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 13 of 13: 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);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MintPassWhitelistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ReservedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WhitelistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint96","name":"amount","type":"uint96"}],"internalType":"struct Eve.AirdropData[]","name":"airdropData","type":"tuple[]"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getWhitelistMintedData","outputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"uint32","name":"","type":"uint32"}],"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"mintPassAmount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"},{"internalType":"uint256","name":"maxMintPassAmount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomStartingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rollRandomStartingIndex","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":"saleStatus","outputs":[{"internalType":"enum Eve.SaleStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Eve.SaleStatus","name":"_saleStatus","type":"uint8"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b91600c9162000122565b50600d80546001600160a01b031916736bfe1678260eae70bd571997f4fda7b731a155fd1790553480156200004f57600080fd5b50604080518082018252600e81526d54686520536576656e732045766560901b60208083019182528351808501909452600384526245564560e81b908401528151919291620000a19160029162000122565b508051620000b790600390602084019062000122565b5050600160005550620000ca33620000d0565b62000205565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013090620001c8565b90600052602060002090601f0160209004810192826200015457600085556200019f565b82601f106200016f57805160ff19168380011785556200019f565b828001600101855582156200019f579182015b828111156200019f57825182559160200191906001019062000182565b50620001ad929150620001b1565b5090565b5b80821115620001ad5760008155600101620001b2565b600181811c90821680620001dd57607f821691505b60208210811415620001ff57634e487b7160e01b600052602260045260246000fd5b50919050565b6128bd80620002156000396000f3fe6080604052600436106102255760003560e01c8063715018a611610123578063b36c1284116100ab578063ed88ed9f1161006f578063ed88ed9f14610685578063efd0cbf9146106a0578063f2fde38b146106b3578063f9020e33146106d3578063ff4171b4146106fa57600080fd5b8063b36c1284146105b2578063b88d4fde146105c8578063c6ab67a3146105e8578063c87b56dd1461061c578063e985e9c51461063c57600080fd5b8063891c4697116100f2578063891c46971461052f5780638da5cb5b1461054a57806395d89b41146105685780639893a2ce1461057d578063a22cb4651461059257600080fd5b8063715018a6146104ba57806371a067a5146104cf5780637cd9e75b146104e25780638462151c1461050257600080fd5b80634891ad88116101b157806362c16f541161017557806362c16f54146104075780636352211e1461044457806368deb99d146104645780636c19e7831461047a57806370a082311461049a57600080fd5b80634891ad881461037c5780634f297ccc1461039c57806351cff8d9146103b257806355f804b3146103d257806357fc0f7f146103f257600080fd5b80630e5edc9e116101f85780630e5edc9e146102db57806318160ddd146102ff578063238ac9331461031c57806323b872dd1461033c57806342842e0e1461035c57600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a61024536600461211d565b610715565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610767565b6040516102569190612192565b34801561028d57600080fd5b506102a161029c3660046121a5565b6107f9565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d43660046121da565b61083d565b005b3480156102e757600080fd5b506102f161113781565b604051908152602001610256565b34801561030b57600080fd5b5060015460005403600019016102f1565b34801561032857600080fd5b50600d546102a1906001600160a01b031681565b34801561034857600080fd5b506102d9610357366004612204565b6108cb565b34801561036857600080fd5b506102d9610377366004612204565b6108d6565b34801561038857600080fd5b506102d9610397366004612240565b6108f1565b3480156103a857600080fd5b506102f160095481565b3480156103be57600080fd5b506102d96103cd366004612261565b61094b565b3480156103de57600080fd5b506102d96103ed3660046122be565b610a0e565b3480156103fe57600080fd5b506102f1610a44565b34801561041357600080fd5b50610427610422366004612261565b610a55565b6040805163ffffffff938416815292909116602083015201610256565b34801561045057600080fd5b506102a161045f3660046121a5565b610a88565b34801561047057600080fd5b506102f1600a5481565b34801561048657600080fd5b506102d9610495366004612261565b610a9a565b3480156104a657600080fd5b506102f16104b5366004612261565b610ae6565b3480156104c657600080fd5b506102d9610b35565b6102d96104dd366004612300565b610b6b565b3480156104ee57600080fd5b506102d96104fd36600461236a565b610e07565b34801561050e57600080fd5b5061052261051d366004612261565b610f39565b60405161025691906123df565b34801561053b57600080fd5b506102f166ae153d89fe800081565b34801561055657600080fd5b506008546001600160a01b03166102a1565b34801561057457600080fd5b5061027461105c565b34801561058957600080fd5b506102d961106b565b34801561059e57600080fd5b506102d96105ad366004612423565b61114c565b3480156105be57600080fd5b506102f1612a1981565b3480156105d457600080fd5b506102d96105e3366004612475565b6111e2565b3480156105f457600080fd5b506102f17f0f3ca15e7fa2310a264187a0541bea543c0109ee43414f6bccdbfda35feb2de081565b34801561062857600080fd5b506102746106373660046121a5565b611233565b34801561064857600080fd5b5061024a610657366004612551565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561069157600080fd5b506102f166d529ae9e86000081565b6102d96106ae3660046121a5565b611267565b3480156106bf57600080fd5b506102d96106ce366004612261565b611417565b3480156106df57600080fd5b50600b546106ed9060ff1681565b604051610256919061259a565b34801561070657600080fd5b506102f166f8b0a10e47000081565b60006001600160e01b031982166380ac58cd60e01b148061074657506001600160e01b03198216635b5e139f60e01b145b8061076157506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610776906125c2565b80601f01602080910402602001604051908101604052809291908181526020018280546107a2906125c2565b80156107ef5780601f106107c4576101008083540402835291602001916107ef565b820191906000526020600020905b8154815290600101906020018083116107d257829003601f168201915b5050505050905090565b6000610804826114af565b610821576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061084882610a88565b9050806001600160a01b0316836001600160a01b0316141561087d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061089d575061089b8133610657565b155b156108bb576040516367d9dca160e11b815260040160405180910390fd5b6108c68383836114e8565b505050565b6108c6838383611544565b6108c6838383604051806020016040528060008152506111e2565b6008546001600160a01b031633146109245760405162461bcd60e51b815260040161091b906125fd565b60405180910390fd5b600b805482919060ff1916600183600281111561094357610943612584565b021790555050565b6008546001600160a01b031633146109755760405162461bcd60e51b815260040161091b906125fd565b6000816001600160a01b03164760405160006040518083038185875af1925050503d80600081146109c2576040519150601f19603f3d011682016040523d82523d6000602084013e6109c7565b606091505b5050905080610a0a5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015260640161091b565b5050565b6008546001600160a01b03163314610a385760405162461bcd60e51b815260040161091b906125fd565b6108c6600c838361206e565b610a52611137612a19612648565b81565b6001600160a01b031660009081526005602052604090205463ffffffff600160c01b8204811692600160e01b9092041690565b6000610a9382611710565b5192915050565b6008546001600160a01b03163314610ac45760405162461bcd60e51b815260040161091b906125fd565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610b0f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610b5f5760405162461bcd60e51b815260040161091b906125fd565b610b6960006117fd565b565b333214610b7757600080fd5b6001600b5460ff166002811115610b9057610b90612584565b14610bd25760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b604482015260640161091b565b600954610be3611137612a19612648565b610bed919061265f565b8587610bfc6000546000190190565b610c06919061265f565b610c10919061265f565b1115610c5e5760405162461bcd60e51b815260206004820152601d60248201527f4d696e7420776f756c6420676f206f766572206d617820737570706c79000000604482015260640161091b565b600080610c6a33610a55565b63ffffffff918216935016905085610c82838a61265f565b1115610ca05760405162461bcd60e51b815260040161091b90612677565b84610cab828961265f565b1115610cc95760405162461bcd60e51b815260040161091b90612677565b610cda66ae153d89fe80008861269f565b610ceb66d529ae9e8600008a61269f565b610cf5919061265f565b3414610d365760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908115512081cd95b9d60821b604482015260640161091b565b6040805133602082015290810187905260608101869052610d719060800160405160208183030381529060405280519060200120858561184f565b610d7a57600080fd5b8715610dbf5760005b6000610d99610d92838c612648565b60076118bb565b9050610da5818361265f565b9150610db53382600160006118d3565b50888110610d8357505b8615610dfd5760005b6000610dd7610d92838b612648565b9050610de3818361265f565b9150610df33382600060016118d3565b50878110610dc857505b5050505050505050565b6008546001600160a01b03163314610e315760405162461bcd60e51b815260040161091b906125fd565b600081815b81811015610ee057848482818110610e5057610e506126be565b9050604002016020016020810190610e6891906126d4565b6001600160601b031683019250610ed8858583818110610e8a57610e8a6126be565b610ea09260206040909202019081019150612261565b868684818110610eb257610eb26126be565b9050604002016020016020810190610eca91906126d4565b6001600160601b0316611a12565b600101610e36565b50506111378160096000828254610ef7919061265f565b92505081905511156108c65760405162461bcd60e51b815260206004820152600b60248201526a4f5645525f535550504c5960a81b604482015260640161091b565b60606000610f4683610ae6565b6000805491925080808467ffffffffffffffff811115610f6857610f6861245f565b604051908082528060200260200182016040528015610f91578160200160208202803683370190505b50905060015b84811015611051576000818152600460209081526040918290208251808401909352546001600160a01b0381168352600160a01b900460ff1615801591830191909152610fe45750611049565b80516001600160a01b031615610ff957805193505b886001600160a01b0316846001600160a01b03161415611039578183868060010197508151811061102c5761102c6126be565b6020026020010181815250505b868514156110475750611051565b505b600101610f97565b509695505050505050565b606060038054610776906125c2565b6008546001600160a01b031633146110955760405162461bcd60e51b815260040161091b906125fd565b600a54156110cf5760405162461bcd60e51b81526020600482015260076024820152661494d257d4d15560ca1b604482015260640161091b565b600042446110e66001546000546000199190030190565b604080516020810194909452830191909152606082015260800160408051601f1981840301815291905280516020909101209050611126612a1982612713565b600a8190556001141561114957600a805490600061114383612727565b91905055505b50565b6001600160a01b0382163314156111765760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111ed848484611544565b6001600160a01b0383163b1515801561120f575061120d84848484611abf565b155b1561122d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600c61124083611ba8565b60405160200161125192919061275e565b6040516020818303038152906040529050919050565b33321461127357600080fd5b6002600b5460ff16600281111561128c5761128c612584565b146112ce5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b604482015260640161091b565b6009546112df611137612a19612648565b6112e9919061265f565b816112f76000546000190190565b611301919061265f565b111561134f5760405162461bcd60e51b815260206004820152601d60248201527f4d696e7420776f756c6420676f206f766572206d617820737570706c79000000604482015260640161091b565b61136066f8b0a10e4700008261269f565b34146113a15760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908115512081cd95b9d60821b604482015260640161091b565b6000811180156113b2575060078111155b6113ce5760405162461bcd60e51b815260040161091b90612677565b6113db33826000806118d3565b6009546113ec611137612a19612648565b6113f6919061265f565b60005460001901141561114957600b80546000919060ff1916600183610943565b6008546001600160a01b031633146114415760405162461bcd60e51b815260040161091b906125fd565b6001600160a01b0381166114a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161091b565b611149816117fd565b6000816001111580156114c3575060005482105b8015610761575050600090815260046020526040902054600160a01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061154f82611710565b9050836001600160a01b031681600001516001600160a01b0316146115865760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806115a457506115a48533610657565b806115bf5750336115b4846107f9565b6001600160a01b0316145b9050806115df57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661160657604051633a954ecd60e21b815260040160405180910390fd5b611612600084876114e8565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600490935281842080546001600160a01b03191690911781559187018084529220805491939091166116c55760005482146116c55780546001600160a01b0319166001600160a01b0389161781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60408051808201909152600080825260208201528180600111158015611737575060005481105b156117e4576000818152600460209081526040918290208251808401909352546001600160a01b0381168352600160a01b900460ff1615159082018190526117e25780516001600160a01b031615611790579392505050565b50600019016000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910460ff16151591830191909152156117dd579392505050565b611790565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d54604080516020601f85018190048102820181019092528381526000926001600160a01b0316916118a9919086908690819084018382808284376000920191909152506118a39250899150611ca69050565b90611cf9565b6001600160a01b031614949350505050565b60008183106118ca57816118cc565b825b9392505050565b600080546001600160a01b03861682526005602052604090912080546801000000000000000067ffffffffffffffff8083168801811667ffffffffffffffff1984168117839004821689019091169091026fffffffffffffffffffffffffffffffff1990921617178155831561196a57805463ffffffff600160c01b808304821688019091160263ffffffff60c01b199091161781555b821561199657805463ffffffff600160e01b80830482168801909116026001600160e01b039091161781555b600082815260046020526040902080546001600160a01b0319166001600160a01b038816179055818581015b6040516001830192906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156119c25750600055505050505050565b600080546001600160a01b038416808352600560209081526040808520805467ffffffffffffffff80821689011667ffffffffffffffff19909116179055838552600490915290922080546001600160a01b031916909217909155808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611a725750600055505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611af4903390899088908890600401612819565b6020604051808303816000875af1925050508015611b2f575060408051601f3d908101601f19168201909252611b2c91810190612856565b60015b611b8a573d808015611b5d576040519150601f19603f3d011682016040523d82523d6000602084013e611b62565b606091505b508051611b82576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081611bcc5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bf65780611be081612727565b9150611bef9050600a83612873565b9150611bd0565b60008167ffffffffffffffff811115611c1157611c1161245f565b6040519080825280601f01601f191660200182016040528015611c3b576020820181803683370190505b5090505b8415611ba057611c50600183612648565b9150611c5d600a86612713565b611c6890603061265f565b60f81b818381518110611c7d57611c7d6126be565b60200101906001600160f81b031916908160001a905350611c9f600a86612873565b9450611c3f565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6000806000611d088585611d1d565b91509150611d1581611d8d565b509392505050565b600080825160411415611d545760208301516040840151606085015160001a611d4887828585611f48565b94509450505050611d86565b825160401415611d7e5760208301516040840151611d73868383612035565b935093505050611d86565b506000905060025b9250929050565b6000816004811115611da157611da1612584565b1415611daa5750565b6001816004811115611dbe57611dbe612584565b1415611e0c5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161091b565b6002816004811115611e2057611e20612584565b1415611e6e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161091b565b6003816004811115611e8257611e82612584565b1415611edb5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161091b565b6004816004811115611eef57611eef612584565b14156111495760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161091b565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611f7f575060009050600361202c565b8460ff16601b14158015611f9757508460ff16601c14155b15611fa8575060009050600461202c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611ffc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166120255760006001925092505061202c565b9150600090505b94509492505050565b6000806001600160ff1b0383168161205260ff86901c601b61265f565b905061206087828885611f48565b935093505050935093915050565b82805461207a906125c2565b90600052602060002090601f01602090048101928261209c57600085556120e2565b82601f106120b55782800160ff198235161785556120e2565b828001600101855582156120e2579182015b828111156120e25782358255916020019190600101906120c7565b506120ee9291506120f2565b5090565b5b808211156120ee57600081556001016120f3565b6001600160e01b03198116811461114957600080fd5b60006020828403121561212f57600080fd5b81356118cc81612107565b60005b8381101561215557818101518382015260200161213d565b8381111561122d5750506000910152565b6000815180845261217e81602086016020860161213a565b601f01601f19169290920160200192915050565b6020815260006118cc6020830184612166565b6000602082840312156121b757600080fd5b5035919050565b80356001600160a01b03811681146121d557600080fd5b919050565b600080604083850312156121ed57600080fd5b6121f6836121be565b946020939093013593505050565b60008060006060848603121561221957600080fd5b612222846121be565b9250612230602085016121be565b9150604084013590509250925092565b60006020828403121561225257600080fd5b8135600381106118cc57600080fd5b60006020828403121561227357600080fd5b6118cc826121be565b60008083601f84011261228e57600080fd5b50813567ffffffffffffffff8111156122a657600080fd5b602083019150836020828501011115611d8657600080fd5b600080602083850312156122d157600080fd5b823567ffffffffffffffff8111156122e857600080fd5b6122f48582860161227c565b90969095509350505050565b60008060008060008060a0878903121561231957600080fd5b86359550602087013594506040870135935060608701359250608087013567ffffffffffffffff81111561234c57600080fd5b61235889828a0161227c565b979a9699509497509295939492505050565b6000806020838503121561237d57600080fd5b823567ffffffffffffffff8082111561239557600080fd5b818501915085601f8301126123a957600080fd5b8135818111156123b857600080fd5b8660208260061b85010111156123cd57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b81811015612417578351835292840192918401916001016123fb565b50909695505050505050565b6000806040838503121561243657600080fd5b61243f836121be565b91506020830135801515811461245457600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561248b57600080fd5b612494856121be565b93506124a2602086016121be565b925060408501359150606085013567ffffffffffffffff808211156124c657600080fd5b818701915087601f8301126124da57600080fd5b8135818111156124ec576124ec61245f565b604051601f8201601f19908116603f011681019083821181831017156125145761251461245f565b816040528281528a602084870101111561252d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561256457600080fd5b61256d836121be565b915061257b602084016121be565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b60208101600383106125bc57634e487b7160e01b600052602160045260246000fd5b91905290565b600181811c908216806125d657607f821691505b602082108114156125f757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008282101561265a5761265a612632565b500390565b6000821982111561267257612672612632565b500190565b6020808252600e908201526d125b9d985b1a5908185b5bdd5b9d60921b604082015260600190565b60008160001904831182151516156126b9576126b9612632565b500290565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156126e657600080fd5b81356001600160601b03811681146118cc57600080fd5b634e487b7160e01b600052601260045260246000fd5b600082612722576127226126fd565b500690565b600060001982141561273b5761273b612632565b5060010190565b6000815161275481856020860161213a565b9290920192915050565b600080845481600182811c91508083168061277a57607f831692505b602080841082141561279a57634e487b7160e01b86526022600452602486fd5b8180156127ae57600181146127bf576127ec565b60ff198616895284890196506127ec565b60008b81526020902060005b868110156127e45781548b8201529085019083016127cb565b505084890196505b5050505050506128106127ff8286612742565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061284c90830184612166565b9695505050505050565b60006020828403121561286857600080fd5b81516118cc81612107565b600082612882576128826126fd565b50049056fea2646970667358221220ab8e433de4a7a7f182540d584cdc1afacf05b783e1cf4148fba1ef14a7fe9c8b64736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106102255760003560e01c8063715018a611610123578063b36c1284116100ab578063ed88ed9f1161006f578063ed88ed9f14610685578063efd0cbf9146106a0578063f2fde38b146106b3578063f9020e33146106d3578063ff4171b4146106fa57600080fd5b8063b36c1284146105b2578063b88d4fde146105c8578063c6ab67a3146105e8578063c87b56dd1461061c578063e985e9c51461063c57600080fd5b8063891c4697116100f2578063891c46971461052f5780638da5cb5b1461054a57806395d89b41146105685780639893a2ce1461057d578063a22cb4651461059257600080fd5b8063715018a6146104ba57806371a067a5146104cf5780637cd9e75b146104e25780638462151c1461050257600080fd5b80634891ad88116101b157806362c16f541161017557806362c16f54146104075780636352211e1461044457806368deb99d146104645780636c19e7831461047a57806370a082311461049a57600080fd5b80634891ad881461037c5780634f297ccc1461039c57806351cff8d9146103b257806355f804b3146103d257806357fc0f7f146103f257600080fd5b80630e5edc9e116101f85780630e5edc9e146102db57806318160ddd146102ff578063238ac9331461031c57806323b872dd1461033c57806342842e0e1461035c57600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a61024536600461211d565b610715565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610767565b6040516102569190612192565b34801561028d57600080fd5b506102a161029c3660046121a5565b6107f9565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d43660046121da565b61083d565b005b3480156102e757600080fd5b506102f161113781565b604051908152602001610256565b34801561030b57600080fd5b5060015460005403600019016102f1565b34801561032857600080fd5b50600d546102a1906001600160a01b031681565b34801561034857600080fd5b506102d9610357366004612204565b6108cb565b34801561036857600080fd5b506102d9610377366004612204565b6108d6565b34801561038857600080fd5b506102d9610397366004612240565b6108f1565b3480156103a857600080fd5b506102f160095481565b3480156103be57600080fd5b506102d96103cd366004612261565b61094b565b3480156103de57600080fd5b506102d96103ed3660046122be565b610a0e565b3480156103fe57600080fd5b506102f1610a44565b34801561041357600080fd5b50610427610422366004612261565b610a55565b6040805163ffffffff938416815292909116602083015201610256565b34801561045057600080fd5b506102a161045f3660046121a5565b610a88565b34801561047057600080fd5b506102f1600a5481565b34801561048657600080fd5b506102d9610495366004612261565b610a9a565b3480156104a657600080fd5b506102f16104b5366004612261565b610ae6565b3480156104c657600080fd5b506102d9610b35565b6102d96104dd366004612300565b610b6b565b3480156104ee57600080fd5b506102d96104fd36600461236a565b610e07565b34801561050e57600080fd5b5061052261051d366004612261565b610f39565b60405161025691906123df565b34801561053b57600080fd5b506102f166ae153d89fe800081565b34801561055657600080fd5b506008546001600160a01b03166102a1565b34801561057457600080fd5b5061027461105c565b34801561058957600080fd5b506102d961106b565b34801561059e57600080fd5b506102d96105ad366004612423565b61114c565b3480156105be57600080fd5b506102f1612a1981565b3480156105d457600080fd5b506102d96105e3366004612475565b6111e2565b3480156105f457600080fd5b506102f17f0f3ca15e7fa2310a264187a0541bea543c0109ee43414f6bccdbfda35feb2de081565b34801561062857600080fd5b506102746106373660046121a5565b611233565b34801561064857600080fd5b5061024a610657366004612551565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561069157600080fd5b506102f166d529ae9e86000081565b6102d96106ae3660046121a5565b611267565b3480156106bf57600080fd5b506102d96106ce366004612261565b611417565b3480156106df57600080fd5b50600b546106ed9060ff1681565b604051610256919061259a565b34801561070657600080fd5b506102f166f8b0a10e47000081565b60006001600160e01b031982166380ac58cd60e01b148061074657506001600160e01b03198216635b5e139f60e01b145b8061076157506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610776906125c2565b80601f01602080910402602001604051908101604052809291908181526020018280546107a2906125c2565b80156107ef5780601f106107c4576101008083540402835291602001916107ef565b820191906000526020600020905b8154815290600101906020018083116107d257829003601f168201915b5050505050905090565b6000610804826114af565b610821576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061084882610a88565b9050806001600160a01b0316836001600160a01b0316141561087d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061089d575061089b8133610657565b155b156108bb576040516367d9dca160e11b815260040160405180910390fd5b6108c68383836114e8565b505050565b6108c6838383611544565b6108c6838383604051806020016040528060008152506111e2565b6008546001600160a01b031633146109245760405162461bcd60e51b815260040161091b906125fd565b60405180910390fd5b600b805482919060ff1916600183600281111561094357610943612584565b021790555050565b6008546001600160a01b031633146109755760405162461bcd60e51b815260040161091b906125fd565b6000816001600160a01b03164760405160006040518083038185875af1925050503d80600081146109c2576040519150601f19603f3d011682016040523d82523d6000602084013e6109c7565b606091505b5050905080610a0a5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015260640161091b565b5050565b6008546001600160a01b03163314610a385760405162461bcd60e51b815260040161091b906125fd565b6108c6600c838361206e565b610a52611137612a19612648565b81565b6001600160a01b031660009081526005602052604090205463ffffffff600160c01b8204811692600160e01b9092041690565b6000610a9382611710565b5192915050565b6008546001600160a01b03163314610ac45760405162461bcd60e51b815260040161091b906125fd565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610b0f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610b5f5760405162461bcd60e51b815260040161091b906125fd565b610b6960006117fd565b565b333214610b7757600080fd5b6001600b5460ff166002811115610b9057610b90612584565b14610bd25760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b604482015260640161091b565b600954610be3611137612a19612648565b610bed919061265f565b8587610bfc6000546000190190565b610c06919061265f565b610c10919061265f565b1115610c5e5760405162461bcd60e51b815260206004820152601d60248201527f4d696e7420776f756c6420676f206f766572206d617820737570706c79000000604482015260640161091b565b600080610c6a33610a55565b63ffffffff918216935016905085610c82838a61265f565b1115610ca05760405162461bcd60e51b815260040161091b90612677565b84610cab828961265f565b1115610cc95760405162461bcd60e51b815260040161091b90612677565b610cda66ae153d89fe80008861269f565b610ceb66d529ae9e8600008a61269f565b610cf5919061265f565b3414610d365760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908115512081cd95b9d60821b604482015260640161091b565b6040805133602082015290810187905260608101869052610d719060800160405160208183030381529060405280519060200120858561184f565b610d7a57600080fd5b8715610dbf5760005b6000610d99610d92838c612648565b60076118bb565b9050610da5818361265f565b9150610db53382600160006118d3565b50888110610d8357505b8615610dfd5760005b6000610dd7610d92838b612648565b9050610de3818361265f565b9150610df33382600060016118d3565b50878110610dc857505b5050505050505050565b6008546001600160a01b03163314610e315760405162461bcd60e51b815260040161091b906125fd565b600081815b81811015610ee057848482818110610e5057610e506126be565b9050604002016020016020810190610e6891906126d4565b6001600160601b031683019250610ed8858583818110610e8a57610e8a6126be565b610ea09260206040909202019081019150612261565b868684818110610eb257610eb26126be565b9050604002016020016020810190610eca91906126d4565b6001600160601b0316611a12565b600101610e36565b50506111378160096000828254610ef7919061265f565b92505081905511156108c65760405162461bcd60e51b815260206004820152600b60248201526a4f5645525f535550504c5960a81b604482015260640161091b565b60606000610f4683610ae6565b6000805491925080808467ffffffffffffffff811115610f6857610f6861245f565b604051908082528060200260200182016040528015610f91578160200160208202803683370190505b50905060015b84811015611051576000818152600460209081526040918290208251808401909352546001600160a01b0381168352600160a01b900460ff1615801591830191909152610fe45750611049565b80516001600160a01b031615610ff957805193505b886001600160a01b0316846001600160a01b03161415611039578183868060010197508151811061102c5761102c6126be565b6020026020010181815250505b868514156110475750611051565b505b600101610f97565b509695505050505050565b606060038054610776906125c2565b6008546001600160a01b031633146110955760405162461bcd60e51b815260040161091b906125fd565b600a54156110cf5760405162461bcd60e51b81526020600482015260076024820152661494d257d4d15560ca1b604482015260640161091b565b600042446110e66001546000546000199190030190565b604080516020810194909452830191909152606082015260800160408051601f1981840301815291905280516020909101209050611126612a1982612713565b600a8190556001141561114957600a805490600061114383612727565b91905055505b50565b6001600160a01b0382163314156111765760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111ed848484611544565b6001600160a01b0383163b1515801561120f575061120d84848484611abf565b155b1561122d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600c61124083611ba8565b60405160200161125192919061275e565b6040516020818303038152906040529050919050565b33321461127357600080fd5b6002600b5460ff16600281111561128c5761128c612584565b146112ce5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742061637469766560701b604482015260640161091b565b6009546112df611137612a19612648565b6112e9919061265f565b816112f76000546000190190565b611301919061265f565b111561134f5760405162461bcd60e51b815260206004820152601d60248201527f4d696e7420776f756c6420676f206f766572206d617820737570706c79000000604482015260640161091b565b61136066f8b0a10e4700008261269f565b34146113a15760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908115512081cd95b9d60821b604482015260640161091b565b6000811180156113b2575060078111155b6113ce5760405162461bcd60e51b815260040161091b90612677565b6113db33826000806118d3565b6009546113ec611137612a19612648565b6113f6919061265f565b60005460001901141561114957600b80546000919060ff1916600183610943565b6008546001600160a01b031633146114415760405162461bcd60e51b815260040161091b906125fd565b6001600160a01b0381166114a65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161091b565b611149816117fd565b6000816001111580156114c3575060005482105b8015610761575050600090815260046020526040902054600160a01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061154f82611710565b9050836001600160a01b031681600001516001600160a01b0316146115865760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806115a457506115a48533610657565b806115bf5750336115b4846107f9565b6001600160a01b0316145b9050806115df57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661160657604051633a954ecd60e21b815260040160405180910390fd5b611612600084876114e8565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600490935281842080546001600160a01b03191690911781559187018084529220805491939091166116c55760005482146116c55780546001600160a01b0319166001600160a01b0389161781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60408051808201909152600080825260208201528180600111158015611737575060005481105b156117e4576000818152600460209081526040918290208251808401909352546001600160a01b0381168352600160a01b900460ff1615159082018190526117e25780516001600160a01b031615611790579392505050565b50600019016000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910460ff16151591830191909152156117dd579392505050565b611790565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d54604080516020601f85018190048102820181019092528381526000926001600160a01b0316916118a9919086908690819084018382808284376000920191909152506118a39250899150611ca69050565b90611cf9565b6001600160a01b031614949350505050565b60008183106118ca57816118cc565b825b9392505050565b600080546001600160a01b03861682526005602052604090912080546801000000000000000067ffffffffffffffff8083168801811667ffffffffffffffff1984168117839004821689019091169091026fffffffffffffffffffffffffffffffff1990921617178155831561196a57805463ffffffff600160c01b808304821688019091160263ffffffff60c01b199091161781555b821561199657805463ffffffff600160e01b80830482168801909116026001600160e01b039091161781555b600082815260046020526040902080546001600160a01b0319166001600160a01b038816179055818581015b6040516001830192906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156119c25750600055505050505050565b600080546001600160a01b038416808352600560209081526040808520805467ffffffffffffffff80821689011667ffffffffffffffff19909116179055838552600490915290922080546001600160a01b031916909217909155808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611a725750600055505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611af4903390899088908890600401612819565b6020604051808303816000875af1925050508015611b2f575060408051601f3d908101601f19168201909252611b2c91810190612856565b60015b611b8a573d808015611b5d576040519150601f19603f3d011682016040523d82523d6000602084013e611b62565b606091505b508051611b82576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081611bcc5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bf65780611be081612727565b9150611bef9050600a83612873565b9150611bd0565b60008167ffffffffffffffff811115611c1157611c1161245f565b6040519080825280601f01601f191660200182016040528015611c3b576020820181803683370190505b5090505b8415611ba057611c50600183612648565b9150611c5d600a86612713565b611c6890603061265f565b60f81b818381518110611c7d57611c7d6126be565b60200101906001600160f81b031916908160001a905350611c9f600a86612873565b9450611c3f565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6000806000611d088585611d1d565b91509150611d1581611d8d565b509392505050565b600080825160411415611d545760208301516040840151606085015160001a611d4887828585611f48565b94509450505050611d86565b825160401415611d7e5760208301516040840151611d73868383612035565b935093505050611d86565b506000905060025b9250929050565b6000816004811115611da157611da1612584565b1415611daa5750565b6001816004811115611dbe57611dbe612584565b1415611e0c5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161091b565b6002816004811115611e2057611e20612584565b1415611e6e5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161091b565b6003816004811115611e8257611e82612584565b1415611edb5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161091b565b6004816004811115611eef57611eef612584565b14156111495760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161091b565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611f7f575060009050600361202c565b8460ff16601b14158015611f9757508460ff16601c14155b15611fa8575060009050600461202c565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611ffc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166120255760006001925092505061202c565b9150600090505b94509492505050565b6000806001600160ff1b0383168161205260ff86901c601b61265f565b905061206087828885611f48565b935093505050935093915050565b82805461207a906125c2565b90600052602060002090601f01602090048101928261209c57600085556120e2565b82601f106120b55782800160ff198235161785556120e2565b828001600101855582156120e2579182015b828111156120e25782358255916020019190600101906120c7565b506120ee9291506120f2565b5090565b5b808211156120ee57600081556001016120f3565b6001600160e01b03198116811461114957600080fd5b60006020828403121561212f57600080fd5b81356118cc81612107565b60005b8381101561215557818101518382015260200161213d565b8381111561122d5750506000910152565b6000815180845261217e81602086016020860161213a565b601f01601f19169290920160200192915050565b6020815260006118cc6020830184612166565b6000602082840312156121b757600080fd5b5035919050565b80356001600160a01b03811681146121d557600080fd5b919050565b600080604083850312156121ed57600080fd5b6121f6836121be565b946020939093013593505050565b60008060006060848603121561221957600080fd5b612222846121be565b9250612230602085016121be565b9150604084013590509250925092565b60006020828403121561225257600080fd5b8135600381106118cc57600080fd5b60006020828403121561227357600080fd5b6118cc826121be565b60008083601f84011261228e57600080fd5b50813567ffffffffffffffff8111156122a657600080fd5b602083019150836020828501011115611d8657600080fd5b600080602083850312156122d157600080fd5b823567ffffffffffffffff8111156122e857600080fd5b6122f48582860161227c565b90969095509350505050565b60008060008060008060a0878903121561231957600080fd5b86359550602087013594506040870135935060608701359250608087013567ffffffffffffffff81111561234c57600080fd5b61235889828a0161227c565b979a9699509497509295939492505050565b6000806020838503121561237d57600080fd5b823567ffffffffffffffff8082111561239557600080fd5b818501915085601f8301126123a957600080fd5b8135818111156123b857600080fd5b8660208260061b85010111156123cd57600080fd5b60209290920196919550909350505050565b6020808252825182820181905260009190848201906040850190845b81811015612417578351835292840192918401916001016123fb565b50909695505050505050565b6000806040838503121561243657600080fd5b61243f836121be565b91506020830135801515811461245457600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561248b57600080fd5b612494856121be565b93506124a2602086016121be565b925060408501359150606085013567ffffffffffffffff808211156124c657600080fd5b818701915087601f8301126124da57600080fd5b8135818111156124ec576124ec61245f565b604051601f8201601f19908116603f011681019083821181831017156125145761251461245f565b816040528281528a602084870101111561252d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561256457600080fd5b61256d836121be565b915061257b602084016121be565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b60208101600383106125bc57634e487b7160e01b600052602160045260246000fd5b91905290565b600181811c908216806125d657607f821691505b602082108114156125f757634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008282101561265a5761265a612632565b500390565b6000821982111561267257612672612632565b500190565b6020808252600e908201526d125b9d985b1a5908185b5bdd5b9d60921b604082015260600190565b60008160001904831182151516156126b9576126b9612632565b500290565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156126e657600080fd5b81356001600160601b03811681146118cc57600080fd5b634e487b7160e01b600052601260045260246000fd5b600082612722576127226126fd565b500690565b600060001982141561273b5761273b612632565b5060010190565b6000815161275481856020860161213a565b9290920192915050565b600080845481600182811c91508083168061277a57607f831692505b602080841082141561279a57634e487b7160e01b86526022600452602486fd5b8180156127ae57600181146127bf576127ec565b60ff198616895284890196506127ec565b60008b81526020902060005b868110156127e45781548b8201529085019083016127cb565b505084890196505b5050505050506128106127ff8286612742565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061284c90830184612166565b9695505050505050565b60006020828403121561286857600080fd5b81516118cc81612107565b600082612882576128826126fd565b50049056fea2646970667358221220ab8e433de4a7a7f182540d584cdc1afacf05b783e1cf4148fba1ef14a7fe9c8b64736f6c634300080a0033

Deployed Bytecode Sourcemap

289:6414:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4166:305:4;;;;;;;;;;-1:-1:-1;4166:305:4;;;;;:::i;:::-;;:::i;:::-;;;565:14:13;;558:22;540:41;;528:2;513:18;4166:305:4;;;;;;;;6960:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;8472:204::-;;;;;;;;;;-1:-1:-1;8472:204:4;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:32:13;;;1696:51;;1684:2;1669:18;8472:204:4;1550:203:13;8035:371:4;;;;;;;;;;-1:-1:-1;8035:371:4;;;;;:::i;:::-;;:::i;:::-;;734:42:6;;;;;;;;;;;;772:4;734:42;;;;;2341:25:13;;;2329:2;2314:18;734:42:6;2195:177:13;3415:303:4;;;;;;;;;;-1:-1:-1;3272:1:4;3669:12;3459:7;3653:13;:28;-1:-1:-1;;3653:46:4;3415:303;;1412:66:6;;;;;;;;;;-1:-1:-1;1412:66:6;;;;-1:-1:-1;;;;;1412:66:6;;;9337:170:4;;;;;;;;;;-1:-1:-1;9337:170:4;;;;;:::i;:::-;;:::i;9578:185::-;;;;;;;;;;-1:-1:-1;9578:185:4;;;;;:::i;:::-;;:::i;6284:109:6:-;;;;;;;;;;-1:-1:-1;6284:109:6;;;;;:::i;:::-;;:::i;1274:26::-;;;;;;;;;;;;;;;;6401:176;;;;;;;;;;-1:-1:-1;6401:176:6;;;;;:::i;:::-;;:::i;5481:102::-;;;;;;;;;;-1:-1:-1;5481:102:6;;;;;:::i;:::-;;:::i;783:62::-;;;;;;;;;;;;;:::i;5203:192:4:-;;;;;;;;;;-1:-1:-1;5203:192:4;;;;;:::i;:::-;;:::i;:::-;;;;4126:10:13;4163:15;;;4145:34;;4215:15;;;;4210:2;4195:18;;4188:43;4089:18;5203:192:4;3946:291:13;6768:125:4;;;;;;;;;;-1:-1:-1;6768:125:4;;;;;:::i;:::-;;:::i;1307:31:6:-;;;;;;;;;;;;;;;;5383:90;;;;;;;;;;-1:-1:-1;5383:90:6;;;;;:::i;:::-;;:::i;4535:206:4:-;;;;;;;;;;-1:-1:-1;4535:206:4;;;;;:::i;:::-;;:::i;1714:103:11:-;;;;;;;;;;;;;:::i;2445:2043:6:-;;;;;;:::i;:::-;;:::i;4913:462::-;;;;;;;;;;-1:-1:-1;4913:462:6;;;;;:::i;:::-;;:::i;369:1174:5:-;;;;;;;;;;-1:-1:-1;369:1174:5;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;876:62:6:-;;;;;;;;;;;;927:11;876:62;;1063:87:11;;;;;;;;;;-1:-1:-1;1136:6:11;;-1:-1:-1;;;;;1136:6:11;1063:87;;7129:104:4;;;;;;;;;;;;;:::i;5591:628:6:-;;;;;;;;;;;;;:::i;8748:287:4:-;;;;;;;;;;-1:-1:-1;8748:287:4;;;;;:::i;:::-;;:::i;689:38:6:-;;;;;;;;;;;;722:5;689:38;;9834:369:4;;;;;;;;;;-1:-1:-1;9834:369:4;;;;;:::i;:::-;;:::i;1135:107:6:-;;;;;;;;;;-1:-1:-1;1135:107:6;1176:66;1135:107;;4516:164;;;;;;;;;;-1:-1:-1;4516:164:6;;;;;:::i;:::-;;:::i;9106::4:-;;;;;;;;;;-1:-1:-1;9106:164:4;;;;;:::i;:::-;-1:-1:-1;;;;;9227:25:4;;;9203:4;9227:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;9106:164;945:53:6;;;;;;;;;;;;988:10;945:53;;1562:875;;;;;;:::i;:::-;;:::i;1972:201:11:-;;;;;;;;;;-1:-1:-1;1972:201:11;;;;;:::i;:::-;;:::i;1347:28:6:-;;;;;;;;;;-1:-1:-1;1347:28:6;;;;;;;;;;;;;;;:::i;1005:50::-;;;;;;;;;;;;1045:10;1005:50;;4166:305:4;4268:4;-1:-1:-1;;;;;;4305:40:4;;-1:-1:-1;;;4305:40:4;;:105;;-1:-1:-1;;;;;;;4362:48:4;;-1:-1:-1;;;4362:48:4;4305:105;:158;;;-1:-1:-1;;;;;;;;;;963:40:3;;;4427:36:4;4285:178;4166:305;-1:-1:-1;;4166:305:4:o;6960:100::-;7014:13;7047:5;7040:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6960:100;:::o;8472:204::-;8540:7;8565:16;8573:7;8565;:16::i;:::-;8560:64;;8590:34;;-1:-1:-1;;;8590:34:4;;;;;;;;;;;8560:64;-1:-1:-1;8644:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;8644:24:4;;8472:204::o;8035:371::-;8108:13;8124:24;8140:7;8124:15;:24::i;:::-;8108:40;;8169:5;-1:-1:-1;;;;;8163:11:4;:2;-1:-1:-1;;;;;8163:11:4;;8159:48;;;8183:24;;-1:-1:-1;;;8183:24:4;;;;;;;;;;;8159:48;736:10:1;-1:-1:-1;;;;;8224:21:4;;;;;;:63;;-1:-1:-1;8250:37:4;8267:5;736:10:1;9106:164:4;:::i;8250:37::-;8249:38;8224:63;8220:138;;;8311:35;;-1:-1:-1;;;8311:35:4;;;;;;;;;;;8220:138;8370:28;8379:2;8383:7;8392:5;8370:8;:28::i;:::-;8097:309;8035:371;;:::o;9337:170::-;9471:28;9481:4;9487:2;9491:7;9471:9;:28::i;9578:185::-;9716:39;9733:4;9739:2;9743:7;9716:39;;;;;;;;;;;;:16;:39::i;6284:109:6:-;1136:6:11;;-1:-1:-1;;;;;1136:6:11;736:10:1;1283:23:11;1275:68;;;;-1:-1:-1;;;1275:68:11;;;;;;;:::i;:::-;;;;;;;;;6361:10:6::1;:24:::0;;6374:11;;6361:10;-1:-1:-1;;6361:24:6::1;::::0;6374:11;6361:24:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;6284:109:::0;:::o;6401:176::-;1136:6:11;;-1:-1:-1;;;;;1136:6:11;736:10:1;1283:23:11;1275:68;;;;-1:-1:-1;;;1275:68:11;;;;;;;:::i;:::-;6462:12:6::1;6480:2;-1:-1:-1::0;;;;;6480:7:6::1;6496:21;6480:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6461:62;;;6542:7;6534:35;;;::::0;-1:-1:-1;;;6534:35:6;;9931:2:13;6534:35:6::1;::::0;::::1;9913:21:13::0;9970:2;9950:18;;;9943:30;-1:-1:-1;;;9989:18:13;;;9982:45;10044:18;;6534:35:6::1;9729:339:13::0;6534:35:6::1;6450:127;6401:176:::0;:::o;5481:102::-;1136:6:11;;-1:-1:-1;;;;;1136:6:11;736:10:1;1283:23:11;1275:68;;;;-1:-1:-1;;;1275:68:11;;;;;;;:::i;:::-;5557:18:6::1;:7;5567:8:::0;;5557:18:::1;:::i;783:62::-:0;819:26;772:4;722:5;819:26;:::i;:::-;783:62;:::o;5203:192:4:-;-1:-1:-1;;;;;5306:19:4;5271:6;5306:19;;;:12;:19;;;;;:35;;-1:-1:-1;;;5306:35:4;;;;;-1:-1:-1;;;5343:43:4;;;;;5203:192::o;6768:125::-;6832:7;6859:21;6872:7;6859:12;:21::i;:::-;:26;;6768:125;-1:-1:-1;;6768:125:4:o;5383:90:6:-;1136:6:11;;-1:-1:-1;;;;;1136:6:11;736:10:1;1283:23:11;1275:68;;;;-1:-1:-1;;;1275:68:11;;;;;;;:::i;:::-;5449:6:6::1;:16:::0;;-1:-1:-1;;;;;;5449:16:6::1;-1:-1:-1::0;;;;;5449:16:6;;;::::1;::::0;;;::::1;::::0;;5383:90::o;4535:206:4:-;4599:7;-1:-1:-1;;;;;4623:19:4;;4619:60;;4651:28;;-1:-1:-1;;;4651:28:4;;;;;;;;;;;4619:60;-1:-1:-1;;;;;;4705:19:4;;;;;:12;:19;;;;;:27;;;;4535:206::o;1714:103:11:-;1136:6;;-1:-1:-1;;;;;1136:6:11;736:10:1;1283:23:11;1275:68;;;;-1:-1:-1;;;1275:68:11;;;;;;;:::i;:::-;1779:30:::1;1806:1;1779:18;:30::i;:::-;1714:103::o:0;2445:2043:6:-;447:10;461:9;447:23;439:32;;;;;;2663:20:::1;2649:10;::::0;::::1;;:34;::::0;::::1;;;;;;:::i;:::-;;2641:65;;;::::0;-1:-1:-1;;;2641:65:6;;10537:2:13;2641:65:6::1;::::0;::::1;10519:21:13::0;10576:2;10556:18;;;10549:30;-1:-1:-1;;;10595:18:13;;;10588:48;10653:18;;2641:65:6::1;10335:342:13::0;2641:65:6::1;2842:14;::::0;819:26:::1;772:4;722:5;819:26;:::i;:::-;2827:29;;;;:::i;:::-;2809:14;2800:6;2783:14;3858:7:4::0;4044:13;-1:-1:-1;;4044:31:4;;3811:283;2783:14:6::1;:23;;;;:::i;:::-;:40;;;;:::i;:::-;:73;;2775:115;;;::::0;-1:-1:-1;;;2775:115:6;;11017:2:13;2775:115:6::1;::::0;::::1;10999:21:13::0;11056:2;11036:18;;;11029:30;11095:31;11075:18;;;11068:59;11144:18;;2775:115:6::1;10815:353:13::0;2775:115:6::1;2947:20;2969:19:::0;2992:34:::1;3015:10;2992:22;:34::i;:::-;2946:80;::::0;;::::1;::::0;-1:-1:-1;2946:80:6::1;::::0;-1:-1:-1;3195:9:6;3167:24:::1;2946:80:::0;3167:6;:24:::1;:::i;:::-;:37;;3159:64;;;;-1:-1:-1::0;;;3159:64:6::1;;;;;;;:::i;:::-;3277:17:::0;3242:31:::1;3259:14:::0;3242;:31:::1;:::i;:::-;:52;;3234:79;;;;-1:-1:-1::0;;;3234:79:6::1;;;;;;;:::i;:::-;3419:43;927:11;3419:14:::0;:43:::1;:::i;:::-;3387:27;988:10;3387:6:::0;:27:::1;:::i;:::-;3386:77;;;;:::i;:::-;3373:9;:90;3365:119;;;::::0;-1:-1:-1;;;3365:119:6;;11891:2:13;3365:119:6::1;::::0;::::1;11873:21:13::0;11930:2;11910:18;;;11903:30;-1:-1:-1;;;11949:18:13;;;11942:46;12005:18;;3365:119:6::1;11689:340:13::0;3365:119:6::1;3570:52;::::0;;3581:10:::1;3570:52;::::0;::::1;12236:51:13::0;12303:18;;;12296:34;;;12346:18;;;12339:34;;;3544:91:6::1;::::0;12209:18:13;;3570:52:6::1;;;;;;;;;;;;3560:63;;;;;;3625:9;;3544:15;:91::i;:::-;3536:100;;;::::0;::::1;;3854:10:::0;;3851:297:::1;;3881:16;3916:221;3938:16;3957:28;3961:20;3970:11:::0;3961:6;:20:::1;:::i;:::-;3983:1;3957:3;:28::i;:::-;3938:47:::0;-1:-1:-1;4004:26:6::1;3938:47:::0;4004:26;::::1;:::i;:::-;;;4049:43;4055:10;4067:11;4080:4;4086:5;4049;:43::i;:::-;3919:189;4129:6;4115:11;:20;3916:221;;3866:282;3851:297;4163:18:::0;;4160:321:::1;;4198:16;4233:237;4255:16;4274:36;4278:28;4295:11:::0;4278:14;:28:::1;:::i;4274:36::-;4255:55:::0;-1:-1:-1;4329:26:6::1;4255:55:::0;4329:26;::::1;:::i;:::-;;;4374:43;4380:10;4392:11;4405:5;4412:4;4374:5;:43::i;:::-;4236:197;4454:14;4440:11;:28;4233:237;;4183:298;4160:321;2596:1892;;2445:2043:::0;;;;;;:::o;4913:462::-;1136:6:11;;-1:-1:-1;;;;;1136:6:11;736:10:1;1283:23:11;1275:68;;;;-1:-1:-1;;;1275:68:11;;;;;;;:::i;:::-;4996:17:6::1;5064:11:::0;4996:17;5097:175:::1;5117:3;5113:1;:7;5097:175;;;5162:11;;5174:1;5162:14;;;;;;;:::i;:::-;;;;;;:21;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;5146:37:6::1;;;;;5202:54;5215:11;;5227:1;5215:14;;;;;;;:::i;:::-;:17;::::0;::::1;:14;::::0;;::::1;;:17:::0;;::::1;::::0;-1:-1:-1;5215:17:6::1;:::i;:::-;5234:11;;5246:1;5234:14;;;;;;;:::i;:::-;;;;;;:21;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;5202:54:6::1;:12;:54::i;:::-;5122:3;;5097:175;;;;5028:255;772:4;5320:12;5302:14;;:30;;;;;;;:::i;:::-;;;;;;;5301:50;;5293:74;;;::::0;-1:-1:-1;;;5293:74:6;;13015:2:13;5293:74:6::1;::::0;::::1;12997:21:13::0;13054:2;13034:18;;;13027:30;-1:-1:-1;;;13073:18:13;;;13066:41;13124:18;;5293:74:6::1;12813:335:13::0;369:1174:5;428:16;457:21;481:16;491:5;481:9;:16::i;:::-;508:18;529:13;;457:40;;-1:-1:-1;508:18:5;;457:40;645:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;645:28:5;-1:-1:-1;621:52:5;-1:-1:-1;3272:1:4;711:790:5;749:10;745:1;:14;711:790;;;785:31;819:14;;;:11;:14;;;;;;;;;785:48;;;;;;;;;-1:-1:-1;;;;;785:48:5;;;;-1:-1:-1;;;785:48:5;;;;;;;;;;;;;;854:73;;899:8;;;854:73;1003:14;;-1:-1:-1;;;;;1003:28:5;;999:111;;1076:14;;;-1:-1:-1;999:111:5;1231:5;-1:-1:-1;;;;;1210:26:5;:17;-1:-1:-1;;;;;1210:26:5;;1206:98;;;1283:1;1261:4;1266:13;;;;;;1261:19;;;;;;;;:::i;:::-;;;;;;:23;;;;;1206:98;1423:13;1408:11;:28;1404:82;;;1461:5;;;1404:82;766:735;711:790;761:3;;711:790;;;-1:-1:-1;1531:4:5;369:1174;-1:-1:-1;;;;;;369:1174:5:o;7129:104:4:-;7185:13;7218:7;7211:14;;;;;:::i;5591:628:6:-;1136:6:11;;-1:-1:-1;;;;;1136:6:11;736:10:1;1283:23:11;1275:68;;;;-1:-1:-1;;;1275:68:11;;;;;;;:::i;:::-;5739:19:6::1;::::0;:24;5731:44:::1;;;::::0;-1:-1:-1;;;5731:44:6;;13707:2:13;5731:44:6::1;::::0;::::1;13689:21:13::0;13746:1;13726:18;;;13719:29;-1:-1:-1;;;13764:18:13;;;13757:37;13811:18;;5731:44:6::1;13505:330:13::0;5731:44:6::1;5788:11;5828:15;5845:16;5863:13;3272:1:4::0;3669:12;3459:7;3653:13;-1:-1:-1;;3653:28:4;;;:46;;3415:303;5863:13:6::1;5817:60;::::0;;::::1;::::0;::::1;14042:25:13::0;;;;14083:18;;14076:34;;;;14126:18;;;14119:34;14015:18;;5817:60:6::1;::::0;;-1:-1:-1;;5817:60:6;;::::1;::::0;;;;;;5807:71;;5817:60:::1;5807:71:::0;;::::1;::::0;;-1:-1:-1;5913:18:6::1;722:5;5807:71:::0;5913:18:::1;:::i;:::-;5890:19;:42:::0;;;6187:1:::1;6164:24;6161:50;;;6190:19;:21:::0;;;:19:::1;:21;::::0;::::1;:::i;:::-;;;;;;6161:50;5645:574;5591:628::o:0;8748:287:4:-;-1:-1:-1;;;;;8847:24:4;;736:10:1;8847:24:4;8843:54;;;8880:17;;-1:-1:-1;;;8880:17:4;;;;;;;;;;;8843:54;736:10:1;8910:32:4;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;8910:42:4;;;;;;;;;;;;:53;;-1:-1:-1;;8910:53:4;;;;;;;;;;8979:48;;540:41:13;;;8910:42:4;;736:10:1;8979:48:4;;513:18:13;8979:48:4;;;;;;;8748:287;;:::o;9834:369::-;10001:28;10011:4;10017:2;10021:7;10001:9;:28::i;:::-;-1:-1:-1;;;;;10044:13:4;;1505:19:0;:23;;10044:76:4;;;;;10064:56;10095:4;10101:2;10105:7;10114:5;10064:30;:56::i;:::-;10063:57;10044:76;10040:156;;;10144:40;;-1:-1:-1;;;10144:40:4;;;;;;;;;;;10040:156;9834:369;;;;:::o;4516:164:6:-;4577:13;4634:7;4643:18;:7;:16;:18::i;:::-;4617:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;4603:69;;4516:164;;;:::o;1562:875::-;447:10;461:9;447:23;439:32;;;;;;1690:17:::1;1676:10;::::0;::::1;;:31;::::0;::::1;;;;;;:::i;:::-;;1668:62;;;::::0;-1:-1:-1;;;1668:62:6;;10537:2:13;1668:62:6::1;::::0;::::1;10519:21:13::0;10576:2;10556:18;;;10549:30;-1:-1:-1;;;10595:18:13;;;10588:48;10653:18;;1668:62:6::1;10335:342:13::0;1668:62:6::1;1849:14;::::0;819:26:::1;772:4;722:5;819:26;:::i;:::-;1834:29;;;;:::i;:::-;1824:6;1807:14;3858:7:4::0;4044:13;-1:-1:-1;;4044:31:4;;3811:283;1807:14:6::1;:23;;;;:::i;:::-;:56;;1799:98;;;::::0;-1:-1:-1;;;1799:98:6;;11017:2:13;1799:98:6::1;::::0;::::1;10999:21:13::0;11056:2;11036:18;;;11029:30;11095:31;11075:18;;;11068:59;11144:18;;1799:98:6::1;10815:353:13::0;1799:98:6::1;1970:24;1045:10;1970:6:::0;:24:::1;:::i;:::-;1957:9;:37;1949:66;;;::::0;-1:-1:-1;;;1949:66:6;;11891:2:13;1949:66:6::1;::::0;::::1;11873:21:13::0;11930:2;11910:18;;;11903:30;-1:-1:-1;;;11949:18:13;;;11942:46;12005:18;;1949:66:6::1;11689:340:13::0;1949:66:6::1;2103:1;2094:6;:10;:43;;;;;1098:1;2108:6;:29;;2094:43;2086:70;;;;-1:-1:-1::0;;;2086:70:6::1;;;;;;;:::i;:::-;2199:39;2205:10;2217:6;2225:5;2232::::0;2199::::1;:39::i;:::-;2357:14;::::0;819:26:::1;772:4;722:5;819:26;:::i;:::-;2342:29;;;;:::i;:::-;3858:7:4::0;4044:13;-1:-1:-1;;4044:31:4;2324:47:6::1;2321:109;;;2388:10;:30:::0;;2401:17:::1;::::0;2388:10;-1:-1:-1;;2388:30:6::1;::::0;2401:17;2388:30:::1;::::0;1972:201:11;1136:6;;-1:-1:-1;;;;;1136:6:11;736:10:1;1283:23:11;1275:68;;;;-1:-1:-1;;;1275:68:11;;;;;;;:::i;:::-;-1:-1:-1;;;;;2061:22:11;::::1;2053:73;;;::::0;-1:-1:-1;;;2053:73:11;;16495:2:13;2053:73:11::1;::::0;::::1;16477:21:13::0;16534:2;16514:18;;;16507:30;16573:34;16553:18;;;16546:62;-1:-1:-1;;;16624:18:13;;;16617:36;16670:19;;2053:73:11::1;16293:402:13::0;2053:73:11::1;2137:28;2156:8;2137:18;:28::i;10458:174:4:-:0;10515:4;10558:7;3272:1;10539:26;;:53;;;;;10579:13;;10569:7;:23;10539:53;:85;;;;-1:-1:-1;;10597:20:4;;;;:11;:20;;;;;:27;-1:-1:-1;;;10597:27:4;;;;10596:28;;10458:174::o;17471:196::-;17586:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;17586:29:4;-1:-1:-1;;;;;17586:29:4;;;;;;;;;17631:28;;17586:24;;17631:28;;;;;;;17471:196;;;:::o;12930:1880::-;13045:35;13083:21;13096:7;13083:12;:21::i;:::-;13045:59;;13143:4;-1:-1:-1;;;;;13121:26:4;:13;:18;;;-1:-1:-1;;;;;13121:26:4;;13117:67;;13156:28;;-1:-1:-1;;;13156:28:4;;;;;;;;;;;13117:67;13197:22;736:10:1;-1:-1:-1;;;;;13223:20:4;;;;:73;;-1:-1:-1;13260:36:4;13277:4;736:10:1;9106:164:4;:::i;13260:36::-;13223:126;;;-1:-1:-1;736:10:1;13313:20:4;13325:7;13313:11;:20::i;:::-;-1:-1:-1;;;;;13313:36:4;;13223:126;13197:153;;13368:17;13363:66;;13394:35;;-1:-1:-1;;;13394:35:4;;;;;;;;;;;13363:66;-1:-1:-1;;;;;13444:16:4;;13440:52;;13469:23;;-1:-1:-1;;;13469:23:4;;;;;;;;;;;13440:52;13557:35;13574:1;13578:7;13587:4;13557:8;:35::i;:::-;-1:-1:-1;;;;;13888:18:4;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;13888:31:4;;;;;;;-1:-1:-1;;13888:31:4;;;;;;;13934:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;13934:29:4;;;;;;;;;;;;;14014:20;;;:11;:20;;;;;;14049:18;;-1:-1:-1;;;;;;14049:18:4;;;;;;14341:11;;;14401:24;;;;;14444:13;;14014:20;;14401:24;;14444:13;14440:307;;14654:13;;14639:11;:28;14635:97;;14692:20;;-1:-1:-1;;;;;;14692:20:4;-1:-1:-1;;;;;14692:20:4;;;;;14635:97;13863:895;;;14794:7;14790:2;-1:-1:-1;;;;;14775:27:4;14784:4;-1:-1:-1;;;;;14775:27:4;;;;;;;;;;;13034:1776;;12930:1880;;;:::o;5597:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;5708:7:4;;3272:1;5757:23;;:47;;;;;5791:13;;5784:4;:20;5757:47;5753:886;;;5825:31;5859:17;;;:11;:17;;;;;;;;;5825:51;;;;;;;;;-1:-1:-1;;;;;5825:51:4;;;;-1:-1:-1;;;5825:51:4;;;;;;;;;;;;5895:729;;5945:14;;-1:-1:-1;;;;;5945:28:4;;5941:101;;6009:9;5597:1109;-1:-1:-1;;;5597:1109:4:o;5941:101::-;-1:-1:-1;;;6384:6:4;6429:17;;;;:11;:17;;;;;;;;;6417:29;;;;;;;;;-1:-1:-1;;;;;6417:29:4;;;;;-1:-1:-1;;;6417:29:4;;;;;;;;;;;;;;6477:28;6473:109;;6545:9;5597:1109;-1:-1:-1;;;5597:1109:4:o;6473:109::-;6344:261;;;5806:833;5753:886;6667:31;;-1:-1:-1;;;6667:31:4;;;;;;;;;;;2333:191:11;2426:6;;;-1:-1:-1;;;;;2443:17:11;;;-1:-1:-1;;;;;;2443:17:11;;;;;;;2476:40;;2426:6;;;2443:17;2426:6;;2476:40;;2407:16;;2476:40;2396:128;2333:191;:::o;4707:177:6:-;4870:6;;4818:48;;;;;;;;;;;;;;;;;;;;;;4794:4;;-1:-1:-1;;;;;4870:6:6;;4818:48;;;4856:9;;;;;;4818:48;;4856:9;;;;4818:48;;;;;;;;;-1:-1:-1;4818:29:6;;-1:-1:-1;4818:4:6;;-1:-1:-1;4818:27:6;;-1:-1:-1;4818:29:6:i;:::-;:37;;:48::i;:::-;-1:-1:-1;;;;;4818:58:6;;;4707:177;-1:-1:-1;;;;4707:177:6:o;6601:97::-;6652:4;6680:1;6676;:5;:13;;6688:1;6676:13;;;6684:1;6676:13;6669:21;6601:97;-1:-1:-1;;;6601:97:6:o;10891:1216:4:-;11061:20;11084:13;;-1:-1:-1;;;;;11408:16:4;;;;:12;:16;;;;;;11439:39;;11493:44;11439:39;;;;;;;;-1:-1:-1;;11439:39:4;;;;11493:44;;;;;;;;;;;;;-1:-1:-1;;11493:44:4;;;;;;;11552:89;;;;11594:47;;;-1:-1:-1;;;11594:47:4;;;;;;;;;;;-1:-1:-1;;;;11594:47:4;;;;;;11552:89;11659:28;11656:105;;;11706:55;;;-1:-1:-1;;;11706:55:4;;;;;;;;;;;-1:-1:-1;;;;;11706:55:4;;;;;;11656:105;11778:25;;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;11778:35:4;-1:-1:-1;;;;;11778:35:4;;;;;:25;11894:23;;;11934:112;11961:40;;11986:14;;;;;-1:-1:-1;;;;;11961:40:4;;;11978:1;;11961:40;;11978:1;;11961:40;12041:3;12025:12;:19;;11934:112;;-1:-1:-1;12060:13:4;:28;-1:-1:-1;;;;;;10891:1216:4:o;12115:561::-;12212:20;12235:13;;-1:-1:-1;;;;;12286:16:4;;;;;:12;:16;;;;;;;;:44;;;;;;;;;-1:-1:-1;;12286:44:4;;;;;;12347:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;12347:35:4;;;;;;;12235:13;12463:23;;;12503:112;12530:40;;12555:14;;;;;-1:-1:-1;;;;;12530:40:4;;;12547:1;;12530:40;;12547:1;;12530:40;12610:3;12594:12;:19;;12503:112;;-1:-1:-1;12629:13:4;:28;-1:-1:-1;;;12115:561:4:o;18159:667::-;18343:72;;-1:-1:-1;;;18343:72:4;;18322:4;;-1:-1:-1;;;;;18343:36:4;;;;;:72;;736:10:1;;18394:4:4;;18400:7;;18409:5;;18343:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18343:72:4;;;;;;;;-1:-1:-1;;18343:72:4;;;;;;;;;;;;:::i;:::-;;;18339:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18577:13:4;;18573:235;;18623:40;;-1:-1:-1;;;18623:40:4;;;;;;;;;;;18573:235;18766:6;18760:13;18751:6;18747:2;18743:15;18736:38;18339:480;-1:-1:-1;;;;;;18462:55:4;-1:-1:-1;;;18462:55:4;;-1:-1:-1;18339:480:4;18159:667;;;;;;:::o;342:723:12:-;398:13;619:10;615:53;;-1:-1:-1;;646:10:12;;;;;;;;;;;;-1:-1:-1;;;646:10:12;;;;;342:723::o;615:53::-;693:5;678:12;734:78;741:9;;734:78;;767:8;;;;:::i;:::-;;-1:-1:-1;790:10:12;;-1:-1:-1;798:2:12;790:10;;:::i;:::-;;;734:78;;;822:19;854:6;844:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;844:17:12;;822:39;;872:154;879:10;;872:154;;906:11;916:1;906:11;;:::i;:::-;;-1:-1:-1;975:10:12;983:2;975:5;:10;:::i;:::-;962:24;;:2;:24;:::i;:::-;949:39;;932:6;939;932:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;932:56:12;;;;;;;;-1:-1:-1;1003:11:12;1012:2;1003:11;;:::i;:::-;;;872:154;;8210:269:2;8412:58;;17826:66:13;8412:58:2;;;17814:79:13;17909:12;;;17902:28;;;8279:7:2;;17946:12:13;;8412:58:2;;;;;;;;;;;;8402:69;;;;;;8395:76;;8210:269;;;:::o;4408:231::-;4486:7;4507:17;4526:18;4548:27;4559:4;4565:9;4548:10;:27::i;:::-;4506:69;;;;4586:18;4598:5;4586:11;:18::i;:::-;-1:-1:-1;4622:9:2;4408:231;-1:-1:-1;;;4408:231:2:o;2298:1308::-;2379:7;2388:12;2613:9;:16;2633:2;2613:22;2609:990;;;2909:4;2894:20;;2888:27;2959:4;2944:20;;2938:27;3017:4;3002:20;;2996:27;2652:9;2988:36;3060:25;3071:4;2988:36;2888:27;2938;3060:10;:25::i;:::-;3053:32;;;;;;;;;2609:990;3107:9;:16;3127:2;3107:22;3103:496;;;3382:4;3367:20;;3361:27;3433:4;3418:20;;3412:27;3475:23;3486:4;3361:27;3412;3475:10;:23::i;:::-;3468:30;;;;;;;;3103:496;-1:-1:-1;3547:1:2;;-1:-1:-1;3551:35:2;3103:496;2298:1308;;;;;:::o;569:643::-;647:20;638:5;:29;;;;;;;;:::i;:::-;;634:571;;;569:643;:::o;634:571::-;745:29;736:5;:38;;;;;;;;:::i;:::-;;732:473;;;791:34;;-1:-1:-1;;;791:34:2;;18171:2:13;791:34:2;;;18153:21:13;18210:2;18190:18;;;18183:30;18249:26;18229:18;;;18222:54;18293:18;;791:34:2;17969:348:13;732:473:2;856:35;847:5;:44;;;;;;;;:::i;:::-;;843:362;;;908:41;;-1:-1:-1;;;908:41:2;;18524:2:13;908:41:2;;;18506:21:13;18563:2;18543:18;;;18536:30;18602:33;18582:18;;;18575:61;18653:18;;908:41:2;18322:355:13;843:362:2;980:30;971:5;:39;;;;;;;;:::i;:::-;;967:238;;;1027:44;;-1:-1:-1;;;1027:44:2;;18884:2:13;1027:44:2;;;18866:21:13;18923:2;18903:18;;;18896:30;18962:34;18942:18;;;18935:62;-1:-1:-1;;;19013:18:13;;;19006:32;19055:19;;1027:44:2;18682:398:13;967:238:2;1102:30;1093:5;:39;;;;;;;;:::i;:::-;;1089:116;;;1149:44;;-1:-1:-1;;;1149:44:2;;19287:2:13;1149:44:2;;;19269:21:13;19326:2;19306:18;;;19299:30;19365:34;19345:18;;;19338:62;-1:-1:-1;;;19416:18:13;;;19409:32;19458:19;;1149:44:2;19085:398:13;5860:1632:2;5991:7;;6925:66;6912:79;;6908:163;;;-1:-1:-1;7024:1:2;;-1:-1:-1;7028:30:2;7008:51;;6908:163;7085:1;:7;;7090:2;7085:7;;:18;;;;;7096:1;:7;;7101:2;7096:7;;7085:18;7081:102;;;-1:-1:-1;7136:1:2;;-1:-1:-1;7140:30:2;7120:51;;7081:102;7297:24;;;7280:14;7297:24;;;;;;;;;19715:25:13;;;19788:4;19776:17;;19756:18;;;19749:45;;;;19810:18;;;19803:34;;;19853:18;;;19846:34;;;7297:24:2;;19687:19:13;;7297:24:2;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7297:24:2;;-1:-1:-1;;7297:24:2;;;-1:-1:-1;;;;;;;7336:20:2;;7332:103;;7389:1;7393:29;7373:50;;;;;;;7332:103;7455:6;-1:-1:-1;7463:20:2;;-1:-1:-1;5860:1632:2;;;;;;;;:::o;4902:344::-;5016:7;;-1:-1:-1;;;;;5062:80:2;;5016:7;5169:25;5185:3;5170:18;;;5192:2;5169:25;:::i;:::-;5153:42;;5213:25;5224:4;5230:1;5233;5236;5213:10;:25::i;:::-;5206:32;;;;;;4902:344;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:13;-1:-1:-1;;;;;;88:32:13;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:13;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:13;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:13:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:13;;1365:180;-1:-1:-1;1365:180:13:o;1758:173::-;1826:20;;-1:-1:-1;;;;;1875:31:13;;1865:42;;1855:70;;1921:1;1918;1911:12;1855:70;1758:173;;;:::o;1936:254::-;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:13:o;2377:328::-;2454:6;2462;2470;2523:2;2511:9;2502:7;2498:23;2494:32;2491:52;;;2539:1;2536;2529:12;2491:52;2562:29;2581:9;2562:29;:::i;:::-;2552:39;;2610:38;2644:2;2633:9;2629:18;2610:38;:::i;:::-;2600:48;;2695:2;2684:9;2680:18;2667:32;2657:42;;2377:328;;;;;:::o;2710:271::-;2784:6;2837:2;2825:9;2816:7;2812:23;2808:32;2805:52;;;2853:1;2850;2843:12;2805:52;2892:9;2879:23;2931:1;2924:5;2921:12;2911:40;;2947:1;2944;2937:12;2986:186;3045:6;3098:2;3086:9;3077:7;3073:23;3069:32;3066:52;;;3114:1;3111;3104:12;3066:52;3137:29;3156:9;3137:29;:::i;3177:348::-;3229:8;3239:6;3293:3;3286:4;3278:6;3274:17;3270:27;3260:55;;3311:1;3308;3301:12;3260:55;-1:-1:-1;3334:20:13;;3377:18;3366:30;;3363:50;;;3409:1;3406;3399:12;3363:50;3446:4;3438:6;3434:17;3422:29;;3498:3;3491:4;3482:6;3474;3470:19;3466:30;3463:39;3460:59;;;3515:1;3512;3505:12;3530:411;3601:6;3609;3662:2;3650:9;3641:7;3637:23;3633:32;3630:52;;;3678:1;3675;3668:12;3630:52;3718:9;3705:23;3751:18;3743:6;3740:30;3737:50;;;3783:1;3780;3773:12;3737:50;3822:59;3873:7;3864:6;3853:9;3849:22;3822:59;:::i;:::-;3900:8;;3796:85;;-1:-1:-1;3530:411:13;-1:-1:-1;;;;3530:411:13:o;4242:684::-;4348:6;4356;4364;4372;4380;4388;4441:3;4429:9;4420:7;4416:23;4412:33;4409:53;;;4458:1;4455;4448:12;4409:53;4494:9;4481:23;4471:33;;4551:2;4540:9;4536:18;4523:32;4513:42;;4602:2;4591:9;4587:18;4574:32;4564:42;;4653:2;4642:9;4638:18;4625:32;4615:42;;4708:3;4697:9;4693:19;4680:33;4736:18;4728:6;4725:30;4722:50;;;4768:1;4765;4758:12;4722:50;4807:59;4858:7;4849:6;4838:9;4834:22;4807:59;:::i;:::-;4242:684;;;;-1:-1:-1;4242:684:13;;-1:-1:-1;4242:684:13;;4885:8;;4242:684;-1:-1:-1;;;4242:684:13:o;4931:646::-;5048:6;5056;5109:2;5097:9;5088:7;5084:23;5080:32;5077:52;;;5125:1;5122;5115:12;5077:52;5165:9;5152:23;5194:18;5235:2;5227:6;5224:14;5221:34;;;5251:1;5248;5241:12;5221:34;5289:6;5278:9;5274:22;5264:32;;5334:7;5327:4;5323:2;5319:13;5315:27;5305:55;;5356:1;5353;5346:12;5305:55;5396:2;5383:16;5422:2;5414:6;5411:14;5408:34;;;5438:1;5435;5428:12;5408:34;5491:7;5486:2;5476:6;5473:1;5469:14;5465:2;5461:23;5457:32;5454:45;5451:65;;;5512:1;5509;5502:12;5451:65;5543:2;5535:11;;;;;5565:6;;-1:-1:-1;4931:646:13;;-1:-1:-1;;;;4931:646:13:o;5582:632::-;5753:2;5805:21;;;5875:13;;5778:18;;;5897:22;;;5724:4;;5753:2;5976:15;;;;5950:2;5935:18;;;5724:4;6019:169;6033:6;6030:1;6027:13;6019:169;;;6094:13;;6082:26;;6163:15;;;;6128:12;;;;6055:1;6048:9;6019:169;;;-1:-1:-1;6205:3:13;;5582:632;-1:-1:-1;;;;;;5582:632:13:o;6219:347::-;6284:6;6292;6345:2;6333:9;6324:7;6320:23;6316:32;6313:52;;;6361:1;6358;6351:12;6313:52;6384:29;6403:9;6384:29;:::i;:::-;6374:39;;6463:2;6452:9;6448:18;6435:32;6510:5;6503:13;6496:21;6489:5;6486:32;6476:60;;6532:1;6529;6522:12;6476:60;6555:5;6545:15;;;6219:347;;;;;:::o;6571:127::-;6632:10;6627:3;6623:20;6620:1;6613:31;6663:4;6660:1;6653:15;6687:4;6684:1;6677:15;6703:1138;6798:6;6806;6814;6822;6875:3;6863:9;6854:7;6850:23;6846:33;6843:53;;;6892:1;6889;6882:12;6843:53;6915:29;6934:9;6915:29;:::i;:::-;6905:39;;6963:38;6997:2;6986:9;6982:18;6963:38;:::i;:::-;6953:48;;7048:2;7037:9;7033:18;7020:32;7010:42;;7103:2;7092:9;7088:18;7075:32;7126:18;7167:2;7159:6;7156:14;7153:34;;;7183:1;7180;7173:12;7153:34;7221:6;7210:9;7206:22;7196:32;;7266:7;7259:4;7255:2;7251:13;7247:27;7237:55;;7288:1;7285;7278:12;7237:55;7324:2;7311:16;7346:2;7342;7339:10;7336:36;;;7352:18;;:::i;:::-;7427:2;7421:9;7395:2;7481:13;;-1:-1:-1;;7477:22:13;;;7501:2;7473:31;7469:40;7457:53;;;7525:18;;;7545:22;;;7522:46;7519:72;;;7571:18;;:::i;:::-;7611:10;7607:2;7600:22;7646:2;7638:6;7631:18;7686:7;7681:2;7676;7672;7668:11;7664:20;7661:33;7658:53;;;7707:1;7704;7697:12;7658:53;7763:2;7758;7754;7750:11;7745:2;7737:6;7733:15;7720:46;7808:1;7803:2;7798;7790:6;7786:15;7782:24;7775:35;7829:6;7819:16;;;;;;;6703:1138;;;;;;;:::o;8028:260::-;8096:6;8104;8157:2;8145:9;8136:7;8132:23;8128:32;8125:52;;;8173:1;8170;8163:12;8125:52;8196:29;8215:9;8196:29;:::i;:::-;8186:39;;8244:38;8278:2;8267:9;8263:18;8244:38;:::i;:::-;8234:48;;8028:260;;;;;:::o;8293:127::-;8354:10;8349:3;8345:20;8342:1;8335:31;8385:4;8382:1;8375:15;8409:4;8406:1;8399:15;8425:343;8572:2;8557:18;;8605:1;8594:13;;8584:144;;8650:10;8645:3;8641:20;8638:1;8631:31;8685:4;8682:1;8675:15;8713:4;8710:1;8703:15;8584:144;8737:25;;;8425:343;:::o;8773:380::-;8852:1;8848:12;;;;8895;;;8916:61;;8970:4;8962:6;8958:17;8948:27;;8916:61;9023:2;9015:6;9012:14;8992:18;8989:38;8986:161;;;9069:10;9064:3;9060:20;9057:1;9050:31;9104:4;9101:1;9094:15;9132:4;9129:1;9122:15;8986:161;;8773:380;;;:::o;9158:356::-;9360:2;9342:21;;;9379:18;;;9372:30;9438:34;9433:2;9418:18;;9411:62;9505:2;9490:18;;9158:356::o;10073:127::-;10134:10;10129:3;10125:20;10122:1;10115:31;10165:4;10162:1;10155:15;10189:4;10186:1;10179:15;10205:125;10245:4;10273:1;10270;10267:8;10264:34;;;10278:18;;:::i;:::-;-1:-1:-1;10315:9:13;;10205:125::o;10682:128::-;10722:3;10753:1;10749:6;10746:1;10743:13;10740:39;;;10759:18;;:::i;:::-;-1:-1:-1;10795:9:13;;10682:128::o;11173:338::-;11375:2;11357:21;;;11414:2;11394:18;;;11387:30;-1:-1:-1;;;11448:2:13;11433:18;;11426:44;11502:2;11487:18;;11173:338::o;11516:168::-;11556:7;11622:1;11618;11614:6;11610:14;11607:1;11604:21;11599:1;11592:9;11585:17;11581:45;11578:71;;;11629:18;;:::i;:::-;-1:-1:-1;11669:9:13;;11516:168::o;12384:127::-;12445:10;12440:3;12436:20;12433:1;12426:31;12476:4;12473:1;12466:15;12500:4;12497:1;12490:15;12516:292;12574:6;12627:2;12615:9;12606:7;12602:23;12598:32;12595:52;;;12643:1;12640;12633:12;12595:52;12682:9;12669:23;-1:-1:-1;;;;;12725:5:13;12721:38;12714:5;12711:49;12701:77;;12774:1;12771;12764:12;14164:127;14225:10;14220:3;14216:20;14213:1;14206:31;14256:4;14253:1;14246:15;14280:4;14277:1;14270:15;14296:112;14328:1;14354;14344:35;;14359:18;;:::i;:::-;-1:-1:-1;14393:9:13;;14296:112::o;14413:135::-;14452:3;-1:-1:-1;;14473:17:13;;14470:43;;;14493:18;;:::i;:::-;-1:-1:-1;14540:1:13;14529:13;;14413:135::o;14679:185::-;14721:3;14759:5;14753:12;14774:52;14819:6;14814:3;14807:4;14800:5;14796:16;14774:52;:::i;:::-;14842:16;;;;;14679:185;-1:-1:-1;;14679:185:13:o;14987:1301::-;15264:3;15293:1;15326:6;15320:13;15356:3;15378:1;15406:9;15402:2;15398:18;15388:28;;15466:2;15455:9;15451:18;15488;15478:61;;15532:4;15524:6;15520:17;15510:27;;15478:61;15558:2;15606;15598:6;15595:14;15575:18;15572:38;15569:165;;;-1:-1:-1;;;15633:33:13;;15689:4;15686:1;15679:15;15719:4;15640:3;15707:17;15569:165;15750:18;15777:104;;;;15895:1;15890:320;;;;15743:467;;15777:104;-1:-1:-1;;15810:24:13;;15798:37;;15855:16;;;;-1:-1:-1;15777:104:13;;15890:320;14626:1;14619:14;;;14663:4;14650:18;;15985:1;15999:165;16013:6;16010:1;16007:13;15999:165;;;16091:14;;16078:11;;;16071:35;16134:16;;;;16028:10;;15999:165;;;16003:3;;16193:6;16188:3;16184:16;16177:23;;15743:467;;;;;;;16226:56;16251:30;16277:3;16269:6;16251:30;:::i;:::-;-1:-1:-1;;;14929:20:13;;14974:1;14965:11;;14869:113;16226:56;16219:63;14987:1301;-1:-1:-1;;;;;14987:1301:13:o;16700:500::-;-1:-1:-1;;;;;16969:15:13;;;16951:34;;17021:15;;17016:2;17001:18;;16994:43;17068:2;17053:18;;17046:34;;;17116:3;17111:2;17096:18;;17089:31;;;16894:4;;17137:57;;17174:19;;17166:6;17137:57;:::i;:::-;17129:65;16700:500;-1:-1:-1;;;;;;16700:500:13:o;17205:249::-;17274:6;17327:2;17315:9;17306:7;17302:23;17298:32;17295:52;;;17343:1;17340;17333:12;17295:52;17375:9;17369:16;17394:30;17418:5;17394:30;:::i;17459:120::-;17499:1;17525;17515:35;;17530:18;;:::i;:::-;-1:-1:-1;17564:9:13;;17459:120::o

Swarm Source

ipfs://ab8e433de4a7a7f182540d584cdc1afacf05b783e1cf4148fba1ef14a7fe9c8b
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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