ETH Price: $3,061.43 (+2.72%)
Gas: 1 Gwei

Token

Affordable Alpha Pass (AAP)
 

Overview

Max Total Supply

2,222 AAP

Holders

1,129

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 AAP
0x9228f6ab228b37b0e3935a446331698662ed0924
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:
CandyCreatorV1A

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-14
*/

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

// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

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

// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

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

// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

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

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



// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}
/***
 *     ██████╗ ██████╗ ███╗   ██╗████████╗███████╗██╗  ██╗████████╗
 *    ██╔════╝██╔═══██╗████╗  ██║╚══██╔══╝██╔════╝╚██╗██╔╝╚══██╔══╝
 *    ██║     ██║   ██║██╔██╗ ██║   ██║   █████╗   ╚███╔╝    ██║   
 *    ██║     ██║   ██║██║╚██╗██║   ██║   ██╔══╝   ██╔██╗    ██║   
 *    ╚██████╗╚██████╔╝██║ ╚████║   ██║   ███████╗██╔╝ ██╗   ██║   
 *     ╚═════╝ ╚═════╝ ╚═╝  ╚═══╝   ╚═╝   ╚══════╝╚═╝  ╚═╝   ╚═╝   
 * Re-write of @openzeppelin/contracts/utils/Context.sol
 * 
 *
 * Upgraded stock contract with _msgValue() and _txOrigin() 
 */

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

    function _msgValue() internal view virtual returns (uint) {
        return msg.value;
    }

    function _txOrigin() internal view virtual returns (address) {
        return tx.origin;
    }
}

// Creator: Chiru Labs

pragma solidity ^0.8.4;

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @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) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        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) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // 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[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].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;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

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

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

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

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}
/***
 *    ██████╗  █████╗ ██╗   ██╗███╗   ███╗███████╗███╗   ██╗████████╗
 *    ██╔══██╗██╔══██╗╚██╗ ██╔╝████╗ ████║██╔════╝████╗  ██║╚══██╔══╝
 *    ██████╔╝███████║ ╚████╔╝ ██╔████╔██║█████╗  ██╔██╗ ██║   ██║
 *    ██╔═══╝ ██╔══██║  ╚██╔╝  ██║╚██╔╝██║██╔══╝  ██║╚██╗██║   ██║
 *    ██║     ██║  ██║   ██║   ██║ ╚═╝ ██║███████╗██║ ╚████║   ██║
 *    ╚═╝     ╚═╝  ╚═╝   ╚═╝   ╚═╝     ╚═╝╚══════╝╚═╝  ╚═══╝   ╚═╝
 *
 *    ███████╗██████╗ ██╗     ██╗████████╗████████╗███████╗██████╗
 *    ██╔════╝██╔══██╗██║     ██║╚══██╔══╝╚══██╔══╝██╔════╝██╔══██╗
 *    ███████╗██████╔╝██║     ██║   ██║      ██║   █████╗  ██████╔╝
 *    ╚════██║██╔═══╝ ██║     ██║   ██║      ██║   ██╔══╝  ██╔══██╗
 *    ███████║██║     ███████╗██║   ██║      ██║   ███████╗██║  ██║
 *    ╚══════╝╚═╝     ╚══════╝╚═╝   ╚═╝      ╚═╝   ╚══════╝╚═╝  ╚═╝
 * Re-write of @openzeppelin/contracts/finance/PaymentSplitter.sol
 *
 *
 * Edits the release functionality to force release to all addresses added
 * as payees.
 */



pragma solidity ^0.8.0;



error ZeroBalance();
error AddressAlreadyAssigned();
error InvalidShares();
error SharesToZeroAddress();

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 */

