Token

 

Overview ERC-1155

Max Total Supply:
0 N/A

Holders:
23,154

Transfers:
-

Contract:
0x1de409fc7613c234655f566a2969dd8a862e38b40x1dE409fC7613C234655f566A2969dD8a862E38B4

Social Profiles:
Not Available, Update ?

Loading
[ Download CSV Export  ] 
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:
BlackbirdMembershipPass

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1500 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at basescan.org on 2023-08-17
*/

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

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

pragma solidity ^0.8.0;

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

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


// OpenZeppelin Contracts (last updated v4.9.0) (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 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/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/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/Address.sol


// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// 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/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/ERC1155.sol


// OpenZeppelin Contracts (last updated v4.9.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: address zero is not a valid owner");
        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 token owner or 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: caller is not token owner or 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}.
     *
     * 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 _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`
     *
     * Emits a {TransferSingle} event.
     *
     * 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}.
     *
     * Emits a {TransferBatch} event.
     *
     * 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 an {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 `ids` and `amounts` 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 (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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/polygon/BlackbirdMembershipPass.sol


pragma solidity ^0.8.9;

error MethodNotSupported();


contract BlackbirdMembershipPass is ERC1155, Ownable {
    constructor() ERC1155("https://nft-metadata.blackbird.xyz/v1/{id}.json") {}

    function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data)
        public
        onlyOwner
    {
        _mintBatch(to, ids, amounts, data);
    }

    function mintSupply(uint256[] calldata _ids, uint256[] calldata _amounts) external onlyOwner {
        _mintBatch(msg.sender, _ids, _amounts, "");
    }

    function adminTransfer(address from, address to, uint256[] memory ids, uint256[] memory amounts) external onlyOwner {
        _safeBatchTransferFrom(from, to, ids, amounts, "");
    }

    function setApprovalForAll(
        address,
        bool
    ) public pure override {
        revert MethodNotSupported();
    }

    function safeTransferFrom(
        address,
        address,
        uint256,
        uint256,
        bytes memory
    ) public pure override {
        revert MethodNotSupported();
    }

    function safeBatchTransferFrom(
        address,
        address,
        uint256[] memory,
        uint256[] memory,
        bytes memory
    ) public pure override {
        revert MethodNotSupported();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MethodNotSupported","type":"error"},{"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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"adminTransfer","outputs":[],"stateMutability":"nonpayable","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":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"mintSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"bool","name":"","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"pure","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":"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"}]

60806040523480156200001157600080fd5b506040518060600160405280602f815260200162001926602f9139620000378162000049565b5062000043336200005b565b6200021e565b600262000057828262000152565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000d857607f821691505b602082108103620000f957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200014d57600081815260208120601f850160051c81016020861015620001285750805b601f850160051c820191505b81811015620001495782815560010162000134565b5050505b505050565b81516001600160401b038111156200016e576200016e620000ad565b62000186816200017f8454620000c3565b84620000ff565b602080601f831160018114620001be5760008415620001a55750858301515b600019600386901b1c1916600185901b17855562000149565b600085815260208120601f198616915b82811015620001ef57888601518255948401946001909101908401620001ce565b50858210156200020e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116f8806200022e6000396000f3fe608060405234801561001057600080fd5b50600436106100e95760003560e01c8063715018a61161008c578063e3360e5711610066578063e3360e57146101e3578063e985e9c5146101f6578063f242432a14610232578063f2fde38b1461024057600080fd5b8063715018a6146101b25780638da5cb5b146101ba578063a22cb465146101d557600080fd5b80631f7fdffa116100c85780631f7fdffa146101575780632eb2c2d61461016c5780634e1273f41461017f57806368d579951461019f57600080fd5b8062fdd58e146100ee57806301ffc9a7146101145780630e89341c14610137575b600080fd5b6101016100fc366004610e43565b610253565b6040519081526020015b60405180910390f35b610127610122366004610e83565b6102ff565b604051901515815260200161010b565b61014a610145366004610ea7565b61039a565b60405161010b9190610f06565b61016a610165366004611065565b61042e565b005b61016a61017a3660046110fe565b610448565b61019261018d3660046111a8565b61047a565b60405161010b91906112ae565b61016a6101ad36600461130d565b6105b8565b61016a61063c565b6003546040516001600160a01b03909116815260200161010b565b61016a61017a366004611379565b61016a6101f13660046113b5565b610650565b61012761020436600461142e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61016a61017a366004611461565b61016a61024e3660046114c6565b610674565b60006001600160a01b0383166102d65760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201527f616c6964206f776e65720000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061036257506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b806102f957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146102f9565b6060600280546103a9906114e1565b80601f01602080910402602001604051908101604052809291908181526020018280546103d5906114e1565b80156104225780601f106103f757610100808354040283529160200191610422565b820191906000526020600020905b81548152906001019060200180831161040557829003601f168201915b50505050509050919050565b610436610704565b6104428484848461075e565b50505050565b6040517fcd7ee2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606081518351146104f35760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016102cd565b6000835167ffffffffffffffff81111561050f5761050f610f19565b604051908082528060200260200182016040528015610538578160200160208202803683370190505b50905060005b84518110156105b05761058385828151811061055c5761055c61151b565b60200260200101518583815181106105765761057661151b565b6020026020010151610253565b8282815181106105955761059561151b565b60209081029190910101526105a981611547565b905061053e565b509392505050565b6105c0610704565b610442338585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060408051602080890282810182019093528882529093508892508791829185019084908082843760009201829052506040805160208101909152908152925061075e915050565b610644610704565b61064e600061095c565b565b610658610704565b61044284848484604051806020016040528060008152506109c6565b61067c610704565b6001600160a01b0381166106f85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102cd565b6107018161095c565b50565b6003546001600160a01b0316331461064e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102cd565b6001600160a01b0384166107da5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016102cd565b81518351146108515760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016102cd565b3360005b84518110156108ed578381815181106108705761087061151b565b602002602001015160008087848151811061088d5761088d61151b565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546108d59190611560565b909155508190506108e581611547565b915050610855565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161093e929190611573565b60405180910390a461095581600087878787610c64565b5050505050565b600380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8151835114610a3d5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016102cd565b6001600160a01b038416610ab95760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016102cd565b3360005b8451811015610bf6576000858281518110610ada57610ada61151b565b602002602001015190506000858381518110610af857610af861151b565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610b9e5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016102cd565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610bdb908490611560565b9250508190555050505080610bef90611547565b9050610abd565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610c46929190611573565b60405180910390a4610c5c818787878787610c64565b505050505050565b6001600160a01b0384163b15610c5c5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190610ca890899089908890889088906004016115a1565b6020604051808303816000875af1925050508015610ce3575060408051601f3d908101601f19168201909252610ce0918101906115ff565b60015b610d9857610cef61161c565b806308c379a003610d285750610d03611638565b80610d0e5750610d2a565b8060405162461bcd60e51b81526004016102cd9190610f06565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016102cd565b6001600160e01b0319811663bc197c8160e01b14610e1e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016102cd565b50505050505050565b80356001600160a01b0381168114610e3e57600080fd5b919050565b60008060408385031215610e5657600080fd5b610e5f83610e27565b946020939093013593505050565b6001600160e01b03198116811461070157600080fd5b600060208284031215610e9557600080fd5b8135610ea081610e6d565b9392505050565b600060208284031215610eb957600080fd5b5035919050565b6000815180845260005b81811015610ee657602081850181015186830182015201610eca565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ea06020830184610ec0565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715610f5557610f55610f19565b6040525050565b600067ffffffffffffffff821115610f7657610f76610f19565b5060051b60200190565b600082601f830112610f9157600080fd5b81356020610f9e82610f5c565b604051610fab8282610f2f565b83815260059390931b8501820192828101915086841115610fcb57600080fd5b8286015b84811015610fe65780358352918301918301610fcf565b509695505050505050565b600082601f83011261100257600080fd5b813567ffffffffffffffff81111561101c5761101c610f19565b604051611033601f8301601f191660200182610f2f565b81815284602083860101111561104857600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561107b57600080fd5b61108485610e27565b9350602085013567ffffffffffffffff808211156110a157600080fd5b6110ad88838901610f80565b945060408701359150808211156110c357600080fd5b6110cf88838901610f80565b935060608701359150808211156110e557600080fd5b506110f287828801610ff1565b91505092959194509250565b600080600080600060a0868803121561111657600080fd5b61111f86610e27565b945061112d60208701610e27565b9350604086013567ffffffffffffffff8082111561114a57600080fd5b61115689838a01610f80565b9450606088013591508082111561116c57600080fd5b61117889838a01610f80565b9350608088013591508082111561118e57600080fd5b5061119b88828901610ff1565b9150509295509295909350565b600080604083850312156111bb57600080fd5b823567ffffffffffffffff808211156111d357600080fd5b818501915085601f8301126111e757600080fd5b813560206111f482610f5c565b6040516112018282610f2f565b83815260059390931b850182019282810191508984111561122157600080fd5b948201945b838610156112465761123786610e27565b82529482019490820190611226565b9650508601359250508082111561125c57600080fd5b5061126985828601610f80565b9150509250929050565b600081518084526020808501945080840160005b838110156112a357815187529582019590820190600101611287565b509495945050505050565b602081526000610ea06020830184611273565b60008083601f8401126112d357600080fd5b50813567ffffffffffffffff8111156112eb57600080fd5b6020830191508360208260051b850101111561130657600080fd5b9250929050565b6000806000806040858703121561132357600080fd5b843567ffffffffffffffff8082111561133b57600080fd5b611347888389016112c1565b9096509450602087013591508082111561136057600080fd5b5061136d878288016112c1565b95989497509550505050565b6000806040838503121561138c57600080fd5b61139583610e27565b9150602083013580151581146113aa57600080fd5b809150509250929050565b600080600080608085870312156113cb57600080fd5b6113d485610e27565b93506113e260208601610e27565b9250604085013567ffffffffffffffff808211156113ff57600080fd5b61140b88838901610f80565b9350606087013591508082111561142157600080fd5b506110f287828801610f80565b6000806040838503121561144157600080fd5b61144a83610e27565b915061145860208401610e27565b90509250929050565b600080600080600060a0868803121561147957600080fd5b61148286610e27565b945061149060208701610e27565b93506040860135925060608601359150608086013567ffffffffffffffff8111156114ba57600080fd5b61119b88828901610ff1565b6000602082840312156114d857600080fd5b610ea082610e27565b600181811c908216806114f557607f821691505b60208210810361151557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161155957611559611531565b5060010190565b808201808211156102f9576102f9611531565b6040815260006115866040830185611273565b82810360208401526115988185611273565b95945050505050565b60006001600160a01b03808816835280871660208401525060a060408301526115cd60a0830186611273565b82810360608401526115df8186611273565b905082810360808401526115f38185610ec0565b98975050505050505050565b60006020828403121561161157600080fd5b8151610ea081610e6d565b600060033d11156116355760046000803e5060005160e01c5b90565b600060443d10156116465790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561167657505050505090565b828501915081518181111561168e5750505050505090565b843d87010160208285010111156116a85750505050505090565b6116b760208286010187610f2f565b50909594505050505056fea2646970667358221220e1776a025b3270e27407ec7c15d6be1e5ef7438172f3aecf252c7e0344836acf64736f6c6343000813003368747470733a2f2f6e66742d6d657461646174612e626c61636b626972642e78797a2f76312f7b69647d2e6a736f6e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100e95760003560e01c8063715018a61161008c578063e3360e5711610066578063e3360e57146101e3578063e985e9c5146101f6578063f242432a14610232578063f2fde38b1461024057600080fd5b8063715018a6146101b25780638da5cb5b146101ba578063a22cb465146101d557600080fd5b80631f7fdffa116100c85780631f7fdffa146101575780632eb2c2d61461016c5780634e1273f41461017f57806368d579951461019f57600080fd5b8062fdd58e146100ee57806301ffc9a7146101145780630e89341c14610137575b600080fd5b6101016100fc366004610e43565b610253565b6040519081526020015b60405180910390f35b610127610122366004610e83565b6102ff565b604051901515815260200161010b565b61014a610145366004610ea7565b61039a565b60405161010b9190610f06565b61016a610165366004611065565b61042e565b005b61016a61017a3660046110fe565b610448565b61019261018d3660046111a8565b61047a565b60405161010b91906112ae565b61016a6101ad36600461130d565b6105b8565b61016a61063c565b6003546040516001600160a01b03909116815260200161010b565b61016a61017a366004611379565b61016a6101f13660046113b5565b610650565b61012761020436600461142e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b61016a61017a366004611461565b61016a61024e3660046114c6565b610674565b60006001600160a01b0383166102d65760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201527f616c6964206f776e65720000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061036257506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b806102f957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146102f9565b6060600280546103a9906114e1565b80601f01602080910402602001604051908101604052809291908181526020018280546103d5906114e1565b80156104225780601f106103f757610100808354040283529160200191610422565b820191906000526020600020905b81548152906001019060200180831161040557829003601f168201915b50505050509050919050565b610436610704565b6104428484848461075e565b50505050565b6040517fcd7ee2ee00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606081518351146104f35760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016102cd565b6000835167ffffffffffffffff81111561050f5761050f610f19565b604051908082528060200260200182016040528015610538578160200160208202803683370190505b50905060005b84518110156105b05761058385828151811061055c5761055c61151b565b60200260200101518583815181106105765761057661151b565b6020026020010151610253565b8282815181106105955761059561151b565b60209081029190910101526105a981611547565b905061053e565b509392505050565b6105c0610704565b610442338585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060408051602080890282810182019093528882529093508892508791829185019084908082843760009201829052506040805160208101909152908152925061075e915050565b610644610704565b61064e600061095c565b565b610658610704565b61044284848484604051806020016040528060008152506109c6565b61067c610704565b6001600160a01b0381166106f85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016102cd565b6107018161095c565b50565b6003546001600160a01b0316331461064e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102cd565b6001600160a01b0384166107da5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016102cd565b81518351146108515760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016102cd565b3360005b84518110156108ed578381815181106108705761087061151b565b602002602001015160008087848151811061088d5761088d61151b565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b0316815260200190815260200160002060008282546108d59190611560565b909155508190506108e581611547565b915050610855565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161093e929190611573565b60405180910390a461095581600087878787610c64565b5050505050565b600380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8151835114610a3d5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016102cd565b6001600160a01b038416610ab95760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016102cd565b3360005b8451811015610bf6576000858281518110610ada57610ada61151b565b602002602001015190506000858381518110610af857610af861151b565b602090810291909101810151600084815280835260408082206001600160a01b038e168352909352919091205490915081811015610b9e5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016102cd565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b16825281208054849290610bdb908490611560565b9250508190555050505080610bef90611547565b9050610abd565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610c46929190611573565b60405180910390a4610c5c818787878787610c64565b505050505050565b6001600160a01b0384163b15610c5c5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190610ca890899089908890889088906004016115a1565b6020604051808303816000875af1925050508015610ce3575060408051601f3d908101601f19168201909252610ce0918101906115ff565b60015b610d9857610cef61161c565b806308c379a003610d285750610d03611638565b80610d0e5750610d2a565b8060405162461bcd60e51b81526004016102cd9190610f06565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e2d4552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016102cd565b6001600160e01b0319811663bc197c8160e01b14610e1e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016102cd565b50505050505050565b80356001600160a01b0381168114610e3e57600080fd5b919050565b60008060408385031215610e5657600080fd5b610e5f83610e27565b946020939093013593505050565b6001600160e01b03198116811461070157600080fd5b600060208284031215610e9557600080fd5b8135610ea081610e6d565b9392505050565b600060208284031215610eb957600080fd5b5035919050565b6000815180845260005b81811015610ee657602081850181015186830182015201610eca565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610ea06020830184610ec0565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715610f5557610f55610f19565b6040525050565b600067ffffffffffffffff821115610f7657610f76610f19565b5060051b60200190565b600082601f830112610f9157600080fd5b81356020610f9e82610f5c565b604051610fab8282610f2f565b83815260059390931b8501820192828101915086841115610fcb57600080fd5b8286015b84811015610fe65780358352918301918301610fcf565b509695505050505050565b600082601f83011261100257600080fd5b813567ffffffffffffffff81111561101c5761101c610f19565b604051611033601f8301601f191660200182610f2f565b81815284602083860101111561104857600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561107b57600080fd5b61108485610e27565b9350602085013567ffffffffffffffff808211156110a157600080fd5b6110ad88838901610f80565b945060408701359150808211156110c357600080fd5b6110cf88838901610f80565b935060608701359150808211156110e557600080fd5b506110f287828801610ff1565b91505092959194509250565b600080600080600060a0868803121561111657600080fd5b61111f86610e27565b945061112d60208701610e27565b9350604086013567ffffffffffffffff8082111561114a57600080fd5b61115689838a01610f80565b9450606088013591508082111561116c57600080fd5b61117889838a01610f80565b9350608088013591508082111561118e57600080fd5b5061119b88828901610ff1565b9150509295509295909350565b600080604083850312156111bb57600080fd5b823567ffffffffffffffff808211156111d357600080fd5b818501915085601f8301126111e757600080fd5b813560206111f482610f5c565b6040516112018282610f2f565b83815260059390931b850182019282810191508984111561122157600080fd5b948201945b838610156112465761123786610e27565b82529482019490820190611226565b9650508601359250508082111561125c57600080fd5b5061126985828601610f80565b9150509250929050565b600081518084526020808501945080840160005b838110156112a357815187529582019590820190600101611287565b509495945050505050565b602081526000610ea06020830184611273565b60008083601f8401126112d357600080fd5b50813567ffffffffffffffff8111156112eb57600080fd5b6020830191508360208260051b850101111561130657600080fd5b9250929050565b6000806000806040858703121561132357600080fd5b843567ffffffffffffffff8082111561133b57600080fd5b611347888389016112c1565b9096509450602087013591508082111561136057600080fd5b5061136d878288016112c1565b95989497509550505050565b6000806040838503121561138c57600080fd5b61139583610e27565b9150602083013580151581146113aa57600080fd5b809150509250929050565b600080600080608085870312156113cb57600080fd5b6113d485610e27565b93506113e260208601610e27565b9250604085013567ffffffffffffffff808211156113ff57600080fd5b61140b88838901610f80565b9350606087013591508082111561142157600080fd5b506110f287828801610f80565b6000806040838503121561144157600080fd5b61144a83610e27565b915061145860208401610e27565b90509250929050565b600080600080600060a0868803121561147957600080fd5b61148286610e27565b945061149060208701610e27565b93506040860135925060608601359150608086013567ffffffffffffffff8111156114ba57600080fd5b61119b88828901610ff1565b6000602082840312156114d857600080fd5b610ea082610e27565b600181811c908216806114f557607f821691505b60208210810361151557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161155957611559611531565b5060010190565b808201808211156102f9576102f9611531565b6040815260006115866040830185611273565b82810360208401526115988185611273565b95945050505050565b60006001600160a01b03808816835280871660208401525060a060408301526115cd60a0830186611273565b82810360608401526115df8186611273565b905082810360808401526115f38185610ec0565b98975050505050505050565b60006020828403121561161157600080fd5b8151610ea081610e6d565b600060033d11156116355760046000803e5060005160e01c5b90565b600060443d10156116465790565b6040516003193d81016004833e81513d67ffffffffffffffff816024840111818411171561167657505050505090565b828501915081518181111561168e5750505050505090565b843d87010160208285010111156116a85750505050505090565b6116b760208286010187610f2f565b50909594505050505056fea2646970667358221220e1776a025b3270e27407ec7c15d6be1e5ef7438172f3aecf252c7e0344836acf64736f6c63430008130033

Deployed ByteCode Sourcemap

40137:1263:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21971:230;;;;;;:::i;:::-;;:::i;:::-;;;620:25:1;;;608:2;593:18;21971:230:0;;;;;;;;20994:310;;;;;;:::i;:::-;;:::i;:::-;;;1253:14:1;;1246:22;1228:41;;1216:2;1201:18;20994:310:0;1088:187:1;21715:105:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;40280:191::-;;;;;;:::i;:::-;;:::i;:::-;;41179:218;;;;;;:::i;:::-;;:::i;22367:499::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;40479:154::-;;;;;;:::i;:::-;;:::i;39200:103::-;;;:::i;38559:87::-;38632:6;;38559:87;;-1:-1:-1;;;;;38632:6:0;;;9074:74:1;;9062:2;9047:18;38559:87:0;8928:226:1;40834:134:0;;;;;;:::i;40641:185::-;;;;;;:::i;:::-;;:::i;23166:168::-;;;;;;:::i;:::-;-1:-1:-1;;;;;23289:27:0;;;23265:4;23289:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;23166:168;40976:195;;;;;;:::i;39458:201::-;;;;;;:::i;:::-;;:::i;21971:230::-;22057:7;-1:-1:-1;;;;;22085:21:0;;22077:76;;;;-1:-1:-1;;;22077:76:0;;11529:2:1;22077:76:0;;;11511:21:1;11568:2;11548:18;;;11541:30;11607:34;11587:18;;;11580:62;11678:12;11658:18;;;11651:40;11708:19;;22077:76:0;;;;;;;;;-1:-1:-1;22171:9:0;:13;;;;;;;;;;;-1:-1:-1;;;;;22171:22:0;;;;;;;;;;21971:230;;;;;:::o;20994:310::-;21096:4;-1:-1:-1;;;;;;21133:41:0;;21148:26;21133:41;;:110;;-1:-1:-1;;;;;;;21191:52:0;;21206:37;21191:52;21133:110;:163;;;-1:-1:-1;19864:25:0;-1:-1:-1;;;;;;19849:40:0;;;21260:36;19740:157;21715:105;21775:13;21808:4;21801:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21715:105;;;:::o;40280:191::-;38445:13;:11;:13::i;:::-;40429:34:::1;40440:2;40444:3;40449:7;40458:4;40429:10;:34::i;:::-;40280:191:::0;;;;:::o;41179:218::-;41369:20;;;;;;;;;;;;;;22367:499;22503:16;22559:3;:10;22540:8;:15;:29;22532:83;;;;-1:-1:-1;;;22532:83:0;;12382:2:1;22532:83:0;;;12364:21:1;12421:2;12401:18;;;12394:30;12460:34;12440:18;;;12433:62;12531:11;12511:18;;;12504:39;12560:19;;22532:83:0;12180:405:1;22532:83:0;22628:30;22675:8;:15;22661:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22661:30:0;;22628:63;;22709:9;22704:122;22728:8;:15;22724:1;:19;22704:122;;;22784:30;22794:8;22803:1;22794:11;;;;;;;;:::i;:::-;;;;;;;22807:3;22811:1;22807:6;;;;;;;;:::i;:::-;;;;;;;22784:9;:30::i;:::-;22765:13;22779:1;22765:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;22745:3;;;:::i;:::-;;;22704:122;;;-1:-1:-1;22845:13:0;22367:499;-1:-1:-1;;;22367:499:0:o;40479:154::-;38445:13;:11;:13::i;:::-;40583:42:::1;40594:10;40606:4;;40583:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;40583:42:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;-1:-1:-1;40612:8:0;;-1:-1:-1;40612:8:0;;;;40583:42;::::1;::::0;40612:8;;40583:42;40612:8;40583:42;::::1;;::::0;::::1;::::0;;;-1:-1:-1;40583:42:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;-1:-1:-1;40583:10:0::1;::::0;-1:-1:-1;;40583:42:0:i:1;39200:103::-:0;38445:13;:11;:13::i;:::-;39265:30:::1;39292:1;39265:18;:30::i;:::-;39200:103::o:0;40641:185::-;38445:13;:11;:13::i;:::-;40768:50:::1;40791:4;40797:2;40801:3;40806:7;40768:50;;;;;;;;;;;::::0;:22:::1;:50::i;39458:201::-:0;38445:13;:11;:13::i;:::-;-1:-1:-1;;;;;39547:22:0;::::1;39539:73;;;::::0;-1:-1:-1;;;39539:73:0;;13310:2:1;39539:73:0::1;::::0;::::1;13292:21:1::0;13349:2;13329:18;;;13322:30;13388:34;13368:18;;;13361:62;13459:8;13439:18;;;13432:36;13485:19;;39539:73:0::1;13108:402:1::0;39539:73:0::1;39623:28;39642:8;39623:18;:28::i;:::-;39458:201:::0;:::o;38724:132::-;38632:6;;-1:-1:-1;;;;;38632:6:0;18743:10;38788:23;38780:68;;;;-1:-1:-1;;;38780:68:0;;13717:2:1;38780:68:0;;;13699:21:1;;;13736:18;;;13729:30;13795:34;13775:18;;;13768:62;13847:18;;38780:68:0;13515:356:1;29676:813:0;-1:-1:-1;;;;;29854:16:0;;29846:62;;;;-1:-1:-1;;;29846:62:0;;14078:2:1;29846:62:0;;;14060:21:1;14117:2;14097:18;;;14090:30;14156:34;14136:18;;;14129:62;14227:3;14207:18;;;14200:31;14248:19;;29846:62:0;13876:397:1;29846:62:0;29941:7;:14;29927:3;:10;:28;29919:81;;;;-1:-1:-1;;;29919:81:0;;14480:2:1;29919:81:0;;;14462:21:1;14519:2;14499:18;;;14492:30;14558:34;14538:18;;;14531:62;14629:10;14609:18;;;14602:38;14657:19;;29919:81:0;14278:404:1;29919:81:0;18743:10;30013:16;30136:103;30160:3;:10;30156:1;:14;30136:103;;;30217:7;30225:1;30217:10;;;;;;;;:::i;:::-;;;;;;;30192:9;:17;30202:3;30206:1;30202:6;;;;;;;;:::i;:::-;;;;;;;30192:17;;;;;;;;;;;:21;30210:2;-1:-1:-1;;;;;30192:21:0;-1:-1:-1;;;;;30192:21:0;;;;;;;;;;;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;30172:3:0;;-1:-1:-1;30172:3:0;;;:::i;:::-;;;;30136:103;;;;30292:2;-1:-1:-1;;;;;30256:53:0;30288:1;-1:-1:-1;;;;;30256:53:0;30270:8;-1:-1:-1;;;;;30256:53:0;;30296:3;30301:7;30256:53;;;;;;;:::i;:::-;;;;;;;;30400:81;30436:8;30454:1;30458:2;30462:3;30467:7;30476:4;30400:35;:81::i;:::-;29835:654;29676:813;;;;:::o;39819:191::-;39912:6;;;-1:-1:-1;;;;;39929:17:0;;;;;;;;;;;39962:40;;39912:6;;;39929:17;39912:6;;39962:40;;39893:16;;39962:40;39882:128;39819:191;:::o;26123:1146::-;26350:7;:14;26336:3;:10;:28;26328:81;;;;-1:-1:-1;;;26328:81:0;;14480:2:1;26328:81:0;;;14462:21:1;14519:2;14499:18;;;14492:30;14558:34;14538:18;;;14531:62;14629:10;14609:18;;;14602:38;14657:19;;26328:81:0;14278:404:1;26328:81:0;-1:-1:-1;;;;;26428:16:0;;26420:66;;;;-1:-1:-1;;;26420:66:0;;15489:2:1;26420:66:0;;;15471:21:1;15528:2;15508:18;;;15501:30;15567:34;15547:18;;;15540:62;15638:7;15618:18;;;15611:35;15663:19;;26420:66:0;15287:401:1;26420:66:0;18743:10;26499:16;26616:421;26640:3;:10;26636:1;:14;26616:421;;;26672:10;26685:3;26689:1;26685:6;;;;;;;;:::i;:::-;;;;;;;26672:19;;26706:14;26723:7;26731:1;26723:10;;;;;;;;:::i;:::-;;;;;;;;;;;;26750:19;26772:13;;;;;;;;;;-1:-1:-1;;;;;26772:19:0;;;;;;;;;;;;26723:10;;-1:-1:-1;26814:21:0;;;;26806:76;;;;-1:-1:-1;;;26806:76:0;;15895:2:1;26806:76:0;;;15877:21:1;15934:2;15914:18;;;15907:30;15973:34;15953:18;;;15946:62;16044:12;16024:18;;;16017:40;16074:19;;26806:76:0;15693:406:1;26806:76:0;26926:9;:13;;;;;;;;;;;-1:-1:-1;;;;;26926:19:0;;;;;;;;;;26948:20;;;26926:42;;26998:17;;;;;;;:27;;26948:20;;26926:9;26998:27;;26948:20;;26998:27;:::i;:::-;;;;;;;;26657:380;;;26652:3;;;;:::i;:::-;;;26616:421;;;;27084:2;-1:-1:-1;;;;;27054:47:0;27078:4;-1:-1:-1;;;;;27054:47:0;27068:8;-1:-1:-1;;;;;27054:47:0;;27088:3;27093:7;27054:47;;;;;;;:::i;:::-;;;;;;;;27186:75;27222:8;27232:4;27238:2;27242:3;27247:7;27256:4;27186:35;:75::i;:::-;26317:952;26123:1146;;;;;:::o;36300:813::-;-1:-1:-1;;;;;36540:13:0;;10120:19;:23;36536:570;;36576:79;;-1:-1:-1;;;36576:79:0;;-1:-1:-1;;;;;36576:43:0;;;;;:79;;36620:8;;36630:4;;36636:3;;36641:7;;36650:4;;36576:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36576:79:0;;;;;;;;-1:-1:-1;;36576:79:0;;;;;;;;;;;;:::i;:::-;;;36572:523;;;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;36968:6;36961:14;;-1:-1:-1;;;36961:14:0;;;;;;;;:::i;36572:523::-;;;37017:62;;-1:-1:-1;;;37017:62:0;;18275:2:1;37017:62:0;;;18257:21:1;18314:2;18294:18;;;18287:30;18353:34;18333:18;;;18326:62;18424:22;18404:18;;;18397:50;18464:19;;37017:62:0;18073:416:1;36572:523:0;-1:-1:-1;;;;;;36737:60:0;;-1:-1:-1;;;36737:60:0;36733:159;;36822:50;;-1:-1:-1;;;36822:50:0;;18696:2:1;36822:50:0;;;18678:21:1;18735:2;18715:18;;;18708:30;18774:34;18754:18;;;18747:62;18845:10;18825:18;;;18818:38;18873:19;;36822:50:0;18494:404:1;36733:159:0;36656:251;36300:813;;;;;;:::o;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:254::-;283:6;291;344:2;332:9;323:7;319:23;315:32;312:52;;;360:1;357;350:12;312:52;383:29;402:9;383:29;:::i;:::-;373:39;459:2;444:18;;;;431:32;;-1:-1:-1;;;215:254:1:o;656:177::-;-1:-1:-1;;;;;;734:5:1;730:78;723:5;720:89;710:117;;823:1;820;813:12;838:245;896:6;949:2;937:9;928:7;924:23;920:32;917:52;;;965:1;962;955:12;917:52;1004:9;991:23;1023:30;1047:5;1023:30;:::i;:::-;1072:5;838:245;-1:-1:-1;;;838:245:1:o;1280:180::-;1339:6;1392:2;1380:9;1371:7;1367:23;1363:32;1360:52;;;1408:1;1405;1398:12;1360:52;-1:-1:-1;1431:23:1;;1280:180;-1:-1:-1;1280:180:1:o;1465:423::-;1507:3;1545:5;1539:12;1572:6;1567:3;1560:19;1597:1;1607:162;1621:6;1618:1;1615:13;1607:162;;;1683:4;1739:13;;;1735:22;;1729:29;1711:11;;;1707:20;;1700:59;1636:12;1607:162;;;1611:3;1814:1;1807:4;1798:6;1793:3;1789:16;1785:27;1778:38;1877:4;1870:2;1866:7;1861:2;1853:6;1849:15;1845:29;1840:3;1836:39;1832:50;1825:57;;;1465:423;;;;:::o;1893:220::-;2042:2;2031:9;2024:21;2005:4;2062:45;2103:2;2092:9;2088:18;2080:6;2062:45;:::i;2118:184::-;-1:-1:-1;;;2167:1:1;2160:88;2267:4;2264:1;2257:15;2291:4;2288:1;2281:15;2307:249;2417:2;2398:13;;-1:-1:-1;;2394:27:1;2382:40;;2452:18;2437:34;;2473:22;;;2434:62;2431:88;;;2499:18;;:::i;:::-;2535:2;2528:22;-1:-1:-1;;2307:249:1:o;2561:183::-;2621:4;2654:18;2646:6;2643:30;2640:56;;;2676:18;;:::i;:::-;-1:-1:-1;2721:1:1;2717:14;2733:4;2713:25;;2561:183::o;2749:724::-;2803:5;2856:3;2849:4;2841:6;2837:17;2833:27;2823:55;;2874:1;2871;2864:12;2823:55;2910:6;2897:20;2936:4;2959:43;2999:2;2959:43;:::i;:::-;3031:2;3025:9;3043:31;3071:2;3063:6;3043:31;:::i;:::-;3109:18;;;3201:1;3197:10;;;;3185:23;;3181:32;;;3143:15;;;;-1:-1:-1;3225:15:1;;;3222:35;;;3253:1;3250;3243:12;3222:35;3289:2;3281:6;3277:15;3301:142;3317:6;3312:3;3309:15;3301:142;;;3383:17;;3371:30;;3421:12;;;;3334;;3301:142;;;-1:-1:-1;3461:6:1;2749:724;-1:-1:-1;;;;;;2749:724:1:o;3478:555::-;3520:5;3573:3;3566:4;3558:6;3554:17;3550:27;3540:55;;3591:1;3588;3581:12;3540:55;3627:6;3614:20;3653:18;3649:2;3646:26;3643:52;;;3675:18;;:::i;:::-;3724:2;3718:9;3736:67;3791:2;3772:13;;-1:-1:-1;;3768:27:1;3797:4;3764:38;3718:9;3736:67;:::i;:::-;3827:2;3819:6;3812:18;3873:3;3866:4;3861:2;3853:6;3849:15;3845:26;3842:35;3839:55;;;3890:1;3887;3880:12;3839:55;3954:2;3947:4;3939:6;3935:17;3928:4;3920:6;3916:17;3903:54;4001:1;3977:15;;;3994:4;3973:26;3966:37;;;;3981:6;3478:555;-1:-1:-1;;;3478:555:1:o;4038:868::-;4183:6;4191;4199;4207;4260:3;4248:9;4239:7;4235:23;4231:33;4228:53;;;4277:1;4274;4267:12;4228:53;4300:29;4319:9;4300:29;:::i;:::-;4290:39;;4380:2;4369:9;4365:18;4352:32;4403:18;4444:2;4436:6;4433:14;4430:34;;;4460:1;4457;4450:12;4430:34;4483:61;4536:7;4527:6;4516:9;4512:22;4483:61;:::i;:::-;4473:71;;4597:2;4586:9;4582:18;4569:32;4553:48;;4626:2;4616:8;4613:16;4610:36;;;4642:1;4639;4632:12;4610:36;4665:63;4720:7;4709:8;4698:9;4694:24;4665:63;:::i;:::-;4655:73;;4781:2;4770:9;4766:18;4753:32;4737:48;;4810:2;4800:8;4797:16;4794:36;;;4826:1;4823;4816:12;4794:36;;4849:51;4892:7;4881:8;4870:9;4866:24;4849:51;:::i;:::-;4839:61;;;4038:868;;;;;;;:::o;4911:943::-;5065:6;5073;5081;5089;5097;5150:3;5138:9;5129:7;5125:23;5121:33;5118:53;;;5167:1;5164;5157:12;5118:53;5190:29;5209:9;5190:29;:::i;:::-;5180:39;;5238:38;5272:2;5261:9;5257:18;5238:38;:::i;:::-;5228:48;;5327:2;5316:9;5312:18;5299:32;5350:18;5391:2;5383:6;5380:14;5377:34;;;5407:1;5404;5397:12;5377:34;5430:61;5483:7;5474:6;5463:9;5459:22;5430:61;:::i;:::-;5420:71;;5544:2;5533:9;5529:18;5516:32;5500:48;;5573:2;5563:8;5560:16;5557:36;;;5589:1;5586;5579:12;5557:36;5612:63;5667:7;5656:8;5645:9;5641:24;5612:63;:::i;:::-;5602:73;;5728:3;5717:9;5713:19;5700:33;5684:49;;5758:2;5748:8;5745:16;5742:36;;;5774:1;5771;5764:12;5742:36;;5797:51;5840:7;5829:8;5818:9;5814:24;5797:51;:::i;:::-;5787:61;;;4911:943;;;;;;;;:::o;5859:1208::-;5977:6;5985;6038:2;6026:9;6017:7;6013:23;6009:32;6006:52;;;6054:1;6051;6044:12;6006:52;6094:9;6081:23;6123:18;6164:2;6156:6;6153:14;6150:34;;;6180:1;6177;6170:12;6150:34;6218:6;6207:9;6203:22;6193:32;;6263:7;6256:4;6252:2;6248:13;6244:27;6234:55;;6285:1;6282;6275:12;6234:55;6321:2;6308:16;6343:4;6366:43;6406:2;6366:43;:::i;:::-;6438:2;6432:9;6450:31;6478:2;6470:6;6450:31;:::i;:::-;6516:18;;;6604:1;6600:10;;;;6592:19;;6588:28;;;6550:15;;;;-1:-1:-1;6628:19:1;;;6625:39;;;6660:1;6657;6650:12;6625:39;6684:11;;;;6704:148;6720:6;6715:3;6712:15;6704:148;;;6786:23;6805:3;6786:23;:::i;:::-;6774:36;;6737:12;;;;6830;;;;6704:148;;;6871:6;-1:-1:-1;;6915:18:1;;6902:32;;-1:-1:-1;;6946:16:1;;;6943:36;;;6975:1;6972;6965:12;6943:36;;6998:63;7053:7;7042:8;7031:9;7027:24;6998:63;:::i;:::-;6988:73;;;5859:1208;;;;;:::o;7072:435::-;7125:3;7163:5;7157:12;7190:6;7185:3;7178:19;7216:4;7245:2;7240:3;7236:12;7229:19;;7282:2;7275:5;7271:14;7303:1;7313:169;7327:6;7324:1;7321:13;7313:169;;;7388:13;;7376:26;;7422:12;;;;7457:15;;;;7349:1;7342:9;7313:169;;;-1:-1:-1;7498:3:1;;7072:435;-1:-1:-1;;;;;7072:435:1:o;7512:261::-;7691:2;7680:9;7673:21;7654:4;7711:56;7763:2;7752:9;7748:18;7740:6;7711:56;:::i;7778:367::-;7841:8;7851:6;7905:3;7898:4;7890:6;7886:17;7882:27;7872:55;;7923:1;7920;7913:12;7872:55;-1:-1:-1;7946:20:1;;7989:18;7978:30;;7975:50;;;8021:1;8018;8011:12;7975:50;8058:4;8050:6;8046:17;8034:29;;8118:3;8111:4;8101:6;8098:1;8094:14;8086:6;8082:27;8078:38;8075:47;8072:67;;;8135:1;8132;8125:12;8072:67;7778:367;;;;;:::o;8150:773::-;8272:6;8280;8288;8296;8349:2;8337:9;8328:7;8324:23;8320:32;8317:52;;;8365:1;8362;8355:12;8317:52;8405:9;8392:23;8434:18;8475:2;8467:6;8464:14;8461:34;;;8491:1;8488;8481:12;8461:34;8530:70;8592:7;8583:6;8572:9;8568:22;8530:70;:::i;:::-;8619:8;;-1:-1:-1;8504:96:1;-1:-1:-1;8707:2:1;8692:18;;8679:32;;-1:-1:-1;8723:16:1;;;8720:36;;;8752:1;8749;8742:12;8720:36;;8791:72;8855:7;8844:8;8833:9;8829:24;8791:72;:::i;:::-;8150:773;;;;-1:-1:-1;8882:8:1;-1:-1:-1;;;;8150:773:1:o;9159:347::-;9224:6;9232;9285:2;9273:9;9264:7;9260:23;9256:32;9253:52;;;9301:1;9298;9291:12;9253:52;9324:29;9343:9;9324:29;:::i;:::-;9314:39;;9403:2;9392:9;9388:18;9375:32;9450:5;9443:13;9436:21;9429:5;9426:32;9416:60;;9472:1;9469;9462:12;9416:60;9495:5;9485:15;;;9159:347;;;;;:::o;9511:744::-;9647:6;9655;9663;9671;9724:3;9712:9;9703:7;9699:23;9695:33;9692:53;;;9741:1;9738;9731:12;9692:53;9764:29;9783:9;9764:29;:::i;:::-;9754:39;;9812:38;9846:2;9835:9;9831:18;9812:38;:::i;:::-;9802:48;;9901:2;9890:9;9886:18;9873:32;9924:18;9965:2;9957:6;9954:14;9951:34;;;9981:1;9978;9971:12;9951:34;10004:61;10057:7;10048:6;10037:9;10033:22;10004:61;:::i;:::-;9994:71;;10118:2;10107:9;10103:18;10090:32;10074:48;;10147:2;10137:8;10134:16;10131:36;;;10163:1;10160;10153:12;10131:36;;10186:63;10241:7;10230:8;10219:9;10215:24;10186:63;:::i;10260:260::-;10328:6;10336;10389:2;10377:9;10368:7;10364:23;10360:32;10357:52;;;10405:1;10402;10395:12;10357:52;10428:29;10447:9;10428:29;:::i;:::-;10418:39;;10476:38;10510:2;10499:9;10495:18;10476:38;:::i;:::-;10466:48;;10260:260;;;;;:::o;10525:606::-;10629:6;10637;10645;10653;10661;10714:3;10702:9;10693:7;10689:23;10685:33;10682:53;;;10731:1;10728;10721:12;10682:53;10754:29;10773:9;10754:29;:::i;:::-;10744:39;;10802:38;10836:2;10825:9;10821:18;10802:38;:::i;:::-;10792:48;;10887:2;10876:9;10872:18;10859:32;10849:42;;10938:2;10927:9;10923:18;10910:32;10900:42;;10993:3;10982:9;10978:19;10965:33;11021:18;11013:6;11010:30;11007:50;;;11053:1;11050;11043:12;11007:50;11076:49;11117:7;11108:6;11097:9;11093:22;11076:49;:::i;11136:186::-;11195:6;11248:2;11236:9;11227:7;11223:23;11219:32;11216:52;;;11264:1;11261;11254:12;11216:52;11287:29;11306:9;11287:29;:::i;11738:437::-;11817:1;11813:12;;;;11860;;;11881:61;;11935:4;11927:6;11923:17;11913:27;;11881:61;11988:2;11980:6;11977:14;11957:18;11954:38;11951:218;;-1:-1:-1;;;12022:1:1;12015:88;12126:4;12123:1;12116:15;12154:4;12151:1;12144:15;11951:218;;11738:437;;;:::o;12590:184::-;-1:-1:-1;;;12639:1:1;12632:88;12739:4;12736:1;12729:15;12763:4;12760:1;12753:15;12779:184;-1:-1:-1;;;12828:1:1;12821:88;12928:4;12925:1;12918:15;12952:4;12949:1;12942:15;12968:135;13007:3;13028:17;;;13025:43;;13048:18;;:::i;:::-;-1:-1:-1;13095:1:1;13084:13;;12968:135::o;14687:125::-;14752:9;;;14773:10;;;14770:36;;;14786:18;;:::i;14817:465::-;15074:2;15063:9;15056:21;15037:4;15100:56;15152:2;15141:9;15137:18;15129:6;15100:56;:::i;:::-;15204:9;15196:6;15192:22;15187:2;15176:9;15172:18;15165:50;15232:44;15269:6;15261;15232:44;:::i;:::-;15224:52;14817:465;-1:-1:-1;;;;;14817:465:1:o;16104:850::-;16426:4;-1:-1:-1;;;;;16536:2:1;16528:6;16524:15;16513:9;16506:34;16588:2;16580:6;16576:15;16571:2;16560:9;16556:18;16549:43;;16628:3;16623:2;16612:9;16608:18;16601:31;16655:57;16707:3;16696:9;16692:19;16684:6;16655:57;:::i;:::-;16760:9;16752:6;16748:22;16743:2;16732:9;16728:18;16721:50;16794:44;16831:6;16823;16794:44;:::i;:::-;16780:58;;16887:9;16879:6;16875:22;16869:3;16858:9;16854:19;16847:51;16915:33;16941:6;16933;16915:33;:::i;:::-;16907:41;16104:850;-1:-1:-1;;;;;;;;16104:850:1:o;16959:249::-;17028:6;17081:2;17069:9;17060:7;17056:23;17052:32;17049:52;;;17097:1;17094;17087:12;17049:52;17129:9;17123:16;17148:30;17172:5;17148:30;:::i;17213:179::-;17248:3;17290:1;17272:16;17269:23;17266:120;;;17336:1;17333;17330;17315:23;-1:-1:-1;17373:1:1;17367:8;17362:3;17358:18;17266:120;17213:179;:::o;17397:671::-;17436:3;17478:4;17460:16;17457:26;17454:39;;;17397:671;:::o;17454:39::-;17520:2;17514:9;-1:-1:-1;;17585:16:1;17581:25;;17578:1;17514:9;17557:50;17636:4;17630:11;17660:16;17695:18;17766:2;17759:4;17751:6;17747:17;17744:25;17739:2;17731:6;17728:14;17725:45;17722:58;;;17773:5;;;;;17397:671;:::o;17722:58::-;17810:6;17804:4;17800:17;17789:28;;17846:3;17840:10;17873:2;17865:6;17862:14;17859:27;;;17879:5;;;;;;17397:671;:::o;17859:27::-;17963:2;17944:16;17938:4;17934:27;17930:36;17923:4;17914:6;17909:3;17905:16;17901:27;17898:69;17895:82;;;17970:5;;;;;;17397:671;:::o;17895:82::-;17986:57;18037:4;18028:6;18020;18016:19;18012:30;18006:4;17986:57;:::i;:::-;-1:-1:-1;18059:3:1;;17397:671;-1:-1:-1;;;;;17397:671:1:o

Swarm Source

ipfs://e1776a025b3270e27407ec7c15d6be1e5ef7438172f3aecf252c7e0344836acf
Loading