ETH Price: $3,401.42 (+2.00%)

Token

 

Overview

Max Total Supply

5,062

Holders

2,312

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xb0b5f16872ab94c4f7f5be155fa2ae42919449ad
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:
NFTMagMintPass

Compiler Version
v0.8.4+commit.c7e474f2

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-03
*/

// SPDX-License-Identifier: Unlicensed
// 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/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/ERC1155/IERC1155Receiver.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;


/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

// File: @openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

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


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/token/ERC1155/ERC1155.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;







/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

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


// OpenZeppelin Contracts v4.4.1 (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(), "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: contracts/NFTMagMintPass.sol



pragma solidity ^0.8.0;



contract NFTMagMintPass is ERC1155, Ownable {
    uint256 public maxMintAmount = 5000; // Max amount mintable
    bool public paused = false; // Incase we need to pause the contract
    uint256 public cost = 0.00 ether;
    uint256 counter = 0;
    mapping(address => uint256) public addressMintedBalance;

    constructor() ERC1155 ("ipfs://QmdHvvoehCV8dGwZUqHF3UcK9D5UjV8Ma6PSu8RRRrNboA") {}

    function mint(uint256 amount) public payable {
        require(counter <= maxMintAmount, "max amount reached");
        if (msg.sender != owner()) {
            require(!paused, "the contract is paused");
            require(msg.value >= cost, "insufficient funds");
            require(addressMintedBalance[msg.sender] < 3, "max mint amount per wallet exceeded");
            addressMintedBalance[msg.sender]++;
        }
        _mint(msg.sender, 1, amount, "");
        counter += amount;
    }

    function userAllowed() public view returns (bool) {
        return addressMintedBalance[msg.sender] == 0;
    }

    function transfer(
        address from,
        address to,
        uint256 id,
        uint256 amount
    ) public {
        require(msg.sender == from, "Only owner of NFT can transfer");
        require(amount > 0, "need to transfer at least 1 NFT");
        _safeTransferFrom(from, to, id, amount, "");
    }

    function burn(
        address account,
        uint256 id,
        uint256 amount
    ) public {
        require(msg.sender == account);
        _burn(account, id, amount);
    }

    // Owners only functions

    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner {
        maxMintAmount = _newmaxMintAmount;
    }

    function pause(bool _state) public onlyOwner {
        paused = _state;
    }

    function withdraw() public payable onlyOwner {
        // This will payout the owner the contract balance.
        // Do not remove this otherwise you will not be able to withdraw the funds.
        // =============================================================================
        uint256 totalBalance = address(this).balance;
        uint256 ownerBalance = (totalBalance / 1000000) * 1000000;
        (bool p1, ) = payable(0x63bFdd398b74c208EDB8a7e45910d0AAC4858D6A).call{
            value: ownerBalance
        }("");
        require(p1);
       
        // =============================================================================
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"userAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526113886004556005805460ff19169055600060068190556007553480156200002b57600080fd5b506040518060600160405280603581526020016200215e60359139620000518162000063565b506200005d336200007c565b620001b1565b805162000078906002906020840190620000ce565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000dc9062000174565b90600052602060002090601f0160209004810192826200010057600085556200014b565b82601f106200011b57805160ff19168380011785556200014b565b828001600101855582156200014b579182015b828111156200014b5782518255916020019190600101906200012e565b50620001599291506200015d565b5090565b5b808211156200015957600081556001016200015e565b600181811c908216806200018957607f821691505b60208210811415620001ab57634e487b7160e01b600052602260045260246000fd5b50919050565b611f9d80620001c16000396000f3fe60806040526004361061013f5760003560e01c80634e1273f4116100b6578063a22cb4651161006f578063a22cb4651461036e578063c4f555a21461038e578063e985e9c5146103b1578063f242432a146103fa578063f2fde38b1461041a578063f5298aca1461043a57600080fd5b80634e1273f4146102b75780635c975abb146102e4578063715018a6146102fe5780637f00c7a6146103135780638da5cb5b14610333578063a0712d681461035b57600080fd5b806313faede61161010857806313faede61461021657806318cae2691461022c578063239c70ae146102595780632eb2c2d61461026f5780633ccfd60b1461028f57806344a0d68a1461029757600080fd5b8062fdd58e1461014457806301ffc9a71461017757806302329a29146101a75780630411b252146101c95780630e89341c146101e9575b600080fd5b34801561015057600080fd5b5061016461015f36600461196d565b61045a565b6040519081526020015b60405180910390f35b34801561018357600080fd5b50610197610192366004611aad565b6104f1565b604051901515815260200161016e565b3480156101b357600080fd5b506101c76101c2366004611a93565b610543565b005b3480156101d557600080fd5b506101c76101e43660046118a0565b610580565b3480156101f557600080fd5b50610209610204366004611ae5565b61064a565b60405161016e9190611c66565b34801561022257600080fd5b5061016460065481565b34801561023857600080fd5b506101646102473660046117a7565b60086020526000908152604090205481565b34801561026557600080fd5b5061016460045481565b34801561027b57600080fd5b506101c761028a3660046117fa565b6106de565b6101c7610775565b3480156102a357600080fd5b506101c76102b2366004611ae5565b61082d565b3480156102c357600080fd5b506102d76102d23660046119c8565b61085c565b60405161016e9190611c25565b3480156102f057600080fd5b506005546101979060ff1681565b34801561030a57600080fd5b506101c76109be565b34801561031f57600080fd5b506101c761032e366004611ae5565b6109f4565b34801561033f57600080fd5b506003546040516001600160a01b03909116815260200161016e565b6101c7610369366004611ae5565b610a23565b34801561037a57600080fd5b506101c7610389366004611944565b610bd3565b34801561039a57600080fd5b503360009081526008602052604090205415610197565b3480156103bd57600080fd5b506101976103cc3660046117c8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561040657600080fd5b506101c76104153660046118e1565b610be2565b34801561042657600080fd5b506101c76104353660046117a7565b610c69565b34801561044657600080fd5b506101c7610455366004611996565b610d04565b60006001600160a01b0383166104cb5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061052257506001600160e01b031982166303a24d0760e21b145b8061053d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6003546001600160a01b0316331461056d5760405162461bcd60e51b81526004016104c290611d50565b6005805460ff1916911515919091179055565b336001600160a01b038516146105d85760405162461bcd60e51b815260206004820152601e60248201527f4f6e6c79206f776e6572206f66204e46542063616e207472616e73666572000060448201526064016104c2565b600081116106285760405162461bcd60e51b815260206004820152601f60248201527f6e65656420746f207472616e73666572206174206c656173742031204e46540060448201526064016104c2565b6106448484848460405180602001604052806000815250610d24565b50505050565b60606002805461065990611e00565b80601f016020809104026020016040519081016040528092919081815260200182805461068590611e00565b80156106d25780601f106106a7576101008083540402835291602001916106d2565b820191906000526020600020905b8154815290600101906020018083116106b557829003601f168201915b50505050509050919050565b6001600160a01b0385163314806106fa57506106fa85336103cc565b6107615760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016104c2565b61076e8585858585610e4e565b5050505050565b6003546001600160a01b0316331461079f5760405162461bcd60e51b81526004016104c290611d50565b4760006107af620f424083611dc1565b6107bc90620f4240611de1565b6040519091506000907363bfdd398b74c208edb8a7e45910d0aac4858d6a9083908381818185875af1925050503d8060008114610815576040519150601f19603f3d011682016040523d82523d6000602084013e61081a565b606091505b505090508061082857600080fd5b505050565b6003546001600160a01b031633146108575760405162461bcd60e51b81526004016104c290611d50565b600655565b606081518351146108c15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016104c2565b6000835167ffffffffffffffff8111156108eb57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610914578160200160208202803683370190505b50905060005b84518110156109b65761097b85828151811061094657634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061096e57634e487b7160e01b600052603260045260246000fd5b602002602001015161045a565b82828151811061099b57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526109af81611e68565b905061091a565b509392505050565b6003546001600160a01b031633146109e85760405162461bcd60e51b81526004016104c290611d50565b6109f26000611047565b565b6003546001600160a01b03163314610a1e5760405162461bcd60e51b81526004016104c290611d50565b600455565b6004546007541115610a6c5760405162461bcd60e51b81526020600482015260126024820152711b585e08185b5bdd5b9d081c995858da195960721b60448201526064016104c2565b6003546001600160a01b03163314610b9d5760055460ff1615610aca5760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b60448201526064016104c2565b600654341015610b115760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b60448201526064016104c2565b33600090815260086020526040902054600311610b7c5760405162461bcd60e51b815260206004820152602360248201527f6d6178206d696e7420616d6f756e74207065722077616c6c657420657863656560448201526219195960ea1b60648201526084016104c2565b336000908152600860205260408120805491610b9783611e68565b91905055505b610bb93360018360405180602001604052806000815250611099565b8060076000828254610bcb9190611da9565b909155505050565b610bde3383836111ad565b5050565b6001600160a01b038516331480610bfe5750610bfe85336103cc565b610c5c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016104c2565b61076e8585858585610d24565b6003546001600160a01b03163314610c935760405162461bcd60e51b81526004016104c290611d50565b6001600160a01b038116610cf85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c2565b610d0181611047565b50565b336001600160a01b03841614610d1957600080fd5b61082883838361128e565b6001600160a01b038416610d4a5760405162461bcd60e51b81526004016104c290611cc1565b336000610d568561140a565b90506000610d638561140a565b90506000868152602081815260408083206001600160a01b038c16845290915290205485811015610da65760405162461bcd60e51b81526004016104c290611d06565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290610de3908490611da9565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610e43848a8a8a8a8a611463565b505050505050505050565b8151835114610eb05760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016104c2565b6001600160a01b038416610ed65760405162461bcd60e51b81526004016104c290611cc1565b3360005b8451811015610fd9576000858281518110610f0557634e487b7160e01b600052603260045260246000fd5b602002602001015190506000858381518110610f3157634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610f815760405162461bcd60e51b81526004016104c290611d06565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610fbe908490611da9565b9250508190555050505080610fd290611e68565b9050610eda565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611029929190611c38565b60405180910390a461103f8187878787876115ce565b505050505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166110f95760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016104c2565b3360006111058561140a565b905060006111128561140a565b90506000868152602081815260408083206001600160a01b038b16845290915281208054879290611144908490611da9565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46111a483600089898989611463565b50505050505050565b816001600160a01b0316836001600160a01b031614156112215760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016104c2565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383166112f05760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016104c2565b3360006112fc8461140a565b905060006113098461140a565b60408051602080820183526000918290528882528181528282206001600160a01b038b16835290522054909150848110156113925760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016104c2565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090526111a4565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061145257634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b1561103f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906114a79089908990889088908890600401611be0565b602060405180830381600087803b1580156114c157600080fd5b505af19250505080156114f1575060408051601f3d908101601f191682019092526114ee91810190611ac9565b60015b61159e576114fd611eaf565b806308c379a014156115375750611512611ec7565b8061151d5750611539565b8060405162461bcd60e51b81526004016104c29190611c66565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016104c2565b6001600160e01b0319811663f23a6e6160e01b146111a45760405162461bcd60e51b81526004016104c290611c79565b6001600160a01b0384163b1561103f5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906116129089908990889088908890600401611b82565b602060405180830381600087803b15801561162c57600080fd5b505af192505050801561165c575060408051601f3d908101601f1916820190925261165991810190611ac9565b60015b611668576114fd611eaf565b6001600160e01b0319811663bc197c8160e01b146111a45760405162461bcd60e51b81526004016104c290611c79565b80356001600160a01b03811681146116af57600080fd5b919050565b600082601f8301126116c4578081fd5b813560206116d182611d85565b6040516116de8282611e3b565b8381528281019150858301600585901b870184018810156116fd578586fd5b855b8581101561171b578135845292840192908401906001016116ff565b5090979650505050505050565b803580151581146116af57600080fd5b600082601f830112611748578081fd5b813567ffffffffffffffff81111561176257611762611e99565b604051611779601f8301601f191660200182611e3b565b81815284602083860101111561178d578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156117b8578081fd5b6117c182611698565b9392505050565b600080604083850312156117da578081fd5b6117e383611698565b91506117f160208401611698565b90509250929050565b600080600080600060a08688031215611811578081fd5b61181a86611698565b945061182860208701611698565b9350604086013567ffffffffffffffff80821115611844578283fd5b61185089838a016116b4565b94506060880135915080821115611865578283fd5b61187189838a016116b4565b93506080880135915080821115611886578283fd5b5061189388828901611738565b9150509295509295909350565b600080600080608085870312156118b5578384fd5b6118be85611698565b93506118cc60208601611698565b93969395505050506040820135916060013590565b600080600080600060a086880312156118f8578081fd5b61190186611698565b945061190f60208701611698565b93506040860135925060608601359150608086013567ffffffffffffffff811115611938578182fd5b61189388828901611738565b60008060408385031215611956578182fd5b61195f83611698565b91506117f160208401611728565b6000806040838503121561197f578182fd5b61198883611698565b946020939093013593505050565b6000806000606084860312156119aa578283fd5b6119b384611698565b95602085013595506040909401359392505050565b600080604083850312156119da578081fd5b823567ffffffffffffffff808211156119f1578283fd5b818501915085601f830112611a04578283fd5b81356020611a1182611d85565b604051611a1e8282611e3b565b8381528281019150858301600585901b870184018b1015611a3d578788fd5b8796505b84871015611a6657611a5281611698565b835260019690960195918301918301611a41565b5096505086013592505080821115611a7c578283fd5b50611a89858286016116b4565b9150509250929050565b600060208284031215611aa4578081fd5b6117c182611728565b600060208284031215611abe578081fd5b81356117c181611f51565b600060208284031215611ada578081fd5b81516117c181611f51565b600060208284031215611af6578081fd5b5035919050565b6000815180845260208085019450808401835b83811015611b2c57815187529582019590820190600101611b10565b509495945050505050565b60008151808452815b81811015611b5c57602081850181015186830182015201611b40565b81811115611b6d5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0386811682528516602082015260a060408201819052600090611bae90830186611afd565b8281036060840152611bc08186611afd565b90508281036080840152611bd48185611b37565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090611c1a90830184611b37565b979650505050505050565b6020815260006117c16020830184611afd565b604081526000611c4b6040830185611afd565b8281036020840152611c5d8185611afd565b95945050505050565b6020815260006117c16020830184611b37565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600067ffffffffffffffff821115611d9f57611d9f611e99565b5060051b60200190565b60008219821115611dbc57611dbc611e83565b500190565b600082611ddc57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611dfb57611dfb611e83565b500290565b600181811c90821680611e1457607f821691505b60208210811415611e3557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff81118282101715611e6157611e61611e99565b6040525050565b6000600019821415611e7c57611e7c611e83565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115611ec457600481823e5160e01c5b90565b600060443d1015611ed55790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611f0557505050505090565b8285019150815181811115611f1d5750505050505090565b843d8701016020828501011115611f375750505050505090565b611f4660208286010187611e3b565b509095945050505050565b6001600160e01b031981168114610d0157600080fdfea26469706673582212203aed29281f58c9c9f1e30fa6c7c6f97134f2c33f9cb60a85f8fa3137131852af64736f6c63430008040033697066733a2f2f516d644876766f65684356386447775a557148463355634b394435556a56384d613650537538525252724e626f41

Deployed Bytecode

0x60806040526004361061013f5760003560e01c80634e1273f4116100b6578063a22cb4651161006f578063a22cb4651461036e578063c4f555a21461038e578063e985e9c5146103b1578063f242432a146103fa578063f2fde38b1461041a578063f5298aca1461043a57600080fd5b80634e1273f4146102b75780635c975abb146102e4578063715018a6146102fe5780637f00c7a6146103135780638da5cb5b14610333578063a0712d681461035b57600080fd5b806313faede61161010857806313faede61461021657806318cae2691461022c578063239c70ae146102595780632eb2c2d61461026f5780633ccfd60b1461028f57806344a0d68a1461029757600080fd5b8062fdd58e1461014457806301ffc9a71461017757806302329a29146101a75780630411b252146101c95780630e89341c146101e9575b600080fd5b34801561015057600080fd5b5061016461015f36600461196d565b61045a565b6040519081526020015b60405180910390f35b34801561018357600080fd5b50610197610192366004611aad565b6104f1565b604051901515815260200161016e565b3480156101b357600080fd5b506101c76101c2366004611a93565b610543565b005b3480156101d557600080fd5b506101c76101e43660046118a0565b610580565b3480156101f557600080fd5b50610209610204366004611ae5565b61064a565b60405161016e9190611c66565b34801561022257600080fd5b5061016460065481565b34801561023857600080fd5b506101646102473660046117a7565b60086020526000908152604090205481565b34801561026557600080fd5b5061016460045481565b34801561027b57600080fd5b506101c761028a3660046117fa565b6106de565b6101c7610775565b3480156102a357600080fd5b506101c76102b2366004611ae5565b61082d565b3480156102c357600080fd5b506102d76102d23660046119c8565b61085c565b60405161016e9190611c25565b3480156102f057600080fd5b506005546101979060ff1681565b34801561030a57600080fd5b506101c76109be565b34801561031f57600080fd5b506101c761032e366004611ae5565b6109f4565b34801561033f57600080fd5b506003546040516001600160a01b03909116815260200161016e565b6101c7610369366004611ae5565b610a23565b34801561037a57600080fd5b506101c7610389366004611944565b610bd3565b34801561039a57600080fd5b503360009081526008602052604090205415610197565b3480156103bd57600080fd5b506101976103cc3660046117c8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b34801561040657600080fd5b506101c76104153660046118e1565b610be2565b34801561042657600080fd5b506101c76104353660046117a7565b610c69565b34801561044657600080fd5b506101c7610455366004611996565b610d04565b60006001600160a01b0383166104cb5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b03198216636cdb3d1360e11b148061052257506001600160e01b031982166303a24d0760e21b145b8061053d57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6003546001600160a01b0316331461056d5760405162461bcd60e51b81526004016104c290611d50565b6005805460ff1916911515919091179055565b336001600160a01b038516146105d85760405162461bcd60e51b815260206004820152601e60248201527f4f6e6c79206f776e6572206f66204e46542063616e207472616e73666572000060448201526064016104c2565b600081116106285760405162461bcd60e51b815260206004820152601f60248201527f6e65656420746f207472616e73666572206174206c656173742031204e46540060448201526064016104c2565b6106448484848460405180602001604052806000815250610d24565b50505050565b60606002805461065990611e00565b80601f016020809104026020016040519081016040528092919081815260200182805461068590611e00565b80156106d25780601f106106a7576101008083540402835291602001916106d2565b820191906000526020600020905b8154815290600101906020018083116106b557829003601f168201915b50505050509050919050565b6001600160a01b0385163314806106fa57506106fa85336103cc565b6107615760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016104c2565b61076e8585858585610e4e565b5050505050565b6003546001600160a01b0316331461079f5760405162461bcd60e51b81526004016104c290611d50565b4760006107af620f424083611dc1565b6107bc90620f4240611de1565b6040519091506000907363bfdd398b74c208edb8a7e45910d0aac4858d6a9083908381818185875af1925050503d8060008114610815576040519150601f19603f3d011682016040523d82523d6000602084013e61081a565b606091505b505090508061082857600080fd5b505050565b6003546001600160a01b031633146108575760405162461bcd60e51b81526004016104c290611d50565b600655565b606081518351146108c15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016104c2565b6000835167ffffffffffffffff8111156108eb57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610914578160200160208202803683370190505b50905060005b84518110156109b65761097b85828151811061094657634e487b7160e01b600052603260045260246000fd5b602002602001015185838151811061096e57634e487b7160e01b600052603260045260246000fd5b602002602001015161045a565b82828151811061099b57634e487b7160e01b600052603260045260246000fd5b60209081029190910101526109af81611e68565b905061091a565b509392505050565b6003546001600160a01b031633146109e85760405162461bcd60e51b81526004016104c290611d50565b6109f26000611047565b565b6003546001600160a01b03163314610a1e5760405162461bcd60e51b81526004016104c290611d50565b600455565b6004546007541115610a6c5760405162461bcd60e51b81526020600482015260126024820152711b585e08185b5bdd5b9d081c995858da195960721b60448201526064016104c2565b6003546001600160a01b03163314610b9d5760055460ff1615610aca5760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b60448201526064016104c2565b600654341015610b115760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b60448201526064016104c2565b33600090815260086020526040902054600311610b7c5760405162461bcd60e51b815260206004820152602360248201527f6d6178206d696e7420616d6f756e74207065722077616c6c657420657863656560448201526219195960ea1b60648201526084016104c2565b336000908152600860205260408120805491610b9783611e68565b91905055505b610bb93360018360405180602001604052806000815250611099565b8060076000828254610bcb9190611da9565b909155505050565b610bde3383836111ad565b5050565b6001600160a01b038516331480610bfe5750610bfe85336103cc565b610c5c5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016104c2565b61076e8585858585610d24565b6003546001600160a01b03163314610c935760405162461bcd60e51b81526004016104c290611d50565b6001600160a01b038116610cf85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104c2565b610d0181611047565b50565b336001600160a01b03841614610d1957600080fd5b61082883838361128e565b6001600160a01b038416610d4a5760405162461bcd60e51b81526004016104c290611cc1565b336000610d568561140a565b90506000610d638561140a565b90506000868152602081815260408083206001600160a01b038c16845290915290205485811015610da65760405162461bcd60e51b81526004016104c290611d06565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290610de3908490611da9565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610e43848a8a8a8a8a611463565b505050505050505050565b8151835114610eb05760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016104c2565b6001600160a01b038416610ed65760405162461bcd60e51b81526004016104c290611cc1565b3360005b8451811015610fd9576000858281518110610f0557634e487b7160e01b600052603260045260246000fd5b602002602001015190506000858381518110610f3157634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610f815760405162461bcd60e51b81526004016104c290611d06565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610fbe908490611da9565b9250508190555050505080610fd290611e68565b9050610eda565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611029929190611c38565b60405180910390a461103f8187878787876115ce565b505050505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166110f95760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016104c2565b3360006111058561140a565b905060006111128561140a565b90506000868152602081815260408083206001600160a01b038b16845290915281208054879290611144908490611da9565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46111a483600089898989611463565b50505050505050565b816001600160a01b0316836001600160a01b031614156112215760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016104c2565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383166112f05760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b60648201526084016104c2565b3360006112fc8461140a565b905060006113098461140a565b60408051602080820183526000918290528882528181528282206001600160a01b038b16835290522054909150848110156113925760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b60648201526084016104c2565b6000868152602081815260408083206001600160a01b038b81168086529184528285208a8703905582518b81529384018a90529092908816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46040805160208101909152600090526111a4565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061145257634e487b7160e01b600052603260045260246000fd5b602090810291909101015292915050565b6001600160a01b0384163b1561103f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906114a79089908990889088908890600401611be0565b602060405180830381600087803b1580156114c157600080fd5b505af19250505080156114f1575060408051601f3d908101601f191682019092526114ee91810190611ac9565b60015b61159e576114fd611eaf565b806308c379a014156115375750611512611ec7565b8061151d5750611539565b8060405162461bcd60e51b81526004016104c29190611c66565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016104c2565b6001600160e01b0319811663f23a6e6160e01b146111a45760405162461bcd60e51b81526004016104c290611c79565b6001600160a01b0384163b1561103f5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906116129089908990889088908890600401611b82565b602060405180830381600087803b15801561162c57600080fd5b505af192505050801561165c575060408051601f3d908101601f1916820190925261165991810190611ac9565b60015b611668576114fd611eaf565b6001600160e01b0319811663bc197c8160e01b146111a45760405162461bcd60e51b81526004016104c290611c79565b80356001600160a01b03811681146116af57600080fd5b919050565b600082601f8301126116c4578081fd5b813560206116d182611d85565b6040516116de8282611e3b565b8381528281019150858301600585901b870184018810156116fd578586fd5b855b8581101561171b578135845292840192908401906001016116ff565b5090979650505050505050565b803580151581146116af57600080fd5b600082601f830112611748578081fd5b813567ffffffffffffffff81111561176257611762611e99565b604051611779601f8301601f191660200182611e3b565b81815284602083860101111561178d578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156117b8578081fd5b6117c182611698565b9392505050565b600080604083850312156117da578081fd5b6117e383611698565b91506117f160208401611698565b90509250929050565b600080600080600060a08688031215611811578081fd5b61181a86611698565b945061182860208701611698565b9350604086013567ffffffffffffffff80821115611844578283fd5b61185089838a016116b4565b94506060880135915080821115611865578283fd5b61187189838a016116b4565b93506080880135915080821115611886578283fd5b5061189388828901611738565b9150509295509295909350565b600080600080608085870312156118b5578384fd5b6118be85611698565b93506118cc60208601611698565b93969395505050506040820135916060013590565b600080600080600060a086880312156118f8578081fd5b61190186611698565b945061190f60208701611698565b93506040860135925060608601359150608086013567ffffffffffffffff811115611938578182fd5b61189388828901611738565b60008060408385031215611956578182fd5b61195f83611698565b91506117f160208401611728565b6000806040838503121561197f578182fd5b61198883611698565b946020939093013593505050565b6000806000606084860312156119aa578283fd5b6119b384611698565b95602085013595506040909401359392505050565b600080604083850312156119da578081fd5b823567ffffffffffffffff808211156119f1578283fd5b818501915085601f830112611a04578283fd5b81356020611a1182611d85565b604051611a1e8282611e3b565b8381528281019150858301600585901b870184018b1015611a3d578788fd5b8796505b84871015611a6657611a5281611698565b835260019690960195918301918301611a41565b5096505086013592505080821115611a7c578283fd5b50611a89858286016116b4565b9150509250929050565b600060208284031215611aa4578081fd5b6117c182611728565b600060208284031215611abe578081fd5b81356117c181611f51565b600060208284031215611ada578081fd5b81516117c181611f51565b600060208284031215611af6578081fd5b5035919050565b6000815180845260208085019450808401835b83811015611b2c57815187529582019590820190600101611b10565b509495945050505050565b60008151808452815b81811015611b5c57602081850181015186830182015201611b40565b81811115611b6d5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b0386811682528516602082015260a060408201819052600090611bae90830186611afd565b8281036060840152611bc08186611afd565b90508281036080840152611bd48185611b37565b98975050505050505050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090611c1a90830184611b37565b979650505050505050565b6020815260006117c16020830184611afd565b604081526000611c4b6040830185611afd565b8281036020840152611c5d8185611afd565b95945050505050565b6020815260006117c16020830184611b37565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600067ffffffffffffffff821115611d9f57611d9f611e99565b5060051b60200190565b60008219821115611dbc57611dbc611e83565b500190565b600082611ddc57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611dfb57611dfb611e83565b500290565b600181811c90821680611e1457607f821691505b60208210811415611e3557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8201601f1916810167ffffffffffffffff81118282101715611e6157611e61611e99565b6040525050565b6000600019821415611e7c57611e7c611e83565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b600060033d1115611ec457600481823e5160e01c5b90565b600060443d1015611ed55790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611f0557505050505090565b8285019150815181811115611f1d5750505050505090565b843d8701016020828501011115611f375750505050505090565b611f4660208286010187611e3b565b509095945050505050565b6001600160e01b031981168114610d0157600080fdfea26469706673582212203aed29281f58c9c9f1e30fa6c7c6f97134f2c33f9cb60a85f8fa3137131852af64736f6c63430008040033

Deployed Bytecode Sourcemap

38888:2576:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20902:231;;;;;;;;;;-1:-1:-1;20902:231:0;;;;;:::i;:::-;;:::i;:::-;;;19570:25:1;;;19558:2;19543:18;20902:231:0;;;;;;;;19925:310;;;;;;;;;;-1:-1:-1;19925:310:0;;;;;:::i;:::-;;:::i;:::-;;;10909:14:1;;10902:22;10884:41;;10872:2;10857:18;19925:310:0;10839:92:1;40711:79:0;;;;;;;;;;-1:-1:-1;40711:79:0;;;;;:::i;:::-;;:::i;:::-;;39932:321;;;;;;;;;;-1:-1:-1;39932:321:0;;;;;:::i;:::-;;:::i;20646:105::-;;;;;;;;;;-1:-1:-1;20646:105:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;39077:32::-;;;;;;;;;;;;;;;;39142:55;;;;;;;;;;-1:-1:-1;39142:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;38939:35;;;;;;;;;;;;;;;;22841:442;;;;;;;;;;-1:-1:-1;22841:442:0;;;;;:::i;:::-;;:::i;40798:663::-;;;:::i;40487:86::-;;;;;;;;;;-1:-1:-1;40487:86:0;;;;;:::i;:::-;;:::i;21299:524::-;;;;;;;;;;-1:-1:-1;21299:524:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;39004:26::-;;;;;;;;;;-1:-1:-1;39004:26:0;;;;;;;;37995:103;;;;;;;;;;;;;:::i;40581:122::-;;;;;;;;;;-1:-1:-1;40581:122:0;;;;;:::i;:::-;;:::i;37344:87::-;;;;;;;;;;-1:-1:-1;37417:6:0;;37344:87;;-1:-1:-1;;;;;37417:6:0;;;8550:51:1;;8538:2;8523:18;37344:87:0;8505:102:1;39296:507:0;;;;;;:::i;:::-;;:::i;21896:155::-;;;;;;;;;;-1:-1:-1;21896:155:0;;;;;:::i;:::-;;:::i;39811:113::-;;;;;;;;;;-1:-1:-1;39900:10:0;39855:4;39879:32;;;:20;:32;;;;;;:37;39811:113;;22123:168;;;;;;;;;;-1:-1:-1;22123:168:0;;;;;:::i;:::-;-1:-1:-1;;;;;22246:27:0;;;22222:4;22246:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;22123:168;22363:401;;;;;;;;;;-1:-1:-1;22363:401:0;;;;;:::i;:::-;;:::i;38253:201::-;;;;;;;;;;-1:-1:-1;38253:201:0;;;;;:::i;:::-;;:::i;40261:186::-;;;;;;;;;;-1:-1:-1;40261:186:0;;;;;:::i;:::-;;:::i;20902:231::-;20988:7;-1:-1:-1;;;;;21016:21:0;;21008:77;;;;-1:-1:-1;;;21008:77:0;;12596:2:1;21008:77:0;;;12578:21:1;12635:2;12615:18;;;12608:30;12674:34;12654:18;;;12647:62;-1:-1:-1;;;12725:18:1;;;12718:41;12776:19;;21008:77:0;;;;;;;;;-1:-1:-1;21103:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;21103:22:0;;;;;;;;;;;;20902:231::o;19925:310::-;20027:4;-1:-1:-1;;;;;;20064:41:0;;-1:-1:-1;;;20064:41:0;;:110;;-1:-1:-1;;;;;;;20122:52:0;;-1:-1:-1;;;20122:52:0;20064:110;:163;;;-1:-1:-1;;;;;;;;;;10434:40:0;;;20191:36;20044:183;19925:310;-1:-1:-1;;19925:310:0:o;40711:79::-;37417:6;;-1:-1:-1;;;;;37417:6:0;18699:10;37564:23;37556:68;;;;-1:-1:-1;;;37556:68:0;;;;;;;:::i;:::-;40767:6:::1;:15:::0;;-1:-1:-1;;40767:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;40711:79::o;39932:321::-;40073:10;-1:-1:-1;;;;;40073:18:0;;;40065:61;;;;-1:-1:-1;;;40065:61:0;;16577:2:1;40065:61:0;;;16559:21:1;16616:2;16596:18;;;16589:30;16655:32;16635:18;;;16628:60;16705:18;;40065:61:0;16549:180:1;40065:61:0;40154:1;40145:6;:10;40137:54;;;;-1:-1:-1;;;40137:54:0;;13820:2:1;40137:54:0;;;13802:21:1;13859:2;13839:18;;;13832:30;13898:33;13878:18;;;13871:61;13949:18;;40137:54:0;13792:181:1;40137:54:0;40202:43;40220:4;40226:2;40230;40234:6;40202:43;;;;;;;;;;;;:17;:43::i;:::-;39932:321;;;;:::o;20646:105::-;20706:13;20739:4;20732:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20646:105;;;:::o;22841:442::-;-1:-1:-1;;;;;23074:20:0;;18699:10;23074:20;;:60;;-1:-1:-1;23098:36:0;23115:4;18699:10;22123:168;:::i;23098:36::-;23052:160;;;;-1:-1:-1;;;23052:160:0;;15343:2:1;23052:160:0;;;15325:21:1;15382:2;15362:18;;;15355:30;15421:34;15401:18;;;15394:62;-1:-1:-1;;;15472:18:1;;;15465:48;15530:19;;23052:160:0;15315:240:1;23052:160:0;23223:52;23246:4;23252:2;23256:3;23261:7;23270:4;23223:22;:52::i;:::-;22841:442;;;;;:::o;40798:663::-;37417:6;;-1:-1:-1;;;;;37417:6:0;18699:10;37564:23;37556:68;;;;-1:-1:-1;;;37556:68:0;;;;;;;:::i;:::-;41113:21:::1;41090:20;41169:22;41184:7;41113:21:::0;41169:22:::1;:::i;:::-;41168:34;::::0;41195:7:::1;41168:34;:::i;:::-;41227:105;::::0;41145:57;;-1:-1:-1;41214:7:0::1;::::0;41235:42:::1;::::0;41145:57;;41214:7;41227:105;41214:7;41227:105;41145:57;41235:42;41227:105:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41213:119;;;41351:2;41343:11;;;::::0;::::1;;37635:1;;;40798:663::o:0;40487:86::-;37417:6;;-1:-1:-1;;;;;37417:6:0;18699:10;37564:23;37556:68;;;;-1:-1:-1;;;37556:68:0;;;;;;;:::i;:::-;40550:4:::1;:15:::0;40487:86::o;21299:524::-;21455:16;21516:3;:10;21497:8;:15;:29;21489:83;;;;-1:-1:-1;;;21489:83:0;;18405:2:1;21489:83:0;;;18387:21:1;18444:2;18424:18;;;18417:30;18483:34;18463:18;;;18456:62;-1:-1:-1;;;18534:18:1;;;18527:39;18583:19;;21489:83:0;18377:231:1;21489:83:0;21585:30;21632:8;:15;21618:30;;;;;;-1:-1:-1;;;21618:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21618:30:0;;21585:63;;21666:9;21661:122;21685:8;:15;21681:1;:19;21661:122;;;21741:30;21751:8;21760:1;21751:11;;;;;;-1:-1:-1;;;21751:11:0;;;;;;;;;;;;;;;21764:3;21768:1;21764:6;;;;;;-1:-1:-1;;;21764:6:0;;;;;;;;;;;;;;;21741:9;:30::i;:::-;21722:13;21736:1;21722:16;;;;;;-1:-1:-1;;;21722:16:0;;;;;;;;;;;;;;;;;;:49;21702:3;;;:::i;:::-;;;21661:122;;;-1:-1:-1;21802:13:0;21299:524;-1:-1:-1;;;21299:524:0:o;37995:103::-;37417:6;;-1:-1:-1;;;;;37417:6:0;18699:10;37564:23;37556:68;;;;-1:-1:-1;;;37556:68:0;;;;;;;:::i;:::-;38060:30:::1;38087:1;38060:18;:30::i;:::-;37995:103::o:0;40581:122::-;37417:6;;-1:-1:-1;;;;;37417:6:0;18699:10;37564:23;37556:68;;;;-1:-1:-1;;;37556:68:0;;;;;;;:::i;:::-;40662:13:::1;:33:::0;40581:122::o;39296:507::-;39371:13;;39360:7;;:24;;39352:55;;;;-1:-1:-1;;;39352:55:0;;14590:2:1;39352:55:0;;;14572:21:1;14629:2;14609:18;;;14602:30;-1:-1:-1;;;14648:18:1;;;14641:48;14706:18;;39352:55:0;14562:168:1;39352:55:0;37417:6;;-1:-1:-1;;;;;37417:6:0;39422:10;:21;39418:307;;39469:6;;;;39468:7;39460:42;;;;-1:-1:-1;;;39460:42:0;;17297:2:1;39460:42:0;;;17279:21:1;17336:2;17316:18;;;17309:30;-1:-1:-1;;;17355:18:1;;;17348:52;17417:18;;39460:42:0;17269:172:1;39460:42:0;39538:4;;39525:9;:17;;39517:48;;;;-1:-1:-1;;;39517:48:0;;17648:2:1;39517:48:0;;;17630:21:1;17687:2;17667:18;;;17660:30;-1:-1:-1;;;17706:18:1;;;17699:48;17764:18;;39517:48:0;17620:168:1;39517:48:0;39609:10;39588:32;;;;:20;:32;;;;;;39623:1;-1:-1:-1;39580:84:0;;;;-1:-1:-1;;;39580:84:0;;12192:2:1;39580:84:0;;;12174:21:1;12231:2;12211:18;;;12204:30;12270:34;12250:18;;;12243:62;-1:-1:-1;;;12321:18:1;;;12314:33;12364:19;;39580:84:0;12164:225:1;39580:84:0;39700:10;39679:32;;;;:20;:32;;;;;:34;;;;;;:::i;:::-;;;;;;39418:307;39735:32;39741:10;39753:1;39756:6;39735:32;;;;;;;;;;;;:5;:32::i;:::-;39789:6;39778:7;;:17;;;;;;;:::i;:::-;;;;-1:-1:-1;;;39296:507:0:o;21896:155::-;21991:52;18699:10;22024:8;22034;21991:18;:52::i;:::-;21896:155;;:::o;22363:401::-;-1:-1:-1;;;;;22571:20:0;;18699:10;22571:20;;:60;;-1:-1:-1;22595:36:0;22612:4;18699:10;22123:168;:::i;22595:36::-;22549:151;;;;-1:-1:-1;;;22549:151:0;;14180:2:1;22549:151:0;;;14162:21:1;14219:2;14199:18;;;14192:30;14258:34;14238:18;;;14231:62;-1:-1:-1;;;14309:18:1;;;14302:39;14358:19;;22549:151:0;14152:231:1;22549:151:0;22711:45;22729:4;22735:2;22739;22743:6;22751:4;22711:17;:45::i;38253:201::-;37417:6;;-1:-1:-1;;;;;37417:6:0;18699:10;37564:23;37556:68;;;;-1:-1:-1;;;37556:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;38342:22:0;::::1;38334:73;;;::::0;-1:-1:-1;;;38334:73:0;;13008:2:1;38334:73:0::1;::::0;::::1;12990:21:1::0;13047:2;13027:18;;;13020:30;13086:34;13066:18;;;13059:62;-1:-1:-1;;;13137:18:1;;;13130:36;13183:19;;38334:73:0::1;12980:228:1::0;38334:73:0::1;38418:28;38437:8;38418:18;:28::i;:::-;38253:201:::0;:::o;40261:186::-;40380:10;-1:-1:-1;;;;;40380:21:0;;;40372:30;;;;;;40413:26;40419:7;40428:2;40432:6;40413:5;:26::i;23747:974::-;-1:-1:-1;;;;;23935:16:0;;23927:66;;;;-1:-1:-1;;;23927:66:0;;;;;;;:::i;:::-;18699:10;24006:16;24071:21;24089:2;24071:17;:21::i;:::-;24048:44;;24103:24;24130:25;24148:6;24130:17;:25::i;:::-;24103:52;;24241:19;24263:13;;;;;;;;;;;-1:-1:-1;;;;;24263:19:0;;;;;;;;;;24301:21;;;;24293:76;;;;-1:-1:-1;;;24293:76:0;;;;;;;:::i;:::-;24405:9;:13;;;;;;;;;;;-1:-1:-1;;;;;24405:19:0;;;;;;;;;;24427:20;;;24405:42;;24469:17;;;;;;;:27;;24427:20;;24405:9;24469:27;;24427:20;;24469:27;:::i;:::-;;;;-1:-1:-1;;24514:46:0;;;19780:25:1;;;19836:2;19821:18;;19814:34;;;-1:-1:-1;;;;;24514:46:0;;;;;;;;;;;;;;19753:18:1;24514:46:0;;;;;;;24645:68;24676:8;24686:4;24692:2;24696;24700:6;24708:4;24645:30;:68::i;:::-;23747:974;;;;;;;;;:::o;25079:1146::-;25306:7;:14;25292:3;:10;:28;25284:81;;;;-1:-1:-1;;;25284:81:0;;18815:2:1;25284:81:0;;;18797:21:1;18854:2;18834:18;;;18827:30;18893:34;18873:18;;;18866:62;-1:-1:-1;;;18944:18:1;;;18937:38;18992:19;;25284:81:0;18787:230:1;25284:81:0;-1:-1:-1;;;;;25384:16:0;;25376:66;;;;-1:-1:-1;;;25376:66:0;;;;;;;:::i;:::-;18699:10;25455:16;25572:421;25596:3;:10;25592:1;:14;25572:421;;;25628:10;25641:3;25645:1;25641:6;;;;;;-1:-1:-1;;;25641:6:0;;;;;;;;;;;;;;;25628:19;;25662:14;25679:7;25687:1;25679:10;;;;;;-1:-1:-1;;;25679:10:0;;;;;;;;;;;;;;;;;;;;25706:19;25728:13;;;;;;;;;;-1:-1:-1;;;;;25728:19:0;;;;;;;;;;;;25679:10;;-1:-1:-1;25770:21:0;;;;25762:76;;;;-1:-1:-1;;;25762:76:0;;;;;;;:::i;:::-;25882:9;:13;;;;;;;;;;;-1:-1:-1;;;;;25882:19:0;;;;;;;;;;25904:20;;;25882:42;;25954:17;;;;;;;:27;;25904:20;;25882:9;25954:27;;25904:20;;25954:27;:::i;:::-;;;;;;;;25572:421;;;25608:3;;;;:::i;:::-;;;25572:421;;;;26040:2;-1:-1:-1;;;;;26010:47:0;26034:4;-1:-1:-1;;;;;26010:47:0;26024:8;-1:-1:-1;;;;;26010:47:0;;26044:3;26049:7;26010:47;;;;;;;:::i;:::-;;;;;;;;26142:75;26178:8;26188:4;26194:2;26198:3;26203:7;26212:4;26142:35;:75::i;:::-;25079:1146;;;;;;:::o;38614:191::-;38707:6;;;-1:-1:-1;;;;;38724:17:0;;;-1:-1:-1;;;;;;38724:17:0;;;;;;;38757:40;;38707:6;;;38724:17;38707:6;;38757:40;;38688:16;;38757:40;38614:191;;:::o;27543:729::-;-1:-1:-1;;;;;27696:16:0;;27688:62;;;;-1:-1:-1;;;27688:62:0;;19224:2:1;27688:62:0;;;19206:21:1;19263:2;19243:18;;;19236:30;19302:34;19282:18;;;19275:62;-1:-1:-1;;;19353:18:1;;;19346:31;19394:19;;27688:62:0;19196:223:1;27688:62:0;18699:10;27763:16;27828:21;27846:2;27828:17;:21::i;:::-;27805:44;;27860:24;27887:25;27905:6;27887:17;:25::i;:::-;27860:52;;28004:9;:13;;;;;;;;;;;-1:-1:-1;;;;;28004:17:0;;;;;;;;;:27;;28025:6;;28004:9;:27;;28025:6;;28004:27;:::i;:::-;;;;-1:-1:-1;;28047:52:0;;;19780:25:1;;;19836:2;19821:18;;19814:34;;;-1:-1:-1;;;;;28047:52:0;;;;28080:1;;28047:52;;;;;;19753:18:1;28047:52:0;;;;;;;28190:74;28221:8;28239:1;28243:2;28247;28251:6;28259:4;28190:30;:74::i;:::-;27543:729;;;;;;;:::o;31813:331::-;31968:8;-1:-1:-1;;;;;31959:17:0;:5;-1:-1:-1;;;;;31959:17:0;;;31951:71;;;;-1:-1:-1;;;31951:71:0;;17995:2:1;31951:71:0;;;17977:21:1;18034:2;18014:18;;;18007:30;18073:34;18053:18;;;18046:62;-1:-1:-1;;;18124:18:1;;;18117:39;18173:19;;31951:71:0;17967:231:1;31951:71:0;-1:-1:-1;;;;;32033:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;32033:46:0;;;;;;;;;;32095:41;;10884::1;;;32095::0;;10857:18:1;32095:41:0;;;;;;;31813:331;;;:::o;29691:808::-;-1:-1:-1;;;;;29818:18:0;;29810:66;;;;-1:-1:-1;;;29810:66:0;;15762:2:1;29810:66:0;;;15744:21:1;15801:2;15781:18;;;15774:30;15840:34;15820:18;;;15813:62;-1:-1:-1;;;15891:18:1;;;15884:33;15934:19;;29810:66:0;15734:225:1;29810:66:0;18699:10;29889:16;29954:21;29972:2;29954:17;:21::i;:::-;29931:44;;29986:24;30013:25;30031:6;30013:17;:25::i;:::-;30051:66;;;;;;;;;-1:-1:-1;30051:66:0;;;;30152:13;;;;;;;;;-1:-1:-1;;;;;30152:19:0;;;;;;;;29986:52;;-1:-1:-1;30190:21:0;;;;30182:70;;;;-1:-1:-1;;;30182:70:0;;13415:2:1;30182:70:0;;;13397:21:1;13454:2;13434:18;;;13427:30;13493:34;13473:18;;;13466:62;-1:-1:-1;;;13544:18:1;;;13537:34;13588:19;;30182:70:0;13387:226:1;30182:70:0;30288:9;:13;;;;;;;;;;;-1:-1:-1;;;;;30288:19:0;;;;;;;;;;;;30310:20;;;30288:42;;30359:54;;19780:25:1;;;19821:18;;;19814:34;;;30288:19:0;;30359:54;;;;;;19753:18:1;30359:54:0;;;;;;;30426:65;;;;;;;;;30470:1;30426:65;;;25079:1146;36077:198;36197:16;;;36211:1;36197:16;;;;;;;;;36143;;36172:22;;36197:16;;;;;;;;;;;;-1:-1:-1;36197:16:0;36172:41;;36235:7;36224:5;36230:1;36224:8;;;;;;-1:-1:-1;;;36224:8:0;;;;;;;;;;;;;;;;;;:18;36262:5;36077:198;-1:-1:-1;;36077:198:0:o;34504:744::-;-1:-1:-1;;;;;34719:13:0;;1568:19;:23;34715:526;;34755:72;;-1:-1:-1;;;34755:72:0;;-1:-1:-1;;;;;34755:38:0;;;;;:72;;34794:8;;34804:4;;34810:2;;34814:6;;34822:4;;34755:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34755:72:0;;;;;;;;-1:-1:-1;;34755:72:0;;;;;;;;;;;;:::i;:::-;;;34751:479;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;35103:6;35096:14;;-1:-1:-1;;;35096:14:0;;;;;;;;:::i;34751:479::-;;;35152:62;;-1:-1:-1;;;35152:62:0;;11362:2:1;35152:62:0;;;11344:21:1;11401:2;11381:18;;;11374:30;11440:34;11420:18;;;11413:62;-1:-1:-1;;;11491:18:1;;;11484:50;11551:19;;35152:62:0;11334:242:1;34751:479:0;-1:-1:-1;;;;;;34877:55:0;;-1:-1:-1;;;34877:55:0;34873:154;;34957:50;;-1:-1:-1;;;34957:50:0;;;;;;;:::i;35256:813::-;-1:-1:-1;;;;;35496:13:0;;1568:19;:23;35492:570;;35532:79;;-1:-1:-1;;;35532:79:0;;-1:-1:-1;;;;;35532:43:0;;;;;:79;;35576:8;;35586:4;;35592:3;;35597:7;;35606:4;;35532:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35532:79:0;;;;;;;;-1:-1:-1;;35532:79:0;;;;;;;;;;;;:::i;:::-;;;35528:523;;;;:::i;:::-;-1:-1:-1;;;;;;35693:60:0;;-1:-1:-1;;;35693:60:0;35689:159;;35778:50;;-1:-1:-1;;;35778:50:0;;;;;;;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:755::-;246:5;299:3;292:4;284:6;280:17;276:27;266:2;;321:5;314;307:20;266:2;361:6;348:20;387:4;410:43;450:2;410:43;:::i;:::-;482:2;476:9;494:31;522:2;514:6;494:31;:::i;:::-;560:18;;;594:15;;;;-1:-1:-1;629:15:1;;;679:1;675:10;;;663:23;;659:32;;656:41;-1:-1:-1;653:2:1;;;714:5;707;700:20;653:2;740:5;754:163;768:2;765:1;762:9;754:163;;;825:17;;813:30;;863:12;;;;895;;;;786:1;779:9;754:163;;;-1:-1:-1;935:6:1;;256:691;-1:-1:-1;;;;;;;256:691:1:o;952:160::-;1017:20;;1073:13;;1066:21;1056:32;;1046:2;;1102:1;1099;1092:12;1117:575;1159:5;1212:3;1205:4;1197:6;1193:17;1189:27;1179:2;;1234:5;1227;1220:20;1179:2;1274:6;1261:20;1300:18;1296:2;1293:26;1290:2;;;1322:18;;:::i;:::-;1371:2;1365:9;1383:67;1438:2;1419:13;;-1:-1:-1;;1415:27:1;1444:4;1411:38;1365:9;1383:67;:::i;:::-;1474:2;1466:6;1459:18;1520:3;1513:4;1508:2;1500:6;1496:15;1492:26;1489:35;1486:2;;;1541:5;1534;1527:20;1486:2;1609;1602:4;1594:6;1590:17;1583:4;1575:6;1571:17;1558:54;1632:15;;;1649:4;1628:26;1621:41;;;;1636:6;1169:523;-1:-1:-1;;1169:523:1:o;1697:196::-;1756:6;1809:2;1797:9;1788:7;1784:23;1780:32;1777:2;;;1830:6;1822;1815:22;1777:2;1858:29;1877:9;1858:29;:::i;:::-;1848:39;1767:126;-1:-1:-1;;;1767:126:1:o;1898:270::-;1966:6;1974;2027:2;2015:9;2006:7;2002:23;1998:32;1995:2;;;2048:6;2040;2033:22;1995:2;2076:29;2095:9;2076:29;:::i;:::-;2066:39;;2124:38;2158:2;2147:9;2143:18;2124:38;:::i;:::-;2114:48;;1985:183;;;;;:::o;2173:983::-;2327:6;2335;2343;2351;2359;2412:3;2400:9;2391:7;2387:23;2383:33;2380:2;;;2434:6;2426;2419:22;2380:2;2462:29;2481:9;2462:29;:::i;:::-;2452:39;;2510:38;2544:2;2533:9;2529:18;2510:38;:::i;:::-;2500:48;;2599:2;2588:9;2584:18;2571:32;2622:18;2663:2;2655:6;2652:14;2649:2;;;2684:6;2676;2669:22;2649:2;2712:61;2765:7;2756:6;2745:9;2741:22;2712:61;:::i;:::-;2702:71;;2826:2;2815:9;2811:18;2798:32;2782:48;;2855:2;2845:8;2842:16;2839:2;;;2876:6;2868;2861:22;2839:2;2904:63;2959:7;2948:8;2937:9;2933:24;2904:63;:::i;:::-;2894:73;;3020:3;3009:9;3005:19;2992:33;2976:49;;3050:2;3040:8;3037:16;3034:2;;;3071:6;3063;3056:22;3034:2;;3099:51;3142:7;3131:8;3120:9;3116:24;3099:51;:::i;:::-;3089:61;;;2370:786;;;;;;;;:::o;3161:407::-;3247:6;3255;3263;3271;3324:3;3312:9;3303:7;3299:23;3295:33;3292:2;;;3346:6;3338;3331:22;3292:2;3374:29;3393:9;3374:29;:::i;:::-;3364:39;;3422:38;3456:2;3445:9;3441:18;3422:38;:::i;:::-;3282:286;;3412:48;;-1:-1:-1;;;;3507:2:1;3492:18;;3479:32;;3558:2;3543:18;3530:32;;3282:286::o;3573:626::-;3677:6;3685;3693;3701;3709;3762:3;3750:9;3741:7;3737:23;3733:33;3730:2;;;3784:6;3776;3769:22;3730:2;3812:29;3831:9;3812:29;:::i;:::-;3802:39;;3860:38;3894:2;3883:9;3879:18;3860:38;:::i;:::-;3850:48;;3945:2;3934:9;3930:18;3917:32;3907:42;;3996:2;3985:9;3981:18;3968:32;3958:42;;4051:3;4040:9;4036:19;4023:33;4079:18;4071:6;4068:30;4065:2;;;4116:6;4108;4101:22;4065:2;4144:49;4185:7;4176:6;4165:9;4161:22;4144:49;:::i;4204:264::-;4269:6;4277;4330:2;4318:9;4309:7;4305:23;4301:32;4298:2;;;4351:6;4343;4336:22;4298:2;4379:29;4398:9;4379:29;:::i;:::-;4369:39;;4427:35;4458:2;4447:9;4443:18;4427:35;:::i;4473:264::-;4541:6;4549;4602:2;4590:9;4581:7;4577:23;4573:32;4570:2;;;4623:6;4615;4608:22;4570:2;4651:29;4670:9;4651:29;:::i;:::-;4641:39;4727:2;4712:18;;;;4699:32;;-1:-1:-1;;;4560:177:1:o;4742:332::-;4819:6;4827;4835;4888:2;4876:9;4867:7;4863:23;4859:32;4856:2;;;4909:6;4901;4894:22;4856:2;4937:29;4956:9;4937:29;:::i;:::-;4927:39;5013:2;4998:18;;4985:32;;-1:-1:-1;5064:2:1;5049:18;;;5036:32;;4846:228;-1:-1:-1;;;4846:228:1:o;5079:1274::-;5197:6;5205;5258:2;5246:9;5237:7;5233:23;5229:32;5226:2;;;5279:6;5271;5264:22;5226:2;5324:9;5311:23;5353:18;5394:2;5386:6;5383:14;5380:2;;;5415:6;5407;5400:22;5380:2;5458:6;5447:9;5443:22;5433:32;;5503:7;5496:4;5492:2;5488:13;5484:27;5474:2;;5530:6;5522;5515:22;5474:2;5571;5558:16;5593:4;5616:43;5656:2;5616:43;:::i;:::-;5688:2;5682:9;5700:31;5728:2;5720:6;5700:31;:::i;:::-;5766:18;;;5800:15;;;;-1:-1:-1;5835:11:1;;;5877:1;5873:10;;;5865:19;;5861:28;;5858:41;-1:-1:-1;5855:2:1;;;5917:6;5909;5902:22;5855:2;5944:6;5935:15;;5959:169;5973:2;5970:1;5967:9;5959:169;;;6030:23;6049:3;6030:23;:::i;:::-;6018:36;;5991:1;5984:9;;;;;6074:12;;;;6106;;5959:169;;;-1:-1:-1;6147:6:1;-1:-1:-1;;6191:18:1;;6178:32;;-1:-1:-1;;6222:16:1;;;6219:2;;;6256:6;6248;6241:22;6219:2;;6284:63;6339:7;6328:8;6317:9;6313:24;6284:63;:::i;:::-;6274:73;;;5216:1137;;;;;:::o;6358:190::-;6414:6;6467:2;6455:9;6446:7;6442:23;6438:32;6435:2;;;6488:6;6480;6473:22;6435:2;6516:26;6532:9;6516:26;:::i;6553:255::-;6611:6;6664:2;6652:9;6643:7;6639:23;6635:32;6632:2;;;6685:6;6677;6670:22;6632:2;6729:9;6716:23;6748:30;6772:5;6748:30;:::i;6813:259::-;6882:6;6935:2;6923:9;6914:7;6910:23;6906:32;6903:2;;;6956:6;6948;6941:22;6903:2;6993:9;6987:16;7012:30;7036:5;7012:30;:::i;7077:190::-;7136:6;7189:2;7177:9;7168:7;7164:23;7160:32;7157:2;;;7210:6;7202;7195:22;7157:2;-1:-1:-1;7238:23:1;;7147:120;-1:-1:-1;7147:120:1:o;7272:437::-;7325:3;7363:5;7357:12;7390:6;7385:3;7378:19;7416:4;7445:2;7440:3;7436:12;7429:19;;7482:2;7475:5;7471:14;7503:3;7515:169;7529:6;7526:1;7523:13;7515:169;;;7590:13;;7578:26;;7624:12;;;;7659:15;;;;7551:1;7544:9;7515:169;;;-1:-1:-1;7700:3:1;;7333:376;-1:-1:-1;;;;;7333:376:1:o;7714:475::-;7755:3;7793:5;7787:12;7820:6;7815:3;7808:19;7845:3;7857:162;7871:6;7868:1;7865:13;7857:162;;;7933:4;7989:13;;;7985:22;;7979:29;7961:11;;;7957:20;;7950:59;7886:12;7857:162;;;8037:6;8034:1;8031:13;8028:2;;;8103:3;8096:4;8087:6;8082:3;8078:16;8074:27;8067:40;8028:2;-1:-1:-1;8171:2:1;8150:15;-1:-1:-1;;8146:29:1;8137:39;;;;8178:4;8133:50;;7763:426;-1:-1:-1;;7763:426:1:o;8612:826::-;-1:-1:-1;;;;;9009:15:1;;;8991:34;;9061:15;;9056:2;9041:18;;9034:43;8971:3;9108:2;9093:18;;9086:31;;;8934:4;;9140:57;;9177:19;;9169:6;9140:57;:::i;:::-;9245:9;9237:6;9233:22;9228:2;9217:9;9213:18;9206:50;9279:44;9316:6;9308;9279:44;:::i;:::-;9265:58;;9372:9;9364:6;9360:22;9354:3;9343:9;9339:19;9332:51;9400:32;9425:6;9417;9400:32;:::i;:::-;9392:40;8943:495;-1:-1:-1;;;;;;;;8943:495:1:o;9443:560::-;-1:-1:-1;;;;;9740:15:1;;;9722:34;;9792:15;;9787:2;9772:18;;9765:43;9839:2;9824:18;;9817:34;;;9882:2;9867:18;;9860:34;;;9702:3;9925;9910:19;;9903:32;;;9665:4;;9952:45;;9977:19;;9969:6;9952:45;:::i;:::-;9944:53;9674:329;-1:-1:-1;;;;;;;9674:329:1:o;10008:261::-;10187:2;10176:9;10169:21;10150:4;10207:56;10259:2;10248:9;10244:18;10236:6;10207:56;:::i;10274:465::-;10531:2;10520:9;10513:21;10494:4;10557:56;10609:2;10598:9;10594:18;10586:6;10557:56;:::i;:::-;10661:9;10653:6;10649:22;10644:2;10633:9;10629:18;10622:50;10689:44;10726:6;10718;10689:44;:::i;:::-;10681:52;10503:236;-1:-1:-1;;;;;10503:236:1:o;10936:219::-;11085:2;11074:9;11067:21;11048:4;11105:44;11145:2;11134:9;11130:18;11122:6;11105:44;:::i;11581:404::-;11783:2;11765:21;;;11822:2;11802:18;;;11795:30;11861:34;11856:2;11841:18;;11834:62;-1:-1:-1;;;11927:2:1;11912:18;;11905:38;11975:3;11960:19;;11755:230::o;14735:401::-;14937:2;14919:21;;;14976:2;14956:18;;;14949:30;15015:34;15010:2;14995:18;;14988:62;-1:-1:-1;;;15081:2:1;15066:18;;15059:35;15126:3;15111:19;;14909:227::o;15964:406::-;16166:2;16148:21;;;16205:2;16185:18;;;16178:30;16244:34;16239:2;16224:18;;16217:62;-1:-1:-1;;;16310:2:1;16295:18;;16288:40;16360:3;16345:19;;16138:232::o;16734:356::-;16936:2;16918:21;;;16955:18;;;16948:30;17014:34;17009:2;16994:18;;16987:62;17081:2;17066:18;;16908:182::o;19859:183::-;19919:4;19952:18;19944:6;19941:30;19938:2;;;19974:18;;:::i;:::-;-1:-1:-1;20019:1:1;20015:14;20031:4;20011:25;;19928:114::o;20047:128::-;20087:3;20118:1;20114:6;20111:1;20108:13;20105:2;;;20124:18;;:::i;:::-;-1:-1:-1;20160:9:1;;20095:80::o;20180:217::-;20220:1;20246;20236:2;;-1:-1:-1;;;20271:31:1;;20325:4;20322:1;20315:15;20353:4;20278:1;20343:15;20236:2;-1:-1:-1;20382:9:1;;20226:171::o;20402:168::-;20442:7;20508:1;20504;20500:6;20496:14;20493:1;20490:21;20485:1;20478:9;20471:17;20467:45;20464:2;;;20515:18;;:::i;:::-;-1:-1:-1;20555:9:1;;20454:116::o;20575:380::-;20654:1;20650:12;;;;20697;;;20718:2;;20772:4;20764:6;20760:17;20750:27;;20718:2;20825;20817:6;20814:14;20794:18;20791:38;20788:2;;;20871:10;20866:3;20862:20;20859:1;20852:31;20906:4;20903:1;20896:15;20934:4;20931:1;20924:15;20788:2;;20630:325;;;:::o;20960:249::-;21070:2;21051:13;;-1:-1:-1;;21047:27:1;21035:40;;21105:18;21090:34;;21126:22;;;21087:62;21084:2;;;21152:18;;:::i;:::-;21188:2;21181:22;-1:-1:-1;;21007:202:1:o;21214:135::-;21253:3;-1:-1:-1;;21274:17:1;;21271:2;;;21294:18;;:::i;:::-;-1:-1:-1;21341:1:1;21330:13;;21261:88::o;21354:127::-;21415:10;21410:3;21406:20;21403:1;21396:31;21446:4;21443:1;21436:15;21470:4;21467:1;21460:15;21486:127;21547:10;21542:3;21538:20;21535:1;21528:31;21578:4;21575:1;21568:15;21602:4;21599:1;21592:15;21618:185;21653:3;21695:1;21677:16;21674:23;21671:2;;;21745:1;21740:3;21735;21720:27;21776:10;21771:3;21767:20;21671:2;21661:142;:::o;21808:671::-;21847:3;21889:4;21871:16;21868:26;21865:2;;;21855:624;:::o;21865:2::-;21931;21925:9;-1:-1:-1;;21996:16:1;21992:25;;21989:1;21925:9;21968:50;22047:4;22041:11;22071:16;22106:18;22177:2;22170:4;22162:6;22158:17;22155:25;22150:2;22142:6;22139:14;22136:45;22133:2;;;22184:5;;;;;21855:624;:::o;22133:2::-;22221:6;22215:4;22211:17;22200:28;;22257:3;22251:10;22284:2;22276:6;22273:14;22270:2;;;22290:5;;;;;;21855:624;:::o;22270:2::-;22374;22355:16;22349:4;22345:27;22341:36;22334:4;22325:6;22320:3;22316:16;22312:27;22309:69;22306:2;;;22381:5;;;;;;21855:624;:::o;22306:2::-;22397:57;22448:4;22439:6;22431;22427:19;22423:30;22417:4;22397:57;:::i;:::-;-1:-1:-1;22470:3:1;;21855:624;-1:-1:-1;;;;;21855:624:1:o;22484:131::-;-1:-1:-1;;;;;;22558:32:1;;22548:43;;22538:2;;22605:1;22602;22595:12

Swarm Source

ipfs://3aed29281f58c9c9f1e30fa6c7c6f97134f2c33f9cb60a85f8fa3137131852af
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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