abstract contract PaymentSplitter is Context {
    using Counters for Counters.Counter;
    Counters.Counter private _numPayees;

    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;
    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     *
     *  receive() external payable virtual {
     *    emit PaymentReceived(_msgSender(), msg.value);
     *  }
     *
     *  // Fallback function is called when msg.data is not empty
     *  // Added to PaymentSplitter.sol
     *  fallback() external payable {
     *    emit PaymentReceived(_msgSender(), msg.value);
     *  }
     *
     * receive() and fallback() to be handled at final contract
     */

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Releases contract balance to the addresses that are owed funds.
     */
    function _release() internal {
        if (address(this).balance == 0) revert ZeroBalance();
        for (uint256 i = 0; i < _numPayees.current(); i++) {
            address account = payee(i);
            uint256 totalReceived = address(this).balance + _totalReleased;
            uint256 payment = (totalReceived * _shares[account]) /
                _totalShares -
                _released[account];
            _released[account] = _released[account] + payment;
            _totalReleased = _totalReleased + payment;
            Address.sendValue(payable(account), payment);
            emit PaymentReleased(account, payment);
        }
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares to assign the payee.
     */
    function _addPayee(address account, uint256 shares_) internal {
        if (account == address(0)) revert SharesToZeroAddress();
        if (shares_ <= 0) revert InvalidShares();
        if (_shares[account] != 0) revert AddressAlreadyAssigned();
        _numPayees.increment();
        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}
/***
 *    ███████╗██╗██████╗       ██████╗  █████╗  █████╗  ██╗
 *    ██╔════╝██║██╔══██╗      ╚════██╗██╔══██╗██╔══██╗███║
 *    █████╗  ██║██████╔╝█████╗ █████╔╝╚██████║╚█████╔╝╚██║
 *    ██╔══╝  ██║██╔═══╝ ╚════╝██╔═══╝  ╚═══██║██╔══██╗ ██║
 *    ███████╗██║██║           ███████╗ █████╔╝╚█████╔╝ ██║
 *    ╚══════╝╚═╝╚═╝           ╚══════╝ ╚════╝  ╚════╝  ╚═╝                                                        
 * Zach Burks, James Morgan, Blaine Malone, James Seibel,
 * "EIP-2981: NFT Royalty Standard,"
 * Ethereum Improvement Proposals, no. 2981, September 2020. [Online serial].
 * Available: https://eips.ethereum.org/EIPS/eip-2981.
 *
 */



pragma solidity >=0.8.0 <0.9.0;

///
/// @dev Interface for the NFT Royalty Standard
///

interface IERC2981 is IERC165 {

  // @notice Called with the sale price to determine how much royalty
  //  is owed and to whom.
  // @param _tokenId - the NFT asset queried for royalty information
  // @param _salePrice - the sale price of the NFT asset specified by _tokenId
  // @return receiver - address of who should be sent the royalty payment
  // @return royaltyAmount - the royalty payment amount for _salePrice
  function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount);

}
/***
 *    ███████╗██████╗  ██████╗██████╗  █████╗  █████╗  ██╗                            
 *    ██╔════╝██╔══██╗██╔════╝╚════██╗██╔══██╗██╔══██╗███║                            
 *    █████╗  ██████╔╝██║      █████╔╝╚██████║╚█████╔╝╚██║                            
 *    ██╔══╝  ██╔══██╗██║     ██╔═══╝  ╚═══██║██╔══██╗ ██║                            
 *    ███████╗██║  ██║╚██████╗███████╗ █████╔╝╚█████╔╝ ██║                            
 *    ╚══════╝╚═╝  ╚═╝ ╚═════╝╚══════╝ ╚════╝  ╚════╝  ╚═╝                            
 *                                                                                    
 *     ██████╗ ██████╗ ██╗     ██╗     ███████╗ ██████╗████████╗██╗ ██████╗ ███╗   ██╗
 *    ██╔════╝██╔═══██╗██║     ██║     ██╔════╝██╔════╝╚══██╔══╝██║██╔═══██╗████╗  ██║
 *    ██║     ██║   ██║██║     ██║     █████╗  ██║        ██║   ██║██║   ██║██╔██╗ ██║
 *    ██║     ██║   ██║██║     ██║     ██╔══╝  ██║        ██║   ██║██║   ██║██║╚██╗██║
 *    ╚██████╗╚██████╔╝███████╗███████╗███████╗╚██████╗   ██║   ██║╚██████╔╝██║ ╚████║
 *     ╚═════╝ ╚═════╝ ╚══════╝╚══════╝╚══════╝ ╚═════╝   ╚═╝   ╚═╝ ╚═════╝ ╚═╝  ╚═══╝
 * 
 * 
 *
 * Designed to allow setting a global royalty address along with specified basis points. 
 */



pragma solidity >=0.8.0 <0.9.0;


abstract contract ERC2981Collection is IERC2981 {

  address private royaltyAddress;
  uint256 private royaltyPercent;

  function _setRoyalties(address _receiver, uint256 _percentage) internal {
    royaltyAddress = _receiver;
    royaltyPercent = _percentage;
  }

  // Override for royaltyInfo(uint256, uint256)
  function royaltyInfo(
    uint256 _tokenId,
    uint256 _salePrice
  ) external view override(IERC2981) returns (
    address receiver,
    uint256 royaltyAmount
  ) {
    receiver = royaltyAddress;

    // This sets percentages by price * percentage / 100
    royaltyAmount = _salePrice * royaltyPercent / 100;
  }
}
/***
 *     ██████╗ ██╗    ██╗███╗   ██╗ █████╗ ██████╗ ██╗     ███████╗
 *    ██╔═══██╗██║    ██║████╗  ██║██╔══██╗██╔══██╗██║     ██╔════╝
 *    ██║   ██║██║ █╗ ██║██╔██╗ ██║███████║██████╔╝██║     █████╗  
 *    ██║   ██║██║███╗██║██║╚██╗██║██╔══██║██╔══██╗██║     ██╔══╝  
 *    ╚██████╔╝╚███╔███╔╝██║ ╚████║██║  ██║██████╔╝███████╗███████╗
 *     ╚═════╝  ╚══╝╚══╝ ╚═╝  ╚═══╝╚═╝  ╚═╝╚═════╝ ╚══════╝╚══════╝
 * Re-write of @openzeppelin/contracts/access/Ownable.sol
 * 
 *
 * Upgraded to push/pull and decline compared to original contract
 */


// OpenZeppelin Contracts v4.4.1
// Rewritten for onlyOwner modifier

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (a 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 {transferOwner}.
 *
 * 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;
    address private _newOwner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial Owner.
     */
    constructor() {
        _transferOwner(_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(), "Owner: 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 renounceOwner() public virtual onlyOwner {
        _transferOwner(address(0));
    }

    /**
     * @dev Transfers Owner of the contract to a new account (`newOwner`).
     * Can only be called by the current Owner. Now push/pull.
     */
    function transferOwner(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Owner: new Owner is the zero address");
        _newOwner = newOwner;
    }

    /**
     * @dev Accepts Transfer Owner of the contract to a new account (`newOwner`).
     * Can only be called by the new Owner. Pull Accepted.
     */
    function acceptOwner() public virtual {
        require(_newOwner == _msgSender(), "New Owner: new Owner is the only caller");
        _transferOwner(_newOwner);
    }

    /**
     * @dev Declines Transfer Owner of the contract to a new account (`newOwner`).
     * Can only be called by the new Owner. Pull Declined.
     */
    function declineOwner() public virtual {
        require(_newOwner == _msgSender(), "New Owner: new Owner is the only caller");
        _newOwner = address(0);
    }

    /**
     * @dev Transfers Owner of the contract to a new account (`newOwner`).
     * Can only be called by the current Owner. Now push only. Orginal V1 style
     */
    function pushOwner(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Owner: new Owner is the zero address");
        _transferOwner(newOwner);
    }

    /**
     * @dev Transfers Owner of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwner(address newOwner) internal virtual {
        address oldOwner = _Owner;
        _Owner = newOwner;
        emit OwnerTransferred(oldOwner, newOwner);
    }
}
/***
 *    ░█████╗░░█████╗░███╗░░██╗██████╗░██╗░░░██╗  ░█████╗░██████╗░███████╗░█████╗░████████╗░█████╗░██████╗░
 *    ██╔══██╗██╔══██╗████╗░██║██╔══██╗╚██╗░██╔╝  ██╔══██╗██╔══██╗██╔════╝██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗
 *    ██║░░╚═╝███████║██╔██╗██║██║░░██║░╚████╔╝░  ██║░░╚═╝██████╔╝█████╗░░███████║░░░██║░░░██║░░██║██████╔╝
 *    ██║░░██╗██╔══██║██║╚████║██║░░██║░░╚██╔╝░░  ██║░░██╗██╔══██╗██╔══╝░░██╔══██║░░░██║░░░██║░░██║██╔══██╗
 *    ╚█████╔╝██║░░██║██║░╚███║██████╔╝░░░██║░░░  ╚█████╔╝██║░░██║███████╗██║░░██║░░░██║░░░╚█████╔╝██║░░██║
 *    ░╚════╝░╚═╝░░╚═╝╚═╝░░╚══╝╚═════╝░░░░╚═╝░░░  ░╚════╝░╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝░░░╚═╝░░░░╚════╝░╚═╝░░╚═╝
 *
 *
 *
 *
 *  “Growing up, I slowly had this process of realizing that all the things around me that people had told me
 *  were just the natural way things were, the way things always would be, they weren’t natural at all.
 *  They were things that could be changed, and they were things that, more importantly, were wrong and should change,
 *  and once I realized that, there was really no going back.”
 *
 *    ― Aaron Swartz (1986-2013)
 *
 *
 * Version: VARIANT_BASE_NOTPROV_NOTAIRDROP_ERC721A_NOTENUMERABLE_CONTEXTV2
 *          v2.0
 *
 * Purpose: ERC-721 template for no-code users.
 *          Placeholder for pre-reveal information.
 *          Guaranteed mint royalties with PaymentSplitter.
 *          EIP-2981 compliant secondary sale royalty information.
 *          Whitelist functionality. Caps whitelist users and invalidates whitelist users after mint.
 *          Deployable to ETH, AVAX, BNB, MATIC, FANTOM chains.
 *
 */



pragma solidity >=0.8.4 <0.9.0;



error MintingNotActive();
error MintingActive();
error WouldExceedMintSize();
error ExceedsMaxTransactionMints();
error NonExistentToken();
error WhitelistNotRequired();
error WhitelistRequired();
error NotWhitelisted();
error NotEnoughWhitelistSlots();
error ExceedsMaxWhitelistMints();
error WrongPayment();
error InvalidMintSize();

contract CandyCreatorV1A is
    ERC721A,
    ERC2981Collection,
    PaymentSplitter,
    Ownable
{
    // @notice basic state variables
    string private base;
    bool private mintingActive;
    bool private lockedPayees;
    uint256 private maxPublicMints;
    uint256 private mintPrice;
    uint256 private mintSize;
    string private placeholderURI;

    // @notice Whitelist functionality
    bool private whitelistActive;
    bytes32 public whitelistMerkleRoot;
    uint64 private maxWhitelistMints;

    event UpdatedMintPrice(uint256 _old, uint256 _new);
    event UpdatedMintSize(uint256 _old, uint256 _new);
    event UpdatedMaxWhitelistMints(uint256 _old, uint256 _new);
    event UpdatedMaxPublicMints(uint256 _old, uint256 _new);
    event UpdatedMintStatus(bool _old, bool _new);
    event UpdatedRoyalties(address newRoyaltyAddress, uint256 newPercentage);
    event UpdatedWhitelistStatus(bool _old, bool _new);
    event UpdatedPresaleEnd(uint256 _old, uint256 _new);
    event PayeesLocked(bool _status);
    event UpdatedWhitelist(bytes32 _old, bytes32 _new);

    // @notice Contract constructor requires as much information
    // about the contract as possible to avoid unnecessary function calls
    // on the contract post-deployment.
    constructor(
        string memory name,
        string memory symbol,
        string memory _placeholderURI,
        uint256 _mintPrice,
        uint256 _mintSize,
        address _candyWallet,
        bool _multi,
        address[] memory splitAddresses,
        uint256[] memory splitShares,
        bytes32 _whitelistMerkleRoot
    ) ERC721A(name, symbol) {
        placeholderURI = _placeholderURI;
        maxWhitelistMints = 2;
        maxPublicMints = 2;
        mintPrice = _mintPrice;
        mintSize = _mintSize;
        
        if (_whitelistMerkleRoot != 0) {
            whitelistMerkleRoot = _whitelistMerkleRoot;
            enableWhitelist();
        }
        
        addPayee(_candyWallet, 500);
        if (!_multi) {
            addPayee(_msgSender(), 9500);
            lockPayees();
        } else {
            for (uint256 i = 0; i < splitAddresses.length; i++) {
                addPayee(splitAddresses[i], splitShares[i]);
            }
            lockPayees();
        }
    }

    /***
     *    ███╗   ███╗██╗███╗   ██╗████████╗
     *    ████╗ ████║██║████╗  ██║╚══██╔══╝
     *    ██╔████╔██║██║██╔██╗ ██║   ██║
     *    ██║╚██╔╝██║██║██║╚██╗██║   ██║
     *    ██║ ╚═╝ ██║██║██║ ╚████║   ██║
     *    ╚═╝     ╚═╝╚═╝╚═╝  ╚═══╝   ╚═╝
     */

    // @notice this is the mint function, mint Fees in ERC20,
    //  requires amount * mintPrice to be sent by caller
    // @param uint amount - number of tokens minted
    function whitelistMint(bytes32[] calldata merkleProof, uint64 amount)
        external
        payable
    {
        // @notice using Checks-Effects-Interactions
        if (!mintingActive) revert MintingNotActive();
        if (!whitelistActive) revert WhitelistNotRequired();
        if (_msgValue() != mintPrice * amount) revert WrongPayment();
        if (totalSupply() + amount > mintSize) revert WouldExceedMintSize();
        if (amount > maxWhitelistMints) revert ExceedsMaxWhitelistMints();
        if (
            !MerkleProof.verify(
                merkleProof,
                whitelistMerkleRoot,
                keccak256(abi.encodePacked(_msgSender()))
            )
        ) revert NotWhitelisted();
        uint64 numWhitelistMinted = _getAux(_msgSender()) + amount;
        if (numWhitelistMinted > maxWhitelistMints)
            revert NotEnoughWhitelistSlots();
        _safeMint(_msgSender(), amount);
        _setAux(_msgSender(), numWhitelistMinted);
    }

    // @notice this is the mint function, mint Fees in ERC20,
    //  requires amount * mintPrice to be sent by caller
    // @param uint amount - number of tokens minted
    function publicMint(uint256 amount) external payable {
        if (whitelistActive) revert WhitelistRequired();
        if (!mintingActive) revert MintingNotActive();
        if (_msgValue() != mintPrice * amount) revert WrongPayment();
        if (totalSupply() + amount > mintSize) revert WouldExceedMintSize();
        if (amount > maxPublicMints) revert ExceedsMaxTransactionMints();
        _safeMint(_msgSender(), amount);
    }

    /***
     *    ██████╗░░█████╗░██╗░░░██╗███╗░░░███╗███████╗███╗░░██╗████████╗
     *    ██╔══██╗██╔══██╗╚██╗░██╔╝████╗░████║██╔════╝████╗░██║╚══██╔══╝
     *    ██████╔╝███████║░╚████╔╝░██╔████╔██║█████╗░░██╔██╗██║░░░██║░░░
     *    ██╔═══╝░██╔══██║░░╚██╔╝░░██║╚██╔╝██║██╔══╝░░██║╚████║░░░██║░░░
     *    ██║░░░░░██║░░██║░░░██║░░░██║░╚═╝░██║███████╗██║░╚███║░░░██║░░░
     *    ╚═╝░░░░░╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░░░░╚═╝╚══════╝╚═╝░░╚══╝░░░╚═╝░░░
     * This section pertains to mint fees, royalties, and fund release.
     */

    // Function to receive ether, msg.data must be empty
    receive() external payable {
        // From PaymentSplitter.sol
        emit PaymentReceived(_msgSender(), _msgValue());
    }

    // Function to receive ether, msg.data is not empty
    fallback() external payable {
        // From PaymentSplitter.sol
        emit PaymentReceived(_msgSender(), _msgValue());
    }

    // @notice will release funds from the contract to the addresses
    // owed funds as passed to constructor
    function release() external onlyOwner {
        _release();
    }

    // @notice this will use internal functions to set EIP 2981
    //  found in IERC2981.sol and used by ERC2981Collections.sol
    // @param address _royaltyAddress - Address for all royalties to go to
    // @param uint256 _percentage - Precentage in whole number of comission
    //  of secondary sales
    function setRoyaltyInfo(address _royaltyAddress, uint256 _percentage)
        public
        onlyOwner
    {
        _setRoyalties(_royaltyAddress, _percentage);
        emit UpdatedRoyalties(_royaltyAddress, _percentage);
    }

    // @notice this will set the fees required to mint using
    //  publicMint(), must enter in wei. So 1 ETH = 10**18.
    // @param uint256 _newFee - fee you set, if ETH 10**18, if
    //  an ERC20 use token's decimals in calculation
    function setMintPrice(uint256 _newFee) public onlyOwner {
        uint256 oldFee = mintPrice;
        mintPrice = _newFee;
        emit UpdatedMintPrice(oldFee, mintPrice);
    }

    // @notice will add an address to PaymentSplitter by owner role
    // @param address newAddy - address to recieve payments
    // @param uint newShares - number of shares they recieve
    function addPayee(address newAddy, uint256 newShares) private {
        require(!lockedPayees, "Can not set, payees locked");
        _addPayee(newAddy, newShares);
    }

    // @notice Will lock the ability to add further payees on PaymentSplitter.sol
    function lockPayees() private {
        require(!lockedPayees, "Can not set, payees locked");
        lockedPayees = true;
        emit PayeesLocked(lockedPayees);
    }

    /***
     *
     *    ░█████╗░██████╗░███╗░░░███╗██╗███╗░░██╗
     *    ██╔══██╗██╔══██╗████╗░████║██║████╗░██║
     *    ███████║██║░░██║██╔████╔██║██║██╔██╗██║
     *    ██╔══██║██║░░██║██║╚██╔╝██║██║██║╚████║
     *    ██║░░██║██████╔╝██║░╚═╝░██║██║██║░╚███║
     *    ╚═╝░░╚═╝╚═════╝░╚═╝░░░░░╚═╝╚═╝╚═╝░░╚══╝
     * This section pertains to to basic contract administration tasks.
     */

    // @notice this will enable publicMint()
    function enableMinting() external onlyOwner {
        if (mintingActive) revert MintingActive();
        bool old = mintingActive;
        mintingActive = true;
        emit UpdatedMintStatus(old, mintingActive);
    }

    // @notice this will disable publicMint()
    function disableMinting() external onlyOwner {
        if (!mintingActive) revert MintingNotActive();
        bool old = mintingActive;
        mintingActive = false;
        emit UpdatedMintStatus(old, mintingActive);
    }

    // @notice this will enable whitelist or "if" in publicMint()
    function enableWhitelist() public onlyOwner {
        if (whitelistActive) revert WhitelistRequired();
        bool old = whitelistActive;
        whitelistActive = true;
        emit UpdatedWhitelistStatus(old, whitelistActive);
    }

    // @notice this will disable whitelist or "else" in publicMint()
    function disableWhitelist() external onlyOwner {
        if (!whitelistActive) revert WhitelistNotRequired();
        bool old = whitelistActive;
        whitelistActive = false;
        emit UpdatedWhitelistStatus(old, whitelistActive);
    }

    // @notice this will set a new Merkle root used to verify whitelist membership
    // together with a proof submitted to the mint function
    // @param bytes32 _merkleRoot - generated merkleRoot hash
    function setWhitelistMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        bytes32 old = whitelistMerkleRoot;
        whitelistMerkleRoot = _merkleRoot;
        emit UpdatedWhitelist(old, whitelistMerkleRoot);
    }

    // @notice this will set the maximum number of tokens a whitelisted user can mint.
    // @param uint256 _amount - max amount of tokens
    function setMaxWhitelistMints(uint64 _amount) public onlyOwner {
        uint256 oldAmount = maxWhitelistMints;
        maxWhitelistMints = _amount;
        emit UpdatedMaxWhitelistMints(oldAmount, maxWhitelistMints);
    }

    // @notice this will set the maximum number of tokens a single address can mint at a time
    // during the public mint period. Keep in mind that user will be able to transfer their tokens
    // to a different address, and continue minting this amount of tokens on each transaction.
    // If you wish to prevent this, use the whitelist.
    // @param uint256 _amount - max amount of tokens
    function setMaxPublicMints(uint256 _amount) public onlyOwner {
        uint256 oldAmount = maxPublicMints;
        maxPublicMints = _amount;
        emit UpdatedMaxPublicMints(oldAmount, maxWhitelistMints);
    }

    // @notice this updates the base URI for the token metadata
    // it does not emit an event so that it can be set invisibly to purchasers
    // and avoid token sniping
    // @param string _ - max amount of tokens
    function setBaseURI(string memory baseURI) public onlyOwner {
        base = baseURI;
    }

    // @notice will set mint size by owner role
    // @param uint256 _amount - set number to mint
    function setMintSize(uint256 _amount) public onlyOwner {
        if (_amount < totalSupply()) revert InvalidMintSize();
        uint256 old = mintSize;
        mintSize = _amount;
        emit UpdatedMintSize(old, mintSize);
    }

    /***
     *    ██████╗░██╗░░░██╗██████╗░██╗░░░░░██╗░█████╗░  ██╗░░░██╗██╗███████╗░██╗░░░░░░░██╗░██████╗
     *    ██╔══██╗██║░░░██║██╔══██╗██║░░░░░██║██╔══██╗  ██║░░░██║██║██╔════╝░██║░░██╗░░██║██╔════╝
     *    ██████╔╝██║░░░██║██████╦╝██║░░░░░██║██║░░╚═╝  ╚██╗░██╔╝██║█████╗░░░╚██╗████╗██╔╝╚█████╗░
     *    ██╔═══╝░██║░░░██║██╔══██╗██║░░░░░██║██║░░██╗  ░╚████╔╝░██║██╔══╝░░░░████╔═████║░░╚═══██╗
     *    ██║░░░░░╚██████╔╝██████╦╝███████╗██║╚█████╔╝  ░░╚██╔╝░░██║███████╗░░╚██╔╝░╚██╔╝░██████╔╝
     *    ╚═╝░░░░░░╚═════╝░╚═════╝░╚══════╝╚═╝░╚════╝░  ░░░╚═╝░░░╚═╝╚══════╝░░░╚═╝░░░╚═╝░░╚═════╝░
     */
    // @notice will return whether minting is enabled
    function mintStatus() external view returns (bool) {
        return mintingActive;
    }

    // @notice will return whitelist status of Minter
    function whitelistStatus() external view returns (bool) {
        return whitelistActive;
    }

    // @notice will return minting fees
    function mintingFee() external view returns (uint256) {
        return mintPrice;
    }

    // @notice will return whitelist status of Minter
    function whitelistMaxMints() external view returns (uint256) {
        return maxWhitelistMints;
    }

    // @notice will return maximum tokens that are allowed to be minted during a single transaction
    // during the whitelist period
    function publicMaxMints() external view returns (uint256) {
        return maxPublicMints;
    }

    // @notice this is a public getter for ETH balance on contract
    function getBalance() external view returns (uint256) {
        return address(this).balance;
    }

    // @notice will return the planned size of the collection
    function collectionSize() external view returns (uint256) {
        return mintSize;
    }

    /***
     *    ░█████╗░██╗░░░██╗███████╗██████╗░██████╗░██╗██████╗░███████╗
     *    ██╔══██╗██║░░░██║██╔════╝██╔══██╗██╔══██╗██║██╔══██╗██╔════╝
     *    ██║░░██║╚██╗░██╔╝█████╗░░██████╔╝██████╔╝██║██║░░██║█████╗░░
     *    ██║░░██║░╚████╔╝░██╔══╝░░██╔══██╗██╔══██╗██║██║░░██║██╔══╝░░
     *    ╚█████╔╝░░╚██╔╝░░███████╗██║░░██║██║░░██║██║██████╔╝███████╗
     *    ░╚════╝░░░░╚═╝░░░╚══════╝╚═╝░░╚═╝╚═╝░░╚═╝╚═╝╚═════╝░╚══════╝
     */

    // @notice Solidity required override for _baseURI(), if you wish to
    //  be able to set from API -> IPFS or vice versa using setBaseURI(string)
    function _baseURI() internal view override returns (string memory) {
        return base;
    }

    // @notice Override for ERC721A _startTokenId to change from default 0 -> 1
    function _startTokenId() internal pure override returns (uint256) {
        return 1;
    }

    // @notice Override for ERC721A tokenURI
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!_exists(tokenId)) revert NonExistentToken();
        string memory baseURI = _baseURI();
        return
            bytes(baseURI).length > 0
                ? string(
                    abi.encodePacked(
                        baseURI,
                        "/",
                        Strings.toString(tokenId),
                        ".json"
                    )
                )
                : placeholderURI;
    }

    // @notice solidity required override for supportsInterface(bytes4)
    // @param bytes4 interfaceId - bytes4 id per interface or contract
    // calculated by ERC165 standards automatically
    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721A, IERC165)
        returns (bool)
    {
        return (interfaceId == type(ERC2981Collection).interfaceId ||
            interfaceId == type(PaymentSplitter).interfaceId ||
            interfaceId == type(Ownable).interfaceId ||
            super.supportsInterface(interfaceId));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"_placeholderURI","type":"string"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_mintSize","type":"uint256"},{"internalType":"address","name":"_candyWallet","type":"address"},{"internalType":"bool","name":"_multi","type":"bool"},{"internalType":"address[]","name":"splitAddresses","type":"address[]"},{"internalType":"uint256[]","name":"splitShares","type":"uint256[]"},{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AddressAlreadyAssigned","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"AuxQueryForZeroAddress","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ExceedsMaxTransactionMints","type":"error"},{"inputs":[],"name":"ExceedsMaxWhitelistMints","type":"error"},{"inputs":[],"name":"InvalidMintSize","type":"error"},{"inputs":[],"name":"InvalidShares","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintingActive","type":"error"},{"inputs":[],"name":"MintingNotActive","type":"error"},{"inputs":[],"name":"NonExistentToken","type":"error"},{"inputs":[],"name":"NotEnoughWhitelistSlots","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"SharesToZeroAddress","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"WhitelistNotRequired","type":"error"},{"inputs":[],"name":"WhitelistRequired","type":"error"},{"inputs":[],"name":"WouldExceedMintSize","type":"error"},{"inputs":[],"name":"WrongPayment","type":"error"},{"inputs":[],"name":"ZeroBalance","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":"OwnerTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_status","type":"bool"}],"name":"PayeesLocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"UpdatedMaxPublicMints","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"UpdatedMaxWhitelistMints","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"UpdatedMintPrice","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"UpdatedMintSize","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_old","type":"bool"},{"indexed":false,"internalType":"bool","name":"_new","type":"bool"}],"name":"UpdatedMintStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_old","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_new","type":"uint256"}],"name":"UpdatedPresaleEnd","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newRoyaltyAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"newPercentage","type":"uint256"}],"name":"UpdatedRoyalties","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"_old","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"_new","type":"bytes32"}],"name":"UpdatedWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_old","type":"bool"},{"indexed":false,"internalType":"bool","name":"_new","type":"bool"}],"name":"UpdatedWhitelistStatus","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"acceptOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"declineOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMaxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"pushOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxPublicMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_amount","type":"uint64"}],"name":"setMaxWhitelistMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFee","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMintSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"},{"internalType":"uint256","name":"_percentage","type":"uint256"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":"transferOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMaxMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint64","name":"amount","type":"uint64"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051620034e4380380620034e48339810160408190526200003491620007ce565b89518a908a906200004d90600290602085019062000518565b5080516200006390600390602084019062000518565b505060016000555062000076336200017e565b87516200008b9060179060208b019062000518565b50601a80546001600160401b0319166002908117909155601455601587905560168690558015620000c5576019819055620000c5620001d0565b620000d3856101f4620002a9565b83620000f757620000e73361251c620002a9565b620000f162000313565b6200016e565b60005b835181101562000163576200014e8482815181106200011d576200011d620008f3565b60200260200101518483815181106200013a576200013a620008f3565b6020026020010151620002a960201b60201c565b806200015a816200091f565b915050620000fa565b506200016e62000313565b5050505050505050505062000992565b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8934ce4adea8d9ce0d714d2c22b86790e41b7731c84b926fbbdc1d40ff6533c990600090a35050565b6010546001600160a01b03163314620002305760405162461bcd60e51b815260206004820152601e60248201527f4f776e65723a2063616c6c6572206973206e6f7420746865204f776e6572000060448201526064015b60405180910390fd5b60185460ff16156200025557604051633c664d6760e01b815260040160405180910390fd5b60188054600160ff19821681179092556040805160ff909216801515835260208301939093527f5045eea7e64af4d857464a8347a5bbce05a99fe1e1f08a3f1ebbc61aa782b21b910160405180910390a150565b601354610100900460ff1615620003035760405162461bcd60e51b815260206004820152601a60248201527f43616e206e6f74207365742c20706179656573206c6f636b6564000000000000604482015260640162000227565b6200030f8282620003c3565b5050565b601354610100900460ff16156200036d5760405162461bcd60e51b815260206004820152601a60248201527f43616e206e6f74207365742c20706179656573206c6f636b6564000000000000604482015260640162000227565b6013805461ff001916610100908117918290556040517f07fe2f03bd4fa149b9d8918fb57a6e2a3b1fbbb29a4d4536df7e6cd9edf02ed892620003b992900460ff161515815260200190565b60405180910390a1565b6001600160a01b038216620003eb5760405163ab38716960e01b815260040160405180910390fd5b600081116200040d57604051636edcc52360e01b815260040160405180910390fd5b6001600160a01b0382166000908152600d602052604090205415620004455760405163b3f5cfa560e01b815260040160405180910390fd5b6200045c600a6200050f60201b620017a71760201c565b600f8054600181019091557f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8020180546001600160a01b0319166001600160a01b0384169081179091556000908152600d60205260409020819055600b54620004c69082906200093b565b600b55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b80546001019055565b828054620005269062000956565b90600052602060002090601f0160209004810192826200054a576000855562000595565b82601f106200056557805160ff191683800117855562000595565b8280016001018555821562000595579182015b828111156200059557825182559160200191906001019062000578565b50620005a3929150620005a7565b5090565b5b80821115620005a35760008155600101620005a8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620005ff57620005ff620005be565b604052919050565b600082601f8301126200061957600080fd5b81516001600160401b03811115620006355762000635620005be565b60206200064b601f8301601f19168201620005d4565b82815285828487010111156200066057600080fd5b60005b838110156200068057858101830151828201840152820162000663565b83811115620006925760008385840101525b5095945050505050565b80516001600160a01b0381168114620006b457600080fd5b919050565b80518015158114620006b457600080fd5b60006001600160401b03821115620006e657620006e6620005be565b5060051b60200190565b600082601f8301126200070257600080fd5b815160206200071b6200071583620006ca565b620005d4565b82815260059290921b840181019181810190868411156200073b57600080fd5b8286015b84811015620007615762000753816200069c565b83529183019183016200073f565b509695505050505050565b600082601f8301126200077e57600080fd5b81516020620007916200071583620006ca565b82815260059290921b84018101918181019086841115620007b157600080fd5b8286015b84811015620007615780518352918301918301620007b5565b6000806000806000806000806000806101408b8d031215620007ef57600080fd5b8a516001600160401b03808211156200080757600080fd5b620008158e838f0162000607565b9b5060208d01519150808211156200082c57600080fd5b6200083a8e838f0162000607565b9a5060408d01519150808211156200085157600080fd5b6200085f8e838f0162000607565b995060608d0151985060808d015197506200087d60a08e016200069c565b96506200088d60c08e01620006b9565b955060e08d0151915080821115620008a457600080fd5b620008b28e838f01620006f0565b94506101008d0151915080821115620008ca57600080fd5b50620008d98d828e016200076c565b9250506101208b015190509295989b9194979a5092959850565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820162000934576200093462000909565b5060010190565b6000821982111562000951576200095162000909565b500190565b600181811c908216806200096b57607f821691505b6020821081036200098c57634e487b7160e01b600052602260045260246000fd5b50919050565b612b4280620009a26000396000f3fe6080604052600436106102975760003560e01c80638da5cb5b1161015a578063bd32fb66116100c1578063e33b7de31161007a578063e33b7de314610811578063e797ec1b14610826578063e985e9c51461083b578063ebbc496514610884578063f4a0a52814610899578063fbee8121146108b9576102e2565b8063bd32fb6614610751578063c87b56dd14610771578063cdfb2b4e14610791578063ce7c2ac2146107a6578063d6b0f484146107dc578063e2e784d5146107f1576102e2565b8063a22cb46511610113578063a22cb465146106a6578063a93fef3b146106c6578063aa98e0c6146106e6578063ac5a7d5c146106fc578063b35c60681461071c578063b88d4fde14610731576102e2565b80638da5cb5b146105ed5780639342e6e41461060b57806395d89b411461062b5780639852595c146106405780639da3f8fd146106765780639ddf7ad31461068e576102e2565b806342842e0e116101fe5780635a64ad95116101b75780635a64ad951461054e5780636352211e1461056357806370a08231146105835780637e5cd5c1146105a357806386d1a69f146105b85780638b83209b146105cd576102e2565b806342842e0e146104a457806345947076146104c457806345c0f533146104d95780634a886ad2146104ee5780634fb2e45d1461050e57806355f804b31461052e576102e2565b80631b004d25116102505780631b004d25146103f557806323b872dd1461040857806328c23a45146104285780632a55205a1461043d5780632db115441461047c5780633a98ef391461048f576102e2565b806301ffc9a71461030957806306fdde031461033e578063081812fc14610360578063095ea7b31461039857806312065fe0146103ba57806318160ddd146103d7576102e2565b366102e2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770335b604080516001600160a01b039290921682523460208301528051918290030190a1005b7f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770336102bf565b34801561031557600080fd5b506103296103243660046124a3565b6108d7565b60405190151581526020015b60405180910390f35b34801561034a57600080fd5b50610353610938565b6040516103359190612518565b34801561036c57600080fd5b5061038061037b36600461252b565b6109ca565b6040516001600160a01b039091168152602001610335565b3480156103a457600080fd5b506103b86103b3366004612560565b610a0e565b005b3480156103c657600080fd5b50475b604051908152602001610335565b3480156103e357600080fd5b506103c9600154600054036000190190565b6103b86104033660046125a1565b610a9b565b34801561041457600080fd5b506103b8610423366004612624565b610c8c565b34801561043457600080fd5b506103b8610c97565b34801561044957600080fd5b5061045d610458366004612660565b610cd6565b604080516001600160a01b039093168352602083019190915201610335565b6103b861048a36600461252b565b610d0b565b34801561049b57600080fd5b50600b546103c9565b3480156104b057600080fd5b506103b86104bf366004612624565b610ded565b3480156104d057600080fd5b506014546103c9565b3480156104e557600080fd5b506016546103c9565b3480156104fa57600080fd5b506103b861050936600461252b565b610e08565b34801561051a57600080fd5b506103b8610529366004612682565b610ea9565b34801561053a57600080fd5b506103b8610549366004612728565b610f1b565b34801561055a57600080fd5b506015546103c9565b34801561056f57600080fd5b5061038061057e36600461252b565b610f5c565b34801561058f57600080fd5b506103c961059e366004612682565b610f6e565b3480156105af57600080fd5b506103b8610fbc565b3480156105c457600080fd5b506103b861105a565b3480156105d957600080fd5b506103806105e836600461252b565b61108c565b3480156105f957600080fd5b506010546001600160a01b0316610380565b34801561061757600080fd5b506103b8610626366004612770565b6110bc565b34801561063757600080fd5b50610353611149565b34801561064c57600080fd5b506103c961065b366004612682565b6001600160a01b03166000908152600e602052604090205490565b34801561068257600080fd5b5060135460ff16610329565b34801561069a57600080fd5b5060185460ff16610329565b3480156106b257600080fd5b506103b86106c136600461278b565b611158565b3480156106d257600080fd5b506103b86106e136600461252b565b6111ed565b3480156106f257600080fd5b506103c960195481565b34801561070857600080fd5b506103b8610717366004612682565b611261565b34801561072857600080fd5b506103b86112ba565b34801561073d57600080fd5b506103b861074c3660046127c7565b6112f6565b34801561075d57600080fd5b506103b861076c36600461252b565b611341565b34801561077d57600080fd5b5061035361078c36600461252b565b6113a9565b34801561079d57600080fd5b506103b86114a8565b3480156107b257600080fd5b506103c96107c1366004612682565b6001600160a01b03166000908152600d602052604090205490565b3480156107e857600080fd5b506103b8611544565b3480156107fd57600080fd5b506103b861080c366004612560565b6115db565b34801561081d57600080fd5b50600c546103c9565b34801561083257600080fd5b506103b8611664565b34801561084757600080fd5b50610329610856366004612842565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561089057600080fd5b506103b8611700565b3480156108a557600080fd5b506103b86108b436600461252b565b61173f565b3480156108c557600080fd5b50601a546001600160401b03166103c9565b60006001600160e01b0319821663152a902d60e11b148061090857506001600160e01b0319821663040ec1df60e01b145b8061092357506001600160e01b03198216630f37a08960e11b145b806109325750610932826117b0565b92915050565b6060600280546109479061286c565b80601f01602080910402602001604051908101604052809291908181526020018280546109739061286c565b80156109c05780601f10610995576101008083540402835291602001916109c0565b820191906000526020600020905b8154815290600101906020018083116109a357829003601f168201915b5050505050905090565b60006109d582611800565b6109f2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a1982610f5c565b9050806001600160a01b0316836001600160a01b031603610a4d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610a6d5750610a6b8133610856565b155b15610a8b576040516367d9dca160e11b815260040160405180910390fd5b610a96838383611839565b505050565b60135460ff16610abe576040516373020e4b60e01b815260040160405180910390fd5b60185460ff16610ae1576040516341a334cd60e11b815260040160405180910390fd5b806001600160401b0316601554610af891906128bc565b3414610b175760405163788a686f60e01b815260040160405180910390fd5b601654816001600160401b0316610b35600154600054036000190190565b610b3f91906128db565b1115610b5e57604051633b1e37bd60e21b815260040160405180910390fd5b601a546001600160401b039081169082161115610b8e57604051630e7b98a560e11b815260040160405180910390fd5b610c03838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611895565b610c2057604051630b094f2760e31b815260040160405180910390fd5b600081610c2c336118ab565b610c3691906128f3565b601a549091506001600160401b039081169082161115610c6957604051634026a7cf60e11b815260040160405180910390fd5b610c7c33836001600160401b0316611900565b610c86338261191a565b50505050565b610a96838383611980565b6010546001600160a01b03163314610cca5760405162461bcd60e51b8152600401610cc19061291e565b60405180910390fd5b610cd46000611b94565b565b6008546009546001600160a01b0390911690600090606490610cf890856128bc565b610d02919061296b565b90509250929050565b60185460ff1615610d2f57604051633c664d6760e01b815260040160405180910390fd5b60135460ff16610d52576040516373020e4b60e01b815260040160405180910390fd5b80601554610d6091906128bc565b3414610d7f5760405163788a686f60e01b815260040160405180910390fd5b60165481610d94600154600054036000190190565b610d9e91906128db565b1115610dbd57604051633b1e37bd60e21b815260040160405180910390fd5b601454811115610de057604051632193c2c560e11b815260040160405180910390fd5b610dea3382611900565b50565b610a96838383604051806020016040528060008152506112f6565b6010546001600160a01b03163314610e325760405162461bcd60e51b8152600401610cc19061291e565b610e43600154600054036000190190565b811015610e635760405163351b51d760e11b815260040160405180910390fd5b601680549082905560408051828152602081018490527f8d9cfb0dea274a0a02ddad1fc52c90100a28462c6421daa25fb101c740cf585191015b60405180910390a15050565b6010546001600160a01b03163314610ed35760405162461bcd60e51b8152600401610cc19061291e565b6001600160a01b038116610ef95760405162461bcd60e51b8152600401610cc19061297f565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6010546001600160a01b03163314610f455760405162461bcd60e51b8152600401610cc19061291e565b8051610f589060129060208401906123f4565b5050565b6000610f6782611be6565b5192915050565b60006001600160a01b038216610f97576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6010546001600160a01b03163314610fe65760405162461bcd60e51b8152600401610cc19061291e565b60135460ff16611009576040516373020e4b60e01b815260040160405180910390fd5b6013805460ff1981169091556040805160ff909216801515835260006020840152917f1ab1d89be1fd19dcd21c73f1d6e927e3f148097e8691bbba925bd85e34e1f0e391015b60405180910390a150565b6010546001600160a01b031633146110845760405162461bcd60e51b8152600401610cc19061291e565b610cd4611d0d565b6000600f82815481106110a1576110a16129c3565b6000918252602090912001546001600160a01b031692915050565b6010546001600160a01b031633146110e65760405162461bcd60e51b8152600401610cc19061291e565b601a80546001600160401b0383811667ffffffffffffffff19831681179093556040519116917f3851f4a3ce1c8adce98754722ff6f348f4714fd4850d154c71045447d304246891610e9d918482526001600160401b0316602082015260400190565b6060600380546109479061286c565b336001600160a01b038316036111815760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6010546001600160a01b031633146112175760405162461bcd60e51b8152600401610cc19061291e565b6014805490829055601a54604080518381526001600160401b0390921660208301527f439b8b0b530562f8413db2651ab1e8dcae2719da0a2d2d3d3c068ca25c29969f9101610e9d565b6010546001600160a01b0316331461128b5760405162461bcd60e51b8152600401610cc19061291e565b6001600160a01b0381166112b15760405162461bcd60e51b8152600401610cc19061297f565b610dea81611b94565b6011546001600160a01b031633146112e45760405162461bcd60e51b8152600401610cc1906129d9565b601180546001600160a01b0319169055565b611301848484611980565b6001600160a01b0383163b15158015611323575061132184848484611e56565b155b15610c86576040516368d2bf6b60e11b815260040160405180910390fd5b6010546001600160a01b0316331461136b5760405162461bcd60e51b8152600401610cc19061291e565b601980549082905560408051828152602081018490527f1e5d0194158313989f8568b586deb425fcd9a6b46a4e6e2c43f9becc480c6bc09101610e9d565b60606113b482611800565b6113d157604051634a1850bf60e11b815260040160405180910390fd5b60006113db611f42565b9050600081511161147657601780546113f39061286c565b80601f016020809104026020016040519081016040528092919081815260200182805461141f9061286c565b801561146c5780601f106114415761010080835404028352916020019161146c565b820191906000526020600020905b81548152906001019060200180831161144f57829003601f168201915b50505050506114a1565b8061148084611f51565b604051602001611491929190612a20565b6040516020818303038152906040525b9392505050565b6010546001600160a01b031633146114d25760405162461bcd60e51b8152600401610cc19061291e565b60185460ff16156114f657604051633c664d6760e01b815260040160405180910390fd5b60188054600160ff19821681179092556040805160ff909216801515835260208301939093527f5045eea7e64af4d857464a8347a5bbce05a99fe1e1f08a3f1ebbc61aa782b21b910161104f565b6010546001600160a01b0316331461156e5760405162461bcd60e51b8152600401610cc19061291e565b60185460ff16611591576040516341a334cd60e11b815260040160405180910390fd5b6018805460ff1981169091556040805160ff909216801515835260006020840152917f5045eea7e64af4d857464a8347a5bbce05a99fe1e1f08a3f1ebbc61aa782b21b910161104f565b6010546001600160a01b031633146116055760405162461bcd60e51b8152600401610cc19061291e565b600880546001600160a01b0319166001600160a01b0384161790556009819055604080516001600160a01b0384168152602081018390527f37b261884b0718cab93d62e6fe3bef710b5a1da58190a859f842d6e8b2b0b70b9101610e9d565b6010546001600160a01b0316331461168e5760405162461bcd60e51b8152600401610cc19061291e565b60135460ff16156116b257604051633f19d52960e21b815260040160405180910390fd5b60138054600160ff19821681179092556040805160ff909216801515835260208301939093527f1ab1d89be1fd19dcd21c73f1d6e927e3f148097e8691bbba925bd85e34e1f0e3910161104f565b6011546001600160a01b0316331461172a5760405162461bcd60e51b8152600401610cc1906129d9565b601154610cd4906001600160a01b0316611b94565b6010546001600160a01b031633146117695760405162461bcd60e51b8152600401610cc19061291e565b601580549082905560408051828152602081018490527f79f142b9bcccc417646eead59c29526ac8437fccd19a5368532b2648349adce19101610e9d565b80546001019055565b60006001600160e01b031982166380ac58cd60e01b14806117e157506001600160e01b03198216635b5e139f60e01b145b8061093257506301ffc9a760e01b6001600160e01b0319831614610932565b600081600111158015611814575060005482105b8015610932575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000826118a28584612051565b14949350505050565b60006001600160a01b0382166118d45760405163561b93dd60e11b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160c01b90046001600160401b031690565b610f588282604051806020016040528060008152506120fd565b6001600160a01b0382166119415760405163561b93dd60e11b815260040160405180910390fd5b6001600160a01b03909116600090815260056020526040902080546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b600061198b82611be6565b80519091506000906001600160a01b0316336001600160a01b031614806119b9575081516119b99033610856565b806119d45750336119c9846109ca565b6001600160a01b0316145b9050806119f457604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611a295760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611a5057604051633a954ecd60e21b815260040160405180910390fd5b611a606000848460000151611839565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611b4a57600054811015611b4a57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8934ce4adea8d9ce0d714d2c22b86790e41b7731c84b926fbbdc1d40ff6533c990600090a35050565b60408051606081018252600080825260208201819052918101919091528180600111158015611c16575060005481105b15611cf457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611cf25780516001600160a01b031615611c89579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611ced579392505050565b611c89565b505b604051636f96cda160e11b815260040160405180910390fd5b47600003611d2e5760405163334ab3f560e11b815260040160405180910390fd5b60005b600a54811015610dea576000611d468261108c565b90506000600c5447611d5891906128db565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192611d8f90856128bc565b611d99919061296b565b611da39190612a6e565b6001600160a01b0384166000908152600e6020526040902054909150611dca9082906128db565b6001600160a01b0384166000908152600e6020526040902055600c54611df19082906128db565b600c55611dfe838261210a565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050508080611e4e90612a85565b915050611d31565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e8b903390899088908890600401612a9e565b6020604051808303816000875af1925050508015611ec6575060408051601f3d908101601f19168201909252611ec391810190612adb565b60015b611f24573d808015611ef4576040519150601f19603f3d011682016040523d82523d6000602084013e611ef9565b606091505b508051600003611f1c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601280546109479061286c565b606081600003611f785750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611fa25780611f8c81612a85565b9150611f9b9050600a8361296b565b9150611f7c565b6000816001600160401b03811115611fbc57611fbc61269d565b6040519080825280601f01601f191660200182016040528015611fe6576020820181803683370190505b5090505b8415611f3a57611ffb600183612a6e565b9150612008600a86612af8565b6120139060306128db565b60f81b818381518110612028576120286129c3565b60200101906001600160f81b031916908160001a90535061204a600a8661296b565b9450611fea565b600081815b84518110156120f5576000858281518110612073576120736129c3565b602002602001015190508083116120b55760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506120e2565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806120ed81612a85565b915050612056565b509392505050565b610a968383836001612223565b8047101561215a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610cc1565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146121a7576040519150601f19603f3d011682016040523d82523d6000602084013e6121ac565b606091505b5050905080610a965760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610cc1565b6000546001600160a01b03851661224c57604051622e076360e81b815260040160405180910390fd5b8360000361226d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561231e57506001600160a01b0387163b15155b156123a6575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461236f6000888480600101955088611e56565b61238c576040516368d2bf6b60e11b815260040160405180910390fd5b8082036123245782600054146123a157600080fd5b6123eb565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036123a7575b50600055611b8d565b8280546124009061286c565b90600052602060002090601f0160209004810192826124225760008555612468565b82601f1061243b57805160ff1916838001178555612468565b82800160010185558215612468579182015b8281111561246857825182559160200191906001019061244d565b50612474929150612478565b5090565b5b808211156124745760008155600101612479565b6001600160e01b031981168114610dea57600080fd5b6000602082840312156124b557600080fd5b81356114a18161248d565b60005b838110156124db5781810151838201526020016124c3565b83811115610c865750506000910152565b600081518084526125048160208601602086016124c0565b601f01601f19169290920160200192915050565b6020815260006114a160208301846124ec565b60006020828403121561253d57600080fd5b5035919050565b80356001600160a01b038116811461255b57600080fd5b919050565b6000806040838503121561257357600080fd5b61257c83612544565b946020939093013593505050565b80356001600160401b038116811461255b57600080fd5b6000806000604084860312156125b657600080fd5b83356001600160401b03808211156125cd57600080fd5b818601915086601f8301126125e157600080fd5b8135818111156125f057600080fd5b8760208260051b850101111561260557600080fd5b60209283019550935061261b918601905061258a565b90509250925092565b60008060006060848603121561263957600080fd5b61264284612544565b925061265060208501612544565b9150604084013590509250925092565b6000806040838503121561267357600080fd5b50508035926020909101359150565b60006020828403121561269457600080fd5b6114a182612544565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156126cd576126cd61269d565b604051601f8501601f19908116603f011681019082821181831017156126f5576126f561269d565b8160405280935085815286868601111561270e57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561273a57600080fd5b81356001600160401b0381111561275057600080fd5b8201601f8101841361276157600080fd5b611f3a848235602084016126b3565b60006020828403121561278257600080fd5b6114a18261258a565b6000806040838503121561279e57600080fd5b6127a783612544565b9150602083013580151581146127bc57600080fd5b809150509250929050565b600080600080608085870312156127dd57600080fd5b6127e685612544565b93506127f460208601612544565b92506040850135915060608501356001600160401b0381111561281657600080fd5b8501601f8101871361282757600080fd5b612836878235602084016126b3565b91505092959194509250565b6000806040838503121561285557600080fd5b61285e83612544565b9150610d0260208401612544565b600181811c9082168061288057607f821691505b6020821081036128a057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156128d6576128d66128a6565b500290565b600082198211156128ee576128ee6128a6565b500190565b60006001600160401b03808316818516808303821115612915576129156128a6565b01949350505050565b6020808252601e908201527f4f776e65723a2063616c6c6572206973206e6f7420746865204f776e65720000604082015260600190565b634e487b7160e01b600052601260045260246000fd5b60008261297a5761297a612955565b500490565b60208082526024908201527f4f776e65723a206e6577204f776e657220697320746865207a65726f206164646040820152637265737360e01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526027908201527f4e6577204f776e65723a206e6577204f776e657220697320746865206f6e6c796040820152661031b0b63632b960c91b606082015260800190565b60008351612a328184602088016124c0565b602f60f81b9083019081528351612a508160018401602088016124c0565b64173539b7b760d91b60019290910191820152600601949350505050565b600082821015612a8057612a806128a6565b500390565b600060018201612a9757612a976128a6565b5060010190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ad1908301846124ec565b9695505050505050565b600060208284031215612aed57600080fd5b81516114a18161248d565b600082612b0757612b07612955565b50069056fea2646970667358221220ecf8ece2eceaa5e2cb6f4eab53ad1c79ef3ae9035f3f417b9268e6c40370d65e64736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000354a6ba7a180000000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000d52ed960e6bf7b2cda61980fc286772159e3d2660000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000154166666f726461626c6520416c7068612050617373000000000000000000000000000000000000000000000000000000000000000000000000000000000000034141500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d62775a64376d39675537467753357a6344446f32344d6e4e4a6f6835687348645a4656774b69316477655a740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002ea1611840b855834686c74bb4cddf4a6dc06d1e00000000000000000000000071bb844de19b57e295ae3a1f5604bb1c1001da940000000000000000000000008dfca880db5364f9a0d33fdedbb424089e3f36310000000000000000000000005acfa1fccc7a13d6d466d75476978a194260d565000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000009c4

