ETH Price: $3,004.71 (+4.30%)
Gas: 1 Gwei

Down Bad (DB)
 

Overview

TokenID

1078

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
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:
DownBad

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-19
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

/// @title Down Bad
/// @author André Costa @ Terratecc


// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


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


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


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


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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

contract DownBad is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;

    //NOTE Token values incremented for gas efficiency
    uint256 private maxSalePlusOne = 4445;

    uint256 public presaleAllowancePlusOne = 2;
    uint256 public tokenPricePublic = 0.009 ether;

    bytes32 public merkleRoot;

    address public recipient1 = 0x18b9f7367F4178D0CE54F3D45f3491C1c9d5F577;
    address public recipient2 = 0x318cBF186eB13C74533943b054959867eE44eFFE;

    enum ContractState {
        OFF,
        PRESALE,
        PUBLIC
    }
    ContractState public contractState = ContractState.OFF;

    string public placeholderURI;
    string public baseURI;

    constructor() ERC721A("Down Bad", "DB") {
        placeholderURI = "ipfs://QmNitmPexw2CU8CXfxyTKDkV514Zqq6LLQ4dgf6RKnp8hE/";

        merkleRoot = 0x00;

        _safeMint(recipient1, 100);
    }

    receive() external payable {} 

    //
    // Modifiers
    //

    /**
     * Do not allow calls from other contracts.
     */
    modifier noBots() {
        require(msg.sender == tx.origin, "No bots!");
        _;
    }

    /**
     * Ensure current state is correct for this method.
     */
    modifier isContractState(ContractState contractState_) {
        require(contractState == contractState_, "Invalid state");
        _;
    }

    /**
     * Ensure amount of tokens to mint is within the limit.
     */
    modifier withinMintLimit(uint256 quantity) {
        require((_totalMinted() + quantity) < maxSalePlusOne, "Exceeds available tokens");
        _;
    }

    /**
     * Ensure correct amount of Ether present in transaction.
     */
    modifier correctValue(uint256 expectedValue) {
        require(expectedValue == msg.value, "Ether value sent is not correct");
        _;
    }

    //
    // Mint
    //

    /**
     * Public mint.
     * @param quantity Amount of tokens to mint.
     */
    function mintPublic(uint256 quantity)
        external
        payable
        noBots
        isContractState(ContractState.PUBLIC)
        withinMintLimit(quantity)
        correctValue(quantity * tokenPricePublic)
    {
        _safeMint(msg.sender, quantity);
    }

    /**
     * Mint tokens during the presale.
     * @notice This function is only available to those on the allowlist.
     * @param quantity The number of tokens to mint.
     * @param proof The Merkle proof used to validate the leaf is in the root.
     */
    function mintPresale(uint256 quantity, bytes32[] calldata proof, bytes32 leaf)
        external
        payable
        noBots
        isContractState(ContractState.PRESALE)
        withinMintLimit(quantity)
    {
        require(_numberMinted(msg.sender) + quantity < presaleAllowancePlusOne, "Exceeds allowance!");
        require(verify(merkleRoot, leaf, proof), "Not a valid proof!");
        _safeMint(msg.sender, quantity);
    }


    /**
     * Team reserved mint.
     * @param quantity Amount of tokens to mint.
     */
    function mintReserved(uint256 quantity) external withinMintLimit(quantity) onlyOwner {
        _safeMint(msg.sender, quantity);
    }

    //
    // Admin
    //

    /**
     * Set contract state.
     * @param contractState_ The new state of the contract.
     */
    function setContractState(uint contractState_) external onlyOwner {
        require(contractState_ < 3, "Invalid Contract State!");
        if (contractState_ == 0) {
            contractState = ContractState.OFF;
        }
        else if (contractState_ == 1) {
            contractState = ContractState.PRESALE;
        }
        else {
            contractState = ContractState.PUBLIC;
        }
        
    }

    /**
     * Update maximum number of tokens for sale.
     * @param maxSale The maximum number of tokens available for sale.
     */
    function setMaxSale(uint256 maxSale) external onlyOwner {
        uint256 maxSalePlusOne_ = maxSale + 1;
        require(maxSalePlusOne_ < maxSalePlusOne, "Can only reduce supply");
        maxSalePlusOne = maxSalePlusOne_;
    }

    /**
     * Update presale allowance.
     * @param presaleAllowance The new presale allowance.
     */
    function setPresaleAllowance(uint256 presaleAllowance) external onlyOwner {
        presaleAllowancePlusOne = presaleAllowance + 1;
    }

    /**
     * Set the presale Merkle root.
     * @dev The Merkle root is calculated from [address, allowance] pairs.
     * @param merkleRoot_ The new merkle roo
     */
    function setMerkleRoot(bytes32 merkleRoot_) external onlyOwner {
        merkleRoot = merkleRoot_;
    }

    /**
     * Sets base URI.
     * @param baseURI_ The base URI
     */
    function setBaseURI(string memory baseURI_) external onlyOwner {
        baseURI = baseURI_;
    }

    /**
     * Sets placeholder URI.
     * @param placeholderURI_ The placeholder URI
     */
    function setPlaceholderURI(string memory placeholderURI_) external onlyOwner {
        placeholderURI = placeholderURI_;
    }

    //retrieve all funds recieved from minting
    function withdraw() public onlyOwner {
        uint256 balance = accountBalance();
        require(balance > 0, 'No Funds to withdraw, Balance is 0');

        _withdraw(payable(recipient1), (balance * 50) / 100);
        _withdraw(payable(recipient2), accountBalance());
    }
    
    //send the percentage of funds to a shareholder´s wallet
    function _withdraw(address payable account, uint256 amount) internal {
        (bool sent, ) = account.call{value: amount}("");
        require(sent, "Failed to send Ether");
    }

    //
    // Views
    //

    /**
     * The block.timestamp when this token was transferred to the current owner.
     * @param tokenId The token id to query
     */
    function ownedSince(uint256 tokenId) public view returns (uint256) {
        return _ownershipOf(tokenId).startTimestamp;
    }

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

        return
            bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : placeholderURI;
    }

    /**
     * Verify the Merkle proof is valid.
     * @param root The Merkle root. Use the value stored in the contract
     * @param leaf The leaf. A [address, availableAmt] pair
     * @param proof The Merkle proof used to validate the leaf is in the root
     */
    function verify(
        bytes32 root,
        bytes32 leaf,
        bytes32[] memory proof
    ) public pure returns (bool) {
        return MerkleProof.verify(proof, root, leaf);
    }

    /**
     * Get the current amount of Eth stored
     */
    function accountBalance() public view returns(uint) {
        return address(this).balance;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"accountBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractState","outputs":[{"internalType":"enum DownBad.ContractState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownedSince","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholderURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleAllowancePlusOne","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipient1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipient2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"contractState_","type":"uint256"}],"name":"setContractState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSale","type":"uint256"}],"name":"setMaxSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"placeholderURI_","type":"string"}],"name":"setPlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"presaleAllowance","type":"uint256"}],"name":"setPresaleAllowance","outputs":[],"stateMutability":"nonpayable","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":[],"name":"tokenPricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405261115d600a556002600b55661ff973cafa8000600c55600e80547318b9f7367f4178d0ce54f3d45f3491c1c9d5f5776001600160a01b0319909116179055600f80546001600160a81b03191673318cbf186eb13c74533943b054959867ee44effe1790553480156200007557600080fd5b5060405180604001604052806008815260200167111bdddb8810985960c21b81525060405180604001604052806002815260200161222160f11b8152508160029080519060200190620000ca929190620004aa565b508051620000e0906003906020840190620004aa565b50506000805550620000f2336200014b565b60016009556040805160608101909152603680825262002c2b602083013980516200012691601091602090910190620004aa565b506000600d55600e5462000145906001600160a01b031660646200019d565b6200063b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001bf828260405180602001604052806000815250620001c360201b60201c565b5050565b620001d28383836001620001d7565b505050565b6000546001600160a01b0385166200020157604051622e076360e81b815260040160405180910390fd5b83620002205760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015620002d95750620002d9876001600160a01b03166200039a60201b620014931760201c565b1562000359575b60405182906001600160a01b0389169060009060008051602062002c61833981519152908290a460018201916200031d90600090899088620003a9565b6200033b576040516368d2bf6b60e11b815260040160405180910390fd5b80821415620002e05782600054146200035357600080fd5b6200038f565b5b6040516001830192906001600160a01b0389169060009060008051602062002c61833981519152908290a4808214156200035a575b506000555050505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620003e090339089908890889060040162000550565b602060405180830381600087803b158015620003fb57600080fd5b505af19250505080156200042e575060408051601f3d908101601f191682019092526200042b91810190620005cb565b60015b6200048d573d8080156200045f576040519150601f19603f3d011682016040523d82523d6000602084013e62000464565b606091505b50805162000485576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054620004b890620005fe565b90600052602060002090601f016020900481019282620004dc576000855562000527565b82601f10620004f757805160ff191683800117855562000527565b8280016001018555821562000527579182015b82811115620005275782518255916020019190600101906200050a565b506200053592915062000539565b5090565b5b808211156200053557600081556001016200053a565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b828110156200059f5785810182015185820160a00152810162000581565b82811115620005b257600060a084870101525b5050601f01601f19169190910160a00195945050505050565b600060208284031215620005de57600080fd5b81516001600160e01b031981168114620005f757600080fd5b9392505050565b600181811c908216806200061357607f821691505b602082108114156200063557634e487b7160e01b600052602260045260246000fd5b50919050565b6125e0806200064b6000396000f3fe6080604052600436106102295760003560e01c8063715018a611610123578063a22cb465116100ab578063dcf13a461161006f578063dcf13a4614610633578063e985e9c514610646578063efd0cbf91461068f578063f2fde38b146106a2578063fb7265ff146106c257600080fd5b8063a22cb465146105a0578063aa3744bd146105c0578063b0a1c1c4146105e0578063b88d4fde146105f3578063c87b56dd1461061357600080fd5b806385209ee0116100f257806385209ee0146105095780638684105b146105375780638da5cb5b1461054d57806395d89b411461056b5780639a5d140b1461058057600080fd5b8063715018a6146104a95780637313cba9146104be5780637cb64759146104d35780637de69d5f146104f357600080fd5b80633423e548116101b15780635a485599116101755780635a485599146104145780636352211e1461043457806367596872146104545780636c0360eb1461047457806370a082311461048957600080fd5b80633423e5481461037f5780633574a2dd1461039f5780633ccfd60b146103bf57806342842e0e146103d457806355f804b3146103f457600080fd5b806308290dc5116101f857806308290dc5146102e4578063095ea7b31461030657806318160ddd1461032657806323b872dd146103495780632eb4a7ab1461036957600080fd5b806301ffc9a7146102355780630688b1351461026a57806306fdde03146102a2578063081812fc146102c457600080fd5b3661023057005b600080fd5b34801561024157600080fd5b50610255610250366004611e6f565b6106e2565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b50600f5461028a906001600160a01b031681565b6040516001600160a01b039091168152602001610261565b3480156102ae57600080fd5b506102b7610734565b6040516102619190611eeb565b3480156102d057600080fd5b5061028a6102df366004611efe565b6107c6565b3480156102f057600080fd5b506103046102ff366004611efe565b61080a565b005b34801561031257600080fd5b50610304610321366004611f33565b6108ba565b34801561033257600080fd5b50600154600054035b604051908152602001610261565b34801561035557600080fd5b50610304610364366004611f5d565b610948565b34801561037557600080fd5b5061033b600d5481565b34801561038b57600080fd5b5061025561039a366004611fdf565b610953565b3480156103ab57600080fd5b506103046103ba3660046120f0565b610968565b3480156103cb57600080fd5b506103046109c7565b3480156103e057600080fd5b506103046103ef366004611f5d565b610aad565b34801561040057600080fd5b5061030461040f3660046120f0565b610ac8565b34801561042057600080fd5b5061033b61042f366004611efe565b610b23565b34801561044057600080fd5b5061028a61044f366004611efe565b610b41565b34801561046057600080fd5b5061030461046f366004611efe565b610b53565b34801561048057600080fd5b506102b7610bac565b34801561049557600080fd5b5061033b6104a4366004612138565b610c3a565b3480156104b557600080fd5b50610304610c88565b3480156104ca57600080fd5b506102b7610cdc565b3480156104df57600080fd5b506103046104ee366004611efe565b610ce9565b3480156104ff57600080fd5b5061033b600c5481565b34801561051557600080fd5b50600f5461052a90600160a01b900460ff1681565b6040516102619190612169565b34801561054357600080fd5b5061033b600b5481565b34801561055957600080fd5b506008546001600160a01b031661028a565b34801561057757600080fd5b506102b7610d36565b34801561058c57600080fd5b5061030461059b366004611efe565b610d45565b3480156105ac57600080fd5b506103046105bb366004612191565b610dcc565b3480156105cc57600080fd5b50600e5461028a906001600160a01b031681565b3480156105ec57600080fd5b504761033b565b3480156105ff57600080fd5b5061030461060e3660046121cd565b610e62565b34801561061f57600080fd5b506102b761062e366004611efe565b610eb3565b610304610641366004612248565b610fe5565b34801561065257600080fd5b506102556106613660046122cc565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61030461069d366004611efe565b6111b6565b3480156106ae57600080fd5b506103046106bd366004612138565b6112e9565b3480156106ce57600080fd5b506103046106dd366004611efe565b61139f565b60006001600160e01b031982166380ac58cd60e01b148061071357506001600160e01b03198216635b5e139f60e01b145b8061072e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610743906122ff565b80601f016020809104026020016040519081016040528092919081815260200182805461076f906122ff565b80156107bc5780601f10610791576101008083540402835291602001916107bc565b820191906000526020600020905b81548152906001019060200180831161079f57829003601f168201915b5050505050905090565b60006107d1826114a2565b6107ee576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b0316331480610836575073318cbf186eb13c74533943b054959867ee44effe33145b61085b5760405162461bcd60e51b81526004016108529061233a565b60405180910390fd5b6000610868826001612385565b9050600a5481106108b45760405162461bcd60e51b815260206004820152601660248201527543616e206f6e6c792072656475636520737570706c7960501b6044820152606401610852565b600a5550565b60006108c582610b41565b9050806001600160a01b0316836001600160a01b031614156108fa5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061091a57506109188133610661565b155b15610938576040516367d9dca160e11b815260040160405180910390fd5b6109438383836114cd565b505050565b610943838383611529565b6000610960828585611717565b949350505050565b6008546001600160a01b0316331480610994575073318cbf186eb13c74533943b054959867ee44effe33145b6109b05760405162461bcd60e51b81526004016108529061233a565b80516109c3906010906020840190611dc0565b5050565b6008546001600160a01b03163314806109f3575073318cbf186eb13c74533943b054959867ee44effe33145b610a0f5760405162461bcd60e51b81526004016108529061233a565b4780610a685760405162461bcd60e51b815260206004820152602260248201527f4e6f2046756e647320746f2077697468647261772c2042616c616e6365206973604482015261020360f41b6064820152608401610852565b600e54610a94906001600160a01b03166064610a8584603261239d565b610a8f91906123d2565b61172d565b600f54610aaa906001600160a01b03164761172d565b50565b61094383838360405180602001604052806000815250610e62565b6008546001600160a01b0316331480610af4575073318cbf186eb13c74533943b054959867ee44effe33145b610b105760405162461bcd60e51b81526004016108529061233a565b80516109c3906011906020840190611dc0565b6000610b2e826117c7565b602001516001600160401b031692915050565b6000610b4c826117c7565b5192915050565b6008546001600160a01b0316331480610b7f575073318cbf186eb13c74533943b054959867ee44effe33145b610b9b5760405162461bcd60e51b81526004016108529061233a565b610ba6816001612385565b600b5550565b60118054610bb9906122ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610be5906122ff565b8015610c325780601f10610c0757610100808354040283529160200191610c32565b820191906000526020600020905b815481529060010190602001808311610c1557829003601f168201915b505050505081565b60006001600160a01b038216610c63576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331480610cb4575073318cbf186eb13c74533943b054959867ee44effe33145b610cd05760405162461bcd60e51b81526004016108529061233a565b610cda60006118e1565b565b60108054610bb9906122ff565b6008546001600160a01b0316331480610d15575073318cbf186eb13c74533943b054959867ee44effe33145b610d315760405162461bcd60e51b81526004016108529061233a565b600d55565b606060038054610743906122ff565b80600a5481610d5360005490565b610d5d9190612385565b10610d7a5760405162461bcd60e51b8152600401610852906123e6565b6008546001600160a01b0316331480610da6575073318cbf186eb13c74533943b054959867ee44effe33145b610dc25760405162461bcd60e51b81526004016108529061233a565b6109c33383611933565b6001600160a01b038216331415610df65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e6d848484611529565b6001600160a01b0383163b15158015610e8f5750610e8d8484848461194d565b155b15610ead576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610ec28261ffff166114a2565b610f0e5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610852565b600060118054610f1d906122ff565b905011610fb45760108054610f31906122ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5d906122ff565b8015610faa5780601f10610f7f57610100808354040283529160200191610faa565b820191906000526020600020905b815481529060010190602001808311610f8d57829003601f168201915b505050505061072e565b6011610fbf83611a44565b604051602001610fd0929190612439565b60405160208183030381529060405292915050565b33321461101f5760405162461bcd60e51b81526020600482015260086024820152674e6f20626f74732160c01b6044820152606401610852565b600180600f54600160a01b900460ff16600281111561104057611040612153565b1461107d5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420737461746560981b6044820152606401610852565b84600a548161108b60005490565b6110959190612385565b106110b25760405162461bcd60e51b8152600401610852906123e6565b600b54336000908152600560205260409020548790600160401b90046001600160401b03166110e19190612385565b106111235760405162461bcd60e51b81526020600482015260126024820152714578636565647320616c6c6f77616e63652160701b6044820152606401610852565b611163600d548487878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061095392505050565b6111a45760405162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642070726f6f662160701b6044820152606401610852565b6111ae3387611933565b505050505050565b3332146111f05760405162461bcd60e51b81526020600482015260086024820152674e6f20626f74732160c01b6044820152606401610852565b600280600f54600160a01b900460ff16600281111561121157611211612153565b1461124e5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420737461746560981b6044820152606401610852565b81600a548161125c60005490565b6112669190612385565b106112835760405162461bcd60e51b8152600401610852906123e6565b600c54611290908461239d565b3481146112df5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610852565b610ead3385611933565b6008546001600160a01b0316331480611315575073318cbf186eb13c74533943b054959867ee44effe33145b6113315760405162461bcd60e51b81526004016108529061233a565b6001600160a01b0381166113965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610852565b610aaa816118e1565b6008546001600160a01b03163314806113cb575073318cbf186eb13c74533943b054959867ee44effe33145b6113e75760405162461bcd60e51b81526004016108529061233a565b600381106114375760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420436f6e7472616374205374617465210000000000000000006044820152606401610852565b8061145a57600f80546000919060ff60a01b1916600160a01b835b021790555050565b806001141561147d57600f80546001919060ff60a01b1916600160a01b83611452565b50600f805460ff60a01b1916600160a11b179055565b6001600160a01b03163b151590565b600080548210801561072e575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611534826117c7565b9050836001600160a01b031681600001516001600160a01b03161461156b5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061158957506115898533610661565b806115a4575033611599846107c6565b6001600160a01b0316145b9050806115c457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166115eb57604051633a954ecd60e21b815260040160405180910390fd5b6115f7600084876114cd565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166116cb5760005482146116cb57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826117248584611b41565b14949350505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461177a576040519150601f19603f3d011682016040523d82523d6000602084013e61177f565b606091505b50509050806109435760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610852565b6040805160608101825260008082526020820181905291810191909152816000548110156118c857600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906118c65780516001600160a01b03161561185d579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156118c1579392505050565b61185d565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109c3828260405180602001604052806000815250611bed565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119829033908990889088906004016124f4565b602060405180830381600087803b15801561199c57600080fd5b505af19250505080156119cc575060408051601f3d908101601f191682019092526119c991810190612531565b60015b611a27573d8080156119fa576040519150601f19603f3d011682016040523d82523d6000602084013e6119ff565b606091505b508051611a1f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081611a685750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a925780611a7c8161254e565b9150611a8b9050600a836123d2565b9150611a6c565b6000816001600160401b03811115611aac57611aac611f99565b6040519080825280601f01601f191660200182016040528015611ad6576020820181803683370190505b5090505b841561096057611aeb600183612569565b9150611af8600a86612580565b611b03906030612385565b60f81b818381518110611b1857611b18612594565b60200101906001600160f81b031916908160001a905350611b3a600a866123d2565b9450611ada565b600081815b8451811015611be5576000858281518110611b6357611b63612594565b60200260200101519050808311611ba5576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611bd2565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611bdd8161254e565b915050611b46565b509392505050565b61094383838360016000546001600160a01b038516611c1e57604051622e076360e81b815260040160405180910390fd5b83611c3c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611ce857506001600160a01b0387163b15155b15611d71575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d39600088848060010195508861194d565b611d56576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611cee578260005414611d6c57600080fd5b611db7565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611d72575b50600055611710565b828054611dcc906122ff565b90600052602060002090601f016020900481019282611dee5760008555611e34565b82601f10611e0757805160ff1916838001178555611e34565b82800160010185558215611e34579182015b82811115611e34578251825591602001919060010190611e19565b50611e40929150611e44565b5090565b5b80821115611e405760008155600101611e45565b6001600160e01b031981168114610aaa57600080fd5b600060208284031215611e8157600080fd5b8135611e8c81611e59565b9392505050565b60005b83811015611eae578181015183820152602001611e96565b83811115610ead5750506000910152565b60008151808452611ed7816020860160208601611e93565b601f01601f19169290920160200192915050565b602081526000611e8c6020830184611ebf565b600060208284031215611f1057600080fd5b5035919050565b80356001600160a01b0381168114611f2e57600080fd5b919050565b60008060408385031215611f4657600080fd5b611f4f83611f17565b946020939093013593505050565b600080600060608486031215611f7257600080fd5b611f7b84611f17565b9250611f8960208501611f17565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611fd757611fd7611f99565b604052919050565b600080600060608486031215611ff457600080fd5b83359250602080850135925060408501356001600160401b038082111561201a57600080fd5b818701915087601f83011261202e57600080fd5b81358181111561204057612040611f99565b8060051b9150612051848301611faf565b818152918301840191848101908a84111561206b57600080fd5b938501935b8385101561208957843582529385019390850190612070565b8096505050505050509250925092565b60006001600160401b038311156120b2576120b2611f99565b6120c5601f8401601f1916602001611faf565b90508281528383830111156120d957600080fd5b828260208301376000602084830101529392505050565b60006020828403121561210257600080fd5b81356001600160401b0381111561211857600080fd5b8201601f8101841361212957600080fd5b61096084823560208401612099565b60006020828403121561214a57600080fd5b611e8c82611f17565b634e487b7160e01b600052602160045260246000fd5b602081016003831061218b57634e487b7160e01b600052602160045260246000fd5b91905290565b600080604083850312156121a457600080fd5b6121ad83611f17565b9150602083013580151581146121c257600080fd5b809150509250929050565b600080600080608085870312156121e357600080fd5b6121ec85611f17565b93506121fa60208601611f17565b92506040850135915060608501356001600160401b0381111561221c57600080fd5b8501601f8101871361222d57600080fd5b61223c87823560208401612099565b91505092959194509250565b6000806000806060858703121561225e57600080fd5b8435935060208501356001600160401b038082111561227c57600080fd5b818701915087601f83011261229057600080fd5b81358181111561229f57600080fd5b8860208260051b85010111156122b457600080fd5b95986020929092019750949560400135945092505050565b600080604083850312156122df57600080fd5b6122e883611f17565b91506122f660208401611f17565b90509250929050565b600181811c9082168061231357607f821691505b6020821081141561233457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156123985761239861236f565b500190565b60008160001904831182151516156123b7576123b761236f565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826123e1576123e16123bc565b500490565b60208082526018908201527f4578636565647320617661696c61626c6520746f6b656e730000000000000000604082015260600190565b6000815161242f818560208601611e93565b9290920192915050565b600080845481600182811c91508083168061245557607f831692505b602080841082141561247557634e487b7160e01b86526022600452602486fd5b818015612489576001811461249a576124c7565b60ff198616895284890196506124c7565b60008b81526020902060005b868110156124bf5781548b8201529085019083016124a6565b505084890196505b5050505050506124eb6124da828661241d565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061252790830184611ebf565b9695505050505050565b60006020828403121561254357600080fd5b8151611e8c81611e59565b60006000198214156125625761256261236f565b5060010190565b60008282101561257b5761257b61236f565b500390565b60008261258f5761258f6123bc565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c1bad7f534eb6827c2d3b8e235e5efd6a8c7d645520a34552e62f392fb27ba0564736f6c63430008090033697066733a2f2f516d4e69746d50657877324355384358667879544b446b563531345a7171364c4c513464676636524b6e703868452fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106102295760003560e01c8063715018a611610123578063a22cb465116100ab578063dcf13a461161006f578063dcf13a4614610633578063e985e9c514610646578063efd0cbf91461068f578063f2fde38b146106a2578063fb7265ff146106c257600080fd5b8063a22cb465146105a0578063aa3744bd146105c0578063b0a1c1c4146105e0578063b88d4fde146105f3578063c87b56dd1461061357600080fd5b806385209ee0116100f257806385209ee0146105095780638684105b146105375780638da5cb5b1461054d57806395d89b411461056b5780639a5d140b1461058057600080fd5b8063715018a6146104a95780637313cba9146104be5780637cb64759146104d35780637de69d5f146104f357600080fd5b80633423e548116101b15780635a485599116101755780635a485599146104145780636352211e1461043457806367596872146104545780636c0360eb1461047457806370a082311461048957600080fd5b80633423e5481461037f5780633574a2dd1461039f5780633ccfd60b146103bf57806342842e0e146103d457806355f804b3146103f457600080fd5b806308290dc5116101f857806308290dc5146102e4578063095ea7b31461030657806318160ddd1461032657806323b872dd146103495780632eb4a7ab1461036957600080fd5b806301ffc9a7146102355780630688b1351461026a57806306fdde03146102a2578063081812fc146102c457600080fd5b3661023057005b600080fd5b34801561024157600080fd5b50610255610250366004611e6f565b6106e2565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b50600f5461028a906001600160a01b031681565b6040516001600160a01b039091168152602001610261565b3480156102ae57600080fd5b506102b7610734565b6040516102619190611eeb565b3480156102d057600080fd5b5061028a6102df366004611efe565b6107c6565b3480156102f057600080fd5b506103046102ff366004611efe565b61080a565b005b34801561031257600080fd5b50610304610321366004611f33565b6108ba565b34801561033257600080fd5b50600154600054035b604051908152602001610261565b34801561035557600080fd5b50610304610364366004611f5d565b610948565b34801561037557600080fd5b5061033b600d5481565b34801561038b57600080fd5b5061025561039a366004611fdf565b610953565b3480156103ab57600080fd5b506103046103ba3660046120f0565b610968565b3480156103cb57600080fd5b506103046109c7565b3480156103e057600080fd5b506103046103ef366004611f5d565b610aad565b34801561040057600080fd5b5061030461040f3660046120f0565b610ac8565b34801561042057600080fd5b5061033b61042f366004611efe565b610b23565b34801561044057600080fd5b5061028a61044f366004611efe565b610b41565b34801561046057600080fd5b5061030461046f366004611efe565b610b53565b34801561048057600080fd5b506102b7610bac565b34801561049557600080fd5b5061033b6104a4366004612138565b610c3a565b3480156104b557600080fd5b50610304610c88565b3480156104ca57600080fd5b506102b7610cdc565b3480156104df57600080fd5b506103046104ee366004611efe565b610ce9565b3480156104ff57600080fd5b5061033b600c5481565b34801561051557600080fd5b50600f5461052a90600160a01b900460ff1681565b6040516102619190612169565b34801561054357600080fd5b5061033b600b5481565b34801561055957600080fd5b506008546001600160a01b031661028a565b34801561057757600080fd5b506102b7610d36565b34801561058c57600080fd5b5061030461059b366004611efe565b610d45565b3480156105ac57600080fd5b506103046105bb366004612191565b610dcc565b3480156105cc57600080fd5b50600e5461028a906001600160a01b031681565b3480156105ec57600080fd5b504761033b565b3480156105ff57600080fd5b5061030461060e3660046121cd565b610e62565b34801561061f57600080fd5b506102b761062e366004611efe565b610eb3565b610304610641366004612248565b610fe5565b34801561065257600080fd5b506102556106613660046122cc565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61030461069d366004611efe565b6111b6565b3480156106ae57600080fd5b506103046106bd366004612138565b6112e9565b3480156106ce57600080fd5b506103046106dd366004611efe565b61139f565b60006001600160e01b031982166380ac58cd60e01b148061071357506001600160e01b03198216635b5e139f60e01b145b8061072e57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610743906122ff565b80601f016020809104026020016040519081016040528092919081815260200182805461076f906122ff565b80156107bc5780601f10610791576101008083540402835291602001916107bc565b820191906000526020600020905b81548152906001019060200180831161079f57829003601f168201915b5050505050905090565b60006107d1826114a2565b6107ee576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6008546001600160a01b0316331480610836575073318cbf186eb13c74533943b054959867ee44effe33145b61085b5760405162461bcd60e51b81526004016108529061233a565b60405180910390fd5b6000610868826001612385565b9050600a5481106108b45760405162461bcd60e51b815260206004820152601660248201527543616e206f6e6c792072656475636520737570706c7960501b6044820152606401610852565b600a5550565b60006108c582610b41565b9050806001600160a01b0316836001600160a01b031614156108fa5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061091a57506109188133610661565b155b15610938576040516367d9dca160e11b815260040160405180910390fd5b6109438383836114cd565b505050565b610943838383611529565b6000610960828585611717565b949350505050565b6008546001600160a01b0316331480610994575073318cbf186eb13c74533943b054959867ee44effe33145b6109b05760405162461bcd60e51b81526004016108529061233a565b80516109c3906010906020840190611dc0565b5050565b6008546001600160a01b03163314806109f3575073318cbf186eb13c74533943b054959867ee44effe33145b610a0f5760405162461bcd60e51b81526004016108529061233a565b4780610a685760405162461bcd60e51b815260206004820152602260248201527f4e6f2046756e647320746f2077697468647261772c2042616c616e6365206973604482015261020360f41b6064820152608401610852565b600e54610a94906001600160a01b03166064610a8584603261239d565b610a8f91906123d2565b61172d565b600f54610aaa906001600160a01b03164761172d565b50565b61094383838360405180602001604052806000815250610e62565b6008546001600160a01b0316331480610af4575073318cbf186eb13c74533943b054959867ee44effe33145b610b105760405162461bcd60e51b81526004016108529061233a565b80516109c3906011906020840190611dc0565b6000610b2e826117c7565b602001516001600160401b031692915050565b6000610b4c826117c7565b5192915050565b6008546001600160a01b0316331480610b7f575073318cbf186eb13c74533943b054959867ee44effe33145b610b9b5760405162461bcd60e51b81526004016108529061233a565b610ba6816001612385565b600b5550565b60118054610bb9906122ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610be5906122ff565b8015610c325780601f10610c0757610100808354040283529160200191610c32565b820191906000526020600020905b815481529060010190602001808311610c1557829003601f168201915b505050505081565b60006001600160a01b038216610c63576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331480610cb4575073318cbf186eb13c74533943b054959867ee44effe33145b610cd05760405162461bcd60e51b81526004016108529061233a565b610cda60006118e1565b565b60108054610bb9906122ff565b6008546001600160a01b0316331480610d15575073318cbf186eb13c74533943b054959867ee44effe33145b610d315760405162461bcd60e51b81526004016108529061233a565b600d55565b606060038054610743906122ff565b80600a5481610d5360005490565b610d5d9190612385565b10610d7a5760405162461bcd60e51b8152600401610852906123e6565b6008546001600160a01b0316331480610da6575073318cbf186eb13c74533943b054959867ee44effe33145b610dc25760405162461bcd60e51b81526004016108529061233a565b6109c33383611933565b6001600160a01b038216331415610df65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e6d848484611529565b6001600160a01b0383163b15158015610e8f5750610e8d8484848461194d565b155b15610ead576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610ec28261ffff166114a2565b610f0e5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610852565b600060118054610f1d906122ff565b905011610fb45760108054610f31906122ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610f5d906122ff565b8015610faa5780601f10610f7f57610100808354040283529160200191610faa565b820191906000526020600020905b815481529060010190602001808311610f8d57829003601f168201915b505050505061072e565b6011610fbf83611a44565b604051602001610fd0929190612439565b60405160208183030381529060405292915050565b33321461101f5760405162461bcd60e51b81526020600482015260086024820152674e6f20626f74732160c01b6044820152606401610852565b600180600f54600160a01b900460ff16600281111561104057611040612153565b1461107d5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420737461746560981b6044820152606401610852565b84600a548161108b60005490565b6110959190612385565b106110b25760405162461bcd60e51b8152600401610852906123e6565b600b54336000908152600560205260409020548790600160401b90046001600160401b03166110e19190612385565b106111235760405162461bcd60e51b81526020600482015260126024820152714578636565647320616c6c6f77616e63652160701b6044820152606401610852565b611163600d548487878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061095392505050565b6111a45760405162461bcd60e51b81526020600482015260126024820152714e6f7420612076616c69642070726f6f662160701b6044820152606401610852565b6111ae3387611933565b505050505050565b3332146111f05760405162461bcd60e51b81526020600482015260086024820152674e6f20626f74732160c01b6044820152606401610852565b600280600f54600160a01b900460ff16600281111561121157611211612153565b1461124e5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420737461746560981b6044820152606401610852565b81600a548161125c60005490565b6112669190612385565b106112835760405162461bcd60e51b8152600401610852906123e6565b600c54611290908461239d565b3481146112df5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610852565b610ead3385611933565b6008546001600160a01b0316331480611315575073318cbf186eb13c74533943b054959867ee44effe33145b6113315760405162461bcd60e51b81526004016108529061233a565b6001600160a01b0381166113965760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610852565b610aaa816118e1565b6008546001600160a01b03163314806113cb575073318cbf186eb13c74533943b054959867ee44effe33145b6113e75760405162461bcd60e51b81526004016108529061233a565b600381106114375760405162461bcd60e51b815260206004820152601760248201527f496e76616c696420436f6e7472616374205374617465210000000000000000006044820152606401610852565b8061145a57600f80546000919060ff60a01b1916600160a01b835b021790555050565b806001141561147d57600f80546001919060ff60a01b1916600160a01b83611452565b50600f805460ff60a01b1916600160a11b179055565b6001600160a01b03163b151590565b600080548210801561072e575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611534826117c7565b9050836001600160a01b031681600001516001600160a01b03161461156b5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061158957506115898533610661565b806115a4575033611599846107c6565b6001600160a01b0316145b9050806115c457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166115eb57604051633a954ecd60e21b815260040160405180910390fd5b6115f7600084876114cd565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166116cb5760005482146116cb57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826117248584611b41565b14949350505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461177a576040519150601f19603f3d011682016040523d82523d6000602084013e61177f565b606091505b50509050806109435760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610852565b6040805160608101825260008082526020820181905291810191909152816000548110156118c857600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906118c65780516001600160a01b03161561185d579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156118c1579392505050565b61185d565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109c3828260405180602001604052806000815250611bed565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119829033908990889088906004016124f4565b602060405180830381600087803b15801561199c57600080fd5b505af19250505080156119cc575060408051601f3d908101601f191682019092526119c991810190612531565b60015b611a27573d8080156119fa576040519150601f19603f3d011682016040523d82523d6000602084013e6119ff565b606091505b508051611a1f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606081611a685750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a925780611a7c8161254e565b9150611a8b9050600a836123d2565b9150611a6c565b6000816001600160401b03811115611aac57611aac611f99565b6040519080825280601f01601f191660200182016040528015611ad6576020820181803683370190505b5090505b841561096057611aeb600183612569565b9150611af8600a86612580565b611b03906030612385565b60f81b818381518110611b1857611b18612594565b60200101906001600160f81b031916908160001a905350611b3a600a866123d2565b9450611ada565b600081815b8451811015611be5576000858281518110611b6357611b63612594565b60200260200101519050808311611ba5576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611bd2565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080611bdd8161254e565b915050611b46565b509392505050565b61094383838360016000546001600160a01b038516611c1e57604051622e076360e81b815260040160405180910390fd5b83611c3c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611ce857506001600160a01b0387163b15155b15611d71575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d39600088848060010195508861194d565b611d56576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611cee578260005414611d6c57600080fd5b611db7565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611d72575b50600055611710565b828054611dcc906122ff565b90600052602060002090601f016020900481019282611dee5760008555611e34565b82601f10611e0757805160ff1916838001178555611e34565b82800160010185558215611e34579182015b82811115611e34578251825591602001919060010190611e19565b50611e40929150611e44565b5090565b5b80821115611e405760008155600101611e45565b6001600160e01b031981168114610aaa57600080fd5b600060208284031215611e8157600080fd5b8135611e8c81611e59565b9392505050565b60005b83811015611eae578181015183820152602001611e96565b83811115610ead5750506000910152565b60008151808452611ed7816020860160208601611e93565b601f01601f19169290920160200192915050565b602081526000611e8c6020830184611ebf565b600060208284031215611f1057600080fd5b5035919050565b80356001600160a01b0381168114611f2e57600080fd5b919050565b60008060408385031215611f4657600080fd5b611f4f83611f17565b946020939093013593505050565b600080600060608486031215611f7257600080fd5b611f7b84611f17565b9250611f8960208501611f17565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611fd757611fd7611f99565b604052919050565b600080600060608486031215611ff457600080fd5b83359250602080850135925060408501356001600160401b038082111561201a57600080fd5b818701915087601f83011261202e57600080fd5b81358181111561204057612040611f99565b8060051b9150612051848301611faf565b818152918301840191848101908a84111561206b57600080fd5b938501935b8385101561208957843582529385019390850190612070565b8096505050505050509250925092565b60006001600160401b038311156120b2576120b2611f99565b6120c5601f8401601f1916602001611faf565b90508281528383830111156120d957600080fd5b828260208301376000602084830101529392505050565b60006020828403121561210257600080fd5b81356001600160401b0381111561211857600080fd5b8201601f8101841361212957600080fd5b61096084823560208401612099565b60006020828403121561214a57600080fd5b611e8c82611f17565b634e487b7160e01b600052602160045260246000fd5b602081016003831061218b57634e487b7160e01b600052602160045260246000fd5b91905290565b600080604083850312156121a457600080fd5b6121ad83611f17565b9150602083013580151581146121c257600080fd5b809150509250929050565b600080600080608085870312156121e357600080fd5b6121ec85611f17565b93506121fa60208601611f17565b92506040850135915060608501356001600160401b0381111561221c57600080fd5b8501601f8101871361222d57600080fd5b61223c87823560208401612099565b91505092959194509250565b6000806000806060858703121561225e57600080fd5b8435935060208501356001600160401b038082111561227c57600080fd5b818701915087601f83011261229057600080fd5b81358181111561229f57600080fd5b8860208260051b85010111156122b457600080fd5b95986020929092019750949560400135945092505050565b600080604083850312156122df57600080fd5b6122e883611f17565b91506122f660208401611f17565b90509250929050565b600181811c9082168061231357607f821691505b6020821081141561233457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156123985761239861236f565b500190565b60008160001904831182151516156123b7576123b761236f565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826123e1576123e16123bc565b500490565b60208082526018908201527f4578636565647320617661696c61626c6520746f6b656e730000000000000000604082015260600190565b6000815161242f818560208601611e93565b9290920192915050565b600080845481600182811c91508083168061245557607f831692505b602080841082141561247557634e487b7160e01b86526022600452602486fd5b818015612489576001811461249a576124c7565b60ff198616895284890196506124c7565b60008b81526020902060005b868110156124bf5781548b8201529085019083016124a6565b505084890196505b5050505050506124eb6124da828661241d565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061252790830184611ebf565b9695505050505050565b60006020828403121561254357600080fd5b8151611e8c81611e59565b60006000198214156125625761256261236f565b5060010190565b60008282101561257b5761257b61236f565b500390565b60008261258f5761258f6123bc565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220c1bad7f534eb6827c2d3b8e235e5efd6a8c7d645520a34552e62f392fb27ba0564736f6c63430008090033

Deployed Bytecode Sourcemap

49424:7079:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31666:305;;;;;;;;;;-1:-1:-1;31666:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;31666:305:0;;;;;;;;49835:70;;;;;;;;;;-1:-1:-1;49835:70:0;;;;-1:-1:-1;;;;;49835:70:0;;;;;;-1:-1:-1;;;;;756:32:1;;;738:51;;726:2;711:18;49835:70:0;592:203:1;34779:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;36282:204::-;;;;;;;;;;-1:-1:-1;36282:204:0;;;;;:::i;:::-;;:::i;53356:233::-;;;;;;;;;;-1:-1:-1;53356:233:0;;;;;:::i;:::-;;:::i;:::-;;35845:371;;;;;;;;;;-1:-1:-1;35845:371:0;;;;;:::i;:::-;;:::i;30915:303::-;;;;;;;;;;-1:-1:-1;31169:12:0;;30959:7;31153:13;:28;30915:303;;;2341:25:1;;;2329:2;2314:18;30915:303:0;2195:177:1;37147:170:0;;;;;;;;;;-1:-1:-1;37147:170:0;;;;;:::i;:::-;;:::i;49724:25::-;;;;;;;;;;;;;;;;56138:192;;;;;;;;;;-1:-1:-1;56138:192:0;;;;;:::i;:::-;;:::i;54431:128::-;;;;;;;;;;-1:-1:-1;54431:128:0;;;;;:::i;:::-;;:::i;54615:283::-;;;;;;;;;;;;;:::i;37388:185::-;;;;;;;;;;-1:-1:-1;37388:185:0;;;;;:::i;:::-;;:::i;54224:100::-;;;;;;;;;;-1:-1:-1;54224:100:0;;;;;:::i;:::-;;:::i;55341:129::-;;;;;;;;;;-1:-1:-1;55341:129:0;;;;;:::i;:::-;;:::i;34587:125::-;;;;;;;;;;-1:-1:-1;34587:125:0;;;;;:::i;:::-;;:::i;53708:139::-;;;;;;;;;;-1:-1:-1;53708:139:0;;;;;:::i;:::-;;:::i;50093:21::-;;;;;;;;;;;;;:::i;32035:206::-;;;;;;;;;;-1:-1:-1;32035:206:0;;;;;:::i;:::-;;:::i;5549:103::-;;;;;;;;;;;;;:::i;50058:28::-;;;;;;;;;;;;;:::i;54032:106::-;;;;;;;;;;-1:-1:-1;54032:106:0;;;;;:::i;:::-;;:::i;49670:45::-;;;;;;;;;;;;;;;;49995:54;;;;;;;;;;-1:-1:-1;49995:54:0;;;;-1:-1:-1;;;49995:54:0;;;;;;;;;;;;;:::i;49621:42::-;;;;;;;;;;;;;;;;4836:87;;;;;;;;;;-1:-1:-1;4909:6:0;;-1:-1:-1;;;;;4909:6:0;4836:87;;34948:104;;;;;;;;;;;;;:::i;52500:135::-;;;;;;;;;;-1:-1:-1;52500:135:0;;;;;:::i;:::-;;:::i;36558:287::-;;;;;;;;;;-1:-1:-1;36558:287:0;;;;;:::i;:::-;;:::i;49758:70::-;;;;;;;;;;-1:-1:-1;49758:70:0;;;;-1:-1:-1;;;;;49758:70:0;;;56401:99;;;;;;;;;;-1:-1:-1;56471:21:0;56401:99;;37644:369;;;;;;;;;;-1:-1:-1;37644:369:0;;;;;:::i;:::-;;:::i;55541:315::-;;;;;;;;;;-1:-1:-1;55541:315:0;;;;;:::i;:::-;;:::i;51949:445::-;;;;;;:::i;:::-;;:::i;36916:164::-;;;;;;;;;;-1:-1:-1;36916:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;37037:25:0;;;37013:4;37037:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36916:164;51397:277;;;;;;:::i;:::-;;:::i;5807:201::-;;;;;;;;;;-1:-1:-1;5807:201:0;;;;;:::i;:::-;;:::i;52782:426::-;;;;;;;;;;-1:-1:-1;52782:426:0;;;;;:::i;:::-;;:::i;31666:305::-;31768:4;-1:-1:-1;;;;;;31805:40:0;;-1:-1:-1;;;31805:40:0;;:105;;-1:-1:-1;;;;;;;31862:48:0;;-1:-1:-1;;;31862:48:0;31805:105;:158;;;-1:-1:-1;;;;;;;;;;17791:40:0;;;31927:36;31785:178;31666:305;-1:-1:-1;;31666:305:0:o;34779:100::-;34833:13;34866:5;34859:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34779:100;:::o;36282:204::-;36350:7;36375:16;36383:7;36375;:16::i;:::-;36370:64;;36400:34;;-1:-1:-1;;;36400:34:0;;;;;;;;;;;36370:64;-1:-1:-1;36454:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;36454:24:0;;36282:204::o;53356:233::-;4909:6;;-1:-1:-1;;;;;4909:6:0;3640:10;5056:23;;:85;;-1:-1:-1;5099:42:0;3640:10;5083:58;5056:85;5048:130;;;;-1:-1:-1;;;5048:130:0;;;;;;;:::i;:::-;;;;;;;;;53423:23:::1;53449:11;:7:::0;53459:1:::1;53449:11;:::i;:::-;53423:37;;53497:14;;53479:15;:32;53471:67;;;::::0;-1:-1:-1;;;53471:67:0;;9376:2:1;53471:67:0::1;::::0;::::1;9358:21:1::0;9415:2;9395:18;;;9388:30;-1:-1:-1;;;9434:18:1;;;9427:52;9496:18;;53471:67:0::1;9174:346:1::0;53471:67:0::1;53549:14;:32:::0;-1:-1:-1;53356:233:0:o;35845:371::-;35918:13;35934:24;35950:7;35934:15;:24::i;:::-;35918:40;;35979:5;-1:-1:-1;;;;;35973:11:0;:2;-1:-1:-1;;;;;35973:11:0;;35969:48;;;35993:24;;-1:-1:-1;;;35993:24:0;;;;;;;;;;;35969:48;3640:10;-1:-1:-1;;;;;36034:21:0;;;;;;:63;;-1:-1:-1;36060:37:0;36077:5;3640:10;36916:164;:::i;36060:37::-;36059:38;36034:63;36030:138;;;36121:35;;-1:-1:-1;;;36121:35:0;;;;;;;;;;;36030:138;36180:28;36189:2;36193:7;36202:5;36180:8;:28::i;:::-;35907:309;35845:371;;:::o;37147:170::-;37281:28;37291:4;37297:2;37301:7;37281:9;:28::i;56138:192::-;56261:4;56285:37;56304:5;56311:4;56317;56285:18;:37::i;:::-;56278:44;56138:192;-1:-1:-1;;;;56138:192:0:o;54431:128::-;4909:6;;-1:-1:-1;;;;;4909:6:0;3640:10;5056:23;;:85;;-1:-1:-1;5099:42:0;3640:10;5083:58;5056:85;5048:130;;;;-1:-1:-1;;;5048:130:0;;;;;;;:::i;:::-;54519:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;:::-;;54431:128:::0;:::o;54615:283::-;4909:6;;-1:-1:-1;;;;;4909:6:0;3640:10;5056:23;;:85;;-1:-1:-1;5099:42:0;3640:10;5083:58;5056:85;5048:130;;;;-1:-1:-1;;;5048:130:0;;;;;;;:::i;:::-;56471:21;54716:11;54708:58:::1;;;::::0;-1:-1:-1;;;54708:58:0;;9727:2:1;54708:58:0::1;::::0;::::1;9709:21:1::0;9766:2;9746:18;;;9739:30;9805:34;9785:18;;;9778:62;-1:-1:-1;;;9856:18:1;;;9849:32;9898:19;;54708:58:0::1;9525:398:1::0;54708:58:0::1;54797:10;::::0;54779:52:::1;::::0;-1:-1:-1;;;;;54797:10:0::1;54827:3;54811:12;:7:::0;54821:2:::1;54811:12;:::i;:::-;54810:20;;;;:::i;:::-;54779:9;:52::i;:::-;54860:10;::::0;54842:48:::1;::::0;-1:-1:-1;;;;;54860:10:0::1;56471:21:::0;54779:9:::1;:52::i;54842:48::-;54652:246;54615:283::o:0;37388:185::-;37526:39;37543:4;37549:2;37553:7;37526:39;;;;;;;;;;;;:16;:39::i;54224:100::-;4909:6;;-1:-1:-1;;;;;4909:6:0;3640:10;5056:23;;:85;;-1:-1:-1;5099:42:0;3640:10;5083:58;5056:85;5048:130;;;;-1:-1:-1;;;5048:130:0;;;;;;;:::i;:::-;54298:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;55341:129::-:0;55399:7;55426:21;55439:7;55426:12;:21::i;:::-;:36;;;-1:-1:-1;;;;;55419:43:0;;55341:129;-1:-1:-1;;55341:129:0:o;34587:125::-;34651:7;34678:21;34691:7;34678:12;:21::i;:::-;:26;;34587:125;-1:-1:-1;;34587:125:0:o;53708:139::-;4909:6;;-1:-1:-1;;;;;4909:6:0;3640:10;5056:23;;:85;;-1:-1:-1;5099:42:0;3640:10;5083:58;5056:85;5048:130;;;;-1:-1:-1;;;5048:130:0;;;;;;;:::i;:::-;53819:20:::1;:16:::0;53838:1:::1;53819:20;:::i;:::-;53793:23;:46:::0;-1:-1:-1;53708:139:0:o;50093:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;32035:206::-;32099:7;-1:-1:-1;;;;;32123:19:0;;32119:60;;32151:28;;-1:-1:-1;;;32151:28:0;;;;;;;;;;;32119:60;-1:-1:-1;;;;;;32205:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;32205:27:0;;32035:206::o;5549:103::-;4909:6;;-1:-1:-1;;;;;4909:6:0;3640:10;5056:23;;:85;;-1:-1:-1;5099:42:0;3640:10;5083:58;5056:85;5048:130;;;;-1:-1:-1;;;5048:130:0;;;;;;;:::i;:::-;5614:30:::1;5641:1;5614:18;:30::i;:::-;5549:103::o:0;50058:28::-;;;;;;;:::i;54032:106::-;4909:6;;-1:-1:-1;;;;;4909:6:0;3640:10;5056:23;;:85;;-1:-1:-1;5099:42:0;3640:10;5083:58;5056:85;5048:130;;;;-1:-1:-1;;;5048:130:0;;;;;;;:::i;:::-;54106:10:::1;:24:::0;54032:106::o;34948:104::-;35004:13;35037:7;35030:14;;;;;:::i;52500:135::-;52565:8;50971:14;;50959:8;50942:14;31358:7;31544:13;;31311:283;50942:14;:25;;;;:::i;:::-;50941:44;50933:81;;;;-1:-1:-1;;;50933:81:0;;;;;;;:::i;:::-;4909:6;;-1:-1:-1;;;;;4909:6:0;3640:10;5056:23:::1;::::0;:85:::1;;-1:-1:-1::0;5099:42:0::1;3640:10:::0;5083:58:::1;5056:85;5048:130;;;;-1:-1:-1::0;;;5048:130:0::1;;;;;;;:::i;:::-;52596:31:::2;52606:10;52618:8;52596:9;:31::i;36558:287::-:0;-1:-1:-1;;;;;36657:24:0;;3640:10;36657:24;36653:54;;;36690:17;;-1:-1:-1;;;36690:17:0;;;;;;;;;;;36653:54;3640:10;36720:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;36720:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;36720:53:0;;;;;;;;;;36789:48;;540:41:1;;;36720:42:0;;3640:10;36789:48;;513:18:1;36789:48:0;;;;;;;36558:287;;:::o;37644:369::-;37811:28;37821:4;37827:2;37831:7;37811:9;:28::i;:::-;-1:-1:-1;;;;;37854:13:0;;7894:19;:23;;37854:76;;;;;37874:56;37905:4;37911:2;37915:7;37924:5;37874:30;:56::i;:::-;37873:57;37854:76;37850:156;;;37954:40;;-1:-1:-1;;;37954:40:0;;;;;;;;;;;37850:156;37644:369;;;;:::o;55541:315::-;55614:13;55648:24;55663:7;55648:24;;:7;:24::i;:::-;55640:68;;;;-1:-1:-1;;;55640:68:0;;10913:2:1;55640:68:0;;;10895:21:1;10952:2;10932:18;;;10925:30;10991:33;10971:18;;;10964:61;11042:18;;55640:68:0;10711:355:1;55640:68:0;55765:1;55747:7;55741:21;;;;;:::i;:::-;;;:25;:107;;55834:14;55741:107;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55793:7;55802:18;:7;:16;:18::i;:::-;55776:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55721:127;55541:315;-1:-1:-1;;55541:315:0:o;51949:445::-;50510:10;50524:9;50510:23;50502:44;;;;-1:-1:-1;;;50502:44:0;;13013:2:1;50502:44:0;;;12995:21:1;13052:1;13032:18;;;13025:29;-1:-1:-1;;;13070:18:1;;;13063:38;13118:18;;50502:44:0;12811:331:1;50502:44:0;52104:21:::1;::::0;50723:13:::1;::::0;-1:-1:-1;;;50723:13:0;::::1;;;:31;::::0;::::1;;;;;;:::i;:::-;;50715:57;;;::::0;-1:-1:-1;;;50715:57:0;;13349:2:1;50715:57:0::1;::::0;::::1;13331:21:1::0;13388:2;13368:18;;;13361:30;-1:-1:-1;;;13407:18:1;;;13400:43;13460:18;;50715:57:0::1;13147:337:1::0;50715:57:0::1;52152:8:::2;50971:14;;50959:8;50942:14;31358:7:::0;31544:13;;31311:283;50942:14:::2;:25;;;;:::i;:::-;50941:44;50933:81;;;;-1:-1:-1::0;;;50933:81:0::2;;;;;;;:::i;:::-;52225:23:::3;::::0;52200:10:::3;32384:7:::0;32419:19;;;:12;:19;;;;;:32;52214:8;;-1:-1:-1;;;32419:32:0;;-1:-1:-1;;;;;32419:32:0;52186:36:::3;;;;:::i;:::-;:62;52178:93;;;::::0;-1:-1:-1;;;52178:93:0;;13691:2:1;52178:93:0::3;::::0;::::3;13673:21:1::0;13730:2;13710:18;;;13703:30;-1:-1:-1;;;13749:18:1;;;13742:48;13807:18;;52178:93:0::3;13489:342:1::0;52178:93:0::3;52290:31;52297:10;;52309:4;52315:5;;52290:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;::::0;;;;-1:-1:-1;52290:6:0::3;::::0;-1:-1:-1;;;52290:31:0:i:3;:::-;52282:62;;;::::0;-1:-1:-1;;;52282:62:0;;14038:2:1;52282:62:0::3;::::0;::::3;14020:21:1::0;14077:2;14057:18;;;14050:30;-1:-1:-1;;;14096:18:1;;;14089:48;14154:18;;52282:62:0::3;13836:342:1::0;52282:62:0::3;52355:31;52365:10;52377:8;52355:9;:31::i;:::-;50783:1:::2;50557::::1;51949:445:::0;;;;:::o;51397:277::-;50510:10;50524:9;50510:23;50502:44;;;;-1:-1:-1;;;50502:44:0;;13013:2:1;50502:44:0;;;12995:21:1;13052:1;13032:18;;;13025:29;-1:-1:-1;;;13070:18:1;;;13063:38;13118:18;;50502:44:0;12811:331:1;50502:44:0;51511:20:::1;::::0;50723:13:::1;::::0;-1:-1:-1;;;50723:13:0;::::1;;;:31;::::0;::::1;;;;;;:::i;:::-;;50715:57;;;::::0;-1:-1:-1;;;50715:57:0;;13349:2:1;50715:57:0::1;::::0;::::1;13331:21:1::0;13388:2;13368:18;;;13361:30;-1:-1:-1;;;13407:18:1;;;13400:43;13460:18;;50715:57:0::1;13147:337:1::0;50715:57:0::1;51558:8:::2;50971:14;;50959:8;50942:14;31358:7:::0;31544:13;;31311:283;50942:14:::2;:25;;;;:::i;:::-;50941:44;50933:81;;;;-1:-1:-1::0;;;50933:81:0::2;;;;;;;:::i;:::-;51601:16:::3;::::0;51590:27:::3;::::0;:8;:27:::3;:::i;:::-;51204:9;51187:13;:26;51179:70;;;::::0;-1:-1:-1;;;51179:70:0;;14385:2:1;51179:70:0::3;::::0;::::3;14367:21:1::0;14424:2;14404:18;;;14397:30;14463:33;14443:18;;;14436:61;14514:18;;51179:70:0::3;14183:355:1::0;51179:70:0::3;51635:31:::4;51645:10;51657:8;51635:9;:31::i;5807:201::-:0;4909:6;;-1:-1:-1;;;;;4909:6:0;3640:10;5056:23;;:85;;-1:-1:-1;5099:42:0;3640:10;5083:58;5056:85;5048:130;;;;-1:-1:-1;;;5048:130:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;5896:22:0;::::1;5888:73;;;::::0;-1:-1:-1;;;5888:73:0;;14745:2:1;5888:73:0::1;::::0;::::1;14727:21:1::0;14784:2;14764:18;;;14757:30;14823:34;14803:18;;;14796:62;-1:-1:-1;;;14874:18:1;;;14867:36;14920:19;;5888:73:0::1;14543:402:1::0;5888:73:0::1;5972:28;5991:8;5972:18;:28::i;52782:426::-:0;4909:6;;-1:-1:-1;;;;;4909:6:0;3640:10;5056:23;;:85;;-1:-1:-1;5099:42:0;3640:10;5083:58;5056:85;5048:130;;;;-1:-1:-1;;;5048:130:0;;;;;;;:::i;:::-;52884:1:::1;52867:14;:18;52859:54;;;::::0;-1:-1:-1;;;52859:54:0;;15152:2:1;52859:54:0::1;::::0;::::1;15134:21:1::0;15191:2;15171:18;;;15164:30;15230:25;15210:18;;;15203:53;15273:18;;52859:54:0::1;14950:347:1::0;52859:54:0::1;52928:19:::0;52924:267:::1;;52964:13;:33:::0;;52980:17:::1;::::0;52964:13;-1:-1:-1;;;;52964:33:0::1;-1:-1:-1::0;;;52980:17:0;52964:33:::1;;;;;;54652:246;54615:283::o:0;52924:267::-:1;53028:14;53046:1;53028:19;53024:167;;;53064:13;:37:::0;;53080:21:::1;::::0;53064:13;-1:-1:-1;;;;53064:37:0::1;-1:-1:-1::0;;;53080:21:0;53064:37:::1;::::0;53024:167:::1;-1:-1:-1::0;53143:13:0::1;:36:::0;;-1:-1:-1;;;;53143:36:0::1;-1:-1:-1::0;;;53143:36:0::1;::::0;;52782:426::o;7599:326::-;-1:-1:-1;;;;;7894:19:0;;:23;;;7599:326::o;38268:187::-;38325:4;38389:13;;38379:7;:23;38349:98;;;;-1:-1:-1;;38420:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;38420:27:0;;;;38419:28;;38268:187::o;46438:196::-;46553:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;46553:29:0;-1:-1:-1;;;;;46553:29:0;;;;;;;;;46598:28;;46553:24;;46598:28;;;;;;;46438:196;;;:::o;41381:2130::-;41496:35;41534:21;41547:7;41534:12;:21::i;:::-;41496:59;;41594:4;-1:-1:-1;;;;;41572:26:0;:13;:18;;;-1:-1:-1;;;;;41572:26:0;;41568:67;;41607:28;;-1:-1:-1;;;41607:28:0;;;;;;;;;;;41568:67;41648:22;3640:10;-1:-1:-1;;;;;41674:20:0;;;;:73;;-1:-1:-1;41711:36:0;41728:4;3640:10;36916:164;:::i;41711:36::-;41674:126;;;-1:-1:-1;3640:10:0;41764:20;41776:7;41764:11;:20::i;:::-;-1:-1:-1;;;;;41764:36:0;;41674:126;41648:153;;41819:17;41814:66;;41845:35;;-1:-1:-1;;;41845:35:0;;;;;;;;;;;41814:66;-1:-1:-1;;;;;41895:16:0;;41891:52;;41920:23;;-1:-1:-1;;;41920:23:0;;;;;;;;;;;41891:52;42064:35;42081:1;42085:7;42094:4;42064:8;:35::i;:::-;-1:-1:-1;;;;;42395:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;42395:31:0;;;-1:-1:-1;;;;;42395:31:0;;;-1:-1:-1;;42395:31:0;;;;;;;42441:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;42441:29:0;;;;;;;;;;;42521:20;;;:11;:20;;;;;;42556:18;;-1:-1:-1;;;;;;42589:49:0;;;;-1:-1:-1;;;42622:15:0;42589:49;;;;;;;;;;42912:11;;42972:24;;;;;43015:13;;42521:20;;42972:24;;43015:13;43011:384;;43225:13;;43210:11;:28;43206:174;;43263:20;;43332:28;;;;-1:-1:-1;;;;;43306:54:0;-1:-1:-1;;;43306:54:0;-1:-1:-1;;;;;;43306:54:0;;;-1:-1:-1;;;;;43263:20:0;;43306:54;;;;43206:174;42370:1036;;;43442:7;43438:2;-1:-1:-1;;;;;43423:27:0;43432:4;-1:-1:-1;;;;;43423:27:0;;;;;;;;;;;43461:42;41485:2026;;41381:2130;;;:::o;26245:190::-;26370:4;26423;26394:25;26407:5;26414:4;26394:12;:25::i;:::-;:33;;26245:190;-1:-1:-1;;;;26245:190:0:o;54973:183::-;55054:9;55069:7;-1:-1:-1;;;;;55069:12:0;55089:6;55069:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55053:47;;;55119:4;55111:37;;;;-1:-1:-1;;;55111:37:0;;15714:2:1;55111:37:0;;;15696:21:1;15753:2;15733:18;;;15726:30;-1:-1:-1;;;15772:18:1;;;15765:50;15832:18;;55111:37:0;15512:344:1;33416:1109:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;33527:7:0;33610:13;;33603:4;:20;33572:886;;;33644:31;33678:17;;;:11;:17;;;;;;;;;33644:51;;;;;;;;;-1:-1:-1;;;;;33644:51:0;;;;-1:-1:-1;;;33644:51:0;;-1:-1:-1;;;;;33644:51:0;;;;;;;;-1:-1:-1;;;33644:51:0;;;;;;;;;;;;;;33714:729;;33764:14;;-1:-1:-1;;;;;33764:28:0;;33760:101;;33828:9;33416:1109;-1:-1:-1;;;33416:1109:0:o;33760:101::-;-1:-1:-1;;;34203:6:0;34248:17;;;;:11;:17;;;;;;;;;34236:29;;;;;;;;;-1:-1:-1;;;;;34236:29:0;;;;;-1:-1:-1;;;34236:29:0;;-1:-1:-1;;;;;34236:29:0;;;;;;;;-1:-1:-1;;;34236:29:0;;;;;;;;;;;;;34296:28;34292:109;;34364:9;33416:1109;-1:-1:-1;;;33416:1109:0:o;34292:109::-;34163:261;;;33625:833;33572:886;34486:31;;-1:-1:-1;;;34486:31:0;;;;;;;;;;;6168:191;6261:6;;;-1:-1:-1;;;;;6278:17:0;;;-1:-1:-1;;;;;;6278:17:0;;;;;;;6311:40;;6261:6;;;6278:17;6261:6;;6311:40;;6242:16;;6311:40;6231:128;6168:191;:::o;38463:104::-;38532:27;38542:2;38546:8;38532:27;;;;;;;;;;;;:9;:27::i;47126:667::-;47310:72;;-1:-1:-1;;;47310:72:0;;47289:4;;-1:-1:-1;;;;;47310:36:0;;;;;:72;;3640:10;;47361:4;;47367:7;;47376:5;;47310:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47310:72:0;;;;;;;;-1:-1:-1;;47310:72:0;;;;;;;;;;;;:::i;:::-;;;47306:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47544:13:0;;47540:235;;47590:40;;-1:-1:-1;;;47590:40:0;;;;;;;;;;;47540:235;47733:6;47727:13;47718:6;47714:2;47710:15;47703:38;47306:480;-1:-1:-1;;;;;;47429:55:0;-1:-1:-1;;;47429:55:0;;-1:-1:-1;47126:667:0;;;;;;:::o;23749:723::-;23805:13;24026:10;24022:53;;-1:-1:-1;;24053:10:0;;;;;;;;;;;;-1:-1:-1;;;24053:10:0;;;;;23749:723::o;24022:53::-;24100:5;24085:12;24141:78;24148:9;;24141:78;;24174:8;;;;:::i;:::-;;-1:-1:-1;24197:10:0;;-1:-1:-1;24205:2:0;24197:10;;:::i;:::-;;;24141:78;;;24229:19;24261:6;-1:-1:-1;;;;;24251:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24251:17:0;;24229:39;;24279:154;24286:10;;24279:154;;24313:11;24323:1;24313:11;;:::i;:::-;;-1:-1:-1;24382:10:0;24390:2;24382:5;:10;:::i;:::-;24369:24;;:2;:24;:::i;:::-;24356:39;;24339:6;24346;24339:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;24339:56:0;;;;;;;;-1:-1:-1;24410:11:0;24419:2;24410:11;;:::i;:::-;;;24279:154;;26797:701;26880:7;26923:4;26880:7;26938:523;26962:5;:12;26958:1;:16;26938:523;;;26996:20;27019:5;27025:1;27019:8;;;;;;;;:::i;:::-;;;;;;;26996:31;;27062:12;27046;:28;27042:408;;27199:44;;;;;;17296:19:1;;;17331:12;;;17324:28;;;17368:12;;27199:44:0;;;;;;;;;;;;27189:55;;;;;;27174:70;;27042:408;;;27389:44;;;;;;17296:19:1;;;17331:12;;;17324:28;;;17368:12;;27389:44:0;;;;;;;;;;;;27379:55;;;;;;27364:70;;27042:408;-1:-1:-1;26976:3:0;;;;:::i;:::-;;;;26938:523;;;-1:-1:-1;27478:12:0;26797:701;-1:-1:-1;;;26797:701:0:o;38930:163::-;39053:32;39059:2;39063:8;39073:5;39080:4;39491:20;39514:13;-1:-1:-1;;;;;39542:16:0;;39538:48;;39567:19;;-1:-1:-1;;;39567:19:0;;;;;;;;;;;39538:48;39601:13;39597:44;;39623:18;;-1:-1:-1;;;39623:18:0;;;;;;;;;;;39597:44;-1:-1:-1;;;;;39992:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;40051:49:0;;-1:-1:-1;;;;;39992:44:0;;;;;;;40051:49;;;-1:-1:-1;;;;;39992:44:0;;;;;;40051:49;;;;;;;;;;;;;;;;40117:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;40167:66:0;;;;-1:-1:-1;;;40217:15:0;40167:66;;;;;;;;;;40117:25;40314:23;;;40358:4;:23;;;;-1:-1:-1;;;;;;40366:13:0;;7894:19;:23;;40366:15;40354:641;;;40402:314;40433:38;;40458:12;;-1:-1:-1;;;;;40433:38:0;;;40450:1;;40433:38;;40450:1;;40433:38;40499:69;40538:1;40542:2;40546:14;;;;;;40562:5;40499:30;:69::i;:::-;40494:174;;40604:40;;-1:-1:-1;;;40604:40:0;;;;;;;;;;;40494:174;40711:3;40695:12;:19;;40402:314;;40797:12;40780:13;;:29;40776:43;;40811:8;;;40776:43;40354:641;;;40860:120;40891:40;;40916:14;;;;;-1:-1:-1;;;;;40891:40:0;;;40908:1;;40891:40;;40908:1;;40891:40;40975:3;40959:12;:19;;40860:120;;40354:641;-1:-1:-1;41009:13:0;:28;41059:60;37644:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;800:258::-;872:1;882:113;896:6;893:1;890:13;882:113;;;972:11;;;966:18;953:11;;;946:39;918:2;911:10;882:113;;;1013:6;1010:1;1007:13;1004:48;;;-1:-1:-1;;1048:1:1;1030:16;;1023:27;800:258::o;1063:269::-;1116:3;1154:5;1148:12;1181:6;1176:3;1169:19;1197:63;1253:6;1246:4;1241:3;1237:14;1230:4;1223:5;1219:16;1197:63;:::i;:::-;1314:2;1293:15;-1:-1:-1;;1289:29:1;1280:39;;;;1321:4;1276:50;;1063:269;-1:-1:-1;;1063:269:1:o;1337:231::-;1486:2;1475:9;1468:21;1449:4;1506:56;1558:2;1547:9;1543:18;1535:6;1506:56;:::i;1573:180::-;1632:6;1685:2;1673:9;1664:7;1660:23;1656:32;1653:52;;;1701:1;1698;1691:12;1653:52;-1:-1:-1;1724:23:1;;1573:180;-1:-1:-1;1573:180:1:o;1758:173::-;1826:20;;-1:-1:-1;;;;;1875:31:1;;1865:42;;1855:70;;1921:1;1918;1911:12;1855:70;1758:173;;;:::o;1936:254::-;2004:6;2012;2065:2;2053:9;2044:7;2040:23;2036:32;2033:52;;;2081:1;2078;2071:12;2033:52;2104:29;2123:9;2104:29;:::i;:::-;2094:39;2180:2;2165:18;;;;2152:32;;-1:-1:-1;;;1936:254:1:o;2377:328::-;2454:6;2462;2470;2523:2;2511:9;2502:7;2498:23;2494:32;2491:52;;;2539:1;2536;2529:12;2491:52;2562:29;2581:9;2562:29;:::i;:::-;2552:39;;2610:38;2644:2;2633:9;2629:18;2610:38;:::i;:::-;2600:48;;2695:2;2684:9;2680:18;2667:32;2657:42;;2377:328;;;;;:::o;2892:127::-;2953:10;2948:3;2944:20;2941:1;2934:31;2984:4;2981:1;2974:15;3008:4;3005:1;2998:15;3024:275;3095:2;3089:9;3160:2;3141:13;;-1:-1:-1;;3137:27:1;3125:40;;-1:-1:-1;;;;;3180:34:1;;3216:22;;;3177:62;3174:88;;;3242:18;;:::i;:::-;3278:2;3271:22;3024:275;;-1:-1:-1;3024:275:1:o;3304:1082::-;3406:6;3414;3422;3475:2;3463:9;3454:7;3450:23;3446:32;3443:52;;;3491:1;3488;3481:12;3443:52;3527:9;3514:23;3504:33;;3556:2;3605;3594:9;3590:18;3577:32;3567:42;;3660:2;3649:9;3645:18;3632:32;-1:-1:-1;;;;;3724:2:1;3716:6;3713:14;3710:34;;;3740:1;3737;3730:12;3710:34;3778:6;3767:9;3763:22;3753:32;;3823:7;3816:4;3812:2;3808:13;3804:27;3794:55;;3845:1;3842;3835:12;3794:55;3881:2;3868:16;3903:2;3899;3896:10;3893:36;;;3909:18;;:::i;:::-;3955:2;3952:1;3948:10;3938:20;;3978:28;4002:2;3998;3994:11;3978:28;:::i;:::-;4040:15;;;4110:11;;;4106:20;;;4071:12;;;;4138:19;;;4135:39;;;4170:1;4167;4160:12;4135:39;4194:11;;;;4214:142;4230:6;4225:3;4222:15;4214:142;;;4296:17;;4284:30;;4247:12;;;;4334;;;;4214:142;;;4375:5;4365:15;;;;;;;;3304:1082;;;;;:::o;4391:407::-;4456:5;-1:-1:-1;;;;;4482:6:1;4479:30;4476:56;;;4512:18;;:::i;:::-;4550:57;4595:2;4574:15;;-1:-1:-1;;4570:29:1;4601:4;4566:40;4550:57;:::i;:::-;4541:66;;4630:6;4623:5;4616:21;4670:3;4661:6;4656:3;4652:16;4649:25;4646:45;;;4687:1;4684;4677:12;4646:45;4736:6;4731:3;4724:4;4717:5;4713:16;4700:43;4790:1;4783:4;4774:6;4767:5;4763:18;4759:29;4752:40;4391:407;;;;;:::o;4803:451::-;4872:6;4925:2;4913:9;4904:7;4900:23;4896:32;4893:52;;;4941:1;4938;4931:12;4893:52;4981:9;4968:23;-1:-1:-1;;;;;5006:6:1;5003:30;5000:50;;;5046:1;5043;5036:12;5000:50;5069:22;;5122:4;5114:13;;5110:27;-1:-1:-1;5100:55:1;;5151:1;5148;5141:12;5100:55;5174:74;5240:7;5235:2;5222:16;5217:2;5213;5209:11;5174:74;:::i;5259:186::-;5318:6;5371:2;5359:9;5350:7;5346:23;5342:32;5339:52;;;5387:1;5384;5377:12;5339:52;5410:29;5429:9;5410:29;:::i;5635:127::-;5696:10;5691:3;5687:20;5684:1;5677:31;5727:4;5724:1;5717:15;5751:4;5748:1;5741:15;5767:346;5917:2;5902:18;;5950:1;5939:13;;5929:144;;5995:10;5990:3;5986:20;5983:1;5976:31;6030:4;6027:1;6020:15;6058:4;6055:1;6048:15;5929:144;6082:25;;;5767:346;:::o;6118:347::-;6183:6;6191;6244:2;6232:9;6223:7;6219:23;6215:32;6212:52;;;6260:1;6257;6250:12;6212:52;6283:29;6302:9;6283:29;:::i;:::-;6273:39;;6362:2;6351:9;6347:18;6334:32;6409:5;6402:13;6395:21;6388:5;6385:32;6375:60;;6431:1;6428;6421:12;6375:60;6454:5;6444:15;;;6118:347;;;;;:::o;6470:667::-;6565:6;6573;6581;6589;6642:3;6630:9;6621:7;6617:23;6613:33;6610:53;;;6659:1;6656;6649:12;6610:53;6682:29;6701:9;6682:29;:::i;:::-;6672:39;;6730:38;6764:2;6753:9;6749:18;6730:38;:::i;:::-;6720:48;;6815:2;6804:9;6800:18;6787:32;6777:42;;6870:2;6859:9;6855:18;6842:32;-1:-1:-1;;;;;6889:6:1;6886:30;6883:50;;;6929:1;6926;6919:12;6883:50;6952:22;;7005:4;6997:13;;6993:27;-1:-1:-1;6983:55:1;;7034:1;7031;7024:12;6983:55;7057:74;7123:7;7118:2;7105:16;7100:2;7096;7092:11;7057:74;:::i;:::-;7047:84;;;6470:667;;;;;;;:::o;7142:751::-;7246:6;7254;7262;7270;7323:2;7311:9;7302:7;7298:23;7294:32;7291:52;;;7339:1;7336;7329:12;7291:52;7375:9;7362:23;7352:33;;7436:2;7425:9;7421:18;7408:32;-1:-1:-1;;;;;7500:2:1;7492:6;7489:14;7486:34;;;7516:1;7513;7506:12;7486:34;7554:6;7543:9;7539:22;7529:32;;7599:7;7592:4;7588:2;7584:13;7580:27;7570:55;;7621:1;7618;7611:12;7570:55;7661:2;7648:16;7687:2;7679:6;7676:14;7673:34;;;7703:1;7700;7693:12;7673:34;7756:7;7751:2;7741:6;7738:1;7734:14;7730:2;7726:23;7722:32;7719:45;7716:65;;;7777:1;7774;7767:12;7716:65;7142:751;;7808:2;7800:11;;;;;-1:-1:-1;7830:6:1;;7883:2;7868:18;7855:32;;-1:-1:-1;7142:751:1;-1:-1:-1;;;7142:751:1:o;7898:260::-;7966:6;7974;8027:2;8015:9;8006:7;8002:23;7998:32;7995:52;;;8043:1;8040;8033:12;7995:52;8066:29;8085:9;8066:29;:::i;:::-;8056:39;;8114:38;8148:2;8137:9;8133:18;8114:38;:::i;:::-;8104:48;;7898:260;;;;;:::o;8163:380::-;8242:1;8238:12;;;;8285;;;8306:61;;8360:4;8352:6;8348:17;8338:27;;8306:61;8413:2;8405:6;8402:14;8382:18;8379:38;8376:161;;;8459:10;8454:3;8450:20;8447:1;8440:31;8494:4;8491:1;8484:15;8522:4;8519:1;8512:15;8376:161;;8163:380;;;:::o;8548:356::-;8750:2;8732:21;;;8769:18;;;8762:30;8828:34;8823:2;8808:18;;8801:62;8895:2;8880:18;;8548:356::o;8909:127::-;8970:10;8965:3;8961:20;8958:1;8951:31;9001:4;8998:1;8991:15;9025:4;9022:1;9015:15;9041:128;9081:3;9112:1;9108:6;9105:1;9102:13;9099:39;;;9118:18;;:::i;:::-;-1:-1:-1;9154:9:1;;9041:128::o;9928:168::-;9968:7;10034:1;10030;10026:6;10022:14;10019:1;10016:21;10011:1;10004:9;9997:17;9993:45;9990:71;;;10041:18;;:::i;:::-;-1:-1:-1;10081:9:1;;9928:168::o;10101:127::-;10162:10;10157:3;10153:20;10150:1;10143:31;10193:4;10190:1;10183:15;10217:4;10214:1;10207:15;10233:120;10273:1;10299;10289:35;;10304:18;;:::i;:::-;-1:-1:-1;10338:9:1;;10233:120::o;10358:348::-;10560:2;10542:21;;;10599:2;10579:18;;;10572:30;10638:26;10633:2;10618:18;;10611:54;10697:2;10682:18;;10358:348::o;11197:185::-;11239:3;11277:5;11271:12;11292:52;11337:6;11332:3;11325:4;11318:5;11314:16;11292:52;:::i;:::-;11360:16;;;;;11197:185;-1:-1:-1;;11197:185:1:o;11505:1301::-;11782:3;11811:1;11844:6;11838:13;11874:3;11896:1;11924:9;11920:2;11916:18;11906:28;;11984:2;11973:9;11969:18;12006;11996:61;;12050:4;12042:6;12038:17;12028:27;;11996:61;12076:2;12124;12116:6;12113:14;12093:18;12090:38;12087:165;;;-1:-1:-1;;;12151:33:1;;12207:4;12204:1;12197:15;12237:4;12158:3;12225:17;12087:165;12268:18;12295:104;;;;12413:1;12408:320;;;;12261:467;;12295:104;-1:-1:-1;;12328:24:1;;12316:37;;12373:16;;;;-1:-1:-1;12295:104:1;;12408:320;11144:1;11137:14;;;11181:4;11168:18;;12503:1;12517:165;12531:6;12528:1;12525:13;12517:165;;;12609:14;;12596:11;;;12589:35;12652:16;;;;12546:10;;12517:165;;;12521:3;;12711:6;12706:3;12702:16;12695:23;;12261:467;;;;;;;12744:56;12769:30;12795:3;12787:6;12769:30;:::i;:::-;-1:-1:-1;;;11447:20:1;;11492:1;11483:11;;11387:113;12744:56;12737:63;11505:1301;-1:-1:-1;;;;;11505:1301:1:o;15861:500::-;-1:-1:-1;;;;;16130:15:1;;;16112:34;;16182:15;;16177:2;16162:18;;16155:43;16229:2;16214:18;;16207:34;;;16277:3;16272:2;16257:18;;16250:31;;;16055:4;;16298:57;;16335:19;;16327:6;16298:57;:::i;:::-;16290:65;15861:500;-1:-1:-1;;;;;;15861:500:1:o;16366:249::-;16435:6;16488:2;16476:9;16467:7;16463:23;16459:32;16456:52;;;16504:1;16501;16494:12;16456:52;16536:9;16530:16;16555:30;16579:5;16555:30;:::i;16620:135::-;16659:3;-1:-1:-1;;16680:17:1;;16677:43;;;16700:18;;:::i;:::-;-1:-1:-1;16747:1:1;16736:13;;16620:135::o;16760:125::-;16800:4;16828:1;16825;16822:8;16819:34;;;16833:18;;:::i;:::-;-1:-1:-1;16870:9:1;;16760:125::o;16890:112::-;16922:1;16948;16938:35;;16953:18;;:::i;:::-;-1:-1:-1;16987:9:1;;16890:112::o;17007:127::-;17068:10;17063:3;17059:20;17056:1;17049:31;17099:4;17096:1;17089:15;17123:4;17120:1;17113:15

Swarm Source

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

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