Deployed Bytecode

0x6080604052600436106102975760003560e01c80638da5cb5b1161015a578063bd32fb66116100c1578063e33b7de31161007a578063e33b7de314610811578063e797ec1b14610826578063e985e9c51461083b578063ebbc496514610884578063f4a0a52814610899578063fbee8121146108b9576102e2565b8063bd32fb6614610751578063c87b56dd14610771578063cdfb2b4e14610791578063ce7c2ac2146107a6578063d6b0f484146107dc578063e2e784d5146107f1576102e2565b8063a22cb46511610113578063a22cb465146106a6578063a93fef3b146106c6578063aa98e0c6146106e6578063ac5a7d5c146106fc578063b35c60681461071c578063b88d4fde14610731576102e2565b80638da5cb5b146105ed5780639342e6e41461060b57806395d89b411461062b5780639852595c146106405780639da3f8fd146106765780639ddf7ad31461068e576102e2565b806342842e0e116101fe5780635a64ad95116101b75780635a64ad951461054e5780636352211e1461056357806370a08231146105835780637e5cd5c1146105a357806386d1a69f146105b85780638b83209b146105cd576102e2565b806342842e0e146104a457806345947076146104c457806345c0f533146104d95780634a886ad2146104ee5780634fb2e45d1461050e57806355f804b31461052e576102e2565b80631b004d25116102505780631b004d25146103f557806323b872dd1461040857806328c23a45146104285780632a55205a1461043d5780632db115441461047c5780633a98ef391461048f576102e2565b806301ffc9a71461030957806306fdde031461033e578063081812fc14610360578063095ea7b31461039857806312065fe0146103ba57806318160ddd146103d7576102e2565b366102e2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770335b604080516001600160a01b039290921682523460208301528051918290030190a1005b7f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770336102bf565b34801561031557600080fd5b506103296103243660046124a3565b6108d7565b60405190151581526020015b60405180910390f35b34801561034a57600080fd5b50610353610938565b6040516103359190612518565b34801561036c57600080fd5b5061038061037b36600461252b565b6109ca565b6040516001600160a01b039091168152602001610335565b3480156103a457600080fd5b506103b86103b3366004612560565b610a0e565b005b3480156103c657600080fd5b50475b604051908152602001610335565b3480156103e357600080fd5b506103c9600154600054036000190190565b6103b86104033660046125a1565b610a9b565b34801561041457600080fd5b506103b8610423366004612624565b610c8c565b34801561043457600080fd5b506103b8610c97565b34801561044957600080fd5b5061045d610458366004612660565b610cd6565b604080516001600160a01b039093168352602083019190915201610335565b6103b861048a36600461252b565b610d0b565b34801561049b57600080fd5b50600b546103c9565b3480156104b057600080fd5b506103b86104bf366004612624565b610ded565b3480156104d057600080fd5b506014546103c9565b3480156104e557600080fd5b506016546103c9565b3480156104fa57600080fd5b506103b861050936600461252b565b610e08565b34801561051a57600080fd5b506103b8610529366004612682565b610ea9565b34801561053a57600080fd5b506103b8610549366004612728565b610f1b565b34801561055a57600080fd5b506015546103c9565b34801561056f57600080fd5b5061038061057e36600461252b565b610f5c565b34801561058f57600080fd5b506103c961059e366004612682565b610f6e565b3480156105af57600080fd5b506103b8610fbc565b3480156105c457600080fd5b506103b861105a565b3480156105d957600080fd5b506103806105e836600461252b565b61108c565b3480156105f957600080fd5b506010546001600160a01b0316610380565b34801561061757600080fd5b506103b8610626366004612770565b6110bc565b34801561063757600080fd5b50610353611149565b34801561064c57600080fd5b506103c961065b366004612682565b6001600160a01b03166000908152600e602052604090205490565b34801561068257600080fd5b5060135460ff16610329565b34801561069a57600080fd5b5060185460ff16610329565b3480156106b257600080fd5b506103b86106c136600461278b565b611158565b3480156106d257600080fd5b506103b86106e136600461252b565b6111ed565b3480156106f257600080fd5b506103c960195481565b34801561070857600080fd5b506103b8610717366004612682565b611261565b34801561072857600080fd5b506103b86112ba565b34801561073d57600080fd5b506103b861074c3660046127c7565b6112f6565b34801561075d57600080fd5b506103b861076c36600461252b565b611341565b34801561077d57600080fd5b5061035361078c36600461252b565b6113a9565b34801561079d57600080fd5b506103b86114a8565b3480156107b257600080fd5b506103c96107c1366004612682565b6001600160a01b03166000908152600d602052604090205490565b3480156107e857600080fd5b506103b8611544565b3480156107fd57600080fd5b506103b861080c366004612560565b6115db565b34801561081d57600080fd5b50600c546103c9565b34801561083257600080fd5b506103b8611664565b34801561084757600080fd5b50610329610856366004612842565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561089057600080fd5b506103b8611700565b3480156108a557600080fd5b506103b86108b436600461252b565b61173f565b3480156108c557600080fd5b50601a546001600160401b03166103c9565b60006001600160e01b0319821663152a902d60e11b148061090857506001600160e01b0319821663040ec1df60e01b145b8061092357506001600160e01b03198216630f37a08960e11b145b806109325750610932826117b0565b92915050565b6060600280546109479061286c565b80601f01602080910402602001604051908101604052809291908181526020018280546109739061286c565b80156109c05780601f10610995576101008083540402835291602001916109c0565b820191906000526020600020905b8154815290600101906020018083116109a357829003601f168201915b5050505050905090565b60006109d582611800565b6109f2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a1982610f5c565b9050806001600160a01b0316836001600160a01b031603610a4d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610a6d5750610a6b8133610856565b155b15610a8b576040516367d9dca160e11b815260040160405180910390fd5b610a96838383611839565b505050565b60135460ff16610abe576040516373020e4b60e01b815260040160405180910390fd5b60185460ff16610ae1576040516341a334cd60e11b815260040160405180910390fd5b806001600160401b0316601554610af891906128bc565b3414610b175760405163788a686f60e01b815260040160405180910390fd5b601654816001600160401b0316610b35600154600054036000190190565b610b3f91906128db565b1115610b5e57604051633b1e37bd60e21b815260040160405180910390fd5b601a546001600160401b039081169082161115610b8e57604051630e7b98a560e11b815260040160405180910390fd5b610c03838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506019546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611895565b610c2057604051630b094f2760e31b815260040160405180910390fd5b600081610c2c336118ab565b610c3691906128f3565b601a549091506001600160401b039081169082161115610c6957604051634026a7cf60e11b815260040160405180910390fd5b610c7c33836001600160401b0316611900565b610c86338261191a565b50505050565b610a96838383611980565b6010546001600160a01b03163314610cca5760405162461bcd60e51b8152600401610cc19061291e565b60405180910390fd5b610cd46000611b94565b565b6008546009546001600160a01b0390911690600090606490610cf890856128bc565b610d02919061296b565b90509250929050565b60185460ff1615610d2f57604051633c664d6760e01b815260040160405180910390fd5b60135460ff16610d52576040516373020e4b60e01b815260040160405180910390fd5b80601554610d6091906128bc565b3414610d7f5760405163788a686f60e01b815260040160405180910390fd5b60165481610d94600154600054036000190190565b610d9e91906128db565b1115610dbd57604051633b1e37bd60e21b815260040160405180910390fd5b601454811115610de057604051632193c2c560e11b815260040160405180910390fd5b610dea3382611900565b50565b610a96838383604051806020016040528060008152506112f6565b6010546001600160a01b03163314610e325760405162461bcd60e51b8152600401610cc19061291e565b610e43600154600054036000190190565b811015610e635760405163351b51d760e11b815260040160405180910390fd5b601680549082905560408051828152602081018490527f8d9cfb0dea274a0a02ddad1fc52c90100a28462c6421daa25fb101c740cf585191015b60405180910390a15050565b6010546001600160a01b03163314610ed35760405162461bcd60e51b8152600401610cc19061291e565b6001600160a01b038116610ef95760405162461bcd60e51b8152600401610cc19061297f565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6010546001600160a01b03163314610f455760405162461bcd60e51b8152600401610cc19061291e565b8051610f589060129060208401906123f4565b5050565b6000610f6782611be6565b5192915050565b60006001600160a01b038216610f97576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6010546001600160a01b03163314610fe65760405162461bcd60e51b8152600401610cc19061291e565b60135460ff16611009576040516373020e4b60e01b815260040160405180910390fd5b6013805460ff1981169091556040805160ff909216801515835260006020840152917f1ab1d89be1fd19dcd21c73f1d6e927e3f148097e8691bbba925bd85e34e1f0e391015b60405180910390a150565b6010546001600160a01b031633146110845760405162461bcd60e51b8152600401610cc19061291e565b610cd4611d0d565b6000600f82815481106110a1576110a16129c3565b6000918252602090912001546001600160a01b031692915050565b6010546001600160a01b031633146110e65760405162461bcd60e51b8152600401610cc19061291e565b601a80546001600160401b0383811667ffffffffffffffff19831681179093556040519116917f3851f4a3ce1c8adce98754722ff6f348f4714fd4850d154c71045447d304246891610e9d918482526001600160401b0316602082015260400190565b6060600380546109479061286c565b336001600160a01b038316036111815760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6010546001600160a01b031633146112175760405162461bcd60e51b8152600401610cc19061291e565b6014805490829055601a54604080518381526001600160401b0390921660208301527f439b8b0b530562f8413db2651ab1e8dcae2719da0a2d2d3d3c068ca25c29969f9101610e9d565b6010546001600160a01b0316331461128b5760405162461bcd60e51b8152600401610cc19061291e565b6001600160a01b0381166112b15760405162461bcd60e51b8152600401610cc19061297f565b610dea81611b94565b6011546001600160a01b031633146112e45760405162461bcd60e51b8152600401610cc1906129d9565b601180546001600160a01b0319169055565b611301848484611980565b6001600160a01b0383163b15158015611323575061132184848484611e56565b155b15610c86576040516368d2bf6b60e11b815260040160405180910390fd5b6010546001600160a01b0316331461136b5760405162461bcd60e51b8152600401610cc19061291e565b601980549082905560408051828152602081018490527f1e5d0194158313989f8568b586deb425fcd9a6b46a4e6e2c43f9becc480c6bc09101610e9d565b60606113b482611800565b6113d157604051634a1850bf60e11b815260040160405180910390fd5b60006113db611f42565b9050600081511161147657601780546113f39061286c565b80601f016020809104026020016040519081016040528092919081815260200182805461141f9061286c565b801561146c5780601f106114415761010080835404028352916020019161146c565b820191906000526020600020905b81548152906001019060200180831161144f57829003601f168201915b50505050506114a1565b8061148084611f51565b604051602001611491929190612a20565b6040516020818303038152906040525b9392505050565b6010546001600160a01b031633146114d25760405162461bcd60e51b8152600401610cc19061291e565b60185460ff16156114f657604051633c664d6760e01b815260040160405180910390fd5b60188054600160ff19821681179092556040805160ff909216801515835260208301939093527f5045eea7e64af4d857464a8347a5bbce05a99fe1e1f08a3f1ebbc61aa782b21b910161104f565b6010546001600160a01b0316331461156e5760405162461bcd60e51b8152600401610cc19061291e565b60185460ff16611591576040516341a334cd60e11b815260040160405180910390fd5b6018805460ff1981169091556040805160ff909216801515835260006020840152917f5045eea7e64af4d857464a8347a5bbce05a99fe1e1f08a3f1ebbc61aa782b21b910161104f565b6010546001600160a01b031633146116055760405162461bcd60e51b8152600401610cc19061291e565b600880546001600160a01b0319166001600160a01b0384161790556009819055604080516001600160a01b0384168152602081018390527f37b261884b0718cab93d62e6fe3bef710b5a1da58190a859f842d6e8b2b0b70b9101610e9d565b6010546001600160a01b0316331461168e5760405162461bcd60e51b8152600401610cc19061291e565b60135460ff16156116b257604051633f19d52960e21b815260040160405180910390fd5b60138054600160ff19821681179092556040805160ff909216801515835260208301939093527f1ab1d89be1fd19dcd21c73f1d6e927e3f148097e8691bbba925bd85e34e1f0e3910161104f565b6011546001600160a01b0316331461172a5760405162461bcd60e51b8152600401610cc1906129d9565b601154610cd4906001600160a01b0316611b94565b6010546001600160a01b031633146117695760405162461bcd60e51b8152600401610cc19061291e565b601580549082905560408051828152602081018490527f79f142b9bcccc417646eead59c29526ac8437fccd19a5368532b2648349adce19101610e9d565b80546001019055565b60006001600160e01b031982166380ac58cd60e01b14806117e157506001600160e01b03198216635b5e139f60e01b145b8061093257506301ffc9a760e01b6001600160e01b0319831614610932565b600081600111158015611814575060005482105b8015610932575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000826118a28584612051565b14949350505050565b60006001600160a01b0382166118d45760405163561b93dd60e11b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160c01b90046001600160401b031690565b610f588282604051806020016040528060008152506120fd565b6001600160a01b0382166119415760405163561b93dd60e11b815260040160405180910390fd5b6001600160a01b03909116600090815260056020526040902080546001600160401b03909216600160c01b026001600160c01b03909216919091179055565b600061198b82611be6565b80519091506000906001600160a01b0316336001600160a01b031614806119b9575081516119b99033610856565b806119d45750336119c9846109ca565b6001600160a01b0316145b9050806119f457604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611a295760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611a5057604051633a954ecd60e21b815260040160405180910390fd5b611a606000848460000151611839565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611b4a57600054811015611b4a57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b601080546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8934ce4adea8d9ce0d714d2c22b86790e41b7731c84b926fbbdc1d40ff6533c990600090a35050565b60408051606081018252600080825260208201819052918101919091528180600111158015611c16575060005481105b15611cf457600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611cf25780516001600160a01b031615611c89579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611ced579392505050565b611c89565b505b604051636f96cda160e11b815260040160405180910390fd5b47600003611d2e5760405163334ab3f560e11b815260040160405180910390fd5b60005b600a54811015610dea576000611d468261108c565b90506000600c5447611d5891906128db565b6001600160a01b0383166000908152600e6020908152604080832054600b54600d909352908320549394509192611d8f90856128bc565b611d99919061296b565b611da39190612a6e565b6001600160a01b0384166000908152600e6020526040902054909150611dca9082906128db565b6001600160a01b0384166000908152600e6020526040902055600c54611df19082906128db565b600c55611dfe838261210a565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050508080611e4e90612a85565b915050611d31565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e8b903390899088908890600401612a9e565b6020604051808303816000875af1925050508015611ec6575060408051601f3d908101601f19168201909252611ec391810190612adb565b60015b611f24573d808015611ef4576040519150601f19603f3d011682016040523d82523d6000602084013e611ef9565b606091505b508051600003611f1c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601280546109479061286c565b606081600003611f785750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611fa25780611f8c81612a85565b9150611f9b9050600a8361296b565b9150611f7c565b6000816001600160401b03811115611fbc57611fbc61269d565b6040519080825280601f01601f191660200182016040528015611fe6576020820181803683370190505b5090505b8415611f3a57611ffb600183612a6e565b9150612008600a86612af8565b6120139060306128db565b60f81b818381518110612028576120286129c3565b60200101906001600160f81b031916908160001a90535061204a600a8661296b565b9450611fea565b600081815b84518110156120f5576000858281518110612073576120736129c3565b602002602001015190508083116120b55760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506120e2565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806120ed81612a85565b915050612056565b509392505050565b610a968383836001612223565b8047101561215a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610cc1565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146121a7576040519150601f19603f3d011682016040523d82523d6000602084013e6121ac565b606091505b5050905080610a965760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610cc1565b6000546001600160a01b03851661224c57604051622e076360e81b815260040160405180910390fd5b8360000361226d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561231e57506001600160a01b0387163b15155b156123a6575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461236f6000888480600101955088611e56565b61238c576040516368d2bf6b60e11b815260040160405180910390fd5b8082036123245782600054146123a157600080fd5b6123eb565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082036123a7575b50600055611b8d565b8280546124009061286c565b90600052602060002090601f0160209004810192826124225760008555612468565b82601f1061243b57805160ff1916838001178555612468565b82800160010185558215612468579182015b8281111561246857825182559160200191906001019061244d565b50612474929150612478565b5090565b5b808211156124745760008155600101612479565b6001600160e01b031981168114610dea57600080fd5b6000602082840312156124b557600080fd5b81356114a18161248d565b60005b838110156124db5781810151838201526020016124c3565b83811115610c865750506000910152565b600081518084526125048160208601602086016124c0565b601f01601f19169290920160200192915050565b6020815260006114a160208301846124ec565b60006020828403121561253d57600080fd5b5035919050565b80356001600160a01b038116811461255b57600080fd5b919050565b6000806040838503121561257357600080fd5b61257c83612544565b946020939093013593505050565b80356001600160401b038116811461255b57600080fd5b6000806000604084860312156125b657600080fd5b83356001600160401b03808211156125cd57600080fd5b818601915086601f8301126125e157600080fd5b8135818111156125f057600080fd5b8760208260051b850101111561260557600080fd5b60209283019550935061261b918601905061258a565b90509250925092565b60008060006060848603121561263957600080fd5b61264284612544565b925061265060208501612544565b9150604084013590509250925092565b6000806040838503121561267357600080fd5b50508035926020909101359150565b60006020828403121561269457600080fd5b6114a182612544565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b03808411156126cd576126cd61269d565b604051601f8501601f19908116603f011681019082821181831017156126f5576126f561269d565b8160405280935085815286868601111561270e57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561273a57600080fd5b81356001600160401b0381111561275057600080fd5b8201601f8101841361276157600080fd5b611f3a848235602084016126b3565b60006020828403121561278257600080fd5b6114a18261258a565b6000806040838503121561279e57600080fd5b6127a783612544565b9150602083013580151581146127bc57600080fd5b809150509250929050565b600080600080608085870312156127dd57600080fd5b6127e685612544565b93506127f460208601612544565b92506040850135915060608501356001600160401b0381111561281657600080fd5b8501601f8101871361282757600080fd5b612836878235602084016126b3565b91505092959194509250565b6000806040838503121561285557600080fd5b61285e83612544565b9150610d0260208401612544565b600181811c9082168061288057607f821691505b6020821081036128a057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156128d6576128d66128a6565b500290565b600082198211156128ee576128ee6128a6565b500190565b60006001600160401b03808316818516808303821115612915576129156128a6565b01949350505050565b6020808252601e908201527f4f776e65723a2063616c6c6572206973206e6f7420746865204f776e65720000604082015260600190565b634e487b7160e01b600052601260045260246000fd5b60008261297a5761297a612955565b500490565b60208082526024908201527f4f776e65723a206e6577204f776e657220697320746865207a65726f206164646040820152637265737360e01b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b60208082526027908201527f4e6577204f776e65723a206e6577204f776e657220697320746865206f6e6c796040820152661031b0b63632b960c91b606082015260800190565b60008351612a328184602088016124c0565b602f60f81b9083019081528351612a508160018401602088016124c0565b64173539b7b760d91b60019290910191820152600601949350505050565b600082821015612a8057612a806128a6565b500390565b600060018201612a9757612a976128a6565b5060010190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612ad1908301846124ec565b9695505050505050565b600060208284031215612aed57600080fd5b81516114a18161248d565b600082612b0757612b07612955565b50069056fea2646970667358221220ecf8ece2eceaa5e2cb6f4eab53ad1c79ef3ae9035f3f417b9268e6c40370d65e64736f6c634300080d0033

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

0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000354a6ba7a180000000000000000000000000000000000000000000000000000000000000000fa0000000000000000000000000d52ed960e6bf7b2cda61980fc286772159e3d2660000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000154166666f726461626c6520416c7068612050617373000000000000000000000000000000000000000000000000000000000000000000000000000000000000034141500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d62775a64376d39675537467753357a6344446f32344d6e4e4a6f6835687348645a4656774b69316477655a740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000002ea1611840b855834686c74bb4cddf4a6dc06d1e00000000000000000000000071bb844de19b57e295ae3a1f5604bb1c1001da940000000000000000000000008dfca880db5364f9a0d33fdedbb424089e3f36310000000000000000000000005acfa1fccc7a13d6d466d75476978a194260d565000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000009c400000000000000000000000000000000000000000000000000000000000007d000000000000000000000000000000000000000000000000000000000000009c4

-----Decoded View---------------
Arg [0] : name (string): Affordable Alpha Pass
Arg [1] : symbol (string): AAP
Arg [2] : _placeholderURI (string): https://gateway.pinata.cloud/ipfs/QmbwZd7m9gU7FwS5zcDDo24MnNJoh5hsHdZFVwKi1dweZt
Arg [3] : _mintPrice (uint256): 15000000000000000
Arg [4] : _mintSize (uint256): 4000
Arg [5] : _candyWallet (address): 0xD52Ed960e6Bf7B2CdA61980FC286772159e3D266
Arg [6] : _multi (bool): True
Arg [7] : splitAddresses (address[]): 0x2ea1611840B855834686c74bB4cddF4A6DC06D1E,0x71bB844DE19b57E295AE3a1F5604Bb1C1001dA94,0x8Dfca880dB5364F9A0D33fDeDbB424089E3F3631,0x5aCFA1FCCc7A13D6D466d75476978a194260D565
Arg [8] : splitShares (uint256[]): 2500,2500,2000,2500
Arg [9] : _whitelistMerkleRoot (bytes32): 0x0000000000000000000000000000000000000000000000000000000000000000

-----Encoded View---------------
28 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [3] : 00000000000000000000000000000000000000000000000000354a6ba7a18000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000fa0
Arg [5] : 000000000000000000000000d52ed960e6bf7b2cda61980fc286772159e3d266
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [8] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [11] : 4166666f726461626c6520416c70686120506173730000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [13] : 4141500000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [15] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [16] : 732f516d62775a64376d39675537467753357a6344446f32344d6e4e4a6f6835
Arg [17] : 687348645a4656774b69316477655a7400000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [19] : 0000000000000000000000002ea1611840b855834686c74bb4cddf4a6dc06d1e
Arg [20] : 00000000000000000000000071bb844de19b57e295ae3a1f5604bb1c1001da94
Arg [21] : 0000000000000000000000008dfca880db5364f9a0d33fdedbb424089e3f3631
Arg [22] : 0000000000000000000000005acfa1fccc7a13d6d466d75476978a194260d565
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [24] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [25] : 00000000000000000000000000000000000000000000000000000000000009c4
Arg [26] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [27] : 00000000000000000000000000000000000000000000000000000000000009c4


Deployed Bytecode Sourcemap

68698:18155:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74862:42;26493:10;74878:12;74862:42;;;-1:-1:-1;;;;;206:32:1;;;;188:51;;26704:9:0;270:2:1;255:18;;248:34;74862:42:0;;;;;;;;;68698:18155;;75058:42;26493:10;75074:12;26413:98;86455:395;;;;;;;;;;-1:-1:-1;86455:395:0;;;;;:::i;:::-;;:::i;:::-;;;844:14:1;;837:22;819:41;;807:2;792:18;86455:395:0;;;;;;;;34647:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;36150:204::-;;;;;;;;;;-1:-1:-1;36150:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1971:32:1;;;1953:51;;1941:2;1926:18;36150:204:0;1807:203:1;35713:371:0;;;;;;;;;;-1:-1:-1;35713:371:0;;;;;:::i;:::-;;:::i;:::-;;83720:101;;;;;;;;;;-1:-1:-1;83792:21:0;83720:101;;;2598:25:1;;;2586:2;2571:18;83720:101:0;2452:177:1;30511:303:0;;;;;;;;;;;;85589:1;30765:12;30555:7;30749:13;:28;-1:-1:-1;;30749:46:0;;30511:303;71807:1004;;;;;;:::i;:::-;;:::i;37007:170::-;;;;;;;;;;-1:-1:-1;37007:170:0;;;;;:::i;:::-;;:::i;63616:95::-;;;;;;;;;;;;;:::i;60421:326::-;;;;;;;;;;-1:-1:-1;60421:326:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;;161:18;60421:326:0;14:274:1;72993:441:0;;;;;;:::i;:::-;;:::i;53382:91::-;;;;;;;;;;-1:-1:-1;53453:12:0;;53382:91;;37248:185;;;;;;;;;;-1:-1:-1;37248:185:0;;;;;:::i;:::-;;:::i;83546:98::-;;;;;;;;;;-1:-1:-1;83622:14:0;;83546:98;;83892:92;;;;;;;;;;-1:-1:-1;83968:8:0;;83892:92;;80873:235;;;;;;;;;;-1:-1:-1;80873:235:0;;;;;:::i;:::-;;:::i;63877:187::-;;;;;;;;;;-1:-1:-1;63877:187:0;;;;;:::i;:::-;;:::i;80671:93::-;;;;;;;;;;-1:-1:-1;80671:93:0;;;;;:::i;:::-;;:::i;83145:89::-;;;;;;;;;;-1:-1:-1;83217:9:0;;83145:89;;34456:124;;;;;;;;;;-1:-1:-1;34456:124:0;;;;;:::i;:::-;;:::i;31631:206::-;;;;;;;;;;-1:-1:-1;31631:206:0;;;;;:::i;:::-;;:::i;78127:229::-;;;;;;;;;;;;;:::i;75230:67::-;;;;;;;;;;;;;:::i;54157:100::-;;;;;;;;;;-1:-1:-1;54157:100:0;;;;;:::i;:::-;;:::i;62967:87::-;;;;;;;;;;-1:-1:-1;63040:6:0;;-1:-1:-1;;;;;63040:6:0;62967:87;;79587:227;;;;;;;;;;-1:-1:-1;79587:227:0;;;;;:::i;:::-;;:::i;34816:104::-;;;;;;;;;;;;;:::i;53957:109::-;;;;;;;;;;-1:-1:-1;53957:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;54040:18:0;54013:7;54040:18;;;:9;:18;;;;;;;53957:109;82846:90;;;;;;;;;;-1:-1:-1;82915:13:0;;;;82846:90;;82999:97;;;;;;;;;;-1:-1:-1;83073:15:0;;;;82999:97;;36426:279;;;;;;;;;;-1:-1:-1;36426:279:0;;;;;:::i;:::-;;:::i;80223:216::-;;;;;;;;;;-1:-1:-1;80223:216:0;;;;;:::i;:::-;;:::i;69149:34::-;;;;;;;;;;;;;;;;64924:187;;;;;;;;;;-1:-1:-1;64924:187:0;;;;;:::i;:::-;;:::i;64573:168::-;;;;;;;;;;;;;:::i;37504:369::-;;;;;;;;;;-1:-1:-1;37504:369:0;;;;;:::i;:::-;;:::i;79213:224::-;;;;;;;;;;-1:-1:-1;79213:224:0;;;;;:::i;:::-;;:::i;85652:597::-;;;;;;;;;;-1:-1:-1;85652:597:0;;;;;:::i;:::-;;:::i;78431:240::-;;;;;;;;;;;;;:::i;53753:105::-;;;;;;;;;;-1:-1:-1;53753:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;53834:16:0;53807:7;53834:16;;;:7;:16;;;;;;;53753:105;78749:248;;;;;;;;;;;;;:::i;75617:234::-;;;;;;;;;;-1:-1:-1;75617:234:0;;;;;:::i;:::-;;:::i;53567:95::-;;;;;;;;;;-1:-1:-1;53640:14:0;;53567:95;;77849:223;;;;;;;;;;;;;:::i;36776:164::-;;;;;;;;;;-1:-1:-1;36776:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;36897:25:0;;;36873:4;36897:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36776:164;64233:170;;;;;;;;;;;;;:::i;76100:182::-;;;;;;;;;;-1:-1:-1;76100:182:0;;;;;:::i;:::-;;:::i;83297:104::-;;;;;;;;;;-1:-1:-1;83376:17:0;;-1:-1:-1;;;;;83376:17:0;83297:104;;86455:395;86586:4;-1:-1:-1;;;;;;86616:50:0;;-1:-1:-1;;;86616:50:0;;:115;;-1:-1:-1;;;;;;;86683:48:0;;-1:-1:-1;;;86683:48:0;86616:115;:172;;;-1:-1:-1;;;;;;;86748:40:0;;-1:-1:-1;;;86748:40:0;86616:172;:225;;;;86805:36;86829:11;86805:23;:36::i;:::-;86608:234;86455:395;-1:-1:-1;;86455:395:0:o;34647:100::-;34701:13;34734:5;34727:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34647:100;:::o;36150:204::-;36218:7;36243:16;36251:7;36243;:16::i;:::-;36238:64;;36268:34;;-1:-1:-1;;;36268:34:0;;;;;;;;;;;36238:64;-1:-1:-1;36322:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;36322:24:0;;36150:204::o;35713:371::-;35786:13;35802:24;35818:7;35802:15;:24::i;:::-;35786:40;;35847:5;-1:-1:-1;;;;;35841:11:0;:2;-1:-1:-1;;;;;35841:11:0;;35837:48;;35861:24;;-1:-1:-1;;;35861:24:0;;;;;;;;;;;35837:48;26493:10;-1:-1:-1;;;;;35902:21:0;;;;;;:63;;-1:-1:-1;35928:37:0;35945:5;26493:10;36776:164;:::i;35928:37::-;35927:38;35902:63;35898:138;;;35989:35;;-1:-1:-1;;;35989:35:0;;;;;;;;;;;35898:138;36048:28;36057:2;36061:7;36070:5;36048:8;:28::i;:::-;35775:309;35713:371;;:::o;71807:1004::-;71987:13;;;;71982:45;;72009:18;;-1:-1:-1;;;72009:18:0;;;;;;;;;;;71982:45;72043:15;;;;72038:51;;72067:22;;-1:-1:-1;;;72067:22:0;;;;;;;;;;;72038:51;72131:6;-1:-1:-1;;;;;72119:18:0;:9;;:18;;;;:::i;:::-;26704:9;72104:33;72100:60;;72146:14;;-1:-1:-1;;;72146:14:0;;;;;;;;;;;72100:60;72200:8;;72191:6;-1:-1:-1;;;;;72175:22:0;:13;85589:1;30765:12;30555:7;30749:13;:28;-1:-1:-1;;30749:46:0;;30511:303;72175:13;:22;;;;:::i;:::-;:33;72171:67;;;72217:21;;-1:-1:-1;;;72217:21:0;;;;;;;;;;;72171:67;72262:17;;-1:-1:-1;;;;;72262:17:0;;;72253:26;;;;72249:65;;;72288:26;;-1:-1:-1;;;72288:26:0;;;;;;;;;;;72249:65;72344:161;72381:11;;72344:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;72411:19:0;;72459:30;;-1:-1:-1;;26493:10:0;8327:2:1;8323:15;8319:53;72459:30:0;;;8307:66:1;72411:19:0;;-1:-1:-1;8389:12:1;;;-1:-1:-1;72459:30:0;;;;;;;;;;;;72449:41;;;;;;72344:18;:161::i;:::-;72325:215;;72524:16;;-1:-1:-1;;;72524:16:0;;;;;;;;;;;72325:215;72551:25;72603:6;72579:21;26493:10;72579:7;:21::i;:::-;:30;;;;:::i;:::-;72645:17;;72551:58;;-1:-1:-1;;;;;;72645:17:0;;;72624:38;;;;72620:89;;;72684:25;;-1:-1:-1;;;72684:25:0;;;;;;;;;;;72620:89;72720:31;26493:10;72744:6;-1:-1:-1;;;;;72720:31:0;:9;:31::i;:::-;72762:41;26493:10;72784:18;72762:7;:41::i;:::-;71917:894;71807:1004;;;:::o;37007:170::-;37141:28;37151:4;37157:2;37161:7;37141:9;:28::i;63616:95::-;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;;;;;;;;;63677:26:::1;63700:1;63677:14;:26::i;:::-;63616:95::o:0;60421:326::-;60611:14;;60721;;-1:-1:-1;;;;;60611:14:0;;;;60543:16;;60738:3;;60708:27;;:10;:27;:::i;:::-;:33;;;;:::i;:::-;60692:49;;60421:326;;;;;:::o;72993:441::-;73061:15;;;;73057:47;;;73085:19;;-1:-1:-1;;;73085:19:0;;;;;;;;;;;73057:47;73120:13;;;;73115:45;;73142:18;;-1:-1:-1;;;73142:18:0;;;;;;;;;;;73115:45;73202:6;73190:9;;:18;;;;:::i;:::-;26704:9;73175:33;73171:60;;73217:14;;-1:-1:-1;;;73217:14:0;;;;;;;;;;;73171:60;73271:8;;73262:6;73246:13;85589:1;30765:12;30555:7;30749:13;:28;-1:-1:-1;;30749:46:0;;30511:303;73246:13;:22;;;;:::i;:::-;:33;73242:67;;;73288:21;;-1:-1:-1;;;73288:21:0;;;;;;;;;;;73242:67;73333:14;;73324:6;:23;73320:64;;;73356:28;;-1:-1:-1;;;73356:28:0;;;;;;;;;;;73320:64;73395:31;26493:10;73419:6;73395:9;:31::i;:::-;72993:441;:::o;37248:185::-;37386:39;37403:4;37409:2;37413:7;37386:39;;;;;;;;;;;;:16;:39::i;80873:235::-;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;80953:13:::1;85589:1:::0;30765:12;30555:7;30749:13;:28;-1:-1:-1;;30749:46:0;;30511:303;80953:13:::1;80943:7;:23;80939:53;;;80975:17;;-1:-1:-1::0;;;80975:17:0::1;;;;;;;;;;;80939:53;81017:8;::::0;;81036:18;;;;81070:30:::1;::::0;;9443:25:1;;;9499:2;9484:18;;9477:34;;;81070:30:0::1;::::0;9416:18:1;81070:30:0::1;;;;;;;;80928:180;80873:235:::0;:::o;63877:187::-;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;63962:22:0;::::1;63954:71;;;;-1:-1:-1::0;;;63954:71:0::1;;;;;;;:::i;:::-;64036:9;:20:::0;;-1:-1:-1;;;;;;64036:20:0::1;-1:-1:-1::0;;;;;64036:20:0;;;::::1;::::0;;;::::1;::::0;;63877:187::o;80671:93::-;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;80742:14;;::::1;::::0;:4:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;:::-;;80671:93:::0;:::o;34456:124::-;34520:7;34547:20;34559:7;34547:11;:20::i;:::-;:25;;34456:124;-1:-1:-1;;34456:124:0:o;31631:206::-;31695:7;-1:-1:-1;;;;;31719:19:0;;31715:60;;31747:28;;-1:-1:-1;;;31747:28:0;;;;;;;;;;;31715:60;-1:-1:-1;;;;;;31801:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;31801:27:0;;31631:206::o;78127:229::-;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;78188:13:::1;::::0;::::1;;78183:45;;78210:18;;-1:-1:-1::0;;;78210:18:0::1;;;;;;;;;;;78183:45;78250:13;::::0;;-1:-1:-1;;78274:21:0;::::1;::::0;;;78311:37:::1;::::0;;78250:13:::1;::::0;;::::1;10114:14:1::0;;10107:22;10089:41;;-1:-1:-1;10161:2:1;10146:18;;10139:50;78250:13:0;78311:37:::1;::::0;10062:18:1;78311:37:0::1;;;;;;;;78172:184;78127:229::o:0;75230:67::-;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;75279:10:::1;:8;:10::i;54157:100::-:0;54208:7;54235;54243:5;54235:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;54235:14:0;;54157:100;-1:-1:-1;;54157:100:0:o;79587:227::-;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;79681:17:::1;::::0;;-1:-1:-1;;;;;79709:27:0;;::::1;-1:-1:-1::0;;79709:27:0;::::1;::::0;::::1;::::0;;;79752:54:::1;::::0;79681:17;::::1;::::0;79752:54:::1;::::0;::::1;::::0;79681:17;10505:25:1;;-1:-1:-1;;;;;10566:31:1;10561:2;10546:18;;10539:59;10493:2;10478:18;;10332:272;34816:104:0;34872:13;34905:7;34898:14;;;;;:::i;36426:279::-;26493:10;-1:-1:-1;;;;;36517:24:0;;;36513:54;;36550:17;;-1:-1:-1;;;36550:17:0;;;;;;;;;;;36513:54;26493:10;36580:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;36580:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;36580:53:0;;;;;;;;;;36649:48;;819:41:1;;;36580:42:0;;26493:10;36649:48;;792:18:1;36649:48:0;;;;;;;36426:279;;:::o;80223:216::-;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;80315:14:::1;::::0;;80340:24;;;;80413:17:::1;::::0;80380:51:::1;::::0;;10505:25:1;;;-1:-1:-1;;;;;80413:17:0;;::::1;10561:2:1::0;10546:18;;10539:59;80380:51:0::1;::::0;10478:18:1;80380:51:0::1;10332:272:1::0;64924:187:0;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;65005:22:0;::::1;64997:71;;;;-1:-1:-1::0;;;64997:71:0::1;;;;;;;:::i;:::-;65079:24;65094:8;65079:14;:24::i;64573:168::-:0;64631:9;;-1:-1:-1;;;;;64631:9:0;26493:10;64631:25;64623:77;;;;-1:-1:-1;;;64623:77:0;;;;;;;:::i;:::-;64711:9;:22;;-1:-1:-1;;;;;;64711:22:0;;;64573:168::o;37504:369::-;37671:28;37681:4;37687:2;37691:7;37671:9;:28::i;:::-;-1:-1:-1;;;;;37714:13:0;;8496:20;8544:8;;37714:76;;;;;37734:56;37765:4;37771:2;37775:7;37784:5;37734:30;:56::i;:::-;37733:57;37714:76;37710:156;;;37814:40;;-1:-1:-1;;;37814:40:0;;;;;;;;;;;79213:224;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;79308:19:::1;::::0;;79338:33;;;;79387:42:::1;::::0;;9443:25:1;;;9499:2;9484:18;;9477:34;;;79387:42:0::1;::::0;9416:18:1;79387:42:0::1;9269:248:1::0;85652:597:0;85770:13;85806:16;85814:7;85806;:16::i;:::-;85801:48;;85831:18;;-1:-1:-1;;;85831:18:0;;;;;;;;;;;85801:48;85860:21;85884:10;:8;:10::i;:::-;85860:34;;85949:1;85931:7;85925:21;:25;:316;;86227:14;85925:316;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86042:7;86106:25;86123:7;86106:16;:25::i;:::-;85999:189;;;;;;;;;:::i;:::-;;;;;;;;;;;;;85925:316;85905:336;85652:597;-1:-1:-1;;;85652:597:0:o;78431:240::-;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;78490:15:::1;::::0;::::1;;78486:47;;;78514:19;;-1:-1:-1::0;;;78514:19:0::1;;;;;;;;;;;78486:47;78555:15;::::0;;;-1:-1:-1;;78581:22:0;::::1;::::0;::::1;::::0;;;78619:44:::1;::::0;;78555:15:::1;::::0;;::::1;10114:14:1::0;;10107:22;10089:41;;10161:2;10146:18;;10139:50;;;;78619:44:0::1;::::0;10062:18:1;78619:44:0::1;9927:268:1::0;78749:248:0;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;78812:15:::1;::::0;::::1;;78807:51;;78836:22;;-1:-1:-1::0;;;78836:22:0::1;;;;;;;;;;;78807:51;78880:15;::::0;;-1:-1:-1;;78906:23:0;::::1;::::0;;;78945:44:::1;::::0;;78880:15:::1;::::0;;::::1;10114:14:1::0;;10107:22;10089:41;;-1:-1:-1;10161:2:1;10146:18;;10139:50;78880:15:0;78945:44:::1;::::0;10062:18:1;78945:44:0::1;9927:268:1::0;75617:234:0;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;60299:14;:26;;-1:-1:-1;;;;;;60299:26:0;-1:-1:-1;;;;;60299:26:0;;;;;60332:14;:28;;;75797:46:::1;::::0;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;75797:46:0::1;::::0;161:18:1;75797:46:0::1;14:274:1::0;77849:223:0;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;77908:13:::1;::::0;::::1;;77904:41;;;77930:15;;-1:-1:-1::0;;;77930:15:0::1;;;;;;;;;;;77904:41;77967:13;::::0;;;-1:-1:-1;;77991:20:0;::::1;::::0;::::1;::::0;;;78027:37:::1;::::0;;77967:13:::1;::::0;;::::1;10114:14:1::0;;10107:22;10089:41;;10161:2;10146:18;;10139:50;;;;78027:37:0::1;::::0;10062:18:1;78027:37:0::1;9927:268:1::0;64233:170:0;64290:9;;-1:-1:-1;;;;;64290:9:0;26493:10;64290:25;64282:77;;;;-1:-1:-1;;;64282:77:0;;;;;;;:::i;:::-;64385:9;;64370:25;;-1:-1:-1;;;;;64385:9:0;64370:14;:25::i;76100:182::-;63040:6;;-1:-1:-1;;;;;63040:6:0;26493:10;63187:23;63179:66;;;;-1:-1:-1;;;63179:66:0;;;;;;;:::i;:::-;76184:9:::1;::::0;;76204:19;;;;76239:35:::1;::::0;;9443:25:1;;;9499:2;9484:18;;9477:34;;;76239:35:0::1;::::0;9416:18:1;76239:35:0::1;9269:248:1::0;6938:127:0;7027:19;;7045:1;7027:19;;;6938:127::o;31262:305::-;31364:4;-1:-1:-1;;;;;;31401:40:0;;-1:-1:-1;;;31401:40:0;;:105;;-1:-1:-1;;;;;;;31458:48:0;;-1:-1:-1;;;31458:48:0;31401:105;:158;;;-1:-1:-1;;;;;;;;;;1783:40:0;;;31523:36;1674:157;38128:187;38185:4;38228:7;85589:1;38209:26;;:53;;;;;38249:13;;38239:7;:23;38209:53;:98;;;;-1:-1:-1;;38280:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;38280:27:0;;;;38279:28;;38128:187::o;45739:196::-;45854:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;45854:29:0;-1:-1:-1;;;;;45854:29:0;;;;;;;;;45899:28;;45854:24;;45899:28;;;;;;;45739:196;;;:::o;2673:190::-;2798:4;2851;2822:25;2835:5;2842:4;2822:12;:25::i;:::-;:33;;2673:190;-1:-1:-1;;;;2673:190:0:o;32549:179::-;32604:6;-1:-1:-1;;;;;32627:19:0;;32623:56;;32655:24;;-1:-1:-1;;;32655:24:0;;;;;;;;;;;32623:56;-1:-1:-1;;;;;;32697:19:0;;;;;:12;:19;;;;;:23;-1:-1:-1;;;32697:23:0;;-1:-1:-1;;;;;32697:23:0;;32549:179::o;38323:104::-;38392:27;38402:2;38406:8;38392:27;;;;;;;;;;;;:9;:27::i;32916:168::-;-1:-1:-1;;;;;32984:19:0;;32980:56;;33012:24;;-1:-1:-1;;;33012:24:0;;;;;;;;;;;32980:56;-1:-1:-1;;;;;33047:19:0;;;;;;;:12;:19;;;;;:29;;-1:-1:-1;;;;;33047:29:0;;;-1:-1:-1;;;33047:29:0;-1:-1:-1;;;;;33047:29:0;;;;;;;;;32916:168::o;41241:2112::-;41356:35;41394:20;41406:7;41394:11;:20::i;:::-;41469:18;;41356:58;;-1:-1:-1;41427:22:0;;-1:-1:-1;;;;;41453:34:0;26493:10;-1:-1:-1;;;;;41453:34:0;;:101;;;-1:-1:-1;41521:18:0;;41504:50;;26493:10;36776:164;:::i;41504:50::-;41453:154;;;-1:-1:-1;26493:10:0;41571:20;41583:7;41571:11;:20::i;:::-;-1:-1:-1;;;;;41571:36:0;;41453:154;41427:181;;41626:17;41621:66;;41652:35;;-1:-1:-1;;;41652:35:0;;;;;;;;;;;41621:66;41724:4;-1:-1:-1;;;;;41702:26:0;:13;:18;;;-1:-1:-1;;;;;41702:26:0;;41698:67;;41737:28;;-1:-1:-1;;;41737:28:0;;;;;;;;;;;41698:67;-1:-1:-1;;;;;41780:16:0;;41776:52;;41805:23;;-1:-1:-1;;;41805:23:0;;;;;;;;;;;41776:52;41949:49;41966:1;41970:7;41979:13;:18;;;41949:8;:49::i;:::-;-1:-1:-1;;;;;42294:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;42294:31:0;;;-1:-1:-1;;;;;42294:31:0;;;-1:-1:-1;;42294:31:0;;;;;;;42340:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;42340:29:0;;;;;;;;;;;42386:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;42431:61:0;;;;-1:-1:-1;;;42476:15:0;42431:61;;;;;;;;;;;42766:11;;;42796:24;;;;;:29;42766:11;;42796:29;42792:445;;43021:13;;43007:11;:27;43003:219;;;43091:18;;;43059:24;;;:11;:24;;;;;;;;:50;;43174:28;;;;-1:-1:-1;;;;;43132:70:0;-1:-1:-1;;;43132:70:0;-1:-1:-1;;;;;;43132:70:0;;;-1:-1:-1;;;;;43059:50:0;;;43132:70;;;;;;;43003:219;42269:979;43284:7;43280:2;-1:-1:-1;;;;;43265:27:0;43274:4;-1:-1:-1;;;;;43265:27:0;;;;;;;;;;;43303:42;41345:2008;;41241:2112;;;:::o;65267:183::-;65356:6;;;-1:-1:-1;;;;;65373:17:0;;;-1:-1:-1;;;;;;65373:17:0;;;;;;;65406:36;;65356:6;;;65373:17;65356:6;;65406:36;;65337:16;;65406:36;65326:124;65267:183;:::o;33286:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;33396:7:0;;85589:1;33445:23;;:47;;;;;33479:13;;33472:4;:20;33445:47;33441:886;;;33513:31;33547:17;;;:11;:17;;;;;;;;;33513:51;;;;;;;;;-1:-1:-1;;;;;33513:51:0;;;;-1:-1:-1;;;33513:51:0;;-1:-1:-1;;;;;33513:51:0;;;;;;;;-1:-1:-1;;;33513:51:0;;;;;;;;;;;;;;33583:729;;33633:14;;-1:-1:-1;;;;;33633:28:0;;33629:101;;33697:9;33286:1108;-1:-1:-1;;;33286:1108:0:o;33629:101::-;-1:-1:-1;;;34072:6:0;34117:17;;;;:11;:17;;;;;;;;;34105:29;;;;;;;;;-1:-1:-1;;;;;34105:29:0;;;;;-1:-1:-1;;;34105:29:0;;-1:-1:-1;;;;;34105:29:0;;;;;;;;-1:-1:-1;;;34105:29:0;;;;;;;;;;;;;34165:28;34161:109;;34233:9;33286:1108;-1:-1:-1;;;33286:1108:0:o;34161:109::-;34032:261;;;33494:833;33441:886;34355:31;;-1:-1:-1;;;34355:31:0;;;;;;;;;;;54360:660;54404:21;54429:1;54404:26;54400:52;;54439:13;;-1:-1:-1;;;54439:13:0;;;;;;;;;;;54400:52;54468:9;54463:550;54487:10;6908:14;54483:1;:24;54463:550;;;54529:15;54547:8;54553:1;54547:5;:8::i;:::-;54529:26;;54570:21;54618:14;;54594:21;:38;;;;:::i;:::-;-1:-1:-1;;;;;54751:18:0;;54647:15;54751:18;;;:9;:18;;;;;;;;;54719:12;;54682:7;:16;;;;;;;54570:62;;-1:-1:-1;54647:15:0;;54666:32;;54570:62;54666:32;:::i;:::-;54665:66;;;;:::i;:::-;:104;;;;:::i;:::-;-1:-1:-1;;;;;54805:18:0;;;;;;:9;:18;;;;;;54647:122;;-1:-1:-1;54805:28:0;;54647:122;;54805:28;:::i;:::-;-1:-1:-1;;;;;54784:18:0;;;;;;:9;:18;;;;;:49;54865:14;;:24;;54882:7;;54865:24;:::i;:::-;54848:14;:41;54904:44;54930:7;54940;54904:17;:44::i;:::-;54968:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;54968:33:0;;161:18:1;54968:33:0;;;;;;;54514:499;;;54509:3;;;;;:::i;:::-;;;;54463:550;;46427:667;46611:72;;-1:-1:-1;;;46611:72:0;;46590:4;;-1:-1:-1;;;;;46611:36:0;;;;;:72;;26493:10;;46662:4;;46668:7;;46677:5;;46611:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46611:72:0;;;;;;;;-1:-1:-1;;46611:72:0;;;;;;;;;;;;:::i;:::-;;;46607:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46845:6;:13;46862:1;46845:18;46841:235;;46891:40;;-1:-1:-1;;;46891:40:0;;;;;;;;;;;46841:235;47034:6;47028:13;47019:6;47015:2;47011:15;47004:38;46607:480;-1:-1:-1;;;;;;46730:55:0;-1:-1:-1;;;46730:55:0;;-1:-1:-1;46607:480:0;46427:667;;;;;;:::o;85319:97::-;85371:13;85404:4;85397:11;;;;;:::i;4242:723::-;4298:13;4519:5;4528:1;4519:10;4515:53;;-1:-1:-1;;4546:10:0;;;;;;;;;;;;-1:-1:-1;;;4546:10:0;;;;;4242:723::o;4515:53::-;4593:5;4578:12;4634:78;4641:9;;4634:78;;4667:8;;;;:::i;:::-;;-1:-1:-1;4690:10:0;;-1:-1:-1;4698:2:0;4690:10;;:::i;:::-;;;4634:78;;;4722:19;4754:6;-1:-1:-1;;;;;4744:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4744:17:0;;4722:39;;4772:154;4779:10;;4772:154;;4806:11;4816:1;4806:11;;:::i;:::-;;-1:-1:-1;4875:10:0;4883:2;4875:5;:10;:::i;:::-;4862:24;;:2;:24;:::i;:::-;4849:39;;4832:6;4839;4832:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4832:56:0;;;;;;;;-1:-1:-1;4903:11:0;4912:2;4903:11;;:::i;:::-;;;4772:154;;3225:701;3308:7;3351:4;3308:7;3366:523;3390:5;:12;3386:1;:16;3366:523;;;3424:20;3447:5;3453:1;3447:8;;;;;;;;:::i;:::-;;;;;;;3424:31;;3490:12;3474;:28;3470:408;;3627:44;;;;;;13339:19:1;;;13374:12;;;13367:28;;;13411:12;;3627:44:0;;;;;;;;;;;;3617:55;;;;;;3602:70;;3470:408;;;3817:44;;;;;;13339:19:1;;;13374:12;;;13367:28;;;13411:12;;3817:44:0;;;;;;;;;;;;3807:55;;;;;;3792:70;;3470:408;-1:-1:-1;3404:3:0;;;;:::i;:::-;;;;3366:523;;;-1:-1:-1;3906:12:0;3225:701;-1:-1:-1;;;3225:701:0:o;38790:163::-;38913:32;38919:2;38923:8;38933:5;38940:4;38913:5;:32::i;9495:317::-;9610:6;9585:21;:31;;9577:73;;;;-1:-1:-1;;;9577:73:0;;13636:2:1;9577:73:0;;;13618:21:1;13675:2;13655:18;;;13648:30;13714:31;13694:18;;;13687:59;13763:18;;9577:73:0;13434:353:1;9577:73:0;9664:12;9682:9;-1:-1:-1;;;;;9682:14:0;9704:6;9682:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9663:52;;;9734:7;9726:78;;;;-1:-1:-1;;;9726:78:0;;14204:2:1;9726:78:0;;;14186:21:1;14243:2;14223:18;;;14216:30;14282:34;14262:18;;;14255:62;14353:28;14333:18;;;14326:56;14399:19;;9726:78:0;14002:422:1;39212:1775:0;39351:20;39374:13;-1:-1:-1;;;;;39402:16:0;;39398:48;;39427:19;;-1:-1:-1;;;39427:19:0;;;;;;;;;;;39398:48;39461:8;39473:1;39461:13;39457:44;;39483:18;;-1:-1:-1;;;39483:18:0;;;;;;;;;;;39457:44;-1:-1:-1;;;;;39852:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;39911:49:0;;-1:-1:-1;;;;;39852:44:0;;;;;;;39911:49;;;;-1:-1:-1;;39852:44:0;;;;;;39911:49;;;;;;;;;;;;;;;;39977:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;40027:66:0;;;;-1:-1:-1;;;40077:15:0;40027:66;;;;;;;;;;39977:25;40174:23;;;40218:4;:23;;;;-1:-1:-1;;;;;;40226:13:0;;8496:20;8544:8;;40226:15;40214:641;;;40262:314;40293:38;;40318:12;;-1:-1:-1;;;;;40293:38:0;;;40310:1;;40293:38;;40310:1;;40293:38;40359:69;40398:1;40402:2;40406:14;;;;;;40422:5;40359:30;:69::i;:::-;40354:174;;40464:40;;-1:-1:-1;;;40464:40:0;;;;;;;;;;;40354:174;40571:3;40555:12;:19;40262:314;;40657:12;40640:13;;:29;40636:43;;40671:8;;;40636:43;40214:641;;;40720:120;40751:40;;40776:14;;;;;-1:-1:-1;;;;;40751:40:0;;;40768:1;;40751:40;;40768:1;;40751:40;40835:3;40819:12;:19;40720:120;;40214:641;-1:-1:-1;40869:13:0;:28;40919:60;71807:1004;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;293:131:1;-1:-1:-1;;;;;;367:32:1;;357:43;;347:71;;414:1;411;404:12;429:245;487:6;540:2;528:9;519:7;515:23;511:32;508:52;;;556:1;553;546:12;508:52;595:9;582:23;614:30;638:5;614:30;:::i;871:258::-;943:1;953:113;967:6;964:1;961:13;953:113;;;1043:11;;;1037:18;1024:11;;;1017:39;989:2;982:10;953:113;;;1084:6;1081:1;1078:13;1075:48;;;-1:-1:-1;;1119:1:1;1101:16;;1094:27;871:258::o;1134:::-;1176:3;1214:5;1208:12;1241:6;1236:3;1229:19;1257:63;1313:6;1306:4;1301:3;1297:14;1290:4;1283:5;1279:16;1257:63;:::i;:::-;1374:2;1353:15;-1:-1:-1;;1349:29:1;1340:39;;;;1381:4;1336:50;;1134:258;-1:-1:-1;;1134:258:1:o;1397:220::-;1546:2;1535:9;1528:21;1509:4;1566:45;1607:2;1596:9;1592:18;1584:6;1566:45;:::i;1622:180::-;1681:6;1734:2;1722:9;1713:7;1709:23;1705:32;1702:52;;;1750:1;1747;1740:12;1702:52;-1:-1:-1;1773:23:1;;1622:180;-1:-1:-1;1622:180:1:o;2015:173::-;2083:20;;-1:-1:-1;;;;;2132:31:1;;2122:42;;2112:70;;2178:1;2175;2168:12;2112:70;2015:173;;;:::o;2193:254::-;2261:6;2269;2322:2;2310:9;2301:7;2297:23;2293:32;2290:52;;;2338:1;2335;2328:12;2290:52;2361:29;2380:9;2361:29;:::i;:::-;2351:39;2437:2;2422:18;;;;2409:32;;-1:-1:-1;;;2193:254:1:o;2634:171::-;2701:20;;-1:-1:-1;;;;;2750:30:1;;2740:41;;2730:69;;2795:1;2792;2785:12;2810:693;2904:6;2912;2920;2973:2;2961:9;2952:7;2948:23;2944:32;2941:52;;;2989:1;2986;2979:12;2941:52;3029:9;3016:23;-1:-1:-1;;;;;3099:2:1;3091:6;3088:14;3085:34;;;3115:1;3112;3105:12;3085:34;3153:6;3142:9;3138:22;3128:32;;3198:7;3191:4;3187:2;3183:13;3179:27;3169:55;;3220:1;3217;3210:12;3169:55;3260:2;3247:16;3286:2;3278:6;3275:14;3272:34;;;3302:1;3299;3292:12;3272:34;3357:7;3350:4;3340:6;3337:1;3333:14;3329:2;3325:23;3321:34;3318:47;3315:67;;;3378:1;3375;3368:12;3315:67;3409:4;3401:13;;;;-1:-1:-1;3433:6:1;-1:-1:-1;3458:39:1;;3476:20;;;-1:-1:-1;3458:39:1;:::i;:::-;3448:49;;2810:693;;;;;:::o;3508:328::-;3585:6;3593;3601;3654:2;3642:9;3633:7;3629:23;3625:32;3622:52;;;3670:1;3667;3660:12;3622:52;3693:29;3712:9;3693:29;:::i;:::-;3683:39;;3741:38;3775:2;3764:9;3760:18;3741:38;:::i;:::-;3731:48;;3826:2;3815:9;3811:18;3798:32;3788:42;;3508:328;;;;;:::o;3841:248::-;3909:6;3917;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;;4009:23:1;;;4079:2;4064:18;;;4051:32;;-1:-1:-1;3841:248:1:o;4094:186::-;4153:6;4206:2;4194:9;4185:7;4181:23;4177:32;4174:52;;;4222:1;4219;4212:12;4174:52;4245:29;4264:9;4245:29;:::i;4285:127::-;4346:10;4341:3;4337:20;4334:1;4327:31;4377:4;4374:1;4367:15;4401:4;4398:1;4391:15;4417:632;4482:5;-1:-1:-1;;;;;4553:2:1;4545:6;4542:14;4539:40;;;4559:18;;:::i;:::-;4634:2;4628:9;4602:2;4688:15;;-1:-1:-1;;4684:24:1;;;4710:2;4680:33;4676:42;4664:55;;;4734:18;;;4754:22;;;4731:46;4728:72;;;4780:18;;:::i;:::-;4820:10;4816:2;4809:22;4849:6;4840:15;;4879:6;4871;4864:22;4919:3;4910:6;4905:3;4901:16;4898:25;4895:45;;;4936:1;4933;4926:12;4895:45;4986:6;4981:3;4974:4;4966:6;4962:17;4949:44;5041:1;5034:4;5025:6;5017;5013:19;5009:30;5002:41;;;;4417:632;;;;;:::o;5054:451::-;5123:6;5176:2;5164:9;5155:7;5151:23;5147:32;5144:52;;;5192:1;5189;5182:12;5144:52;5232:9;5219:23;-1:-1:-1;;;;;5257:6:1;5254:30;5251:50;;;5297:1;5294;5287:12;5251:50;5320:22;;5373:4;5365:13;;5361:27;-1:-1:-1;5351:55:1;;5402:1;5399;5392:12;5351:55;5425:74;5491:7;5486:2;5473:16;5468:2;5464;5460:11;5425:74;:::i;5510:184::-;5568:6;5621:2;5609:9;5600:7;5596:23;5592:32;5589:52;;;5637:1;5634;5627:12;5589:52;5660:28;5678:9;5660:28;:::i;5699:347::-;5764:6;5772;5825:2;5813:9;5804:7;5800:23;5796:32;5793:52;;;5841:1;5838;5831:12;5793:52;5864:29;5883:9;5864:29;:::i;:::-;5854:39;;5943:2;5932:9;5928:18;5915:32;5990:5;5983:13;5976:21;5969:5;5966:32;5956:60;;6012:1;6009;6002:12;5956:60;6035:5;6025:15;;;5699:347;;;;;:::o;6233:667::-;6328:6;6336;6344;6352;6405:3;6393:9;6384:7;6380:23;6376:33;6373:53;;;6422:1;6419;6412:12;6373:53;6445:29;6464:9;6445:29;:::i;:::-;6435:39;;6493:38;6527:2;6516:9;6512:18;6493:38;:::i;:::-;6483:48;;6578:2;6567:9;6563:18;6550:32;6540:42;;6633:2;6622:9;6618:18;6605:32;-1:-1:-1;;;;;6652:6:1;6649:30;6646:50;;;6692:1;6689;6682:12;6646:50;6715:22;;6768:4;6760:13;;6756:27;-1:-1:-1;6746:55:1;;6797:1;6794;6787:12;6746:55;6820:74;6886:7;6881:2;6868:16;6863:2;6859;6855:11;6820:74;:::i;:::-;6810:84;;;6233:667;;;;;;;:::o;7090:260::-;7158:6;7166;7219:2;7207:9;7198:7;7194:23;7190:32;7187:52;;;7235:1;7232;7225:12;7187:52;7258:29;7277:9;7258:29;:::i;:::-;7248:39;;7306:38;7340:2;7329:9;7325:18;7306:38;:::i;7355:380::-;7434:1;7430:12;;;;7477;;;7498:61;;7552:4;7544:6;7540:17;7530:27;;7498:61;7605:2;7597:6;7594:14;7574:18;7571:38;7568:161;;7651:10;7646:3;7642:20;7639:1;7632:31;7686:4;7683:1;7676:15;7714:4;7711:1;7704:15;7568:161;;7355:380;;;:::o;7740:127::-;7801:10;7796:3;7792:20;7789:1;7782:31;7832:4;7829:1;7822:15;7856:4;7853:1;7846:15;7872:168;7912:7;7978:1;7974;7970:6;7966:14;7963:1;7960:21;7955:1;7948:9;7941:17;7937:45;7934:71;;;7985:18;;:::i;:::-;-1:-1:-1;8025:9:1;;7872:168::o;8045:128::-;8085:3;8116:1;8112:6;8109:1;8106:13;8103:39;;;8122:18;;:::i;:::-;-1:-1:-1;8158:9:1;;8045:128::o;8412:236::-;8451:3;-1:-1:-1;;;;;8524:2:1;8521:1;8517:10;8554:2;8551:1;8547:10;8585:3;8581:2;8577:12;8572:3;8569:21;8566:47;;;8593:18;;:::i;:::-;8629:13;;8412:236;-1:-1:-1;;;;8412:236:1:o;8653:354::-;8855:2;8837:21;;;8894:2;8874:18;;;8867:30;8933:32;8928:2;8913:18;;8906:60;8998:2;8983:18;;8653:354::o;9012:127::-;9073:10;9068:3;9064:20;9061:1;9054:31;9104:4;9101:1;9094:15;9128:4;9125:1;9118:15;9144:120;9184:1;9210;9200:35;;9215:18;;:::i;:::-;-1:-1:-1;9249:9:1;;9144:120::o;9522:400::-;9724:2;9706:21;;;9763:2;9743:18;;;9736:30;9802:34;9797:2;9782:18;;9775:62;-1:-1:-1;;;9868:2:1;9853:18;;9846:34;9912:3;9897:19;;9522:400::o;10200:127::-;10261:10;10256:3;10252:20;10249:1;10242:31;10292:4;10289:1;10282:15;10316:4;10313:1;10306:15;10609:403;10811:2;10793:21;;;10850:2;10830:18;;;10823:30;10889:34;10884:2;10869:18;;10862:62;-1:-1:-1;;;10955:2:1;10940:18;;10933:37;11002:3;10987:19;;10609:403::o;11270:772::-;11651:3;11689:6;11683:13;11705:53;11751:6;11746:3;11739:4;11731:6;11727:17;11705:53;:::i;:::-;-1:-1:-1;;;11780:16:1;;;11805:18;;;11848:13;;11870:65;11848:13;11922:1;11911:13;;11904:4;11892:17;;11870:65;:::i;:::-;-1:-1:-1;;;11998:1:1;11954:20;;;;11990:10;;;11983:27;12034:1;12026:10;;11270:772;-1:-1:-1;;;;11270:772:1:o;12047:125::-;12087:4;12115:1;12112;12109:8;12106:34;;;12120:18;;:::i;:::-;-1:-1:-1;12157:9:1;;12047:125::o;12177:135::-;12216:3;12237:17;;;12234:43;;12257:18;;:::i;:::-;-1:-1:-1;12304:1:1;12293:13;;12177:135::o;12317:489::-;-1:-1:-1;;;;;12586:15:1;;;12568:34;;12638:15;;12633:2;12618:18;;12611:43;12685:2;12670:18;;12663:34;;;12733:3;12728:2;12713:18;;12706:31;;;12511:4;;12754:46;;12780:19;;12772:6;12754:46;:::i;:::-;12746:54;12317:489;-1:-1:-1;;;;;;12317:489:1:o;12811:249::-;12880:6;12933:2;12921:9;12912:7;12908:23;12904:32;12901:52;;;12949:1;12946;12939:12;12901:52;12981:9;12975:16;13000:30;13024:5;13000:30;:::i;13065:112::-;13097:1;13123;13113:35;;13128:18;;:::i;:::-;-1:-1:-1;13162:9:1;;13065:112::o

Swarm Source

ipfs://ecf8ece2eceaa5e2cb6f4eab53ad1c79ef3ae9035f3f417b9268e6c40370d65e
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.