APE Price: $1.16 (+1.18%)

Token

REKTIFIERS (REKT)

Overview

Max Total Supply

0 REKT

Holders

0

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xa8d67e13ac97cba918decdcd78f71fca8ab2d1a8
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
REKTIFIERS

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2024-12-22
*/

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

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


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

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


// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @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 v5.1.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.20;


/**
 * @dev Required interface of an ERC-1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[ERC].
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` amount of tokens of 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 value of tokens of token type `id` owned by `account`.
     */
    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 zero address.
     */
    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 a `value` amount of tokens of type `id` from `from` to `to`.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155Received} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * 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 `value` 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 value, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments.
     *
     * Requirements:
     *
     * - `ids` and `values` 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 values,
        bytes calldata data
    ) external;
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.20;


/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[ERC].
 */
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/token/ERC1155/IERC1155Receiver.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.20;


/**
 * @dev Interface that must be implemented by smart contracts in order to receive
 * ERC-1155 token transfers.
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC-1155 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 ERC-1155 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/interfaces/draft-IERC6093.sol


// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/utils/ERC1155Utils.sol)

pragma solidity ^0.8.20;



/**
 * @dev Library that provide common ERC-1155 utility functions.
 *
 * See https://eips.ethereum.org/EIPS/eip-1155[ERC-1155].
 *
 * _Available since v5.1._
 */
library ERC1155Utils {
    /**
     * @dev Performs an acceptance check for the provided `operator` by calling {IERC1155-onERC1155Received}
     * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).
     *
     * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).
     * Otherwise, the recipient must implement {IERC1155Receiver-onERC1155Received} and return the acceptance magic value to accept
     * the transfer.
     */
    function checkOnERC1155Received(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length > 0) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, value, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    // Tokens rejected
                    revert IERC1155Errors.ERC1155InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    // non-IERC1155Receiver implementer
                    revert IERC1155Errors.ERC1155InvalidReceiver(to);
                } else {
                    assembly ("memory-safe") {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }

    /**
     * @dev Performs a batch acceptance check for the provided `operator` by calling {IERC1155-onERC1155BatchReceived}
     * on the `to` address. The `operator` is generally the address that initiated the token transfer (i.e. `msg.sender`).
     *
     * The acceptance call is not executed and treated as a no-op if the target address doesn't contain code (i.e. an EOA).
     * Otherwise, the recipient must implement {IERC1155Receiver-onERC1155Received} and return the acceptance magic value to accept
     * the transfer.
     */
    function checkOnERC1155BatchReceived(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) internal {
        if (to.code.length > 0) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, values, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    // Tokens rejected
                    revert IERC1155Errors.ERC1155InvalidReceiver(to);
                }
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    // non-IERC1155Receiver implementer
                    revert IERC1155Errors.ERC1155InvalidReceiver(to);
                } else {
                    assembly ("memory-safe") {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        }
    }
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC-165 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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/Comparators.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides a set of functions to compare values.
 *
 * _Available since v5.1._
 */
library Comparators {
    function lt(uint256 a, uint256 b) internal pure returns (bool) {
        return a < b;
    }

    function gt(uint256 a, uint256 b) internal pure returns (bool) {
        return a > b;
    }
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/SlotDerivation.sol)
// This file was procedurally generated from scripts/generate/templates/SlotDerivation.js.

pragma solidity ^0.8.20;

/**
 * @dev Library for computing storage (and transient storage) locations from namespaces and deriving slots
 * corresponding to standard patterns. The derivation method for array and mapping matches the storage layout used by
 * the solidity language / compiler.
 *
 * See https://docs.soliditylang.org/en/v0.8.20/internals/layout_in_storage.html#mappings-and-dynamic-arrays[Solidity docs for mappings and dynamic arrays.].
 *
 * Example usage:
 * ```solidity
 * contract Example {
 *     // Add the library methods
 *     using StorageSlot for bytes32;
 *     using SlotDerivation for bytes32;
 *
 *     // Declare a namespace
 *     string private constant _NAMESPACE = "<namespace>" // eg. OpenZeppelin.Slot
 *
 *     function setValueInNamespace(uint256 key, address newValue) internal {
 *         _NAMESPACE.erc7201Slot().deriveMapping(key).getAddressSlot().value = newValue;
 *     }
 *
 *     function getValueInNamespace(uint256 key) internal view returns (address) {
 *         return _NAMESPACE.erc7201Slot().deriveMapping(key).getAddressSlot().value;
 *     }
 * }
 * ```
 *
 * TIP: Consider using this library along with {StorageSlot}.
 *
 * NOTE: This library provides a way to manipulate storage locations in a non-standard way. Tooling for checking
 * upgrade safety will ignore the slots accessed through this library.
 *
 * _Available since v5.1._
 */
library SlotDerivation {
    /**
     * @dev Derive an ERC-7201 slot from a string (namespace).
     */
    function erc7201Slot(string memory namespace) internal pure returns (bytes32 slot) {
        assembly ("memory-safe") {
            mstore(0x00, sub(keccak256(add(namespace, 0x20), mload(namespace)), 1))
            slot := and(keccak256(0x00, 0x20), not(0xff))
        }
    }

    /**
     * @dev Add an offset to a slot to get the n-th element of a structure or an array.
     */
    function offset(bytes32 slot, uint256 pos) internal pure returns (bytes32 result) {
        unchecked {
            return bytes32(uint256(slot) + pos);
        }
    }

    /**
     * @dev Derive the location of the first element in an array from the slot where the length is stored.
     */
    function deriveArray(bytes32 slot) internal pure returns (bytes32 result) {
        assembly ("memory-safe") {
            mstore(0x00, slot)
            result := keccak256(0x00, 0x20)
        }
    }

    /**
     * @dev Derive the location of a mapping element from the key.
     */
    function deriveMapping(bytes32 slot, address key) internal pure returns (bytes32 result) {
        assembly ("memory-safe") {
            mstore(0x00, and(key, shr(96, not(0))))
            mstore(0x20, slot)
            result := keccak256(0x00, 0x40)
        }
    }

    /**
     * @dev Derive the location of a mapping element from the key.
     */
    function deriveMapping(bytes32 slot, bool key) internal pure returns (bytes32 result) {
        assembly ("memory-safe") {
            mstore(0x00, iszero(iszero(key)))
            mstore(0x20, slot)
            result := keccak256(0x00, 0x40)
        }
    }

    /**
     * @dev Derive the location of a mapping element from the key.
     */
    function deriveMapping(bytes32 slot, bytes32 key) internal pure returns (bytes32 result) {
        assembly ("memory-safe") {
            mstore(0x00, key)
            mstore(0x20, slot)
            result := keccak256(0x00, 0x40)
        }
    }

    /**
     * @dev Derive the location of a mapping element from the key.
     */
    function deriveMapping(bytes32 slot, uint256 key) internal pure returns (bytes32 result) {
        assembly ("memory-safe") {
            mstore(0x00, key)
            mstore(0x20, slot)
            result := keccak256(0x00, 0x40)
        }
    }

    /**
     * @dev Derive the location of a mapping element from the key.
     */
    function deriveMapping(bytes32 slot, int256 key) internal pure returns (bytes32 result) {
        assembly ("memory-safe") {
            mstore(0x00, key)
            mstore(0x20, slot)
            result := keccak256(0x00, 0x40)
        }
    }

    /**
     * @dev Derive the location of a mapping element from the key.
     */
    function deriveMapping(bytes32 slot, string memory key) internal pure returns (bytes32 result) {
        assembly ("memory-safe") {
            let length := mload(key)
            let begin := add(key, 0x20)
            let end := add(begin, length)
            let cache := mload(end)
            mstore(end, slot)
            result := keccak256(begin, add(length, 0x20))
            mstore(end, cache)
        }
    }

    /**
     * @dev Derive the location of a mapping element from the key.
     */
    function deriveMapping(bytes32 slot, bytes memory key) internal pure returns (bytes32 result) {
        assembly ("memory-safe") {
            let length := mload(key)
            let begin := add(key, 0x20)
            let end := add(begin, length)
            let cache := mload(end)
            mstore(end, slot)
            result := keccak256(begin, add(length, 0x20))
            mstore(end, cache)
        }
    }
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity ^0.8.20;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC-1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     // Define the slot. Alternatively, use the SlotDerivation library to derive the slot.
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(newImplementation.code.length > 0);
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * TIP: Consider using this library along with {SlotDerivation}.
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct Int256Slot {
        int256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly ("memory-safe") {
            r.slot := slot
        }
    }

    /**
     * @dev Returns a `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly ("memory-safe") {
            r.slot := slot
        }
    }

    /**
     * @dev Returns a `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        assembly ("memory-safe") {
            r.slot := slot
        }
    }

    /**
     * @dev Returns a `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        assembly ("memory-safe") {
            r.slot := slot
        }
    }

    /**
     * @dev Returns a `Int256Slot` with member `value` located at `slot`.
     */
    function getInt256Slot(bytes32 slot) internal pure returns (Int256Slot storage r) {
        assembly ("memory-safe") {
            r.slot := slot
        }
    }

    /**
     * @dev Returns a `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        assembly ("memory-safe") {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        assembly ("memory-safe") {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns a `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        assembly ("memory-safe") {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        assembly ("memory-safe") {
            r.slot := store.slot
        }
    }
}

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/Arrays.sol)
// This file was procedurally generated from scripts/generate/templates/Arrays.js.

pragma solidity ^0.8.20;





/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    using SlotDerivation for bytes32;
    using StorageSlot for bytes32;

    /**
     * @dev Sort an array of uint256 (in memory) following the provided comparator function.
     *
     * This function does the sorting "in place", meaning that it overrides the input. The object is returned for
     * convenience, but that returned value can be discarded safely if the caller has a memory pointer to the array.
     *
     * NOTE: this function's cost is `O(n · log(n))` in average and `O(n²)` in the worst case, with n the length of the
     * array. Using it in view functions that are executed through `eth_call` is safe, but one should be very careful
     * when executing this as part of a transaction. If the array being sorted is too large, the sort operation may
     * consume more gas than is available in a block, leading to potential DoS.
     *
     * IMPORTANT: Consider memory side-effects when using custom comparator functions that access memory in an unsafe way.
     */
    function sort(
        uint256[] memory array,
        function(uint256, uint256) pure returns (bool) comp
    ) internal pure returns (uint256[] memory) {
        _quickSort(_begin(array), _end(array), comp);
        return array;
    }

    /**
     * @dev Variant of {sort} that sorts an array of uint256 in increasing order.
     */
    function sort(uint256[] memory array) internal pure returns (uint256[] memory) {
        sort(array, Comparators.lt);
        return array;
    }

    /**
     * @dev Sort an array of address (in memory) following the provided comparator function.
     *
     * This function does the sorting "in place", meaning that it overrides the input. The object is returned for
     * convenience, but that returned value can be discarded safely if the caller has a memory pointer to the array.
     *
     * NOTE: this function's cost is `O(n · log(n))` in average and `O(n²)` in the worst case, with n the length of the
     * array. Using it in view functions that are executed through `eth_call` is safe, but one should be very careful
     * when executing this as part of a transaction. If the array being sorted is too large, the sort operation may
     * consume more gas than is available in a block, leading to potential DoS.
     *
     * IMPORTANT: Consider memory side-effects when using custom comparator functions that access memory in an unsafe way.
     */
    function sort(
        address[] memory array,
        function(address, address) pure returns (bool) comp
    ) internal pure returns (address[] memory) {
        sort(_castToUint256Array(array), _castToUint256Comp(comp));
        return array;
    }

    /**
     * @dev Variant of {sort} that sorts an array of address in increasing order.
     */
    function sort(address[] memory array) internal pure returns (address[] memory) {
        sort(_castToUint256Array(array), Comparators.lt);
        return array;
    }

    /**
     * @dev Sort an array of bytes32 (in memory) following the provided comparator function.
     *
     * This function does the sorting "in place", meaning that it overrides the input. The object is returned for
     * convenience, but that returned value can be discarded safely if the caller has a memory pointer to the array.
     *
     * NOTE: this function's cost is `O(n · log(n))` in average and `O(n²)` in the worst case, with n the length of the
     * array. Using it in view functions that are executed through `eth_call` is safe, but one should be very careful
     * when executing this as part of a transaction. If the array being sorted is too large, the sort operation may
     * consume more gas than is available in a block, leading to potential DoS.
     *
     * IMPORTANT: Consider memory side-effects when using custom comparator functions that access memory in an unsafe way.
     */
    function sort(
        bytes32[] memory array,
        function(bytes32, bytes32) pure returns (bool) comp
    ) internal pure returns (bytes32[] memory) {
        sort(_castToUint256Array(array), _castToUint256Comp(comp));
        return array;
    }

    /**
     * @dev Variant of {sort} that sorts an array of bytes32 in increasing order.
     */
    function sort(bytes32[] memory array) internal pure returns (bytes32[] memory) {
        sort(_castToUint256Array(array), Comparators.lt);
        return array;
    }

    /**
     * @dev Performs a quick sort of a segment of memory. The segment sorted starts at `begin` (inclusive), and stops
     * at end (exclusive). Sorting follows the `comp` comparator.
     *
     * Invariant: `begin <= end`. This is the case when initially called by {sort} and is preserved in subcalls.
     *
     * IMPORTANT: Memory locations between `begin` and `end` are not validated/zeroed. This function should
     * be used only if the limits are within a memory array.
     */
    function _quickSort(uint256 begin, uint256 end, function(uint256, uint256) pure returns (bool) comp) private pure {
        unchecked {
            if (end - begin < 0x40) return;

            // Use first element as pivot
            uint256 pivot = _mload(begin);
            // Position where the pivot should be at the end of the loop
            uint256 pos = begin;

            for (uint256 it = begin + 0x20; it < end; it += 0x20) {
                if (comp(_mload(it), pivot)) {
                    // If the value stored at the iterator's position comes before the pivot, we increment the
                    // position of the pivot and move the value there.
                    pos += 0x20;
                    _swap(pos, it);
                }
            }

            _swap(begin, pos); // Swap pivot into place
            _quickSort(begin, pos, comp); // Sort the left side of the pivot
            _quickSort(pos + 0x20, end, comp); // Sort the right side of the pivot
        }
    }

    /**
     * @dev Pointer to the memory location of the first element of `array`.
     */
    function _begin(uint256[] memory array) private pure returns (uint256 ptr) {
        assembly ("memory-safe") {
            ptr := add(array, 0x20)
        }
    }

    /**
     * @dev Pointer to the memory location of the first memory word (32bytes) after `array`. This is the memory word
     * that comes just after the last element of the array.
     */
    function _end(uint256[] memory array) private pure returns (uint256 ptr) {
        unchecked {
            return _begin(array) + array.length * 0x20;
        }
    }

    /**
     * @dev Load memory word (as a uint256) at location `ptr`.
     */
    function _mload(uint256 ptr) private pure returns (uint256 value) {
        assembly {
            value := mload(ptr)
        }
    }

    /**
     * @dev Swaps the elements memory location `ptr1` and `ptr2`.
     */
    function _swap(uint256 ptr1, uint256 ptr2) private pure {
        assembly {
            let value1 := mload(ptr1)
            let value2 := mload(ptr2)
            mstore(ptr1, value2)
            mstore(ptr2, value1)
        }
    }

    /// @dev Helper: low level cast address memory array to uint256 memory array
    function _castToUint256Array(address[] memory input) private pure returns (uint256[] memory output) {
        assembly {
            output := input
        }
    }

    /// @dev Helper: low level cast bytes32 memory array to uint256 memory array
    function _castToUint256Array(bytes32[] memory input) private pure returns (uint256[] memory output) {
        assembly {
            output := input
        }
    }

    /// @dev Helper: low level cast address comp function to uint256 comp function
    function _castToUint256Comp(
        function(address, address) pure returns (bool) input
    ) private pure returns (function(uint256, uint256) pure returns (bool) output) {
        assembly {
            output := input
        }
    }

    /// @dev Helper: low level cast bytes32 comp function to uint256 comp function
    function _castToUint256Comp(
        function(bytes32, bytes32) pure returns (bool) input
    ) private pure returns (function(uint256, uint256) pure returns (bool) output) {
        assembly {
            output := input
        }
    }

    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * NOTE: The `array` is expected to be sorted in ascending order, and to
     * contain no repeated elements.
     *
     * IMPORTANT: Deprecated. This implementation behaves as {lowerBound} but lacks
     * support for repeated elements in the array. The {lowerBound} function should
     * be used instead.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        uint256 low = 0;
        uint256 high = array.length;

        if (high == 0) {
            return 0;
        }

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds towards zero (it does integer division with truncation).
            if (unsafeAccess(array, mid).value > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && unsafeAccess(array, low - 1).value == element) {
            return low - 1;
        } else {
            return low;
        }
    }

    /**
     * @dev Searches an `array` sorted in ascending order and returns the first
     * index that contains a value greater or equal than `element`. If no such index
     * exists (i.e. all values in the array are strictly less than `element`), the array
     * length is returned. Time complexity O(log n).
     *
     * See C++'s https://en.cppreference.com/w/cpp/algorithm/lower_bound[lower_bound].
     */
    function lowerBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        uint256 low = 0;
        uint256 high = array.length;

        if (high == 0) {
            return 0;
        }

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds towards zero (it does integer division with truncation).
            if (unsafeAccess(array, mid).value < element) {
                // this cannot overflow because mid < high
                unchecked {
                    low = mid + 1;
                }
            } else {
                high = mid;
            }
        }

        return low;
    }

    /**
     * @dev Searches an `array` sorted in ascending order and returns the first
     * index that contains a value strictly greater than `element`. If no such index
     * exists (i.e. all values in the array are strictly less than `element`), the array
     * length is returned. Time complexity O(log n).
     *
     * See C++'s https://en.cppreference.com/w/cpp/algorithm/upper_bound[upper_bound].
     */
    function upperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        uint256 low = 0;
        uint256 high = array.length;

        if (high == 0) {
            return 0;
        }

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds towards zero (it does integer division with truncation).
            if (unsafeAccess(array, mid).value > element) {
                high = mid;
            } else {
                // this cannot overflow because mid < high
                unchecked {
                    low = mid + 1;
                }
            }
        }

        return low;
    }

    /**
     * @dev Same as {lowerBound}, but with an array in memory.
     */
    function lowerBoundMemory(uint256[] memory array, uint256 element) internal pure returns (uint256) {
        uint256 low = 0;
        uint256 high = array.length;

        if (high == 0) {
            return 0;
        }

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds towards zero (it does integer division with truncation).
            if (unsafeMemoryAccess(array, mid) < element) {
                // this cannot overflow because mid < high
                unchecked {
                    low = mid + 1;
                }
            } else {
                high = mid;
            }
        }

        return low;
    }

    /**
     * @dev Same as {upperBound}, but with an array in memory.
     */
    function upperBoundMemory(uint256[] memory array, uint256 element) internal pure returns (uint256) {
        uint256 low = 0;
        uint256 high = array.length;

        if (high == 0) {
            return 0;
        }

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds towards zero (it does integer division with truncation).
            if (unsafeMemoryAccess(array, mid) > element) {
                high = mid;
            } else {
                // this cannot overflow because mid < high
                unchecked {
                    low = mid + 1;
                }
            }
        }

        return low;
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(address[] storage arr, uint256 pos) internal pure returns (StorageSlot.AddressSlot storage) {
        bytes32 slot;
        assembly ("memory-safe") {
            slot := arr.slot
        }
        return slot.deriveArray().offset(pos).getAddressSlot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(bytes32[] storage arr, uint256 pos) internal pure returns (StorageSlot.Bytes32Slot storage) {
        bytes32 slot;
        assembly ("memory-safe") {
            slot := arr.slot
        }
        return slot.deriveArray().offset(pos).getBytes32Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeAccess(uint256[] storage arr, uint256 pos) internal pure returns (StorageSlot.Uint256Slot storage) {
        bytes32 slot;
        assembly ("memory-safe") {
            slot := arr.slot
        }
        return slot.deriveArray().offset(pos).getUint256Slot();
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeMemoryAccess(address[] memory arr, uint256 pos) internal pure returns (address res) {
        assembly {
            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeMemoryAccess(bytes32[] memory arr, uint256 pos) internal pure returns (bytes32 res) {
        assembly {
            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))
        }
    }

    /**
     * @dev Access an array in an "unsafe" way. Skips solidity "index-out-of-range" check.
     *
     * WARNING: Only use if you are certain `pos` is lower than the array length.
     */
    function unsafeMemoryAccess(uint256[] memory arr, uint256 pos) internal pure returns (uint256 res) {
        assembly {
            res := mload(add(add(arr, 0x20), mul(pos, 0x20)))
        }
    }

    /**
     * @dev Helper to set the length of an dynamic array. Directly writing to `.length` is forbidden.
     *
     * WARNING: this does not clear elements if length is reduced, of initialize elements if length is increased.
     */
    function unsafeSetLength(address[] storage array, uint256 len) internal {
        assembly ("memory-safe") {
            sstore(array.slot, len)
        }
    }

    /**
     * @dev Helper to set the length of an dynamic array. Directly writing to `.length` is forbidden.
     *
     * WARNING: this does not clear elements if length is reduced, of initialize elements if length is increased.
     */
    function unsafeSetLength(bytes32[] storage array, uint256 len) internal {
        assembly ("memory-safe") {
            sstore(array.slot, len)
        }
    }

    /**
     * @dev Helper to set the length of an dynamic array. Directly writing to `.length` is forbidden.
     *
     * WARNING: this does not clear elements if length is reduced, of initialize elements if length is increased.
     */
    function unsafeSetLength(uint256[] storage array, uint256 len) internal {
        assembly ("memory-safe") {
            sstore(array.slot, len)
        }
    }
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.20;








/**
 * @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
 */
abstract contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI, IERC1155Errors {
    using Arrays for uint256[];
    using Arrays for address[];

    mapping(uint256 id => mapping(address account => uint256)) private _balances;

    mapping(address account => mapping(address operator => 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 ERC].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256 /* id */) public view virtual returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     */
    function balanceOf(address account, uint256 id) public view virtual returns (uint256) {
        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 returns (uint256[] memory) {
        if (accounts.length != ids.length) {
            revert ERC1155InvalidArrayLength(ids.length, accounts.length);
        }

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

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

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes memory data) public virtual {
        address sender = _msgSender();
        if (from != sender && !isApprovedForAll(from, sender)) {
            revert ERC1155MissingApprovalForAll(sender, from);
        }
        _safeTransferFrom(from, to, id, value, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) public virtual {
        address sender = _msgSender();
        if (from != sender && !isApprovedForAll(from, sender)) {
            revert ERC1155MissingApprovalForAll(sender, from);
        }
        _safeBatchTransferFrom(from, to, ids, values, data);
    }

    /**
     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`. Will mint (or burn) if `from`
     * (or `to`) is the zero address.
     *
     * Emits a {TransferSingle} event if the arrays contain one element, and {TransferBatch} otherwise.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement either {IERC1155Receiver-onERC1155Received}
     *   or {IERC1155Receiver-onERC1155BatchReceived} and return the acceptance magic value.
     * - `ids` and `values` must have the same length.
     *
     * NOTE: The ERC-1155 acceptance check is not performed in this function. See {_updateWithAcceptanceCheck} instead.
     */
    function _update(address from, address to, uint256[] memory ids, uint256[] memory values) internal virtual {
        if (ids.length != values.length) {
            revert ERC1155InvalidArrayLength(ids.length, values.length);
        }

        address operator = _msgSender();

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids.unsafeMemoryAccess(i);
            uint256 value = values.unsafeMemoryAccess(i);

            if (from != address(0)) {
                uint256 fromBalance = _balances[id][from];
                if (fromBalance < value) {
                    revert ERC1155InsufficientBalance(from, fromBalance, value, id);
                }
                unchecked {
                    // Overflow not possible: value <= fromBalance
                    _balances[id][from] = fromBalance - value;
                }
            }

            if (to != address(0)) {
                _balances[id][to] += value;
            }
        }

        if (ids.length == 1) {
            uint256 id = ids.unsafeMemoryAccess(0);
            uint256 value = values.unsafeMemoryAccess(0);
            emit TransferSingle(operator, from, to, id, value);
        } else {
            emit TransferBatch(operator, from, to, ids, values);
        }
    }

    /**
     * @dev Version of {_update} that performs the token acceptance check by calling
     * {IERC1155Receiver-onERC1155Received} or {IERC1155Receiver-onERC1155BatchReceived} on the receiver address if it
     * contains code (eg. is a smart contract at the moment of execution).
     *
     * IMPORTANT: Overriding this function is discouraged because it poses a reentrancy risk from the receiver. So any
     * update to the contract state after this function would break the check-effect-interaction pattern. Consider
     * overriding {_update} instead.
     */
    function _updateWithAcceptanceCheck(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) internal virtual {
        _update(from, to, ids, values);
        if (to != address(0)) {
            address operator = _msgSender();
            if (ids.length == 1) {
                uint256 id = ids.unsafeMemoryAccess(0);
                uint256 value = values.unsafeMemoryAccess(0);
                ERC1155Utils.checkOnERC1155Received(operator, from, to, id, value, data);
            } else {
                ERC1155Utils.checkOnERC1155BatchReceived(operator, from, to, ids, values, data);
            }
        }
    }

    /**
     * @dev Transfers a `value` 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 `value` 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 value, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(from, to, ids, values, 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.
     * - `ids` and `values` must have the same length.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory values,
        bytes memory data
    ) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        _updateWithAcceptanceCheck(from, to, ids, values, 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 ERC].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the values 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 a `value` amount of tokens of 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 value, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(address(0), to, ids, values, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `values` must have the same length.
     * - `to` cannot be the zero address.
     * - 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 values, bytes memory data) internal {
        if (to == address(0)) {
            revert ERC1155InvalidReceiver(address(0));
        }
        _updateWithAcceptanceCheck(address(0), to, ids, values, data);
    }

    /**
     * @dev Destroys a `value` amount of tokens of type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `value` amount of tokens of type `id`.
     */
    function _burn(address from, uint256 id, uint256 value) internal {
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        (uint256[] memory ids, uint256[] memory values) = _asSingletonArrays(id, value);
        _updateWithAcceptanceCheck(from, address(0), ids, values, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `value` amount of tokens of type `id`.
     * - `ids` and `values` must have the same length.
     */
    function _burnBatch(address from, uint256[] memory ids, uint256[] memory values) internal {
        if (from == address(0)) {
            revert ERC1155InvalidSender(address(0));
        }
        _updateWithAcceptanceCheck(from, address(0), ids, values, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the zero address.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        if (operator == address(0)) {
            revert ERC1155InvalidOperator(address(0));
        }
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Creates an array in memory with only one value for each of the elements provided.
     */
    function _asSingletonArrays(
        uint256 element1,
        uint256 element2
    ) private pure returns (uint256[] memory array1, uint256[] memory array2) {
        assembly ("memory-safe") {
            // Load the free memory pointer
            array1 := mload(0x40)
            // Set array length to 1
            mstore(array1, 1)
            // Store the single element at the next word after the length (where content starts)
            mstore(add(array1, 0x20), element1)

            // Repeat for next array locating it right after the first array
            array2 := add(array1, 0x40)
            mstore(array2, 1)
            mstore(add(array2, 0x20), element2)

            // Update the free memory pointer by pointing after the second array
            mstore(0x40, add(array2, 0x40))
        }
    }
}

// File: @openzeppelin/contracts/utils/math/SignedMath.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;



/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     *
     * NOTE: ERC-2981 allows setting the royalty to 100% of the price. In that case all the price would be sent to the
     * royalty receiver and 0 tokens to the seller. Contracts dealing with royalty should consider empty transfers.
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.20;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the ERC. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);

    /**
     * @dev The default royalty receiver is invalid.
     */
    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);

    /**
     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);

    /**
     * @dev The royalty receiver for `tokenId` is invalid.
     */
    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) public view virtual returns (address receiver, uint256 amount) {
        RoyaltyInfo storage _royaltyInfo = _tokenRoyaltyInfo[tokenId];
        address royaltyReceiver = _royaltyInfo.receiver;
        uint96 royaltyFraction = _royaltyInfo.royaltyFraction;

        if (royaltyReceiver == address(0)) {
            royaltyReceiver = _defaultRoyaltyInfo.receiver;
            royaltyFraction = _defaultRoyaltyInfo.royaltyFraction;
        }

        uint256 royaltyAmount = (salePrice * royaltyFraction) / _feeDenominator();

        return (royaltyReceiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
        }

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
        }

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

// File: @limitbreak/creator-token-contracts/contracts/programmable-royalties/BasicRoyalties.sol


pragma solidity ^0.8.4;


/**
 * @title BasicRoyaltiesBase
 * @author Limit Break, Inc.
 * @dev Base functionality of an NFT mix-in contract implementing the most basic form of programmable royalties.
 */
abstract contract BasicRoyaltiesBase is ERC2981 {

    event DefaultRoyaltySet(address indexed receiver, uint96 feeNumerator);
    event TokenRoyaltySet(uint256 indexed tokenId, address indexed receiver, uint96 feeNumerator);

    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual override {
        super._setDefaultRoyalty(receiver, feeNumerator);
        emit DefaultRoyaltySet(receiver, feeNumerator);
    }

    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual override {
        super._setTokenRoyalty(tokenId, receiver, feeNumerator);
        emit TokenRoyaltySet(tokenId, receiver, feeNumerator);
    }
}

/**
 * @title BasicRoyalties
 * @author Limit Break, Inc.
 * @notice Constructable BasicRoyalties Contract implementation.
 */
abstract contract BasicRoyalties is BasicRoyaltiesBase {
    constructor(address receiver, uint96 feeNumerator) {
        _setDefaultRoyalty(receiver, feeNumerator);
    }
}

/**
 * @title BasicRoyaltiesInitializable
 * @author Limit Break, Inc.
 * @notice Initializable BasicRoyalties Contract implementation to allow for EIP-1167 clones. 
 */
abstract contract BasicRoyaltiesInitializable is BasicRoyaltiesBase {}
// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: contracts/ImmediateRoyaltySplitter.sol


pragma solidity ^0.8.0;



/**
 * @title ImmediateRoyaltySplitter
 * @dev Contract for instantly splitting received payments between multiple addresses
 */
abstract contract ImmediateRoyaltySplitter is ReentrancyGuard {
    using SafeMath for uint256;

    // Events
    event PaymentReceived(address from, uint256 amount);
    event PaymentSplit(address to, uint256 amount);
    event RoyaltySharesUpdated(
        address[] royaltyReceivers,
        uint256[] royaltyShares
    );

    // Constants
    uint256 public constant TOTAL_ROYALTY_SHARES = 10000; // 100% = 10000 (0.01% precision)

    // State variables
    address[] public royaltyReceivers;
    uint256[] public royaltyShares;

    /**
     * @dev Internal function to update royaltyShares with validations
     */
    function _updateRoyaltyShares(
        address[] memory _receivers,
        uint256[] memory _shares
    ) internal {
        require(_receivers.length == _shares.length, "Arrays length mismatch");
        require(_receivers.length > 0, "No royaltyReceivers provided");

        uint256 _totalShares;
        for (uint256 i = 0; i < _receivers.length; i++) {
            require(_receivers[i] != address(0), "Invalid receiver address");
            require(_shares[i] > 0, "Share must be greater than 0");
            _totalShares = _totalShares.add(_shares[i]);
        }

        require(
            _totalShares == TOTAL_ROYALTY_SHARES,
            "Total royaltyShares must be 10000"
        );

        royaltyReceivers = _receivers;
        royaltyShares = _shares;

        emit RoyaltySharesUpdated(_receivers, _shares);
    }

    /**
     * @dev Private function to set the royalty shares only if they are not set yet
     */
    function _initializeRoyaltyShares(
        address[] memory _receivers,
        uint256[] memory _shares
    ) internal {
        require(royaltyReceivers.length == 0, "Royalty shares already set");
        _updateRoyaltyShares(_receivers, _shares);
    }

    /**
     * @dev Fallback function to receive and immediately split payments
     */
    receive() external payable nonReentrant {
        require(msg.value > 0, "No payment received");
        emit PaymentReceived(msg.sender, msg.value);

        uint256 remaining = msg.value;
        uint256 share;
        uint256 amount;

        // Process all royaltyReceivers except the last one
        for (uint256 i = 0; i < royaltyReceivers.length - 1; i++) {
            share = royaltyShares[i];
            // Calculate payment amount using the share percentage
            amount = msg.value.mul(share).div(TOTAL_ROYALTY_SHARES);
            remaining = remaining.sub(amount);

            (bool success, ) = royaltyReceivers[i].call{value: amount}("");
            require(success, "Transfer failed");
            emit PaymentSplit(royaltyReceivers[i], amount);
        }

        // Send remaining amount to last receiver to handle rounding dust
        if (remaining > 0 && royaltyReceivers.length > 0) {
            (bool success, ) = royaltyReceivers[royaltyReceivers.length - 1]
                .call{value: remaining}("");
            require(success, "Transfer failed");
            emit PaymentSplit(
                royaltyReceivers[royaltyReceivers.length - 1],
                remaining
            );
        }
    }

    /**
     * @dev Returns the current royaltyReceivers and their royaltyShares
     */
    function getRoyaltyShares()
        external
        view
        returns (address[] memory, uint256[] memory)
    {
        return (royaltyReceivers, royaltyShares);
    }

    /**
     * @dev Allows a royalty receiver to update their wallet address
     * @param newAddress The new address to update to
     */
    function updateReceiverAddress(address newAddress) external nonReentrant {
        require(newAddress != address(0), "New address is invalid");

        bool updated = false;
        for (uint256 i = 0; i < royaltyReceivers.length; i++) {
            if (royaltyReceivers[i] == msg.sender) {
                royaltyReceivers[i] = newAddress;
                updated = true;
                break;
            }
        }

        require(updated, "Receiver address not found");
    }
}
// File: access/OwnablePermissions.sol


pragma solidity ^0.8.4;


abstract contract OwnablePermissions is Context {
    function _requireCallerIsContractOwner() internal view virtual;
}

// File: interfaces/IEOARegistry.sol


pragma solidity ^0.8.4;


interface IEOARegistry is IERC165 {
    function isVerifiedEOA(address account) external view returns (bool);
}
// File: utils/TransferPolicy.sol


pragma solidity ^0.8.4;

enum AllowlistTypes {
    Operators,
    PermittedContractReceivers
}

enum ReceiverConstraints {
    None,
    NoCode,
    EOA
}

enum CallerConstraints {
    None,
    OperatorWhitelistEnableOTC,
    OperatorWhitelistDisableOTC
}

enum StakerConstraints {
    None,
    CallerIsTxOrigin,
    EOA
}

enum TransferSecurityLevels {
    Zero,
    One,
    Two,
    Three,
    Four,
    Five,
    Six
}

struct TransferSecurityPolicy {
    CallerConstraints callerConstraints;
    ReceiverConstraints receiverConstraints;
}

struct CollectionSecurityPolicy {
    TransferSecurityLevels transferSecurityLevel;
    uint120 operatorWhitelistId;
    uint120 permittedContractReceiversId;
}

// File: interfaces/ITransferSecurityRegistry.sol


pragma solidity ^0.8.4;


interface ITransferSecurityRegistry {
    event AddedToAllowlist(AllowlistTypes indexed kind, uint256 indexed id, address indexed account);
    event CreatedAllowlist(AllowlistTypes indexed kind, uint256 indexed id, string indexed name);
    event ReassignedAllowlistOwnership(AllowlistTypes indexed kind, uint256 indexed id, address indexed newOwner);
    event RemovedFromAllowlist(AllowlistTypes indexed kind, uint256 indexed id, address indexed account);
    event SetAllowlist(AllowlistTypes indexed kind, address indexed collection, uint120 indexed id);
    event SetTransferSecurityLevel(address indexed collection, TransferSecurityLevels level);

    function createOperatorWhitelist(string calldata name) external returns (uint120);
    function createPermittedContractReceiverAllowlist(string calldata name) external returns (uint120);
    function reassignOwnershipOfOperatorWhitelist(uint120 id, address newOwner) external;
    function reassignOwnershipOfPermittedContractReceiverAllowlist(uint120 id, address newOwner) external;
    function renounceOwnershipOfOperatorWhitelist(uint120 id) external;
    function renounceOwnershipOfPermittedContractReceiverAllowlist(uint120 id) external;
    function setTransferSecurityLevelOfCollection(address collection, TransferSecurityLevels level) external;
    function setOperatorWhitelistOfCollection(address collection, uint120 id) external;
    function setPermittedContractReceiverAllowlistOfCollection(address collection, uint120 id) external;
    function addOperatorToWhitelist(uint120 id, address operator) external;
    function addPermittedContractReceiverToAllowlist(uint120 id, address receiver) external;
    function removeOperatorFromWhitelist(uint120 id, address operator) external;
    function removePermittedContractReceiverFromAllowlist(uint120 id, address receiver) external;
    function getCollectionSecurityPolicy(address collection) external view returns (CollectionSecurityPolicy memory);
    function getWhitelistedOperators(uint120 id) external view returns (address[] memory);
    function getPermittedContractReceivers(uint120 id) external view returns (address[] memory);
    function isOperatorWhitelisted(uint120 id, address operator) external view returns (bool);
    function isContractReceiverPermitted(uint120 id, address receiver) external view returns (bool);
}
// File: interfaces/ITransferValidator.sol


pragma solidity ^0.8.4;


interface ITransferValidator {
    function applyCollectionTransferPolicy(address caller, address from, address to) external view;
}
// File: interfaces/ICreatorTokenTransferValidator.sol


pragma solidity ^0.8.4;




interface ICreatorTokenTransferValidator is ITransferSecurityRegistry, ITransferValidator, IEOARegistry {}
// File: interfaces/ICreatorToken.sol


pragma solidity ^0.8.4;


interface ICreatorToken {
    event TransferValidatorUpdated(address oldValidator, address newValidator);

    function getTransferValidator() external view returns (ICreatorTokenTransferValidator);
    function getSecurityPolicy() external view returns (CollectionSecurityPolicy memory);
    function getWhitelistedOperators() external view returns (address[] memory);
    function getPermittedContractReceivers() external view returns (address[] memory);
    function isOperatorWhitelisted(address operator) external view returns (bool);
    function isContractReceiverPermitted(address receiver) external view returns (bool);
    function isTransferAllowed(address caller, address from, address to) external view returns (bool);
}

// File: utils/TransferValidation.sol


pragma solidity ^0.8.4;


/**
 * @title TransferValidation
 * @author Limit Break, Inc.
 * @notice A mix-in that can be combined with ERC-721 contracts to provide more granular hooks.
 * Openzeppelin's ERC721 contract only provides hooks for before and after transfer.  This allows
 * developers to validate or customize transfers within the context of a mint, a burn, or a transfer.
 */
abstract contract TransferValidation is Context {
    
    error ShouldNotMintToBurnAddress();

    /// @dev Inheriting contracts should call this function in the _beforeTokenTransfer function to get more granular hooks.
    function _validateBeforeTransfer(address from, address to, uint256 tokenId) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _preValidateMint(_msgSender(), to, tokenId, msg.value);
        } else if(toZeroAddress) {
            _preValidateBurn(_msgSender(), from, tokenId, msg.value);
        } else {
            _preValidateTransfer(_msgSender(), from, to, tokenId, msg.value);
        }
    }

    /// @dev Inheriting contracts should call this function in the _afterTokenTransfer function to get more granular hooks.
    function _validateAfterTransfer(address from, address to, uint256 tokenId) internal virtual {
        bool fromZeroAddress = from == address(0);
        bool toZeroAddress = to == address(0);

        if(fromZeroAddress && toZeroAddress) {
            revert ShouldNotMintToBurnAddress();
        } else if(fromZeroAddress) {
            _postValidateMint(_msgSender(), to, tokenId, msg.value);
        } else if(toZeroAddress) {
            _postValidateBurn(_msgSender(), from, tokenId, msg.value);
        } else {
            _postValidateTransfer(_msgSender(), from, to, tokenId, msg.value);
        }
    }

    /// @dev Optional validation hook that fires before a mint
    function _preValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a mint
    function _postValidateMint(address caller, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a burn
    function _preValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a burn
    function _postValidateBurn(address caller, address from, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires before a transfer
    function _preValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}

    /// @dev Optional validation hook that fires after a transfer
    function _postValidateTransfer(address caller, address from, address to, uint256 tokenId, uint256 value) internal virtual {}
}

// File: @openzeppelin/contracts/interfaces/IERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)

pragma solidity ^0.8.20;


// File: contracts/CreatorTokenBase.sol


pragma solidity ^0.8.4;






/**
 * @title CreatorTokenBase
 * @author Limit Break, Inc.
 * @notice CreatorTokenBase is an abstract contract that provides basic functionality for managing token 
 * transfer policies through an implementation of ICreatorTokenTransferValidator. This contract is intended to be used
 * as a base for creator-specific token contracts, enabling customizable transfer restrictions and security policies.
 *
 * <h4>Features:</h4>
 * <ul>Ownable: This contract can have an owner who can set and update the transfer validator.</ul>
 * <ul>TransferValidation: Implements the basic token transfer validation interface.</ul>
 * <ul>ICreatorToken: Implements the interface for creator tokens, providing view functions for token security policies.</ul>
 *
 * <h4>Benefits:</h4>
 * <ul>Provides a flexible and modular way to implement custom token transfer restrictions and security policies.</ul>
 * <ul>Allows creators to enforce policies such as whitelisted operators and permitted contract receivers.</ul>
 * <ul>Can be easily integrated into other token contracts as a base contract.</ul>
 *
 * <h4>Intended Usage:</h4>
 * <ul>Use as a base contract for creator token implementations that require advanced transfer restrictions and 
 *   security policies.</ul>
 * <ul>Set and update the ICreatorTokenTransferValidator implementation contract to enforce desired policies for the 
 *   creator token.</ul>
 */
abstract contract CreatorTokenBase is OwnablePermissions, TransferValidation, ICreatorToken {
    
    error CreatorTokenBase__InvalidTransferValidatorContract();
    error CreatorTokenBase__SetTransferValidatorFirst();

    address public constant DEFAULT_TRANSFER_VALIDATOR = address(0x0000721C310194CcfC01E523fc93C9cCcFa2A0Ac);
    TransferSecurityLevels public constant DEFAULT_TRANSFER_SECURITY_LEVEL = TransferSecurityLevels.One;
    uint120 public constant DEFAULT_OPERATOR_WHITELIST_ID = uint120(1);

    ICreatorTokenTransferValidator private transferValidator;

    /**
     * @notice Allows the contract owner to set the transfer validator to the official validator contract
     *         and set the security policy to the recommended default settings.
     * @dev    May be overridden to change the default behavior of an individual collection.
     */
    function setToDefaultSecurityPolicy() public virtual {
        _requireCallerIsContractOwner();
        setTransferValidator(DEFAULT_TRANSFER_VALIDATOR);
        ICreatorTokenTransferValidator(DEFAULT_TRANSFER_VALIDATOR).setTransferSecurityLevelOfCollection(address(this), DEFAULT_TRANSFER_SECURITY_LEVEL);
        ICreatorTokenTransferValidator(DEFAULT_TRANSFER_VALIDATOR).setOperatorWhitelistOfCollection(address(this), DEFAULT_OPERATOR_WHITELIST_ID);
    }

    /**
     * @notice Allows the contract owner to set the transfer validator to a custom validator contract
     *         and set the security policy to their own custom settings.
     */
    function setToCustomValidatorAndSecurityPolicy(
        address validator, 
        TransferSecurityLevels level, 
        uint120 operatorWhitelistId, 
        uint120 permittedContractReceiversAllowlistId) public {
        _requireCallerIsContractOwner();

        setTransferValidator(validator);

        ICreatorTokenTransferValidator(validator).
            setTransferSecurityLevelOfCollection(address(this), level);

        ICreatorTokenTransferValidator(validator).
            setOperatorWhitelistOfCollection(address(this), operatorWhitelistId);

        ICreatorTokenTransferValidator(validator).
            setPermittedContractReceiverAllowlistOfCollection(address(this), permittedContractReceiversAllowlistId);
    }

    /**
     * @notice Allows the contract owner to set the security policy to their own custom settings.
     * @dev    Reverts if the transfer validator has not been set.
     */
    function setToCustomSecurityPolicy(
        TransferSecurityLevels level, 
        uint120 operatorWhitelistId, 
        uint120 permittedContractReceiversAllowlistId) public {
        _requireCallerIsContractOwner();

        ICreatorTokenTransferValidator validator = getTransferValidator();
        if (address(validator) == address(0)) {
            revert CreatorTokenBase__SetTransferValidatorFirst();
        }

        validator.setTransferSecurityLevelOfCollection(address(this), level);
        validator.setOperatorWhitelistOfCollection(address(this), operatorWhitelistId);
        validator.setPermittedContractReceiverAllowlistOfCollection(address(this), permittedContractReceiversAllowlistId);
    }

    /**
     * @notice Sets the transfer validator for the token contract.
     *
     * @dev    Throws when provided validator contract is not the zero address and doesn't support 
     *         the ICreatorTokenTransferValidator interface. 
     * @dev    Throws when the caller is not the contract owner.
     *
     * @dev    <h4>Postconditions:</h4>
     *         1. The transferValidator address is updated.
     *         2. The `TransferValidatorUpdated` event is emitted.
     *
     * @param transferValidator_ The address of the transfer validator contract.
     */
    function setTransferValidator(address transferValidator_) public {
        _requireCallerIsContractOwner();

        bool isValidTransferValidator = false;

        if(transferValidator_.code.length > 0) {
            try IERC165(transferValidator_).supportsInterface(type(ICreatorTokenTransferValidator).interfaceId) 
                returns (bool supportsInterface) {
                isValidTransferValidator = supportsInterface;
            } catch {}
        }

        if(transferValidator_ != address(0) && !isValidTransferValidator) {
            revert CreatorTokenBase__InvalidTransferValidatorContract();
        }

        emit TransferValidatorUpdated(address(transferValidator), transferValidator_);

        transferValidator = ICreatorTokenTransferValidator(transferValidator_);
    }

    /**
     * @notice Returns the transfer validator contract address for this token contract.
     */
    function getTransferValidator() public view override returns (ICreatorTokenTransferValidator) {
        return transferValidator;
    }

    /**
     * @notice Returns the security policy for this token contract, which includes:
     *         Transfer security level, operator whitelist id, permitted contract receiver allowlist id.
     */
    function getSecurityPolicy() public view override returns (CollectionSecurityPolicy memory) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.getCollectionSecurityPolicy(address(this));
        }

        return CollectionSecurityPolicy({
            transferSecurityLevel: TransferSecurityLevels.Zero,
            operatorWhitelistId: 0,
            permittedContractReceiversId: 0
        });
    }

    /**
     * @notice Returns the list of all whitelisted operators for this token contract.
     * @dev    This can be an expensive call and should only be used in view-only functions.
     */
    function getWhitelistedOperators() public view override returns (address[] memory) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.getWhitelistedOperators(
                transferValidator.getCollectionSecurityPolicy(address(this)).operatorWhitelistId);
        }

        return new address[](0);
    }

    /**
     * @notice Returns the list of permitted contract receivers for this token contract.
     * @dev    This can be an expensive call and should only be used in view-only functions.
     */
    function getPermittedContractReceivers() public view override returns (address[] memory) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.getPermittedContractReceivers(
                transferValidator.getCollectionSecurityPolicy(address(this)).permittedContractReceiversId);
        }

        return new address[](0);
    }

    /**
     * @notice Checks if an operator is whitelisted for this token contract.
     * @param operator The address of the operator to check.
     */
    function isOperatorWhitelisted(address operator) public view override returns (bool) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.isOperatorWhitelisted(
                transferValidator.getCollectionSecurityPolicy(address(this)).operatorWhitelistId, operator);
        }

        return false;
    }

    /**
     * @notice Checks if a contract receiver is permitted for this token contract.
     * @param receiver The address of the receiver to check.
     */
    function isContractReceiverPermitted(address receiver) public view override returns (bool) {
        if (address(transferValidator) != address(0)) {
            return transferValidator.isContractReceiverPermitted(
                transferValidator.getCollectionSecurityPolicy(address(this)).permittedContractReceiversId, receiver);
        }

        return false;
    }

    /**
     * @notice Determines if a transfer is allowed based on the token contract's security policy.  Use this function
     *         to simulate whether or not a transfer made by the specified `caller` from the `from` address to the `to`
     *         address would be allowed by this token's security policy.
     *
     * @notice This function only checks the security policy restrictions and does not check whether token ownership
     *         or approvals are in place. 
     *
     * @param caller The address of the simulated caller.
     * @param from   The address of the sender.
     * @param to     The address of the receiver.
     * @return       True if the transfer is allowed, false otherwise.
     */
    function isTransferAllowed(address caller, address from, address to) public view override returns (bool) {
        if (address(transferValidator) != address(0)) {
            try transferValidator.applyCollectionTransferPolicy(caller, from, to) {
                return true;
            } catch {
                return false;
            }
        }
        return true;
    }

    /**
     * @dev Pre-validates a token transfer, reverting if the transfer is not allowed by this token's security policy.
     *      Inheriting contracts are responsible for overriding the _beforeTokenTransfer function, or its equivalent
     *      and calling _validateBeforeTransfer so that checks can be properly applied during token transfers.
     *
     * @dev Throws when the transfer doesn't comply with the collection's transfer policy, if the transferValidator is
     *      set to a non-zero address.
     *
     * @param caller  The address of the caller.
     * @param from    The address of the sender.
     * @param to      The address of the receiver.
     */
    function _preValidateTransfer(
        address caller, 
        address from, 
        address to, 
        uint256 /*tokenId*/, 
        uint256 /*value*/) internal virtual override {
        if (address(transferValidator) != address(0)) {
            transferValidator.applyCollectionTransferPolicy(caller, from, to);
        }
    }
}

// File: contracts/Rektifier.sol


pragma solidity ^0.8.23;









contract REKTIFIERS is ERC1155, Ownable, ReentrancyGuard, BasicRoyaltiesInitializable, ImmediateRoyaltySplitter, CreatorTokenBase {
    using Strings for uint256;

    // Token IDs: 1 = Rusty (700 max), 2 = 7700 (300 max), 3 = Gold (111 max)
    uint256 public constant RUSTY = 1;
    uint256 public constant SEVENTY_SEVEN_HUNDRED = 2; 
    uint256 public constant GOLD = 3;

    uint256 public constant RUSTY_MAX_SUPPLY = 700;
    uint256 public constant SEVENTY_SEVEN_HUNDRED_MAX_SUPPLY = 300;
    uint256 public constant GOLD_MAX_SUPPLY = 111;

    uint256 public rustyMinted;
    uint256 public seventySevenHundredMinted;
    uint256 public goldMinted;

    string public name = "REKTIFIERS";
    string public symbol = "REKT";

    // Mapping of addresses allowed to burn (in addition to owner)
    mapping(address => bool) public allowedBurners;

    string public baseUri;
    constructor(
        address _initialOwner,
        string memory _baseUri,
        uint96 _royaltyFeeNumerator
    ) 
        Ownable(_initialOwner)
        ERC1155(_baseUri)
        CreatorTokenBase()
    {
        baseUri = _baseUri;
        _setDefaultRoyalty(address(this), _royaltyFeeNumerator);
    }

    function _requireCallerIsContractOwner() internal view override {
        require(msg.sender == owner(), "Caller is not the contract owner");
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        returns (string memory)
    {
        return string(abi.encodePacked(baseUri, _tokenId.toString(), ".json"));
    }

    function uri(uint256 tokenId) public view override returns (string memory) {
        return string(abi.encodePacked(super.uri(tokenId), tokenId.toString(), ".json"));
    }

    // Owner can update base URI if needed
    function setURI(string memory newuri) external onlyOwner {
        _setURI(newuri);
        baseUri = newuri;
    }

    // Set royalty info
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function setAllowedBurner(address burner, bool allowed) external onlyOwner {
        allowedBurners[burner] = allowed;
    }

    // Airdrop a single NFT of a given type to a wallet
    function airdropSingle(address to, uint256 tokenId) external onlyOwner nonReentrant {
        _checkSupply(tokenId, 1);
        _mint(to, tokenId, 1, "");
        _incrementCounter(tokenId, 1);
    }

    // Airdrop to multiple wallets the same type (1 per wallet)
    function airdropBatch(address[] calldata recipients, uint256 tokenId) external onlyOwner nonReentrant {
        uint256 length = recipients.length;
        _checkSupply(tokenId, length);
        for (uint256 i = 0; i < length; i++) {
            _mint(recipients[i], tokenId, 1, "");
        }
        _incrementCounter(tokenId, length);
    }

    function burn(
        address account,
        uint256 tokenId,
        uint256 amount
    ) external nonReentrant {
        require(msg.sender == owner() || allowedBurners[msg.sender], "Not allowed to burn");
        _burn(account, tokenId, amount);
    }

    function _checkSupply(uint256 tokenId, uint256 amount) internal view {
        if (tokenId == RUSTY) {
            require(rustyMinted + amount <= RUSTY_MAX_SUPPLY, "Exceeds Rusty supply");
        } else if (tokenId == SEVENTY_SEVEN_HUNDRED) {
            require(seventySevenHundredMinted + amount <= SEVENTY_SEVEN_HUNDRED_MAX_SUPPLY, "Exceeds 7700 supply");
        } else if (tokenId == GOLD) {
            require(goldMinted + amount <= GOLD_MAX_SUPPLY, "Exceeds Gold supply");
        } else {
            revert("Invalid tokenId");
        }
    }

    function _incrementCounter(uint256 tokenId, uint256 amount) internal {
        if (tokenId == RUSTY) {
            rustyMinted += amount;
        } else if (tokenId == SEVENTY_SEVEN_HUNDRED) {
            seventySevenHundredMinted += amount;
        } else if (tokenId == GOLD) {
            goldMinted += amount;
        }
    }

    // supportsInterface
    function supportsInterface(
        bytes4 interfaceId
    )
        public
        view
        virtual
        override(ERC1155, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    /// @notice Initializes the receivers and their shares.
    /// @param _receivers The new array of receiver addresses.
    /// @param _shares The new array of corresponding shares.
    function initializeRoyaltyShares(
        address[] memory _receivers,
        uint256[] memory _shares
    ) external onlyOwner {
        _initializeRoyaltyShares(_receivers, _shares);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_initialOwner","type":"address"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"uint96","name":"_royaltyFeeNumerator","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"CreatorTokenBase__InvalidTransferValidatorContract","type":"error"},{"inputs":[],"name":"CreatorTokenBase__SetTransferValidatorFirst","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC1155InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC1155InvalidApprover","type":"error"},{"inputs":[{"internalType":"uint256","name":"idsLength","type":"uint256"},{"internalType":"uint256","name":"valuesLength","type":"uint256"}],"name":"ERC1155InvalidArrayLength","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC1155InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC1155InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC1155InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC1155MissingApprovalForAll","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ShouldNotMintToBurnAddress","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":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"DefaultRoyaltySet","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":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentSplit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"royaltyReceivers","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"royaltyShares","type":"uint256[]"}],"name":"RoyaltySharesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"TokenRoyaltySet","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":"address","name":"oldValidator","type":"address"},{"indexed":false,"internalType":"address","name":"newValidator","type":"address"}],"name":"TransferValidatorUpdated","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":[],"name":"DEFAULT_OPERATOR_WHITELIST_ID","outputs":[{"internalType":"uint120","name":"","type":"uint120"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_TRANSFER_SECURITY_LEVEL","outputs":[{"internalType":"enum TransferSecurityLevels","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_TRANSFER_VALIDATOR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GOLD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GOLD_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RUSTY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RUSTY_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SEVENTY_SEVEN_HUNDRED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SEVENTY_SEVEN_HUNDRED_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_ROYALTY_SHARES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"airdropBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"airdropSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedBurners","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"baseUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPermittedContractReceivers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRoyaltyShares","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSecurityPolicy","outputs":[{"components":[{"internalType":"enum TransferSecurityLevels","name":"transferSecurityLevel","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversId","type":"uint120"}],"internalType":"struct CollectionSecurityPolicy","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTransferValidator","outputs":[{"internalType":"contract ICreatorTokenTransferValidator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistedOperators","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"goldMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_receivers","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"name":"initializeRoyaltyShares","outputs":[],"stateMutability":"nonpayable","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":"receiver","type":"address"}],"name":"isContractReceiverPermitted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"isOperatorWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"caller","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"isTransferAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"royaltyReceivers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"royaltyShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rustyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","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":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"burner","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setAllowedBurner","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":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum TransferSecurityLevels","name":"level","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversAllowlistId","type":"uint120"}],"name":"setToCustomSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"validator","type":"address"},{"internalType":"enum TransferSecurityLevels","name":"level","type":"uint8"},{"internalType":"uint120","name":"operatorWhitelistId","type":"uint120"},{"internalType":"uint120","name":"permittedContractReceiversAllowlistId","type":"uint120"}],"name":"setToCustomValidatorAndSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setToDefaultSecurityPolicy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"transferValidator_","type":"address"}],"name":"setTransferValidator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seventySevenHundredMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateReceiverAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c0604052600a60809081526952454b5449464945525360b01b60a052600d9061002990826102d5565b50604080518082019091526004815263149152d560e21b6020820152600e9061005290826102d5565b5034801561005e575f5ffd5b50604051613faf380380613faf83398101604081905261007d916103aa565b8282610088816100e5565b506001600160a01b0381166100b757604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100c0816100f5565b50600160065560106100d283826102d5565b506100dd3082610146565b505050610488565b60026100f182826102d5565b5050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610150828261019b565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b6127106001600160601b0382168110156101da57604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016100ae565b6001600160a01b03831661020357604051635b6cc80560e11b81525f60048201526024016100ae565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600455565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061026557607f821691505b60208210810361028357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156102d057805f5260205f20601f840160051c810160208510156102ae5750805b601f840160051c820191505b818110156102cd575f81556001016102ba565b50505b505050565b81516001600160401b038111156102ee576102ee61023d565b610302816102fc8454610251565b84610289565b6020601f821160018114610334575f831561031d5750848201515b5f19600385901b1c1916600184901b1784556102cd565b5f84815260208120601f198516915b828110156103635787850151825560209485019460019092019101610343565b508482101561038057868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b80516001600160601b03811681146103a5575f5ffd5b919050565b5f5f5f606084860312156103bc575f5ffd5b83516001600160a01b03811681146103d2575f5ffd5b60208501519093506001600160401b038111156103ed575f5ffd5b8401601f810186136103fd575f5ffd5b80516001600160401b038111156104165761041661023d565b604051601f8201601f19908116603f011681016001600160401b03811182821017156104445761044461023d565b60405281815282820160200188101561045b575f5ffd5b8160208401602083015e5f6020838301015280945050505061047f6040850161038f565b90509250925092565b613b1a806104955f395ff3fe6080604052600436106102f5575f3560e01c80636c3b869911610189578063a8909dcb116100d8578063e985e9c511610092578063f2fde38b1161006d578063f2fde38b14610c39578063f5298aca14610c58578063fc7acf5e14610c77578063fd762d9214610c8c575f5ffd5b8063e985e9c514610bdc578063f152015714610bfb578063f242432a14610c1a575f5ffd5b8063a8909dcb14610b36578063a9fc664e14610b55578063af21a62814610b74578063be537f4314610b88578063c87b56dd14610ba9578063d007af5c14610bc8575f5ffd5b80638e5eb664116101435780639abc83201161011e5780639abc832014610ac25780639d645a4414610ad6578063a22cb46514610af5578063a596dae314610b14575f5ffd5b80638e5eb66414610a8457806395d89b4114610a995780639607234a14610aad575f5ffd5b80636c3b8699146109f6578063715018a614610a0a57806371e0f85714610a1e5780637eb70bf714610a33578063837f201914610a525780638da5cb5b14610a67575f5ffd5b80632e8da829116102455780634e1273f4116101ff57806361347162116101da5780636134716214610985578063659ba1ab146109a4578063671c3e4f146109b85780636b8eed0a146109d7575f5ffd5b80634e1273f41461090e5780635bb2f6911461093a5780635d4c1d4614610959575f5ffd5b80632e8da829146108675780632eb2c2d6146108865780632f255240146108a55780633c768d0e146108ba5780633e4bee38146108d9578063495c8bf9146108ed575f5ffd5b806306fdde03116102b05780631b25b0771161028b5780631b25b077146107d55780631c33b328146107f45780632a55205a146108155780632c8735b714610853575f5ffd5b806306fdde0314610778578063098144d4146107995780630e89341c146107b6575f5ffd5b8062fdd58e1461064f57806301463546146106a057806301ffc9a7146106dd57806302fe53051461070c57806304634d8d1461072b57806306a85a0b1461074a575f5ffd5b3661064b57610302610cab565b5f341161034c5760405162461bcd60e51b8152602060048201526013602482015272139bc81c185e5b595b9d081c9958d95a5d9959606a1b60448201526064015b60405180910390fd5b604080513381523460208201527f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770910160405180910390a1345f80805b60075461039890600190612e6b565b8110156104f957600881815481106103b2576103b2612e7e565b5f9182526020909120015492506103d56127106103cf3486610d04565b90610d18565b91506103e18483610d23565b93505f600782815481106103f7576103f7612e7e565b5f9182526020822001546040516001600160a01b039091169185919081818185875af1925050503d805f8114610448576040519150601f19603f3d011682016040523d82523d5f602084013e61044d565b606091505b50509050806104905760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610343565b7fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174600783815481106104c4576104c4612e7e565b5f9182526020918290200154604080516001600160a01b0390921682529181018690520160405180910390a150600101610389565b505f8311801561050a575060075415155b1561063c57600780545f919061052290600190612e6b565b8154811061053257610532612e7e565b5f9182526020822001546040516001600160a01b039091169186919081818185875af1925050503d805f8114610583576040519150601f19603f3d011682016040523d82523d5f602084013e610588565b606091505b50509050806105cb5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610343565b600780547fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced17491906105fe90600190612e6b565b8154811061060e5761060e612e7e565b5f9182526020918290200154604080516001600160a01b0390921682529181018790520160405180910390a1505b5050506106496001600655565b005b5f5ffd5b34801561065a575f5ffd5b5061068d610669366004612ea6565b5f908152602081815260408083206001600160a01b03949094168352929052205490565b6040519081526020015b60405180910390f35b3480156106ab575f5ffd5b506106c571721c310194ccfc01e523fc93c9cccfa2a0ac81565b6040516001600160a01b039091168152602001610697565b3480156106e8575f5ffd5b506106fc6106f7366004612ee5565b610d2e565b6040519015158152602001610697565b348015610717575f5ffd5b50610649610726366004612f9c565b610d38565b348015610736575f5ffd5b50610649610745366004612fe8565b610d59565b348015610755575f5ffd5b506106fc61076436600461302a565b600f6020525f908152604090205460ff1681565b348015610783575f5ffd5b5061078c610d6b565b6040516106979190613073565b3480156107a4575f5ffd5b506009546001600160a01b03166106c5565b3480156107c1575f5ffd5b5061078c6107d0366004613085565b610df7565b3480156107e0575f5ffd5b506106fc6107ef36600461309c565b610e32565b3480156107ff575f5ffd5b50610808600181565b6040516106979190613104565b348015610820575f5ffd5b5061083461082f366004613112565b610ec7565b604080516001600160a01b039093168352602083019190915201610697565b34801561085e575f5ffd5b5061068d600181565b348015610872575f5ffd5b506106fc61088136600461302a565b610f4a565b348015610891575f5ffd5b506106496108a03660046131dc565b611050565b3480156108b0575f5ffd5b5061068d61271081565b3480156108c5575f5ffd5b506106c56108d4366004613085565b6110b7565b3480156108e4575f5ffd5b5061068d600381565b3480156108f8575f5ffd5b506109016110df565b60405161069791906132cf565b348015610919575f5ffd5b5061092d6109283660046132e1565b6111e9565b60405161069791906133d4565b348015610945575f5ffd5b506106496109543660046132e1565b6112b3565b348015610964575f5ffd5b5061096d600181565b6040516001600160781b039091168152602001610697565b348015610990575f5ffd5b5061064961099f366004613406565b6112c5565b3480156109af575f5ffd5b5061068d600281565b3480156109c3575f5ffd5b506106496109d2366004613443565b611420565b3480156109e2575f5ffd5b506106496109f136600461302a565b6114a9565b348015610a01575f5ffd5b506106496115ef565b348015610a15575f5ffd5b506106496116de565b348015610a29575f5ffd5b5061068d61012c81565b348015610a3e575f5ffd5b50610649610a4d366004612ea6565b6116f1565b348015610a5d575f5ffd5b5061068d600a5481565b348015610a72575f5ffd5b506003546001600160a01b03166106c5565b348015610a8f575f5ffd5b5061068d600b5481565b348015610aa4575f5ffd5b5061078c61173c565b348015610ab8575f5ffd5b5061068d600c5481565b348015610acd575f5ffd5b5061078c611749565b348015610ae1575f5ffd5b506106fc610af036600461302a565b611756565b348015610b00575f5ffd5b50610649610b0f3660046134c3565b61181b565b348015610b1f575f5ffd5b50610b28611826565b6040516106979291906134ef565b348015610b41575f5ffd5b50610649610b503660046134c3565b6118df565b348015610b60575f5ffd5b50610649610b6f36600461302a565b611911565b348015610b7f575f5ffd5b5061068d606f81565b348015610b93575f5ffd5b50610b9c611a30565b604051610697919061351c565b348015610bb4575f5ffd5b5061078c610bc3366004613085565b611ae7565b348015610bd3575f5ffd5b50610901611b05565b348015610be7575f5ffd5b506106fc610bf636600461355a565b611bbc565b348015610c06575f5ffd5b5061068d610c15366004613085565b611be9565b348015610c25575f5ffd5b50610649610c34366004613586565b611c08565b348015610c44575f5ffd5b50610649610c5336600461302a565b611c67565b348015610c63575f5ffd5b50610649610c723660046135dd565b611ca1565b348015610c82575f5ffd5b5061068d6102bc81565b348015610c97575f5ffd5b50610649610ca636600461360f565b611d27565b600260065403610cfd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610343565b6002600655565b5f610d0f8284613668565b90505b92915050565b5f610d0f828461367f565b5f610d0f8284612e6b565b5f610d1282611e1c565b610d40611e40565b610d4981611e6d565b6010610d55828261371a565b5050565b610d61611e40565b610d558282611e79565b600d8054610d789061369e565b80601f0160208091040260200160405190810160405280929190818152602001828054610da49061369e565b8015610def5780601f10610dc657610100808354040283529160200191610def565b820191905f5260205f20905b815481529060010190602001808311610dd257829003601f168201915b505050505081565b6060610e0282611ece565b610e0b83611f60565b604051602001610e1c9291906137eb565b6040516020818303038152906040529050919050565b6009545f906001600160a01b031615610ebc5760095460405163050bf71960e31b81526001600160a01b038681166004830152858116602483015284811660448301529091169063285fb8c8906064015f6040518083038186803b158015610e98575f5ffd5b505afa925050508015610ea9575060015b610eb457505f610ec0565b506001610ec0565b5060015b9392505050565b5f82815260056020526040812080548291906001600160a01b03811690600160a01b90046001600160601b031681610f1a5750506004546001600160a01b03811690600160a01b90046001600160601b03165b5f612710610f316001600160601b03841689613668565b610f3b919061367f565b92989297509195505050505050565b6009545f906001600160a01b03161561104957600954604051635caaa2a960e11b81523060048201526001600160a01b039091169063d72dde5e90829063b955455290602401606060405180830381865afa158015610fab573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fcf9190613815565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b03851660248201526044015b602060405180830381865afa158015611025573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d129190613886565b505f919050565b336001600160a01b0386168114801590611071575061106f8682611bbc565b155b156110a25760405163711bec9160e11b81526001600160a01b03808316600483015287166024820152604401610343565b6110af8686868686611fef565b505050505050565b600781815481106110c6575f80fd5b5f918252602090912001546001600160a01b0316905081565b6009546060906001600160a01b0316156111d757600954604051635caaa2a960e11b81523060048201526001600160a01b0390911690633fe5df9990829063b955455290602401606060405180830381865afa158015611141573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111659190613815565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526024015b5f60405180830381865afa1580156111ab573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111d291908101906138a1565b905090565b50604080515f81526020810190915290565b6060815183511461121a5781518351604051635b05999160e01b815260048101929092526024820152604401610343565b5f83516001600160401b0381111561123457611234612f00565b60405190808252806020026020018201604052801561125d578160200160208202803683370190505b5090505f5b84518110156112ab5760208082028601015161128690602080840287010151610669565b82828151811061129857611298612e7e565b6020908102919091010152600101611262565b509392505050565b6112bb611e40565b610d558282612054565b6112cd6120ae565b5f6112e06009546001600160a01b031690565b90506001600160a01b03811661130957604051631cffe3dd60e11b815260040160405180910390fd5b604051630368065360e61b81526001600160a01b0382169063da0194c090611337903090889060040161393a565b5f604051808303815f87803b15801561134e575f5ffd5b505af1158015611360573d5f5f3e3d5ffd5b5050604051631182550160e11b81526001600160a01b0384169250632304aa0291506113929030908790600401613957565b5f604051808303815f87803b1580156113a9575f5ffd5b505af11580156113bb573d5f5f3e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0384169250638d74431491506113ed9030908690600401613957565b5f604051808303815f87803b158015611404575f5ffd5b505af1158015611416573d5f5f3e3d5ffd5b5050505050505050565b611428611e40565b611430610cab565b8161143b8282612108565b5f5b8181101561148e5761148685858381811061145a5761145a612e7e565b905060200201602081019061146f919061302a565b84600160405180602001604052805f815250612259565b60010161143d565b5061149982826122b4565b506114a46001600655565b505050565b6114b1610cab565b6001600160a01b0381166115005760405162461bcd60e51b815260206004820152601660248201527513995dc81859191c995cdcc81a5cc81a5b9d985b1a5960521b6044820152606401610343565b5f805b60075481101561159357336001600160a01b03166007828154811061152a5761152a612e7e565b5f918252602090912001546001600160a01b03160361158b57826007828154811061155757611557612e7e565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060019150611593565b600101611503565b50806115e15760405162461bcd60e51b815260206004820152601a60248201527f52656365697665722061646472657373206e6f7420666f756e640000000000006044820152606401610343565b506115ec6001600655565b50565b6115f76120ae565b61161271721c310194ccfc01e523fc93c9cccfa2a0ac611911565b604051630368065360e61b815271721c310194ccfc01e523fc93c9cccfa2a0ac9063da0194c09061164a90309060019060040161393a565b5f604051808303815f87803b158015611661575f5ffd5b505af1158015611673573d5f5f3e3d5ffd5b5050604051631182550160e11b815271721c310194ccfc01e523fc93c9cccfa2a0ac9250632304aa0291506116af903090600190600401613957565b5f604051808303815f87803b1580156116c6575f5ffd5b505af11580156116d8573d5f5f3e3d5ffd5b50505050565b6116e6611e40565b6116ef5f612313565b565b6116f9611e40565b611701610cab565b61170c816001612108565b6117278282600160405180602001604052805f815250612259565b6117328160016122b4565b610d556001600655565b600e8054610d789061369e565b60108054610d789061369e565b6009545f906001600160a01b03161561104957600954604051635caaa2a960e11b81523060048201526001600160a01b0390911690639445f53090829063b955455290602401606060405180830381865afa1580156117b7573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117db9190613815565b60409081015190516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b038516602482015260440161100a565b610d55338383612364565b606080600760088180548060200260200160405190810160405280929190818152602001828054801561188057602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611862575b50505050509150808054806020026020016040519081016040528092919081815260200182805480156118d057602002820191905f5260205f20905b8154815260200190600101908083116118bc575b50505050509050915091509091565b6118e7611e40565b6001600160a01b03919091165f908152600f60205260409020805460ff1916911515919091179055565b6119196120ae565b5f6001600160a01b0382163b15611992576040516301ffc9a760e01b81525f60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa92505050801561198a575060408051601f3d908101601f1916820190925261198791810190613886565b60015b156119925790505b6001600160a01b038216158015906119a8575080155b156119c6576040516332483afb60e01b815260040160405180910390fd5b600954604080516001600160a01b03928316815291841660208301527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a150600980546001600160a01b0319166001600160a01b0392909216919091179055565b604080516060810182525f80825260208201819052918101919091526009546001600160a01b031615611ac757600954604051635caaa2a960e11b81523060048201526001600160a01b039091169063b955455290602401606060405180830381865afa158015611aa3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d29190613815565b50604080516060810182525f808252602082018190529181019190915290565b60606010611af483611f60565b604051602001610e1c929190613979565b6009546060906001600160a01b0316156111d757600954604051635caaa2a960e11b81523060048201526001600160a01b03909116906317e94a6c90829063b955455290602401606060405180830381865afa158015611b67573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8b9190613815565b60409081015190516001600160e01b031960e084901b1681526001600160781b039091166004820152602401611191565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205460ff1690565b60088181548110611bf8575f80fd5b5f91825260209091200154905081565b336001600160a01b0386168114801590611c295750611c278682611bbc565b155b15611c5a5760405163711bec9160e11b81526001600160a01b03808316600483015287166024820152604401610343565b6110af86868686866123f8565b611c6f611e40565b6001600160a01b038116611c9857604051631e4fbdf760e01b81525f6004820152602401610343565b6115ec81612313565b611ca9610cab565b6003546001600160a01b0316331480611cd05750335f908152600f602052604090205460ff165b611d125760405162461bcd60e51b81526020600482015260136024820152722737ba1030b63637bbb2b2103a3790313ab93760691b6044820152606401610343565b611d1d838383612484565b6114a46001600655565b611d2f6120ae565b611d3884611911565b604051630368065360e61b81526001600160a01b0385169063da0194c090611d66903090879060040161393a565b5f604051808303815f87803b158015611d7d575f5ffd5b505af1158015611d8f573d5f5f3e3d5ffd5b5050604051631182550160e11b81526001600160a01b0387169250632304aa029150611dc19030908690600401613957565b5f604051808303815f87803b158015611dd8575f5ffd5b505af1158015611dea573d5f5f3e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0387169250638d74431491506113ed9030908590600401613957565b5f6001600160e01b0319821663152a902d60e11b1480610d125750610d12826124ea565b6003546001600160a01b031633146116ef5760405163118cdaa760e01b8152336004820152602401610343565b6002610d55828261371a565b611e838282612539565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b606060028054611edd9061369e565b80601f0160208091040260200160405190810160405280929190818152602001828054611f099061369e565b8015611f545780601f10611f2b57610100808354040283529160200191611f54565b820191905f5260205f20905b815481529060010190602001808311611f3757829003601f168201915b50505050509050919050565b60605f611f6c836125db565b60010190505f816001600160401b03811115611f8a57611f8a612f00565b6040519080825280601f01601f191660200182016040528015611fb4576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611fbe57509392505050565b6001600160a01b03841661201857604051632bfa23e760e11b81525f6004820152602401610343565b6001600160a01b03851661204057604051626a0d4560e21b81525f6004820152602401610343565b61204d85858585856126b2565b5050505050565b600754156120a45760405162461bcd60e51b815260206004820152601a60248201527f526f79616c74792073686172657320616c7265616479207365740000000000006044820152606401610343565b610d558282612705565b6003546001600160a01b031633146116ef5760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f742074686520636f6e7472616374206f776e65726044820152606401610343565b60018203612166576102bc81600a546121219190613a03565b1115610d555760405162461bcd60e51b81526020600482015260146024820152734578636565647320527573747920737570706c7960601b6044820152606401610343565b600282036121c35761012c81600b5461217f9190613a03565b1115610d555760405162461bcd60e51b815260206004820152601360248201527245786365656473203737303020737570706c7960681b6044820152606401610343565b6003820361221f57606f81600c546121db9190613a03565b1115610d555760405162461bcd60e51b81526020600482015260136024820152724578636565647320476f6c6420737570706c7960681b6044820152606401610343565b60405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b6044820152606401610343565b6001600160a01b03841661228257604051632bfa23e760e11b81525f6004820152602401610343565b604080516001808252602082018690528183019081526060820185905260808201909252906110af5f878484876126b2565b600182036122d85780600a5f8282546122cd9190613a03565b90915550610d559050565b600282036122f15780600b5f8282546122cd9190613a03565b60038203610d555780600c5f82825461230a9190613a03565b90915550505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661238c5760405162ced3e160e81b81525f6004820152602401610343565b6001600160a01b038381165f81815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03841661242157604051632bfa23e760e11b81525f6004820152602401610343565b6001600160a01b03851661244957604051626a0d4560e21b81525f6004820152602401610343565b6040805160018082526020820186905281830190815260608201859052608082019092529061247b87878484876126b2565b50505050505050565b6001600160a01b0383166124ac57604051626a0d4560e21b81525f6004820152602401610343565b604080516001808252602082018590528183019081526060820184905260a082019092525f6080820181815291929161204d918791859085906126b2565b5f6001600160e01b03198216636cdb3d1360e11b148061251a57506001600160e01b031982166303a24d0760e21b145b80610d1257506301ffc9a760e01b6001600160e01b0319831614610d12565b6127106001600160601b03821681101561257857604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610343565b6001600160a01b0383166125a157604051635b6cc80560e11b81525f6004820152602401610343565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600455565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106126195772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612645576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061266357662386f26fc10000830492506010015b6305f5e100831061267b576305f5e100830492506008015b612710831061268f57612710830492506004015b606483106126a1576064830492506002015b600a8310610d125760010192915050565b6126be85858585612985565b6001600160a01b0384161561204d57825133906001036126f757602084810151908401516126f0838989858589612b94565b50506110af565b6110af818787878787612cb5565b805182511461274f5760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610343565b5f82511161279f5760405162461bcd60e51b815260206004820152601c60248201527f4e6f20726f79616c74795265636569766572732070726f7669646564000000006044820152606401610343565b5f805b83518110156128c3575f6001600160a01b03168482815181106127c7576127c7612e7e565b60200260200101516001600160a01b0316036128255760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964207265636569766572206164647265737300000000000000006044820152606401610343565b5f83828151811061283857612838612e7e565b60200260200101511161288d5760405162461bcd60e51b815260206004820152601c60248201527f5368617265206d7573742062652067726561746572207468616e2030000000006044820152606401610343565b6128b98382815181106128a2576128a2612e7e565b602002602001015183612d9c90919063ffffffff16565b91506001016127a2565b50612710811461291f5760405162461bcd60e51b815260206004820152602160248201527f546f74616c20726f79616c7479536861726573206d75737420626520313030306044820152600360fc1b6064820152608401610343565b8251612932906007906020860190612da7565b508151612946906008906020850190612e0a565b507f093643a9a716c713e0c48f9cd3ddcbc463c36fe73c4af8ee4e97d4b00b04e2a483836040516129789291906134ef565b60405180910390a1505050565b80518251146129b45781518151604051635b05999160e01b815260048101929092526024820152604401610343565b335f5b8351811015612ab6576020818102858101820151908501909101516001600160a01b03881615612a68575f828152602081815260408083206001600160a01b038c16845290915290205481811015612a42576040516303dee4c560e01b81526001600160a01b038a166004820152602481018290526044810183905260648101849052608401610343565b5f838152602081815260408083206001600160a01b038d16845290915290209082900390555b6001600160a01b03871615612aac575f828152602081815260408083206001600160a01b038b16845290915281208054839290612aa6908490613a03565b90915550505b50506001016129b7565b508251600103612b365760208301515f906020840151909150856001600160a01b0316876001600160a01b0316846001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628585604051612b27929190918252602082015260400190565b60405180910390a4505061204d565b836001600160a01b0316856001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612b85929190613a16565b60405180910390a45050505050565b6001600160a01b0384163b156110af5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190612bd89089908990889088908890600401613a28565b6020604051808303815f875af1925050508015612c12575060408051601f3d908101601f19168201909252612c0f91810190613a6c565b60015b612c79573d808015612c3f576040519150601f19603f3d011682016040523d82523d5f602084013e612c44565b606091505b5080515f03612c7157604051632bfa23e760e11b81526001600160a01b0386166004820152602401610343565b805181602001fd5b6001600160e01b0319811663f23a6e6160e01b1461247b57604051632bfa23e760e11b81526001600160a01b0386166004820152602401610343565b6001600160a01b0384163b156110af5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612cf99089908990889088908890600401613a87565b6020604051808303815f875af1925050508015612d33575060408051601f3d908101601f19168201909252612d3091810190613a6c565b60015b612d60573d808015612c3f576040519150601f19603f3d011682016040523d82523d5f602084013e612c44565b6001600160e01b0319811663bc197c8160e01b1461247b57604051632bfa23e760e11b81526001600160a01b0386166004820152602401610343565b5f610d0f8284613a03565b828054828255905f5260205f20908101928215612dfa579160200282015b82811115612dfa57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612dc5565b50612e06929150612e43565b5090565b828054828255905f5260205f20908101928215612dfa579160200282015b82811115612dfa578251825591602001919060010190612e28565b5b80821115612e06575f8155600101612e44565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610d1257610d12612e57565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03811681146115ec575f5ffd5b5f5f60408385031215612eb7575f5ffd5b8235612ec281612e92565b946020939093013593505050565b6001600160e01b0319811681146115ec575f5ffd5b5f60208284031215612ef5575f5ffd5b8135610ec081612ed0565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715612f3c57612f3c612f00565b604052919050565b5f5f6001600160401b03841115612f5d57612f5d612f00565b50601f8301601f1916602001612f7281612f14565b915050828152838383011115612f86575f5ffd5b828260208301375f602084830101529392505050565b5f60208284031215612fac575f5ffd5b81356001600160401b03811115612fc1575f5ffd5b8201601f81018413612fd1575f5ffd5b612fe084823560208401612f44565b949350505050565b5f5f60408385031215612ff9575f5ffd5b823561300481612e92565b915060208301356001600160601b038116811461301f575f5ffd5b809150509250929050565b5f6020828403121561303a575f5ffd5b8135610ec081612e92565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610d0f6020830184613045565b5f60208284031215613095575f5ffd5b5035919050565b5f5f5f606084860312156130ae575f5ffd5b83356130b981612e92565b925060208401356130c981612e92565b915060408401356130d981612e92565b809150509250925092565b6007811061310057634e487b7160e01b5f52602160045260245ffd5b9052565b60208101610d1282846130e4565b5f5f60408385031215613123575f5ffd5b50508035926020909101359150565b5f6001600160401b0382111561314a5761314a612f00565b5060051b60200190565b5f82601f830112613163575f5ffd5b813561317661317182613132565b612f14565b8082825260208201915060208360051b860101925085831115613197575f5ffd5b602085015b838110156131b457803583526020928301920161319c565b5095945050505050565b5f82601f8301126131cd575f5ffd5b610d0f83833560208501612f44565b5f5f5f5f5f60a086880312156131f0575f5ffd5b85356131fb81612e92565b9450602086013561320b81612e92565b935060408601356001600160401b03811115613225575f5ffd5b61323188828901613154565b93505060608601356001600160401b0381111561324c575f5ffd5b61325888828901613154565b92505060808601356001600160401b03811115613273575f5ffd5b61327f888289016131be565b9150509295509295909350565b5f8151808452602084019350602083015f5b828110156132c55781516001600160a01b031686526020958601959091019060010161329e565b5093949350505050565b602081525f610d0f602083018461328c565b5f5f604083850312156132f2575f5ffd5b82356001600160401b03811115613307575f5ffd5b8301601f81018513613317575f5ffd5b803561332561317182613132565b8082825260208201915060208360051b850101925087831115613346575f5ffd5b6020840193505b8284101561337157833561336081612e92565b82526020938401939091019061334d565b945050505060208301356001600160401b0381111561338e575f5ffd5b61339a85828601613154565b9150509250929050565b5f8151808452602084019350602083015f5b828110156132c55781518652602095860195909101906001016133b6565b602081525f610d0f60208301846133a4565b600781106115ec575f5ffd5b6001600160781b03811681146115ec575f5ffd5b5f5f5f60608486031215613418575f5ffd5b8335613423816133e6565b92506020840135613433816133f2565b915060408401356130d9816133f2565b5f5f5f60408486031215613455575f5ffd5b83356001600160401b0381111561346a575f5ffd5b8401601f8101861361347a575f5ffd5b80356001600160401b0381111561348f575f5ffd5b8660208260051b84010111156134a3575f5ffd5b6020918201979096509401359392505050565b80151581146115ec575f5ffd5b5f5f604083850312156134d4575f5ffd5b82356134df81612e92565b9150602083013561301f816134b6565b604081525f613501604083018561328c565b828103602084015261351381856133a4565b95945050505050565b5f60608201905061352e8284516130e4565b6001600160781b0360208401511660208301526001600160781b03604084015116604083015292915050565b5f5f6040838503121561356b575f5ffd5b823561357681612e92565b9150602083013561301f81612e92565b5f5f5f5f5f60a0868803121561359a575f5ffd5b85356135a581612e92565b945060208601356135b581612e92565b9350604086013592506060860135915060808601356001600160401b03811115613273575f5ffd5b5f5f5f606084860312156135ef575f5ffd5b83356135fa81612e92565b95602085013595506040909401359392505050565b5f5f5f5f60808587031215613622575f5ffd5b843561362d81612e92565b9350602085013561363d816133e6565b9250604085013561364d816133f2565b9150606085013561365d816133f2565b939692955090935050565b8082028115828204841417610d1257610d12612e57565b5f8261369957634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c908216806136b257607f821691505b6020821081036136d057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156114a457805f5260205f20601f840160051c810160208510156136fb5750805b601f840160051c820191505b8181101561204d575f8155600101613707565b81516001600160401b0381111561373357613733612f00565b61374781613741845461369e565b846136d6565b6020601f821160018114613779575f83156137625750848201515b5f19600385901b1c1916600184901b17845561204d565b5f84815260208120601f198516915b828110156137a85787850151825560209485019460019092019101613788565b50848210156137c557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f81518060208401855e5f93019283525090919050565b5f6137ff6137f983866137d4565b846137d4565b64173539b7b760d91b8152600501949350505050565b5f6060828403128015613826575f5ffd5b50604051606081016001600160401b038111828210171561384957613849612f00565b6040528251613857816133e6565b81526020830151613867816133f2565b6020820152604083015161387a816133f2565b60408201529392505050565b5f60208284031215613896575f5ffd5b8151610ec0816134b6565b5f602082840312156138b1575f5ffd5b81516001600160401b038111156138c6575f5ffd5b8201601f810184136138d6575f5ffd5b80516138e461317182613132565b8082825260208201915060208360051b850101925086831115613905575f5ffd5b6020840193505b8284101561393057835161391f81612e92565b82526020938401939091019061390c565b9695505050505050565b6001600160a01b038316815260408101610ec060208301846130e4565b6001600160a01b039290921682526001600160781b0316602082015260400190565b5f5f84546139868161369e565b60018216801561399d57600181146139b2576139df565b60ff19831686528115158202860193506139df565b875f5260205f205f5b838110156139d7578154888201526001909101906020016139bb565b505081860193505b5050506139ec81856137d4565b64173539b7b760d91b815260050195945050505050565b80820180821115610d1257610d12612e57565b604081525f61350160408301856133a4565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f90613a6190830184613045565b979650505050505050565b5f60208284031215613a7c575f5ffd5b8151610ec081612ed0565b6001600160a01b0386811682528516602082015260a0604082018190525f90613ab2908301866133a4565b8281036060840152613ac481866133a4565b90508281036080840152613ad88185613045565b9897505050505050505056fea2646970667358221220d68977c50633322462ba0c2d6b0c1cc539ba71592390da19dc404e18043e197664736f6c634300081c00330000000000000000000000003303c4350259c2b8f3c560b2ec70ad3ed87a5e72000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000002b2000000000000000000000000000000000000000000000000000000000000007568747470733a2f2f6d6f63636173696e2d66616e63792d6d617273757069616c2d3533312e6d7970696e6174612e636c6f75642f697066732f6261667962656963697a746c7135707466707977626678697169627163697666616876793676777667726c686861723637356175346a346a6c63712f0000000000000000000000

Deployed Bytecode

0x6080604052600436106102f5575f3560e01c80636c3b869911610189578063a8909dcb116100d8578063e985e9c511610092578063f2fde38b1161006d578063f2fde38b14610c39578063f5298aca14610c58578063fc7acf5e14610c77578063fd762d9214610c8c575f5ffd5b8063e985e9c514610bdc578063f152015714610bfb578063f242432a14610c1a575f5ffd5b8063a8909dcb14610b36578063a9fc664e14610b55578063af21a62814610b74578063be537f4314610b88578063c87b56dd14610ba9578063d007af5c14610bc8575f5ffd5b80638e5eb664116101435780639abc83201161011e5780639abc832014610ac25780639d645a4414610ad6578063a22cb46514610af5578063a596dae314610b14575f5ffd5b80638e5eb66414610a8457806395d89b4114610a995780639607234a14610aad575f5ffd5b80636c3b8699146109f6578063715018a614610a0a57806371e0f85714610a1e5780637eb70bf714610a33578063837f201914610a525780638da5cb5b14610a67575f5ffd5b80632e8da829116102455780634e1273f4116101ff57806361347162116101da5780636134716214610985578063659ba1ab146109a4578063671c3e4f146109b85780636b8eed0a146109d7575f5ffd5b80634e1273f41461090e5780635bb2f6911461093a5780635d4c1d4614610959575f5ffd5b80632e8da829146108675780632eb2c2d6146108865780632f255240146108a55780633c768d0e146108ba5780633e4bee38146108d9578063495c8bf9146108ed575f5ffd5b806306fdde03116102b05780631b25b0771161028b5780631b25b077146107d55780631c33b328146107f45780632a55205a146108155780632c8735b714610853575f5ffd5b806306fdde0314610778578063098144d4146107995780630e89341c146107b6575f5ffd5b8062fdd58e1461064f57806301463546146106a057806301ffc9a7146106dd57806302fe53051461070c57806304634d8d1461072b57806306a85a0b1461074a575f5ffd5b3661064b57610302610cab565b5f341161034c5760405162461bcd60e51b8152602060048201526013602482015272139bc81c185e5b595b9d081c9958d95a5d9959606a1b60448201526064015b60405180910390fd5b604080513381523460208201527f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770910160405180910390a1345f80805b60075461039890600190612e6b565b8110156104f957600881815481106103b2576103b2612e7e565b5f9182526020909120015492506103d56127106103cf3486610d04565b90610d18565b91506103e18483610d23565b93505f600782815481106103f7576103f7612e7e565b5f9182526020822001546040516001600160a01b039091169185919081818185875af1925050503d805f8114610448576040519150601f19603f3d011682016040523d82523d5f602084013e61044d565b606091505b50509050806104905760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610343565b7fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced174600783815481106104c4576104c4612e7e565b5f9182526020918290200154604080516001600160a01b0390921682529181018690520160405180910390a150600101610389565b505f8311801561050a575060075415155b1561063c57600780545f919061052290600190612e6b565b8154811061053257610532612e7e565b5f9182526020822001546040516001600160a01b039091169186919081818185875af1925050503d805f8114610583576040519150601f19603f3d011682016040523d82523d5f602084013e610588565b606091505b50509050806105cb5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610343565b600780547fdc94404aacc348ec6150566de35895623beac8db658845336c9dbf8361ced17491906105fe90600190612e6b565b8154811061060e5761060e612e7e565b5f9182526020918290200154604080516001600160a01b0390921682529181018790520160405180910390a1505b5050506106496001600655565b005b5f5ffd5b34801561065a575f5ffd5b5061068d610669366004612ea6565b5f908152602081815260408083206001600160a01b03949094168352929052205490565b6040519081526020015b60405180910390f35b3480156106ab575f5ffd5b506106c571721c310194ccfc01e523fc93c9cccfa2a0ac81565b6040516001600160a01b039091168152602001610697565b3480156106e8575f5ffd5b506106fc6106f7366004612ee5565b610d2e565b6040519015158152602001610697565b348015610717575f5ffd5b50610649610726366004612f9c565b610d38565b348015610736575f5ffd5b50610649610745366004612fe8565b610d59565b348015610755575f5ffd5b506106fc61076436600461302a565b600f6020525f908152604090205460ff1681565b348015610783575f5ffd5b5061078c610d6b565b6040516106979190613073565b3480156107a4575f5ffd5b506009546001600160a01b03166106c5565b3480156107c1575f5ffd5b5061078c6107d0366004613085565b610df7565b3480156107e0575f5ffd5b506106fc6107ef36600461309c565b610e32565b3480156107ff575f5ffd5b50610808600181565b6040516106979190613104565b348015610820575f5ffd5b5061083461082f366004613112565b610ec7565b604080516001600160a01b039093168352602083019190915201610697565b34801561085e575f5ffd5b5061068d600181565b348015610872575f5ffd5b506106fc61088136600461302a565b610f4a565b348015610891575f5ffd5b506106496108a03660046131dc565b611050565b3480156108b0575f5ffd5b5061068d61271081565b3480156108c5575f5ffd5b506106c56108d4366004613085565b6110b7565b3480156108e4575f5ffd5b5061068d600381565b3480156108f8575f5ffd5b506109016110df565b60405161069791906132cf565b348015610919575f5ffd5b5061092d6109283660046132e1565b6111e9565b60405161069791906133d4565b348015610945575f5ffd5b506106496109543660046132e1565b6112b3565b348015610964575f5ffd5b5061096d600181565b6040516001600160781b039091168152602001610697565b348015610990575f5ffd5b5061064961099f366004613406565b6112c5565b3480156109af575f5ffd5b5061068d600281565b3480156109c3575f5ffd5b506106496109d2366004613443565b611420565b3480156109e2575f5ffd5b506106496109f136600461302a565b6114a9565b348015610a01575f5ffd5b506106496115ef565b348015610a15575f5ffd5b506106496116de565b348015610a29575f5ffd5b5061068d61012c81565b348015610a3e575f5ffd5b50610649610a4d366004612ea6565b6116f1565b348015610a5d575f5ffd5b5061068d600a5481565b348015610a72575f5ffd5b506003546001600160a01b03166106c5565b348015610a8f575f5ffd5b5061068d600b5481565b348015610aa4575f5ffd5b5061078c61173c565b348015610ab8575f5ffd5b5061068d600c5481565b348015610acd575f5ffd5b5061078c611749565b348015610ae1575f5ffd5b506106fc610af036600461302a565b611756565b348015610b00575f5ffd5b50610649610b0f3660046134c3565b61181b565b348015610b1f575f5ffd5b50610b28611826565b6040516106979291906134ef565b348015610b41575f5ffd5b50610649610b503660046134c3565b6118df565b348015610b60575f5ffd5b50610649610b6f36600461302a565b611911565b348015610b7f575f5ffd5b5061068d606f81565b348015610b93575f5ffd5b50610b9c611a30565b604051610697919061351c565b348015610bb4575f5ffd5b5061078c610bc3366004613085565b611ae7565b348015610bd3575f5ffd5b50610901611b05565b348015610be7575f5ffd5b506106fc610bf636600461355a565b611bbc565b348015610c06575f5ffd5b5061068d610c15366004613085565b611be9565b348015610c25575f5ffd5b50610649610c34366004613586565b611c08565b348015610c44575f5ffd5b50610649610c5336600461302a565b611c67565b348015610c63575f5ffd5b50610649610c723660046135dd565b611ca1565b348015610c82575f5ffd5b5061068d6102bc81565b348015610c97575f5ffd5b50610649610ca636600461360f565b611d27565b600260065403610cfd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610343565b6002600655565b5f610d0f8284613668565b90505b92915050565b5f610d0f828461367f565b5f610d0f8284612e6b565b5f610d1282611e1c565b610d40611e40565b610d4981611e6d565b6010610d55828261371a565b5050565b610d61611e40565b610d558282611e79565b600d8054610d789061369e565b80601f0160208091040260200160405190810160405280929190818152602001828054610da49061369e565b8015610def5780601f10610dc657610100808354040283529160200191610def565b820191905f5260205f20905b815481529060010190602001808311610dd257829003601f168201915b505050505081565b6060610e0282611ece565b610e0b83611f60565b604051602001610e1c9291906137eb565b6040516020818303038152906040529050919050565b6009545f906001600160a01b031615610ebc5760095460405163050bf71960e31b81526001600160a01b038681166004830152858116602483015284811660448301529091169063285fb8c8906064015f6040518083038186803b158015610e98575f5ffd5b505afa925050508015610ea9575060015b610eb457505f610ec0565b506001610ec0565b5060015b9392505050565b5f82815260056020526040812080548291906001600160a01b03811690600160a01b90046001600160601b031681610f1a5750506004546001600160a01b03811690600160a01b90046001600160601b03165b5f612710610f316001600160601b03841689613668565b610f3b919061367f565b92989297509195505050505050565b6009545f906001600160a01b03161561104957600954604051635caaa2a960e11b81523060048201526001600160a01b039091169063d72dde5e90829063b955455290602401606060405180830381865afa158015610fab573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610fcf9190613815565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b03851660248201526044015b602060405180830381865afa158015611025573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d129190613886565b505f919050565b336001600160a01b0386168114801590611071575061106f8682611bbc565b155b156110a25760405163711bec9160e11b81526001600160a01b03808316600483015287166024820152604401610343565b6110af8686868686611fef565b505050505050565b600781815481106110c6575f80fd5b5f918252602090912001546001600160a01b0316905081565b6009546060906001600160a01b0316156111d757600954604051635caaa2a960e11b81523060048201526001600160a01b0390911690633fe5df9990829063b955455290602401606060405180830381865afa158015611141573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111659190613815565b602001516040516001600160e01b031960e084901b1681526001600160781b0390911660048201526024015b5f60405180830381865afa1580156111ab573d5f5f3e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111d291908101906138a1565b905090565b50604080515f81526020810190915290565b6060815183511461121a5781518351604051635b05999160e01b815260048101929092526024820152604401610343565b5f83516001600160401b0381111561123457611234612f00565b60405190808252806020026020018201604052801561125d578160200160208202803683370190505b5090505f5b84518110156112ab5760208082028601015161128690602080840287010151610669565b82828151811061129857611298612e7e565b6020908102919091010152600101611262565b509392505050565b6112bb611e40565b610d558282612054565b6112cd6120ae565b5f6112e06009546001600160a01b031690565b90506001600160a01b03811661130957604051631cffe3dd60e11b815260040160405180910390fd5b604051630368065360e61b81526001600160a01b0382169063da0194c090611337903090889060040161393a565b5f604051808303815f87803b15801561134e575f5ffd5b505af1158015611360573d5f5f3e3d5ffd5b5050604051631182550160e11b81526001600160a01b0384169250632304aa0291506113929030908790600401613957565b5f604051808303815f87803b1580156113a9575f5ffd5b505af11580156113bb573d5f5f3e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0384169250638d74431491506113ed9030908690600401613957565b5f604051808303815f87803b158015611404575f5ffd5b505af1158015611416573d5f5f3e3d5ffd5b5050505050505050565b611428611e40565b611430610cab565b8161143b8282612108565b5f5b8181101561148e5761148685858381811061145a5761145a612e7e565b905060200201602081019061146f919061302a565b84600160405180602001604052805f815250612259565b60010161143d565b5061149982826122b4565b506114a46001600655565b505050565b6114b1610cab565b6001600160a01b0381166115005760405162461bcd60e51b815260206004820152601660248201527513995dc81859191c995cdcc81a5cc81a5b9d985b1a5960521b6044820152606401610343565b5f805b60075481101561159357336001600160a01b03166007828154811061152a5761152a612e7e565b5f918252602090912001546001600160a01b03160361158b57826007828154811061155757611557612e7e565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555060019150611593565b600101611503565b50806115e15760405162461bcd60e51b815260206004820152601a60248201527f52656365697665722061646472657373206e6f7420666f756e640000000000006044820152606401610343565b506115ec6001600655565b50565b6115f76120ae565b61161271721c310194ccfc01e523fc93c9cccfa2a0ac611911565b604051630368065360e61b815271721c310194ccfc01e523fc93c9cccfa2a0ac9063da0194c09061164a90309060019060040161393a565b5f604051808303815f87803b158015611661575f5ffd5b505af1158015611673573d5f5f3e3d5ffd5b5050604051631182550160e11b815271721c310194ccfc01e523fc93c9cccfa2a0ac9250632304aa0291506116af903090600190600401613957565b5f604051808303815f87803b1580156116c6575f5ffd5b505af11580156116d8573d5f5f3e3d5ffd5b50505050565b6116e6611e40565b6116ef5f612313565b565b6116f9611e40565b611701610cab565b61170c816001612108565b6117278282600160405180602001604052805f815250612259565b6117328160016122b4565b610d556001600655565b600e8054610d789061369e565b60108054610d789061369e565b6009545f906001600160a01b03161561104957600954604051635caaa2a960e11b81523060048201526001600160a01b0390911690639445f53090829063b955455290602401606060405180830381865afa1580156117b7573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117db9190613815565b60409081015190516001600160e01b031960e084901b1681526001600160781b0390911660048201526001600160a01b038516602482015260440161100a565b610d55338383612364565b606080600760088180548060200260200160405190810160405280929190818152602001828054801561188057602002820191905f5260205f20905b81546001600160a01b03168152600190910190602001808311611862575b50505050509150808054806020026020016040519081016040528092919081815260200182805480156118d057602002820191905f5260205f20905b8154815260200190600101908083116118bc575b50505050509050915091509091565b6118e7611e40565b6001600160a01b03919091165f908152600f60205260409020805460ff1916911515919091179055565b6119196120ae565b5f6001600160a01b0382163b15611992576040516301ffc9a760e01b81525f60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa92505050801561198a575060408051601f3d908101601f1916820190925261198791810190613886565b60015b156119925790505b6001600160a01b038216158015906119a8575080155b156119c6576040516332483afb60e01b815260040160405180910390fd5b600954604080516001600160a01b03928316815291841660208301527fcc5dc080ff977b3c3a211fa63ab74f90f658f5ba9d3236e92c8f59570f442aac910160405180910390a150600980546001600160a01b0319166001600160a01b0392909216919091179055565b604080516060810182525f80825260208201819052918101919091526009546001600160a01b031615611ac757600954604051635caaa2a960e11b81523060048201526001600160a01b039091169063b955455290602401606060405180830381865afa158015611aa3573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111d29190613815565b50604080516060810182525f808252602082018190529181019190915290565b60606010611af483611f60565b604051602001610e1c929190613979565b6009546060906001600160a01b0316156111d757600954604051635caaa2a960e11b81523060048201526001600160a01b03909116906317e94a6c90829063b955455290602401606060405180830381865afa158015611b67573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b8b9190613815565b60409081015190516001600160e01b031960e084901b1681526001600160781b039091166004820152602401611191565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205460ff1690565b60088181548110611bf8575f80fd5b5f91825260209091200154905081565b336001600160a01b0386168114801590611c295750611c278682611bbc565b155b15611c5a5760405163711bec9160e11b81526001600160a01b03808316600483015287166024820152604401610343565b6110af86868686866123f8565b611c6f611e40565b6001600160a01b038116611c9857604051631e4fbdf760e01b81525f6004820152602401610343565b6115ec81612313565b611ca9610cab565b6003546001600160a01b0316331480611cd05750335f908152600f602052604090205460ff165b611d125760405162461bcd60e51b81526020600482015260136024820152722737ba1030b63637bbb2b2103a3790313ab93760691b6044820152606401610343565b611d1d838383612484565b6114a46001600655565b611d2f6120ae565b611d3884611911565b604051630368065360e61b81526001600160a01b0385169063da0194c090611d66903090879060040161393a565b5f604051808303815f87803b158015611d7d575f5ffd5b505af1158015611d8f573d5f5f3e3d5ffd5b5050604051631182550160e11b81526001600160a01b0387169250632304aa029150611dc19030908690600401613957565b5f604051808303815f87803b158015611dd8575f5ffd5b505af1158015611dea573d5f5f3e3d5ffd5b505060405163235d10c560e21b81526001600160a01b0387169250638d74431491506113ed9030908590600401613957565b5f6001600160e01b0319821663152a902d60e11b1480610d125750610d12826124ea565b6003546001600160a01b031633146116ef5760405163118cdaa760e01b8152336004820152602401610343565b6002610d55828261371a565b611e838282612539565b6040516001600160601b03821681526001600160a01b038316907f8a8bae378cb731c5c40b632330c6836c2f916f48edb967699c86736f9a6a76ef9060200160405180910390a25050565b606060028054611edd9061369e565b80601f0160208091040260200160405190810160405280929190818152602001828054611f099061369e565b8015611f545780601f10611f2b57610100808354040283529160200191611f54565b820191905f5260205f20905b815481529060010190602001808311611f3757829003601f168201915b50505050509050919050565b60605f611f6c836125db565b60010190505f816001600160401b03811115611f8a57611f8a612f00565b6040519080825280601f01601f191660200182016040528015611fb4576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611fbe57509392505050565b6001600160a01b03841661201857604051632bfa23e760e11b81525f6004820152602401610343565b6001600160a01b03851661204057604051626a0d4560e21b81525f6004820152602401610343565b61204d85858585856126b2565b5050505050565b600754156120a45760405162461bcd60e51b815260206004820152601a60248201527f526f79616c74792073686172657320616c7265616479207365740000000000006044820152606401610343565b610d558282612705565b6003546001600160a01b031633146116ef5760405162461bcd60e51b815260206004820181905260248201527f43616c6c6572206973206e6f742074686520636f6e7472616374206f776e65726044820152606401610343565b60018203612166576102bc81600a546121219190613a03565b1115610d555760405162461bcd60e51b81526020600482015260146024820152734578636565647320527573747920737570706c7960601b6044820152606401610343565b600282036121c35761012c81600b5461217f9190613a03565b1115610d555760405162461bcd60e51b815260206004820152601360248201527245786365656473203737303020737570706c7960681b6044820152606401610343565b6003820361221f57606f81600c546121db9190613a03565b1115610d555760405162461bcd60e51b81526020600482015260136024820152724578636565647320476f6c6420737570706c7960681b6044820152606401610343565b60405162461bcd60e51b815260206004820152600f60248201526e125b9d985b1a59081d1bdad95b9259608a1b6044820152606401610343565b6001600160a01b03841661228257604051632bfa23e760e11b81525f6004820152602401610343565b604080516001808252602082018690528183019081526060820185905260808201909252906110af5f878484876126b2565b600182036122d85780600a5f8282546122cd9190613a03565b90915550610d559050565b600282036122f15780600b5f8282546122cd9190613a03565b60038203610d555780600c5f82825461230a9190613a03565b90915550505050565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03821661238c5760405162ced3e160e81b81525f6004820152602401610343565b6001600160a01b038381165f81815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b03841661242157604051632bfa23e760e11b81525f6004820152602401610343565b6001600160a01b03851661244957604051626a0d4560e21b81525f6004820152602401610343565b6040805160018082526020820186905281830190815260608201859052608082019092529061247b87878484876126b2565b50505050505050565b6001600160a01b0383166124ac57604051626a0d4560e21b81525f6004820152602401610343565b604080516001808252602082018590528183019081526060820184905260a082019092525f6080820181815291929161204d918791859085906126b2565b5f6001600160e01b03198216636cdb3d1360e11b148061251a57506001600160e01b031982166303a24d0760e21b145b80610d1257506301ffc9a760e01b6001600160e01b0319831614610d12565b6127106001600160601b03821681101561257857604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610343565b6001600160a01b0383166125a157604051635b6cc80560e11b81525f6004820152602401610343565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600455565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106126195772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612645576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061266357662386f26fc10000830492506010015b6305f5e100831061267b576305f5e100830492506008015b612710831061268f57612710830492506004015b606483106126a1576064830492506002015b600a8310610d125760010192915050565b6126be85858585612985565b6001600160a01b0384161561204d57825133906001036126f757602084810151908401516126f0838989858589612b94565b50506110af565b6110af818787878787612cb5565b805182511461274f5760405162461bcd60e51b8152602060048201526016602482015275082e4e4c2f2e640d8cadccee8d040dad2e6dac2e8c6d60531b6044820152606401610343565b5f82511161279f5760405162461bcd60e51b815260206004820152601c60248201527f4e6f20726f79616c74795265636569766572732070726f7669646564000000006044820152606401610343565b5f805b83518110156128c3575f6001600160a01b03168482815181106127c7576127c7612e7e565b60200260200101516001600160a01b0316036128255760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964207265636569766572206164647265737300000000000000006044820152606401610343565b5f83828151811061283857612838612e7e565b60200260200101511161288d5760405162461bcd60e51b815260206004820152601c60248201527f5368617265206d7573742062652067726561746572207468616e2030000000006044820152606401610343565b6128b98382815181106128a2576128a2612e7e565b602002602001015183612d9c90919063ffffffff16565b91506001016127a2565b50612710811461291f5760405162461bcd60e51b815260206004820152602160248201527f546f74616c20726f79616c7479536861726573206d75737420626520313030306044820152600360fc1b6064820152608401610343565b8251612932906007906020860190612da7565b508151612946906008906020850190612e0a565b507f093643a9a716c713e0c48f9cd3ddcbc463c36fe73c4af8ee4e97d4b00b04e2a483836040516129789291906134ef565b60405180910390a1505050565b80518251146129b45781518151604051635b05999160e01b815260048101929092526024820152604401610343565b335f5b8351811015612ab6576020818102858101820151908501909101516001600160a01b03881615612a68575f828152602081815260408083206001600160a01b038c16845290915290205481811015612a42576040516303dee4c560e01b81526001600160a01b038a166004820152602481018290526044810183905260648101849052608401610343565b5f838152602081815260408083206001600160a01b038d16845290915290209082900390555b6001600160a01b03871615612aac575f828152602081815260408083206001600160a01b038b16845290915281208054839290612aa6908490613a03565b90915550505b50506001016129b7565b508251600103612b365760208301515f906020840151909150856001600160a01b0316876001600160a01b0316846001600160a01b03167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628585604051612b27929190918252602082015260400190565b60405180910390a4505061204d565b836001600160a01b0316856001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612b85929190613a16565b60405180910390a45050505050565b6001600160a01b0384163b156110af5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190612bd89089908990889088908890600401613a28565b6020604051808303815f875af1925050508015612c12575060408051601f3d908101601f19168201909252612c0f91810190613a6c565b60015b612c79573d808015612c3f576040519150601f19603f3d011682016040523d82523d5f602084013e612c44565b606091505b5080515f03612c7157604051632bfa23e760e11b81526001600160a01b0386166004820152602401610343565b805181602001fd5b6001600160e01b0319811663f23a6e6160e01b1461247b57604051632bfa23e760e11b81526001600160a01b0386166004820152602401610343565b6001600160a01b0384163b156110af5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190612cf99089908990889088908890600401613a87565b6020604051808303815f875af1925050508015612d33575060408051601f3d908101601f19168201909252612d3091810190613a6c565b60015b612d60573d808015612c3f576040519150601f19603f3d011682016040523d82523d5f602084013e612c44565b6001600160e01b0319811663bc197c8160e01b1461247b57604051632bfa23e760e11b81526001600160a01b0386166004820152602401610343565b5f610d0f8284613a03565b828054828255905f5260205f20908101928215612dfa579160200282015b82811115612dfa57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612dc5565b50612e06929150612e43565b5090565b828054828255905f5260205f20908101928215612dfa579160200282015b82811115612dfa578251825591602001919060010190612e28565b5b80821115612e06575f8155600101612e44565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610d1257610d12612e57565b634e487b7160e01b5f52603260045260245ffd5b6001600160a01b03811681146115ec575f5ffd5b5f5f60408385031215612eb7575f5ffd5b8235612ec281612e92565b946020939093013593505050565b6001600160e01b0319811681146115ec575f5ffd5b5f60208284031215612ef5575f5ffd5b8135610ec081612ed0565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715612f3c57612f3c612f00565b604052919050565b5f5f6001600160401b03841115612f5d57612f5d612f00565b50601f8301601f1916602001612f7281612f14565b915050828152838383011115612f86575f5ffd5b828260208301375f602084830101529392505050565b5f60208284031215612fac575f5ffd5b81356001600160401b03811115612fc1575f5ffd5b8201601f81018413612fd1575f5ffd5b612fe084823560208401612f44565b949350505050565b5f5f60408385031215612ff9575f5ffd5b823561300481612e92565b915060208301356001600160601b038116811461301f575f5ffd5b809150509250929050565b5f6020828403121561303a575f5ffd5b8135610ec081612e92565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610d0f6020830184613045565b5f60208284031215613095575f5ffd5b5035919050565b5f5f5f606084860312156130ae575f5ffd5b83356130b981612e92565b925060208401356130c981612e92565b915060408401356130d981612e92565b809150509250925092565b6007811061310057634e487b7160e01b5f52602160045260245ffd5b9052565b60208101610d1282846130e4565b5f5f60408385031215613123575f5ffd5b50508035926020909101359150565b5f6001600160401b0382111561314a5761314a612f00565b5060051b60200190565b5f82601f830112613163575f5ffd5b813561317661317182613132565b612f14565b8082825260208201915060208360051b860101925085831115613197575f5ffd5b602085015b838110156131b457803583526020928301920161319c565b5095945050505050565b5f82601f8301126131cd575f5ffd5b610d0f83833560208501612f44565b5f5f5f5f5f60a086880312156131f0575f5ffd5b85356131fb81612e92565b9450602086013561320b81612e92565b935060408601356001600160401b03811115613225575f5ffd5b61323188828901613154565b93505060608601356001600160401b0381111561324c575f5ffd5b61325888828901613154565b92505060808601356001600160401b03811115613273575f5ffd5b61327f888289016131be565b9150509295509295909350565b5f8151808452602084019350602083015f5b828110156132c55781516001600160a01b031686526020958601959091019060010161329e565b5093949350505050565b602081525f610d0f602083018461328c565b5f5f604083850312156132f2575f5ffd5b82356001600160401b03811115613307575f5ffd5b8301601f81018513613317575f5ffd5b803561332561317182613132565b8082825260208201915060208360051b850101925087831115613346575f5ffd5b6020840193505b8284101561337157833561336081612e92565b82526020938401939091019061334d565b945050505060208301356001600160401b0381111561338e575f5ffd5b61339a85828601613154565b9150509250929050565b5f8151808452602084019350602083015f5b828110156132c55781518652602095860195909101906001016133b6565b602081525f610d0f60208301846133a4565b600781106115ec575f5ffd5b6001600160781b03811681146115ec575f5ffd5b5f5f5f60608486031215613418575f5ffd5b8335613423816133e6565b92506020840135613433816133f2565b915060408401356130d9816133f2565b5f5f5f60408486031215613455575f5ffd5b83356001600160401b0381111561346a575f5ffd5b8401601f8101861361347a575f5ffd5b80356001600160401b0381111561348f575f5ffd5b8660208260051b84010111156134a3575f5ffd5b6020918201979096509401359392505050565b80151581146115ec575f5ffd5b5f5f604083850312156134d4575f5ffd5b82356134df81612e92565b9150602083013561301f816134b6565b604081525f613501604083018561328c565b828103602084015261351381856133a4565b95945050505050565b5f60608201905061352e8284516130e4565b6001600160781b0360208401511660208301526001600160781b03604084015116604083015292915050565b5f5f6040838503121561356b575f5ffd5b823561357681612e92565b9150602083013561301f81612e92565b5f5f5f5f5f60a0868803121561359a575f5ffd5b85356135a581612e92565b945060208601356135b581612e92565b9350604086013592506060860135915060808601356001600160401b03811115613273575f5ffd5b5f5f5f606084860312156135ef575f5ffd5b83356135fa81612e92565b95602085013595506040909401359392505050565b5f5f5f5f60808587031215613622575f5ffd5b843561362d81612e92565b9350602085013561363d816133e6565b9250604085013561364d816133f2565b9150606085013561365d816133f2565b939692955090935050565b8082028115828204841417610d1257610d12612e57565b5f8261369957634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c908216806136b257607f821691505b6020821081036136d057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156114a457805f5260205f20601f840160051c810160208510156136fb5750805b601f840160051c820191505b8181101561204d575f8155600101613707565b81516001600160401b0381111561373357613733612f00565b61374781613741845461369e565b846136d6565b6020601f821160018114613779575f83156137625750848201515b5f19600385901b1c1916600184901b17845561204d565b5f84815260208120601f198516915b828110156137a85787850151825560209485019460019092019101613788565b50848210156137c557868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f81518060208401855e5f93019283525090919050565b5f6137ff6137f983866137d4565b846137d4565b64173539b7b760d91b8152600501949350505050565b5f6060828403128015613826575f5ffd5b50604051606081016001600160401b038111828210171561384957613849612f00565b6040528251613857816133e6565b81526020830151613867816133f2565b6020820152604083015161387a816133f2565b60408201529392505050565b5f60208284031215613896575f5ffd5b8151610ec0816134b6565b5f602082840312156138b1575f5ffd5b81516001600160401b038111156138c6575f5ffd5b8201601f810184136138d6575f5ffd5b80516138e461317182613132565b8082825260208201915060208360051b850101925086831115613905575f5ffd5b6020840193505b8284101561393057835161391f81612e92565b82526020938401939091019061390c565b9695505050505050565b6001600160a01b038316815260408101610ec060208301846130e4565b6001600160a01b039290921682526001600160781b0316602082015260400190565b5f5f84546139868161369e565b60018216801561399d57600181146139b2576139df565b60ff19831686528115158202860193506139df565b875f5260205f205f5b838110156139d7578154888201526001909101906020016139bb565b505081860193505b5050506139ec81856137d4565b64173539b7b760d91b815260050195945050505050565b80820180821115610d1257610d12612e57565b604081525f61350160408301856133a4565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190525f90613a6190830184613045565b979650505050505050565b5f60208284031215613a7c575f5ffd5b8151610ec081612ed0565b6001600160a01b0386811682528516602082015260a0604082018190525f90613ab2908301866133a4565b8281036060840152613ac481866133a4565b90508281036080840152613ad88185613045565b9897505050505050505056fea2646970667358221220d68977c50633322462ba0c2d6b0c1cc539ba71592390da19dc404e18043e197664736f6c634300081c0033

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

0000000000000000000000003303c4350259c2b8f3c560b2ec70ad3ed87a5e72000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000002b2000000000000000000000000000000000000000000000000000000000000007568747470733a2f2f6d6f63636173696e2d66616e63792d6d617273757069616c2d3533312e6d7970696e6174612e636c6f75642f697066732f6261667962656963697a746c7135707466707977626678697169627163697666616876793676777667726c686861723637356175346a346a6c63712f0000000000000000000000

-----Decoded View---------------
Arg [0] : _initialOwner (address): 0x3303C4350259C2B8F3C560B2ec70aD3ed87A5E72
Arg [1] : _baseUri (string): https://moccasin-fancy-marsupial-531.mypinata.cloud/ipfs/bafybeiciztlq5ptfpywbfxiqibqcivfahvy6vwvgrlhhar675au4j4jlcq/
Arg [2] : _royaltyFeeNumerator (uint96): 690

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000003303c4350259c2b8f3c560b2ec70ad3ed87a5e72
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000002b2
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000075
Arg [4] : 68747470733a2f2f6d6f63636173696e2d66616e63792d6d617273757069616c
Arg [5] : 2d3533312e6d7970696e6174612e636c6f75642f697066732f62616679626569
Arg [6] : 63697a746c713570746670797762667869716962716369766661687679367677
Arg [7] : 7667726c686861723637356175346a346a6c63712f0000000000000000000000


Deployed Bytecode Sourcemap

130485:4813:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6435:21;:19;:21::i;:::-;108568:1:::1;108556:9;:13;108548:45;;;::::0;-1:-1:-1;;;108548:45:0;;216:2:1;108548:45:0::1;::::0;::::1;198:21:1::0;255:2;235:18;;;228:30;-1:-1:-1;;;274:18:1;;;267:49;333:18;;108548:45:0::1;;;;;;;;;108609:38;::::0;;108625:10:::1;536:51:1::0;;108637:9:0::1;618:2:1::0;603:18;;596:34;108609:38:0::1;::::0;509:18:1;108609:38:0::1;;;;;;;108680:9;108660:17;::::0;;108812:485:::1;108836:16;:23:::0;:27:::1;::::0;108862:1:::1;::::0;108836:27:::1;:::i;:::-;108832:1;:31;108812:485;;;108893:13;108907:1;108893:16;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;109001:46:0::1;106927:5;109001:20;:9;108893:16:::0;109001:13:::1;:20::i;:::-;:24:::0;::::1;:46::i;:::-;108992:55:::0;-1:-1:-1;109074:21:0::1;:9:::0;108992:55;109074:13:::1;:21::i;:::-;109062:33;;109113:12;109131:16;109148:1;109131:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;:43:::1;::::0;-1:-1:-1;;;;;109131:19:0;;::::1;::::0;109163:6;;109131:43;;:19;:43;109163:6;109131:19;:43:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109112:62;;;109197:7;109189:35;;;::::0;-1:-1:-1;;;109189:35:0;;1450:2:1;109189:35:0::1;::::0;::::1;1432:21:1::0;1489:2;1469:18;;;1462:30;-1:-1:-1;;;1508:18:1;;;1501:45;1563:18;;109189:35:0::1;1248:339:1::0;109189:35:0::1;109244:41;109257:16;109274:1;109257:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;109244:41:::1;::::0;;-1:-1:-1;;;;;109257:19:0;;::::1;536:51:1::0;;603:18;;;596:34;;;509:18;109244:41:0::1;;;;;;;-1:-1:-1::0;108865:3:0::1;;108812:485;;;;109400:1;109388:9;:13;:44;;;;-1:-1:-1::0;109405:16:0::1;:23:::0;:27;;109388:44:::1;109384:375;;;109468:16;109485:23:::0;;109450:12:::1;::::0;109468:16;109485:27:::1;::::0;109511:1:::1;::::0;109485:27:::1;:::i;:::-;109468:45;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;:90:::1;::::0;-1:-1:-1;;;;;109468:45:0;;::::1;::::0;109544:9;;109468:90;;:45;:90;109544:9;109468:45;:90:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109449:109;;;109581:7;109573:35;;;::::0;-1:-1:-1;;;109573:35:0;;1450:2:1;109573:35:0::1;::::0;::::1;1432:21:1::0;1489:2;1469:18;;;1462:30;-1:-1:-1;;;1508:18:1;;;1501:45;1563:18;;109573:35:0::1;1248:339:1::0;109573:35:0::1;109659:16;109676:23:::0;;109628:119:::1;::::0;109659:16;109676:27:::1;::::0;109702:1:::1;::::0;109676:27:::1;:::i;:::-;109659:45;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;::::1;::::0;109628:119:::1;::::0;;-1:-1:-1;;;;;109659:45:0;;::::1;536:51:1::0;;603:18;;;596:34;;;509:18;109628:119:0::1;;;;;;;109434:325;109384:375;108537:1229;;;6479:20:::0;5873:1;6999:7;:22;6816:213;6479:20;130485:4813;;;;;74146:134;;;;;;;;;;-1:-1:-1;74146:134:0;;;;;:::i;:::-;74223:7;74250:13;;;;;;;;;;;-1:-1:-1;;;;;74250:22:0;;;;;;;;;;;;74146:134;;;;2246:25:1;;;2234:2;2219:18;74146:134:0;;;;;;;;120652:104;;;;;;;;;;;;120713:42;120652:104;;;;;-1:-1:-1;;;;;2446:32:1;;;2428:51;;2416:2;2401:18;120652:104:0;2282:203:1;134664:237:0;;;;;;;;;;-1:-1:-1;134664:237:0;;;;;:::i;:::-;;:::i;:::-;;;3041:14:1;;3034:22;3016:41;;3004:2;2989:18;134664:237:0;2876:187:1;132319:118:0;;;;;;;;;;-1:-1:-1;132319:118:0;;;;;:::i;:::-;;:::i;132470:146::-;;;;;;;;;;-1:-1:-1;132470:146:0;;;;;:::i;:::-;;:::i;131309:46::-;;;;;;;;;;-1:-1:-1;131309:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;131163:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;125178:137::-;;;;;;;;;;-1:-1:-1;125290:17:0;;-1:-1:-1;;;;;125290:17:0;125178:137;;132093:174;;;;;;;;;;-1:-1:-1;132093:174:0;;;;;:::i;:::-;;:::i;128962:387::-;;;;;;;;;;-1:-1:-1;128962:387:0;;;;;:::i;:::-;;:::i;120763:99::-;;;;;;;;;;;;120836:26;120763:99;;;;;;;;;:::i;94696:673::-;;;;;;;;;;-1:-1:-1;94696:673:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;554:32:1;;;536:51;;618:2;603:18;;596:34;;;;509:18;94696:673:0;362:274:1;130735:33:0;;;;;;;;;;;;130767:1;130735:33;;127307:357;;;;;;;;;;-1:-1:-1;127307:357:0;;;;;:::i;:::-;;:::i;75969:441::-;;;;;;;;;;-1:-1:-1;75969:441:0;;;;;:::i;:::-;;:::i;106880:52::-;;;;;;;;;;;;106927:5;106880:52;;106999:33;;;;;;;;;;-1:-1:-1;106999:33:0;;;;;:::i;:::-;;:::i;130832:32::-;;;;;;;;;;;;130863:1;130832:32;;126194:358;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;74446:567::-;;;;;;;;;;-1:-1:-1;74446:567:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;135097:196::-;;;;;;;;;;-1:-1:-1;135097:196:0;;;;;:::i;:::-;;:::i;120869:66::-;;;;;;;;;;;;120933:1;120869:66;;;;;-1:-1:-1;;;;;12634:45:1;;;12616:64;;12604:2;12589:18;120869:66:0;12470:216:1;122918:727:0;;;;;;;;;;-1:-1:-1;122918:727:0;;;;;:::i;:::-;;:::i;130775:49::-;;;;;;;;;;;;130823:1;130775:49;;133091:350;;;;;;;;;;-1:-1:-1;133091:350:0;;;;;:::i;:::-;;:::i;110195:496::-;;;;;;;;;;-1:-1:-1;110195:496:0;;;;;:::i;:::-;;:::i;121309:464::-;;;;;;;;;;;;;:::i;3254:103::-;;;;;;;;;;;;;:::i;130926:62::-;;;;;;;;;;;;130985:3;130926:62;;132815:203;;;;;;;;;;-1:-1:-1;132815:203:0;;;;;:::i;:::-;;:::i;131049:26::-;;;;;;;;;;;;;;;;2579:87;;;;;;;;;;-1:-1:-1;2652:6:0;;-1:-1:-1;;;;;2652:6:0;2579:87;;131082:40;;;;;;;;;;;;;;;;131203:29;;;;;;;;;;;;;:::i;131129:25::-;;;;;;;;;;;;;;;;131364:21;;;;;;;;;;;;;:::i;127836:378::-;;;;;;;;;;-1:-1:-1;127836:378:0;;;;;:::i;:::-;;:::i;75086:146::-;;;;;;;;;;-1:-1:-1;75086:146:0;;;;;:::i;:::-;;:::i;109866:178::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;132624:126::-;;;;;;;;;;-1:-1:-1;132624:126:0;;;;;:::i;:::-;;:::i;124245:818::-;;;;;;;;;;-1:-1:-1;124245:818:0;;;;;:::i;:::-;;:::i;130995:45::-;;;;;;;;;;;;131037:3;130995:45;;125532:455;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;131875:210::-;;;;;;;;;;-1:-1:-1;131875:210:0;;;;;:::i;:::-;;:::i;126762:379::-;;;;;;;;;;;;;:::i;75304:159::-;;;;;;;;;;-1:-1:-1;75304:159:0;;;;;:::i;:::-;;:::i;107039:30::-;;;;;;;;;;-1:-1:-1;107039:30:0;;;;;:::i;:::-;;:::i;75535:357::-;;;;;;;;;;-1:-1:-1;75535:357:0;;;;;:::i;:::-;;:::i;3512:220::-;;;;;;;;;;-1:-1:-1;3512:220:0;;;;;:::i;:::-;;:::i;133449:264::-;;;;;;;;;;-1:-1:-1;133449:264:0;;;;;:::i;:::-;;:::i;130873:46::-;;;;;;;;;;;;130916:3;130873:46;;121976:749;;;;;;;;;;-1:-1:-1;121976:749:0;;;;;:::i;:::-;;:::i;6515:293::-;5917:1;6649:7;;:19;6641:63;;;;-1:-1:-1;;;6641:63:0;;18424:2:1;6641:63:0;;;18406:21:1;18463:2;18443:18;;;18436:30;18502:33;18482:18;;;18475:61;18553:18;;6641:63:0;18222:355:1;6641:63:0;5917:1;6782:7;:18;6515:293::o;102977:98::-;103035:7;103062:5;103066:1;103062;:5;:::i;:::-;103055:12;;102977:98;;;;;:::o;103376:::-;103434:7;103461:5;103465:1;103461;:5;:::i;102620:98::-;102678:7;102705:5;102709:1;102705;:5;:::i;134664:237::-;134828:4;134857:36;134881:11;134857:23;:36::i;132319:118::-;2465:13;:11;:13::i;:::-;132387:15:::1;132395:6;132387:7;:15::i;:::-;132413:7;:16;132423:6:::0;132413:7;:16:::1;:::i;:::-;;132319:118:::0;:::o;132470:146::-;2465:13;:11;:13::i;:::-;132566:42:::1;132585:8;132595:12;132566:18;:42::i;131163:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;132093:174::-;132153:13;132210:18;132220:7;132210:9;:18::i;:::-;132230;:7;:16;:18::i;:::-;132193:65;;;;;;;;;:::i;:::-;;;;;;;;;;;;;132179:80;;132093:174;;;:::o;128962:387::-;129090:17;;129061:4;;-1:-1:-1;;;;;129090:17:0;129082:40;129078:242;;129143:17;;:65;;-1:-1:-1;;;129143:65:0;;-1:-1:-1;;;;;22485:32:1;;;129143:65:0;;;22467:51:1;22554:32;;;22534:18;;;22527:60;22623:32;;;22603:18;;;22596:60;129143:17:0;;;;:47;;22440:18:1;;129143:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;129139:170;;-1:-1:-1;129288:5:0;129281:12;;129139:170;-1:-1:-1;129235:4:0;129228:11;;129139:170;-1:-1:-1;129337:4:0;128962:387;;;;;;:::o;94696:673::-;94807:16;94887:26;;;:17;:26;;;;;94950:21;;94807:16;;94887:26;-1:-1:-1;;;;;94950:21:0;;;-1:-1:-1;;;95007:28:0;;-1:-1:-1;;;;;95007:28:0;94950:21;95048:176;;-1:-1:-1;;95116:19:0;:28;-1:-1:-1;;;;;95116:28:0;;;-1:-1:-1;;;95177:35:0;;-1:-1:-1;;;;;95177:35:0;95048:176;95236:21;95735:5;95261:27;-1:-1:-1;;;;;95261:27:0;;:9;:27;:::i;:::-;95260:49;;;;:::i;:::-;95330:15;;;;-1:-1:-1;94696:673:0;;-1:-1:-1;;;;;;94696:673:0:o;127307:357::-;127415:17;;127386:4;;-1:-1:-1;;;;;127415:17:0;127407:40;127403:229;;127471:17;;127529:60;;-1:-1:-1;;;127529:60:0;;127583:4;127529:60;;;2428:51:1;-1:-1:-1;;;;;127471:17:0;;;;:39;;:17;;127529:45;;2401:18:1;;127529:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:80;;;127471:149;;-1:-1:-1;;;;;;127471:149:0;;;;;;;-1:-1:-1;;;;;23731:45:1;;;127471:149:0;;;23713:64:1;-1:-1:-1;;;;;23813:32:1;;23793:18;;;23786:60;23686:18;;127471:149:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;127403:229::-;-1:-1:-1;127651:5:0;;127307:357;-1:-1:-1;127307:357:0:o;75969:441::-;775:10;-1:-1:-1;;;;;76214:14:0;;;;;;;:49;;;76233:30;76250:4;76256:6;76233:16;:30::i;:::-;76232:31;76214:49;76210:131;;;76287:42;;-1:-1:-1;;;76287:42:0;;-1:-1:-1;;;;;24299:32:1;;;76287:42:0;;;24281:51:1;24368:32;;24348:18;;;24341:60;24254:18;;76287:42:0;24107:300:1;76210:131:0;76351:51;76374:4;76380:2;76384:3;76389:6;76397:4;76351:22;:51::i;:::-;76159:251;75969:441;;;;;:::o;106999:33::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;106999:33:0;;-1:-1:-1;106999:33:0;:::o;126194:358::-;126300:17;;126259:16;;-1:-1:-1;;;;;126300:17:0;126292:40;126288:221;;126356:17;;126416:60;;-1:-1:-1;;;126416:60:0;;126470:4;126416:60;;;2428:51:1;-1:-1:-1;;;;;126356:17:0;;;;:41;;:17;;126416:45;;2401:18:1;;126416:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:80;;;126356:141;;-1:-1:-1;;;;;;126356:141:0;;;;;;;-1:-1:-1;;;;;12634:45:1;;;126356:141:0;;;12616:64:1;12589:18;;126356:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;126356:141:0;;;;;;;;;;;;:::i;:::-;126349:148;;126194:358;:::o;126288:221::-;-1:-1:-1;126528:16:0;;;126542:1;126528:16;;;;;;;;;126194:358::o;74446:567::-;74573:16;74625:3;:10;74606:8;:15;:29;74602:123;;74685:10;;74697:15;;74659:54;;-1:-1:-1;;;74659:54:0;;;;;25542:25:1;;;;25583:18;;;25576:34;25515:18;;74659:54:0;25368:248:1;74602:123:0;74737:30;74784:8;:15;-1:-1:-1;;;;;74770:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74770:30:0;-1:-1:-1;74737:63:0;-1:-1:-1;74818:9:0;74813:160;74837:8;:15;74833:1;:19;74813:160;;;70106:4;70097:14;;;70077:35;;;70071:42;74893:68;;70106:4;70097:14;;;70077:35;;;70071:42;74935:25;69930:201;74893:68;74874:13;74888:1;74874:16;;;;;;;;:::i;:::-;;;;;;;;;;:87;74854:3;;74813:160;;;-1:-1:-1;74992:13:0;74446:567;-1:-1:-1;;;74446:567:0:o;135097:196::-;2465:13;:11;:13::i;:::-;135240:45:::1;135265:10;135277:7;135240:24;:45::i;122918:727::-:0;123107:31;:29;:31::i;:::-;123151:40;123194:22;125290:17;;-1:-1:-1;;;;;125290:17:0;;125178:137;123194:22;123151:65;-1:-1:-1;;;;;;123231:32:0;;123227:117;;123287:45;;-1:-1:-1;;;123287:45:0;;;;;;;;;;;123227:117;123356:68;;-1:-1:-1;;;123356:68:0;;-1:-1:-1;;;;;123356:46:0;;;;;:68;;123411:4;;123418:5;;123356:68;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;123435:78:0;;-1:-1:-1;;;123435:78:0;;-1:-1:-1;;;;;123435:42:0;;;-1:-1:-1;123435:42:0;;-1:-1:-1;123435:78:0;;123486:4;;123493:19;;123435:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;123524:113:0;;-1:-1:-1;;;123524:113:0;;-1:-1:-1;;;;;123524:59:0;;;-1:-1:-1;123524:59:0;;-1:-1:-1;123524:113:0;;123592:4;;123599:37;;123524:113;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123096:549;122918:727;;;:::o;133091:350::-;2465:13;:11;:13::i;:::-;6435:21:::1;:19;:21::i;:::-;133221:10:::0;133249:29:::2;133262:7:::0;133221:10;133249:12:::2;:29::i;:::-;133294:9;133289:100;133313:6;133309:1;:10;133289:100;;;133341:36;133347:10;;133358:1;133347:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;133362:7;133371:1;133341:36;;;;;;;;;;;::::0;:5:::2;:36::i;:::-;133321:3;;133289:100;;;;133399:34;133417:7;133426:6;133399:17;:34::i;:::-;133193:248;6479:20:::1;5873:1:::0;6999:7;:22;6816:213;6479:20:::1;133091:350:::0;;;:::o;110195:496::-;6435:21;:19;:21::i;:::-;-1:-1:-1;;;;;110287:24:0;::::1;110279:59;;;::::0;-1:-1:-1;;;110279:59:0;;26477:2:1;110279:59:0::1;::::0;::::1;26459:21:1::0;26516:2;26496:18;;;26489:30;-1:-1:-1;;;26535:18:1;;;26528:52;26597:18;;110279:59:0::1;26275:346:1::0;110279:59:0::1;110351:12;::::0;110382:243:::1;110406:16;:23:::0;110402:27;::::1;110382:243;;;110478:10;-1:-1:-1::0;;;;;110455:33:0::1;:16;110472:1;110455:19;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;110455:19:0::1;:33:::0;110451:163:::1;;110531:10;110509:16;110526:1;110509:19;;;;;;;;:::i;:::-;;;;;;;;;:32;;;;;-1:-1:-1::0;;;;;110509:32:0::1;;;;;-1:-1:-1::0;;;;;110509:32:0::1;;;;;;110570:4;110560:14;;110593:5;;110451:163;110431:3;;110382:243;;;;110645:7;110637:46;;;::::0;-1:-1:-1;;;110637:46:0;;26828:2:1;110637:46:0::1;::::0;::::1;26810:21:1::0;26867:2;26847:18;;;26840:30;26906:28;26886:18;;;26879:56;26952:18;;110637:46:0::1;26626:350:1::0;110637:46:0::1;110268:423;6479:20:::0;5873:1;6999:7;:22;6816:213;6479:20;110195:496;:::o;121309:464::-;121373:31;:29;:31::i;:::-;121415:48;120713:42;121415:20;:48::i;:::-;121474:143;;-1:-1:-1;;;121474:143:0;;120713:42;;121474:95;;:143;;121578:4;;120836:26;;121474:143;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;121628:137:0;;-1:-1:-1;;;121628:137:0;;120713:42;;-1:-1:-1;121628:91:0;;-1:-1:-1;121628:137:0;;121728:4;;120933:1;;121628:137;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;121309:464::o;3254:103::-;2465:13;:11;:13::i;:::-;3319:30:::1;3346:1;3319:18;:30::i;:::-;3254:103::o:0;132815:203::-;2465:13;:11;:13::i;:::-;6435:21:::1;:19;:21::i;:::-;132910:24:::2;132923:7;132932:1;132910:12;:24::i;:::-;132945:25;132951:2;132955:7;132964:1;132945:25;;;;;;;;;;;::::0;:5:::2;:25::i;:::-;132981:29;132999:7;133008:1;132981:17;:29::i;:::-;6479:20:::1;5873:1:::0;6999:7;:22;6816:213;131203:29;;;;;;;:::i;131364:21::-;;;;;;;:::i;127836:378::-;127950:17;;127921:4;;-1:-1:-1;;;;;127950:17:0;127942:40;127938:244;;128006:17;;128070:60;;-1:-1:-1;;;128070:60:0;;128124:4;128070:60;;;2428:51:1;-1:-1:-1;;;;;128006:17:0;;;;:45;;:17;;128070:45;;2401:18:1;;128070:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:89;;;;;128006:164;;-1:-1:-1;;;;;;128006:164:0;;;;;;;-1:-1:-1;;;;;23731:45:1;;;128006:164:0;;;23713:64:1;-1:-1:-1;;;;;23813:32:1;;23793:18;;;23786:60;23686:18;;128006:164:0;23539:313:1;75086:146:0;75172:52;775:10;75205:8;75215;75172:18;:52::i;109866:178::-;109944:16;109962;110004;110022:13;109996:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;109996:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109866:178;;:::o;132624:126::-;2465:13;:11;:13::i;:::-;-1:-1:-1;;;;;132710:22:0;;;::::1;;::::0;;;:14:::1;:22;::::0;;;;:32;;-1:-1:-1;;132710:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;132624:126::o;124245:818::-;124321:31;:29;:31::i;:::-;124365:29;-1:-1:-1;;;;;124418:30:0;;;:34;124415:304;;124473:95;;-1:-1:-1;;;124473:95:0;;124519:48;124473:95;;;27125:52:1;-1:-1:-1;;;;;124473:45:0;;;;;27098:18:1;;124473:95:0;;;;;;;;;;;;;;;;;;-1:-1:-1;124473:95:0;;;;;;;;-1:-1:-1;;124473:95:0;;;;;;;;;;;;:::i;:::-;;;124469:239;;;124666:17;-1:-1:-1;124469:239:0;-1:-1:-1;;;;;124734:32:0;;;;;;:61;;;124771:24;124770:25;124734:61;124731:152;;;124819:52;;-1:-1:-1;;;124819:52:0;;;;;;;;;;;124731:152;124933:17;;124900:72;;;-1:-1:-1;;;;;124933:17:0;;;24281:51:1;;24368:32;;;24363:2;24348:18;;24341:60;124900:72:0;;24254:18:1;124900:72:0;;;;;;;-1:-1:-1;124985:17:0;:70;;-1:-1:-1;;;;;;124985:70:0;-1:-1:-1;;;;;124985:70:0;;;;;;;;;;124245:818::o;125532:455::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;125647:17:0;;-1:-1:-1;;;;;125647:17:0;125639:40;125635:140;;125703:17;;:60;;-1:-1:-1;;;125703:60:0;;125757:4;125703:60;;;2428:51:1;-1:-1:-1;;;;;125703:17:0;;;;:45;;2401:18:1;;125703:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;125635:140::-;-1:-1:-1;125794:185:0;;;;;;;;-1:-1:-1;125794:185:0;;;;;;;;;;;;;;;;;125532:455::o;131875:210::-;131976:13;132038:7;132047:19;:8;:17;:19::i;:::-;132021:55;;;;;;;;;:::i;126762:379::-;126874:17;;126833:16;;-1:-1:-1;;;;;126874:17:0;126866:40;126862:236;;126930:17;;126996:60;;-1:-1:-1;;;126996:60:0;;127050:4;126996:60;;;2428:51:1;-1:-1:-1;;;;;126930:17:0;;;;:47;;:17;;126996:45;;2401:18:1;;126996:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:89;;;;;126930:156;;-1:-1:-1;;;;;;126930:156:0;;;;;;;-1:-1:-1;;;;;12634:45:1;;;126930:156:0;;;12616:64:1;12589:18;;126930:156:0;12470:216:1;75304:159:0;-1:-1:-1;;;;;75418:27:0;;;75394:4;75418:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;75304:159::o;107039:30::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;107039:30:0;:::o;75535:357::-;775:10;-1:-1:-1;;;;;75703:14:0;;;;;;;:49;;;75722:30;75739:4;75745:6;75722:16;:30::i;:::-;75721:31;75703:49;75699:131;;;75776:42;;-1:-1:-1;;;75776:42:0;;-1:-1:-1;;;;;24299:32:1;;;75776:42:0;;;24281:51:1;24368:32;;24348:18;;;24341:60;24254:18;;75776:42:0;24107:300:1;75699:131:0;75840:44;75858:4;75864:2;75868;75872:5;75879:4;75840:17;:44::i;3512:220::-;2465:13;:11;:13::i;:::-;-1:-1:-1;;;;;3597:22:0;::::1;3593:93;;3643:31;::::0;-1:-1:-1;;;3643:31:0;;3671:1:::1;3643:31;::::0;::::1;2428:51:1::0;2401:18;;3643:31:0::1;2282:203:1::0;3593:93:0::1;3696:28;3715:8;3696:18;:28::i;133449:264::-:0;6435:21;:19;:21::i;:::-;2652:6;;-1:-1:-1;;;;;2652:6:0;133588:10:::1;:21;::::0;:51:::1;;-1:-1:-1::0;133628:10:0::1;133613:26;::::0;;;:14:::1;:26;::::0;;;;;::::1;;133588:51;133580:83;;;::::0;-1:-1:-1;;;133580:83:0;;28425:2:1;133580:83:0::1;::::0;::::1;28407:21:1::0;28464:2;28444:18;;;28437:30;-1:-1:-1;;;28483:18:1;;;28476:49;28542:18;;133580:83:0::1;28223:343:1::0;133580:83:0::1;133674:31;133680:7;133689;133698:6;133674:5;:31::i;:::-;6479:20:::0;5873:1;6999:7;:22;6816:213;121976:749;122206:31;:29;:31::i;:::-;122250;122271:9;122250:20;:31::i;:::-;122294:114;;-1:-1:-1;;;122294:114:0;;-1:-1:-1;;;;;122294:92:0;;;;;:114;;122395:4;;122402:5;;122294:114;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;122421:124:0;;-1:-1:-1;;;122421:124:0;;-1:-1:-1;;;;;122421:88:0;;;-1:-1:-1;122421:88:0;;-1:-1:-1;122421:124:0;;122518:4;;122525:19;;122421:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;122558:159:0;;-1:-1:-1;;;122558:159:0;;-1:-1:-1;;;;;122558:105:0;;;-1:-1:-1;122558:105:0;;-1:-1:-1;122558:159:0;;122672:4;;122679:37;;122558:159;;;:::i;94426:215::-;94528:4;-1:-1:-1;;;;;;94552:41:0;;-1:-1:-1;;;94552:41:0;;:81;;;94597:36;94621:11;94597:23;:36::i;2744:166::-;2652:6;;-1:-1:-1;;;;;2652:6:0;775:10;2804:23;2800:103;;2851:40;;-1:-1:-1;;;2851:40:0;;775:10;2851:40;;;2428:51:1;2401:18;;2851:40:0;2282:203:1;82409:88:0;82476:4;:13;82483:6;82476:4;:13;:::i;98325:217::-;98429:48;98454:8;98464:12;98429:24;:48::i;:::-;98493:41;;-1:-1:-1;;;;;28733:39:1;;28715:58;;-1:-1:-1;;;;;98493:41:0;;;;;28703:2:1;28688:18;98493:41:0;;;;;;;98325:217;;:::o;73976:105::-;74036:13;74069:4;74062:11;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73976:105;;;:::o;88708:718::-;88764:13;88815:14;88832:17;88843:5;88832:10;:17::i;:::-;88852:1;88832:21;88815:38;;88868:20;88902:6;-1:-1:-1;;;;;88891:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88891:18:0;-1:-1:-1;88868:41:0;-1:-1:-1;89033:28:0;;;89049:2;89033:28;89090:290;-1:-1:-1;;89122:5:0;-1:-1:-1;;;89259:2:0;89248:14;;89243:32;89122:5;89230:46;89322:2;89313:11;;;-1:-1:-1;89343:21:0;89090:290;89343:21;-1:-1:-1;89401:6:0;88708:718;-1:-1:-1;;;88708:718:0:o;81107:459::-;-1:-1:-1;;;;;81307:16:0;;81303:90;;81347:34;;-1:-1:-1;;;81347:34:0;;81378:1;81347:34;;;2428:51:1;2401:18;;81347:34:0;2282:203:1;81303:90:0;-1:-1:-1;;;;;81407:18:0;;81403:90;;81449:32;;-1:-1:-1;;;81449:32:0;;81478:1;81449:32;;;2428:51:1;2401:18;;81449:32:0;2282:203:1;81403:90:0;81503:55;81530:4;81536:2;81540:3;81545:6;81553:4;81503:26;:55::i;:::-;81107:459;;;;;:::o;108137:261::-;108279:16;:23;:28;108271:67;;;;-1:-1:-1;;;108271:67:0;;28986:2:1;108271:67:0;;;28968:21:1;29025:2;29005:18;;;28998:30;29064:28;29044:18;;;29037:56;29110:18;;108271:67:0;28784:350:1;108271:67:0;108349:41;108370:10;108382:7;108349:20;:41::i;131718:149::-;2652:6;;-1:-1:-1;;;;;2652:6:0;131801:10;:21;131793:66;;;;-1:-1:-1;;;131793:66:0;;29341:2:1;131793:66:0;;;29323:21:1;;;29360:18;;;29353:30;29419:34;29399:18;;;29392:62;29471:18;;131793:66:0;29139:356:1;133721:564:0;130767:1;133805:7;:16;133801:477;;130916:3;133860:6;133846:11;;:20;;;;:::i;:::-;:40;;133838:73;;;;-1:-1:-1;;;133838:73:0;;29832:2:1;133838:73:0;;;29814:21:1;29871:2;29851:18;;;29844:30;-1:-1:-1;;;29890:18:1;;;29883:50;29950:18;;133838:73:0;29630:344:1;133801:477:0;130823:1;133933:7;:32;133929:349;;130985:3;134018:6;133990:25;;:34;;;;:::i;:::-;:70;;133982:102;;;;-1:-1:-1;;;133982:102:0;;30181:2:1;133982:102:0;;;30163:21:1;30220:2;30200:18;;;30193:30;-1:-1:-1;;;30239:18:1;;;30232:49;30298:18;;133982:102:0;29979:343:1;133929:349:0;130863:1;134106:7;:15;134102:176;;131037:3;134159:6;134146:10;;:19;;;;:::i;:::-;:38;;134138:70;;;;-1:-1:-1;;;134138:70:0;;30529:2:1;134138:70:0;;;30511:21:1;30568:2;30548:18;;;30541:30;-1:-1:-1;;;30587:18:1;;;30580:49;30646:18;;134138:70:0;30327:343:1;134102:176:0;134241:25;;-1:-1:-1;;;134241:25:0;;30877:2:1;134241:25:0;;;30859:21:1;30916:2;30896:18;;;30889:30;-1:-1:-1;;;30935:18:1;;;30928:45;30990:18;;134241:25:0;30675:339:1;82888:352:0;-1:-1:-1;;;;;82985:16:0;;82981:90;;83025:34;;-1:-1:-1;;;83025:34:0;;83056:1;83025:34;;;2428:51:1;2401:18;;83025:34:0;2282:203:1;82981:90:0;86197:4;86191:11;;86269:1;86254:17;;;86402:4;86390:17;;86383:35;;;86522:17;;;86553;;;86035:23;86591:17;;86584:35;;;86730:17;;;86717:31;;;86191:11;83171:61;-1:-1:-1;83210:2:0;86191:11;86522:17;83227:4;83171:26;:61::i;134293:337::-;130767:1;134377:7;:16;134373:250;;134425:6;134410:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;134373:250:0;;-1:-1:-1;134373:250:0;;130823:1;134453:7;:32;134449:174;;134531:6;134502:25;;:35;;;;;;;:::i;134449:174::-;130863:1;134559:7;:15;134555:68;;134605:6;134591:10;;:20;;;;;;;:::i;:::-;;;;-1:-1:-1;;134293:337:0;;:::o;3892:191::-;3985:6;;;-1:-1:-1;;;;;4002:17:0;;;-1:-1:-1;;;;;;4002:17:0;;;;;;;4035:40;;3985:6;;;4002:17;3985:6;;4035:40;;3966:16;;4035:40;3955:128;3892:191;:::o;85482:321::-;-1:-1:-1;;;;;85590:22:0;;85586:96;;85636:34;;-1:-1:-1;;;85636:34:0;;85667:1;85636:34;;;2428:51:1;2401:18;;85636:34:0;2282:203:1;85586:96:0;-1:-1:-1;;;;;85692:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;85692:46:0;;;;;;;;;;85754:41;;3016::1;;;85754::0;;2989:18:1;85754:41:0;;;;;;;85482:321;;;:::o;80221:472::-;-1:-1:-1;;;;;80344:16:0;;80340:90;;80384:34;;-1:-1:-1;;;80384:34:0;;80415:1;80384:34;;;2428:51:1;2401:18;;80384:34:0;2282:203:1;80340:90:0;-1:-1:-1;;;;;80444:18:0;;80440:90;;80486:32;;-1:-1:-1;;;80486:32:0;;80515:1;80486:32;;;2428:51:1;2401:18;;80486:32:0;2282:203:1;80440:90:0;86197:4;86191:11;;86269:1;86254:17;;;86402:4;86390:17;;86383:35;;;86522:17;;;86553;;;86035:23;86591:17;;86584:35;;;86730:17;;;86717:31;;;86191:11;80630:55;80657:4;80663:2;86191:11;86522:17;80680:4;80630:26;:55::i;:::-;80329:364;;80221:472;;;;;:::o;84278:335::-;-1:-1:-1;;;;;84358:18:0;;84354:90;;84400:32;;-1:-1:-1;;;84400:32:0;;84429:1;84400:32;;;2428:51:1;2401:18;;84400:32:0;2282:203:1;84354:90:0;86197:4;86191:11;;86269:1;86254:17;;;86402:4;86390:17;;86383:35;;;86522:17;;;86553;;;86035:23;86591:17;;86584:35;;;84544:61;;;;;;-1:-1:-1;86730:17:0;;;84544:61;;;86191:11;;86522:17;84544:61;;84571:4;;86191:11;;86522:17;;84544:26;:61::i;73255:310::-;73357:4;-1:-1:-1;;;;;;73394:41:0;;-1:-1:-1;;;73394:41:0;;:110;;-1:-1:-1;;;;;;;73452:52:0;;-1:-1:-1;;;73452:52:0;73394:110;:163;;;-1:-1:-1;;;;;;;;;;27573:40:0;;;73521:36;27473:148;96019:518;95735:5;-1:-1:-1;;;;;96168:26:0;;;-1:-1:-1;96164:176:0;;;96273:55;;-1:-1:-1;;;96273:55:0;;-1:-1:-1;;;;;31210:39:1;;96273:55:0;;;31192:58:1;31266:18;;;31259:34;;;31165:18;;96273:55:0;31019:280:1;96164:176:0;-1:-1:-1;;;;;96354:22:0;;96350:110;;96400:48;;-1:-1:-1;;;96400:48:0;;96445:1;96400:48;;;2428:51:1;2401:18;;96400:48:0;2282:203:1;96350:110:0;-1:-1:-1;96494:35:0;;;;;;;;;-1:-1:-1;;;;;96494:35:0;;;;;;-1:-1:-1;;;;;96494:35:0;;;;;;;;;;-1:-1:-1;;;96472:57:0;;;;:19;:57;96019:518::o;50541:948::-;50594:7;;-1:-1:-1;;;50672:17:0;;50668:106;;-1:-1:-1;;;50710:17:0;;;-1:-1:-1;50756:2:0;50746:12;50668:106;50801:8;50792:5;:17;50788:106;;50839:8;50830:17;;;-1:-1:-1;50876:2:0;50866:12;50788:106;50921:8;50912:5;:17;50908:106;;50959:8;50950:17;;;-1:-1:-1;50996:2:0;50986:12;50908:106;51041:7;51032:5;:16;51028:103;;51078:7;51069:16;;;-1:-1:-1;51114:1:0;51104:11;51028:103;51158:7;51149:5;:16;51145:103;;51195:7;51186:16;;;-1:-1:-1;51231:1:0;51221:11;51145:103;51275:7;51266:5;:16;51262:103;;51312:7;51303:16;;;-1:-1:-1;51348:1:0;51338:11;51262:103;51392:7;51383:5;:16;51379:68;;51430:1;51420:11;51475:6;50541:948;-1:-1:-1;;50541:948:0:o;79032:718::-;79240:30;79248:4;79254:2;79258:3;79263:6;79240:7;:30::i;:::-;-1:-1:-1;;;;;79285:16:0;;;79281:462;;79368:10;;775;;79382:1;79368:15;79364:368;;70106:4;70077:35;;;70071:42;70077:35;;;70071:42;79524:72;79560:8;79570:4;79576:2;70071:42;;79591:4;79524:35;:72::i;:::-;79385:227;;79364:368;;;79637:79;79678:8;79688:4;79694:2;79698:3;79703:6;79711:4;79637:40;:79::i;107168:858::-;107327:7;:14;107306:10;:17;:35;107298:70;;;;-1:-1:-1;;;107298:70:0;;31506:2:1;107298:70:0;;;31488:21:1;31545:2;31525:18;;;31518:30;-1:-1:-1;;;31564:18:1;;;31557:52;31626:18;;107298:70:0;31304:346:1;107298:70:0;107407:1;107387:10;:17;:21;107379:62;;;;-1:-1:-1;;;107379:62:0;;31857:2:1;107379:62:0;;;31839:21:1;31896:2;31876:18;;;31869:30;31935;31915:18;;;31908:58;31983:18;;107379:62:0;31655:352:1;107379:62:0;107454:20;;107485:267;107509:10;:17;107505:1;:21;107485:267;;;107581:1;-1:-1:-1;;;;;107556:27:0;:10;107567:1;107556:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;107556:27:0;;107548:64;;;;-1:-1:-1;;;107548:64:0;;32214:2:1;107548:64:0;;;32196:21:1;32253:2;32233:18;;;32226:30;32292:26;32272:18;;;32265:54;32336:18;;107548:64:0;32012:348:1;107548:64:0;107648:1;107635:7;107643:1;107635:10;;;;;;;;:::i;:::-;;;;;;;:14;107627:55;;;;-1:-1:-1;;;107627:55:0;;32567:2:1;107627:55:0;;;32549:21:1;32606:2;32586:18;;;32579:30;32645;32625:18;;;32618:58;32693:18;;107627:55:0;32365:352:1;107627:55:0;107712:28;107729:7;107737:1;107729:10;;;;;;;;:::i;:::-;;;;;;;107712:12;:16;;:28;;;;:::i;:::-;107697:43;-1:-1:-1;107528:3:0;;107485:267;;;;106927:5;107786:12;:36;107764:119;;;;-1:-1:-1;;;107764:119:0;;32924:2:1;107764:119:0;;;32906:21:1;32963:2;32943:18;;;32936:30;33002:34;32982:18;;;32975:62;-1:-1:-1;;;33053:18:1;;;33046:31;33094:19;;107764:119:0;32722:397:1;107764:119:0;107896:29;;;;:16;;:29;;;;;:::i;:::-;-1:-1:-1;107936:23:0;;;;:13;;:23;;;;;:::i;:::-;;107977:41;107998:10;108010:7;107977:41;;;;;;;:::i;:::-;;;;;;;;107287:739;107168:858;;:::o;77127:1315::-;77263:6;:13;77249:3;:10;:27;77245:119;;77326:10;;77338:13;;77300:52;;-1:-1:-1;;;77300:52:0;;;;;25542:25:1;;;;25583:18;;;25576:34;25515:18;;77300:52:0;25368:248:1;77245:119:0;775:10;77376:16;77420:709;77444:3;:10;77440:1;:14;77420:709;;;70106:4;70097:14;;;70077:35;;;;;70071:42;70077:35;;;;;;70071:42;-1:-1:-1;;;;;77594:18:0;;;77590:429;;77633:19;77655:13;;;;;;;;;;;-1:-1:-1;;;;;77655:19:0;;;;;;;;;;77697;;;77693:131;;;77748:56;;-1:-1:-1;;;77748:56:0;;-1:-1:-1;;;;;33373:32:1;;77748:56:0;;;33355:51:1;33422:18;;;33415:34;;;33465:18;;;33458:34;;;33508:18;;;33501:34;;;33327:19;;77748:56:0;33124:417:1;77693:131:0;77943:9;:13;;;;;;;;;;;-1:-1:-1;;;;;77943:19:0;;;;;;;;;77965;;;;77943:41;;77590:429;-1:-1:-1;;;;;78039:16:0;;;78035:83;;78076:9;:13;;;;;;;;;;;-1:-1:-1;;;;;78076:17:0;;;;;;;;;:26;;78097:5;;78076:9;:26;;78097:5;;78076:26;:::i;:::-;;;;-1:-1:-1;;78035:83:0;-1:-1:-1;;77456:3:0;;77420:709;;;;78145:3;:10;78159:1;78145:15;78141:294;;70106:4;70077:35;;70071:42;78177:10;;70106:4;70077:35;;70071:42;78177:38;;-1:-1:-1;78325:2:0;-1:-1:-1;;;;;78294:45:0;78319:4;-1:-1:-1;;;;;78294:45:0;78309:8;-1:-1:-1;;;;;78294:45:0;;78329:2;78333:5;78294:45;;;;;;25542:25:1;;;25598:2;25583:18;;25576:34;25530:2;25515:18;;25368:248;78294:45:0;;;;;;;;78162:189;;78141:294;;;78407:2;-1:-1:-1;;;;;78377:46:0;78401:4;-1:-1:-1;;;;;78377:46:0;78391:8;-1:-1:-1;;;;;78377:46:0;;78411:3;78416:6;78377:46;;;;;;;:::i;:::-;;;;;;;;77234:1208;77127:1315;;;;:::o;24089:984::-;-1:-1:-1;;;;;24296:14:0;;;:18;24292:774;;24335:71;;-1:-1:-1;;;24335:71:0;;-1:-1:-1;;;;;24335:38:0;;;;;:71;;24374:8;;24384:4;;24390:2;;24394:5;;24401:4;;24335:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24335:71:0;;;;;;;;-1:-1:-1;;24335:71:0;;;;;;;;;;;;:::i;:::-;;;24331:724;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24711:6;:13;24728:1;24711:18;24707:333;;24818:41;;-1:-1:-1;;;24818:41:0;;-1:-1:-1;;;;;2446:32:1;;24818:41:0;;;2428:51:1;2401:18;;24818:41:0;2282:203:1;24707:333:0;24990:6;24984:13;24975:6;24971:2;24967:15;24960:38;24331:724;-1:-1:-1;;;;;;24456:55:0;;-1:-1:-1;;;24456:55:0;24452:192;;24583:41;;-1:-1:-1;;;24583:41:0;;-1:-1:-1;;;;;2446:32:1;;24583:41:0;;;2428:51:1;2401:18;;24583:41:0;2282:203:1;25631:1053:0;-1:-1:-1;;;;;25863:14:0;;;:18;25859:818;;25902:78;;-1:-1:-1;;;25902:78:0;;-1:-1:-1;;;;;25902:43:0;;;;;:78;;25946:8;;25956:4;;25962:3;;25967:6;;25975:4;;25902:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25902:78:0;;;;;;;;-1:-1:-1;;25902:78:0;;;;;;;;;;;;:::i;:::-;;;25898:768;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26062:60:0;;-1:-1:-1;;;26062:60:0;26058:197;;26194:41;;-1:-1:-1;;;26194:41:0;;-1:-1:-1;;;;;2446:32:1;;26194:41:0;;;2428:51:1;2401:18;;26194:41:0;2282:203:1;102239:98:0;102297:7;102324:5;102328:1;102324;:5;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;641:127:1;702:10;697:3;693:20;690:1;683:31;733:4;730:1;723:15;757:4;754:1;747:15;773:128;840:9;;;861:11;;;858:37;;;875:18;;:::i;906:127::-;967:10;962:3;958:20;955:1;948:31;998:4;995:1;988:15;1022:4;1019:1;1012:15;1592:131;-1:-1:-1;;;;;1667:31:1;;1657:42;;1647:70;;1713:1;1710;1703:12;1728:367;1796:6;1804;1857:2;1845:9;1836:7;1832:23;1828:32;1825:52;;;1873:1;1870;1863:12;1825:52;1912:9;1899:23;1931:31;1956:5;1931:31;:::i;:::-;1981:5;2059:2;2044:18;;;;2031:32;;-1:-1:-1;;;1728:367:1:o;2490:131::-;-1:-1:-1;;;;;;2564:32:1;;2554:43;;2544:71;;2611:1;2608;2601:12;2626:245;2684:6;2737:2;2725:9;2716:7;2712:23;2708:32;2705:52;;;2753:1;2750;2743:12;2705:52;2792:9;2779:23;2811:30;2835:5;2811:30;:::i;3068:127::-;3129:10;3124:3;3120:20;3117:1;3110:31;3160:4;3157:1;3150:15;3184:4;3181:1;3174:15;3200:275;3271:2;3265:9;3336:2;3317:13;;-1:-1:-1;;3313:27:1;3301:40;;-1:-1:-1;;;;;3356:34:1;;3392:22;;;3353:62;3350:88;;;3418:18;;:::i;:::-;3454:2;3447:22;3200:275;;-1:-1:-1;3200:275:1:o;3480:450::-;3545:5;3577:1;-1:-1:-1;;;;;3593:6:1;3590:30;3587:56;;;3623:18;;:::i;:::-;-1:-1:-1;3689:2:1;3668:15;;-1:-1:-1;;3664:29:1;3695:4;3660:40;3718:21;3660:40;3718:21;:::i;:::-;3709:30;;;3762:6;3755:5;3748:21;3802:3;3793:6;3788:3;3784:16;3781:25;3778:45;;;3819:1;3816;3809:12;3778:45;3868:6;3863:3;3856:4;3849:5;3845:16;3832:43;3922:1;3915:4;3906:6;3899:5;3895:18;3891:29;3884:40;3480:450;;;;;:::o;3935:451::-;4004:6;4057:2;4045:9;4036:7;4032:23;4028:32;4025:52;;;4073:1;4070;4063:12;4025:52;4113:9;4100:23;-1:-1:-1;;;;;4138:6:1;4135:30;4132:50;;;4178:1;4175;4168:12;4132:50;4201:22;;4254:4;4246:13;;4242:27;-1:-1:-1;4232:55:1;;4283:1;4280;4273:12;4232:55;4306:74;4372:7;4367:2;4354:16;4349:2;4345;4341:11;4306:74;:::i;:::-;4296:84;3935:451;-1:-1:-1;;;;3935:451:1:o;4391:435::-;4458:6;4466;4519:2;4507:9;4498:7;4494:23;4490:32;4487:52;;;4535:1;4532;4525:12;4487:52;4574:9;4561:23;4593:31;4618:5;4593:31;:::i;:::-;4643:5;-1:-1:-1;4700:2:1;4685:18;;4672:32;-1:-1:-1;;;;;4735:40:1;;4723:53;;4713:81;;4790:1;4787;4780:12;4713:81;4813:7;4803:17;;;4391:435;;;;;:::o;4831:247::-;4890:6;4943:2;4931:9;4922:7;4918:23;4914:32;4911:52;;;4959:1;4956;4949:12;4911:52;4998:9;4985:23;5017:31;5042:5;5017:31;:::i;5083:300::-;5136:3;5174:5;5168:12;5201:6;5196:3;5189:19;5257:6;5250:4;5243:5;5239:16;5232:4;5227:3;5223:14;5217:47;5309:1;5302:4;5293:6;5288:3;5284:16;5280:27;5273:38;5372:4;5365:2;5361:7;5356:2;5348:6;5344:15;5340:29;5335:3;5331:39;5327:50;5320:57;;;5083:300;;;;:::o;5388:231::-;5537:2;5526:9;5519:21;5500:4;5557:56;5609:2;5598:9;5594:18;5586:6;5557:56;:::i;5871:226::-;5930:6;5983:2;5971:9;5962:7;5958:23;5954:32;5951:52;;;5999:1;5996;5989:12;5951:52;-1:-1:-1;6044:23:1;;5871:226;-1:-1:-1;5871:226:1:o;6102:529::-;6179:6;6187;6195;6248:2;6236:9;6227:7;6223:23;6219:32;6216:52;;;6264:1;6261;6254:12;6216:52;6303:9;6290:23;6322:31;6347:5;6322:31;:::i;:::-;6372:5;-1:-1:-1;6429:2:1;6414:18;;6401:32;6442:33;6401:32;6442:33;:::i;:::-;6494:7;-1:-1:-1;6553:2:1;6538:18;;6525:32;6566:33;6525:32;6566:33;:::i;:::-;6618:7;6608:17;;;6102:529;;;;;:::o;6768:250::-;6862:1;6855:5;6852:12;6842:143;;6907:10;6902:3;6898:20;6895:1;6888:31;6942:4;6939:1;6932:15;6970:4;6967:1;6960:15;6842:143;6994:18;;6768:250::o;7023:234::-;7182:2;7167:18;;7194:57;7171:9;7233:6;7194:57;:::i;7262:346::-;7330:6;7338;7391:2;7379:9;7370:7;7366:23;7362:32;7359:52;;;7407:1;7404;7397:12;7359:52;-1:-1:-1;;7452:23:1;;;7572:2;7557:18;;;7544:32;;-1:-1:-1;7262:346:1:o;7613:183::-;7673:4;-1:-1:-1;;;;;7698:6:1;7695:30;7692:56;;;7728:18;;:::i;:::-;-1:-1:-1;7773:1:1;7769:14;7785:4;7765:25;;7613:183::o;7801:723::-;7855:5;7908:3;7901:4;7893:6;7889:17;7885:27;7875:55;;7926:1;7923;7916:12;7875:55;7966:6;7953:20;7993:64;8009:47;8049:6;8009:47;:::i;:::-;7993:64;:::i;:::-;8081:3;8105:6;8100:3;8093:19;8137:4;8132:3;8128:14;8121:21;;8198:4;8188:6;8185:1;8181:14;8173:6;8169:27;8165:38;8151:52;;8226:3;8218:6;8215:15;8212:35;;;8243:1;8240;8233:12;8212:35;8279:4;8271:6;8267:17;8293:200;8309:6;8304:3;8301:15;8293:200;;;8401:17;;8431:18;;8478:4;8469:14;;;;8326;8293:200;;;-1:-1:-1;8511:7:1;7801:723;-1:-1:-1;;;;;7801:723:1:o;8529:221::-;8571:5;8624:3;8617:4;8609:6;8605:17;8601:27;8591:55;;8642:1;8639;8632:12;8591:55;8664:80;8740:3;8731:6;8718:20;8711:4;8703:6;8699:17;8664:80;:::i;8755:1082::-;8909:6;8917;8925;8933;8941;8994:3;8982:9;8973:7;8969:23;8965:33;8962:53;;;9011:1;9008;9001:12;8962:53;9050:9;9037:23;9069:31;9094:5;9069:31;:::i;:::-;9119:5;-1:-1:-1;9176:2:1;9161:18;;9148:32;9189:33;9148:32;9189:33;:::i;:::-;9241:7;-1:-1:-1;9299:2:1;9284:18;;9271:32;-1:-1:-1;;;;;9315:30:1;;9312:50;;;9358:1;9355;9348:12;9312:50;9381:61;9434:7;9425:6;9414:9;9410:22;9381:61;:::i;:::-;9371:71;;;9495:2;9484:9;9480:18;9467:32;-1:-1:-1;;;;;9514:8:1;9511:32;9508:52;;;9556:1;9553;9546:12;9508:52;9579:63;9634:7;9623:8;9612:9;9608:24;9579:63;:::i;:::-;9569:73;;;9695:3;9684:9;9680:19;9667:33;-1:-1:-1;;;;;9715:8:1;9712:32;9709:52;;;9757:1;9754;9747:12;9709:52;9780:51;9823:7;9812:8;9801:9;9797:24;9780:51;:::i;:::-;9770:61;;;8755:1082;;;;;;;;:::o;9842:446::-;9895:3;9933:5;9927:12;9960:6;9955:3;9948:19;9992:4;9987:3;9983:14;9976:21;;10031:4;10024:5;10020:16;10054:1;10064:199;10078:6;10075:1;10072:13;10064:199;;;10143:13;;-1:-1:-1;;;;;10139:39:1;10127:52;;10208:4;10199:14;;;;10236:17;;;;10175:1;10093:9;10064:199;;;-1:-1:-1;10279:3:1;;9842:446;-1:-1:-1;;;;9842:446:1:o;10293:261::-;10472:2;10461:9;10454:21;10435:4;10492:56;10544:2;10533:9;10529:18;10521:6;10492:56;:::i;10559:1215::-;10677:6;10685;10738:2;10726:9;10717:7;10713:23;10709:32;10706:52;;;10754:1;10751;10744:12;10706:52;10794:9;10781:23;-1:-1:-1;;;;;10819:6:1;10816:30;10813:50;;;10859:1;10856;10849:12;10813:50;10882:22;;10935:4;10927:13;;10923:27;-1:-1:-1;10913:55:1;;10964:1;10961;10954:12;10913:55;11004:2;10991:16;11027:64;11043:47;11083:6;11043:47;:::i;11027:64::-;11113:3;11137:6;11132:3;11125:19;11169:4;11164:3;11160:14;11153:21;;11226:4;11216:6;11213:1;11209:14;11205:2;11201:23;11197:34;11183:48;;11254:7;11246:6;11243:19;11240:39;;;11275:1;11272;11265:12;11240:39;11307:4;11303:2;11299:13;11288:24;;11321:221;11337:6;11332:3;11329:15;11321:221;;;11419:3;11406:17;11436:31;11461:5;11436:31;:::i;:::-;11480:18;;11527:4;11354:14;;;;11518;;;;11321:221;;;11561:5;-1:-1:-1;;;;11619:4:1;11604:20;;11591:34;-1:-1:-1;;;;;11637:32:1;;11634:52;;;11682:1;11679;11672:12;11634:52;11705:63;11760:7;11749:8;11738:9;11734:24;11705:63;:::i;:::-;11695:73;;;10559:1215;;;;;:::o;11779:420::-;11832:3;11870:5;11864:12;11897:6;11892:3;11885:19;11929:4;11924:3;11920:14;11913:21;;11968:4;11961:5;11957:16;11991:1;12001:173;12015:6;12012:1;12009:13;12001:173;;;12076:13;;12064:26;;12119:4;12110:14;;;;12147:17;;;;12037:1;12030:9;12001:173;;12204:261;12383:2;12372:9;12365:21;12346:4;12403:56;12455:2;12444:9;12440:18;12432:6;12403:56;:::i;12691:121::-;12786:1;12779:5;12776:12;12766:40;;12802:1;12799;12792:12;12817:144;-1:-1:-1;;;;;12896:5:1;12892:44;12885:5;12882:55;12872:83;;12951:1;12948;12941:12;12966:576;13070:6;13078;13086;13139:2;13127:9;13118:7;13114:23;13110:32;13107:52;;;13155:1;13152;13145:12;13107:52;13194:9;13181:23;13213:51;13258:5;13213:51;:::i;:::-;13283:5;-1:-1:-1;13340:2:1;13325:18;;13312:32;13353:33;13312:32;13353:33;:::i;:::-;13405:7;-1:-1:-1;13464:2:1;13449:18;;13436:32;13477:33;13436:32;13477:33;:::i;13547:730::-;13642:6;13650;13658;13711:2;13699:9;13690:7;13686:23;13682:32;13679:52;;;13727:1;13724;13717:12;13679:52;13767:9;13754:23;-1:-1:-1;;;;;13792:6:1;13789:30;13786:50;;;13832:1;13829;13822:12;13786:50;13855:22;;13908:4;13900:13;;13896:27;-1:-1:-1;13886:55:1;;13937:1;13934;13927:12;13886:55;13977:2;13964:16;-1:-1:-1;;;;;13995:6:1;13992:30;13989:50;;;14035:1;14032;14025:12;13989:50;14090:7;14083:4;14073:6;14070:1;14066:14;14062:2;14058:23;14054:34;14051:47;14048:67;;;14111:1;14108;14101:12;14048:67;14142:4;14134:13;;;;14166:6;;-1:-1:-1;14226:20:1;;14213:34;;13547:730;-1:-1:-1;;;13547:730:1:o;14282:118::-;14368:5;14361:13;14354:21;14347:5;14344:32;14334:60;;14390:1;14387;14380:12;14405:382;14470:6;14478;14531:2;14519:9;14510:7;14506:23;14502:32;14499:52;;;14547:1;14544;14537:12;14499:52;14586:9;14573:23;14605:31;14630:5;14605:31;:::i;:::-;14655:5;-1:-1:-1;14712:2:1;14697:18;;14684:32;14725:30;14684:32;14725:30;:::i;14792:465::-;15049:2;15038:9;15031:21;15012:4;15075:56;15127:2;15116:9;15112:18;15104:6;15075:56;:::i;:::-;15179:9;15171:6;15167:22;15162:2;15151:9;15147:18;15140:50;15207:44;15244:6;15236;15207:44;:::i;:::-;15199:52;14792:465;-1:-1:-1;;;;;14792:465:1:o;15262:504::-;15438:4;15480:2;15469:9;15465:18;15457:26;;15492:64;15546:9;15537:6;15531:13;15492:64;:::i;:::-;-1:-1:-1;;;;;15616:4:1;15608:6;15604:17;15598:24;15594:63;15587:4;15576:9;15572:20;15565:93;-1:-1:-1;;;;;15718:4:1;15710:6;15706:17;15700:24;15696:63;15689:4;15678:9;15674:20;15667:93;15262:504;;;;:::o;15771:388::-;15839:6;15847;15900:2;15888:9;15879:7;15875:23;15871:32;15868:52;;;15916:1;15913;15906:12;15868:52;15955:9;15942:23;15974:31;15999:5;15974:31;:::i;:::-;16024:5;-1:-1:-1;16081:2:1;16066:18;;16053:32;16094:33;16053:32;16094:33;:::i;16164:838::-;16268:6;16276;16284;16292;16300;16353:3;16341:9;16332:7;16328:23;16324:33;16321:53;;;16370:1;16367;16360:12;16321:53;16409:9;16396:23;16428:31;16453:5;16428:31;:::i;:::-;16478:5;-1:-1:-1;16535:2:1;16520:18;;16507:32;16548:33;16507:32;16548:33;:::i;:::-;16600:7;-1:-1:-1;16680:2:1;16665:18;;16652:32;;-1:-1:-1;16783:2:1;16768:18;;16755:32;;-1:-1:-1;16864:3:1;16849:19;;16836:33;-1:-1:-1;;;;;16881:30:1;;16878:50;;;16924:1;16921;16914:12;17007:487;17084:6;17092;17100;17153:2;17141:9;17132:7;17128:23;17124:32;17121:52;;;17169:1;17166;17159:12;17121:52;17208:9;17195:23;17227:31;17252:5;17227:31;:::i;:::-;17277:5;17355:2;17340:18;;17327:32;;-1:-1:-1;17458:2:1;17443:18;;;17430:32;;17007:487;-1:-1:-1;;;17007:487:1:o;17499:718::-;17612:6;17620;17628;17636;17689:3;17677:9;17668:7;17664:23;17660:33;17657:53;;;17706:1;17703;17696:12;17657:53;17745:9;17732:23;17764:31;17789:5;17764:31;:::i;:::-;17814:5;-1:-1:-1;17871:2:1;17856:18;;17843:32;17884:53;17843:32;17884:53;:::i;:::-;17956:7;-1:-1:-1;18015:2:1;18000:18;;17987:32;18028:33;17987:32;18028:33;:::i;:::-;18080:7;-1:-1:-1;18139:2:1;18124:18;;18111:32;18152:33;18111:32;18152:33;:::i;:::-;17499:718;;;;-1:-1:-1;17499:718:1;;-1:-1:-1;;17499:718:1:o;18582:168::-;18655:9;;;18686;;18703:15;;;18697:22;;18683:37;18673:71;;18724:18;;:::i;18887:217::-;18927:1;18953;18943:132;;18997:10;18992:3;18988:20;18985:1;18978:31;19032:4;19029:1;19022:15;19060:4;19057:1;19050:15;18943:132;-1:-1:-1;19089:9:1;;18887:217::o;19109:380::-;19188:1;19184:12;;;;19231;;;19252:61;;19306:4;19298:6;19294:17;19284:27;;19252:61;19359:2;19351:6;19348:14;19328:18;19325:38;19322:161;;19405:10;19400:3;19396:20;19393:1;19386:31;19440:4;19437:1;19430:15;19468:4;19465:1;19458:15;19322:161;;19109:380;;;:::o;19620:518::-;19722:2;19717:3;19714:11;19711:421;;;19758:5;19755:1;19748:16;19802:4;19799:1;19789:18;19872:2;19860:10;19856:19;19853:1;19849:27;19843:4;19839:38;19908:4;19896:10;19893:20;19890:47;;;-1:-1:-1;19931:4:1;19890:47;19986:2;19981:3;19977:12;19974:1;19970:20;19964:4;19960:31;19950:41;;20041:81;20059:2;20052:5;20049:13;20041:81;;;20118:1;20104:16;;20085:1;20074:13;20041:81;;20314:1299;20440:3;20434:10;-1:-1:-1;;;;;20459:6:1;20456:30;20453:56;;;20489:18;;:::i;:::-;20518:97;20608:6;20568:38;20600:4;20594:11;20568:38;:::i;:::-;20562:4;20518:97;:::i;:::-;20664:4;20695:2;20684:14;;20712:1;20707:649;;;;21400:1;21417:6;21414:89;;;-1:-1:-1;21469:19:1;;;21463:26;21414:89;-1:-1:-1;;20271:1:1;20267:11;;;20263:24;20259:29;20249:40;20295:1;20291:11;;;20246:57;21516:81;;20677:930;;20707:649;19567:1;19560:14;;;19604:4;19591:18;;-1:-1:-1;;20743:20:1;;;20861:222;20875:7;20872:1;20869:14;20861:222;;;20957:19;;;20951:26;20936:42;;21064:4;21049:20;;;;21017:1;21005:14;;;;20891:12;20861:222;;;20865:3;21111:6;21102:7;21099:19;21096:201;;;21172:19;;;21166:26;-1:-1:-1;;21255:1:1;21251:14;;;21267:3;21247:24;21243:37;21239:42;21224:58;21209:74;;21096:201;-1:-1:-1;;;;21343:1:1;21327:14;;;21323:22;21310:36;;-1:-1:-1;20314:1299:1:o;21618:212::-;21660:3;21698:5;21692:12;21742:6;21735:4;21728:5;21724:16;21719:3;21713:36;21804:1;21768:16;;21793:13;;;-1:-1:-1;21768:16:1;;21618:212;-1:-1:-1;21618:212:1:o;21835:425::-;22115:3;22143:57;22169:30;22195:3;22187:6;22169:30;:::i;:::-;22161:6;22143:57;:::i;:::-;-1:-1:-1;;;22209:19:1;;22252:1;22244:10;;21835:425;-1:-1:-1;;;;21835:425:1:o;22667:867::-;22779:6;22839:2;22827:9;22818:7;22814:23;22810:32;22854:2;22851:22;;;22869:1;22866;22859:12;22851:22;-1:-1:-1;22938:2:1;22932:9;22980:2;22968:15;;-1:-1:-1;;;;;22998:34:1;;23034:22;;;22995:62;22992:88;;;23060:18;;:::i;:::-;23096:2;23089:22;23133:16;;23158:51;23133:16;23158:51;:::i;:::-;23218:21;;23284:2;23269:18;;23263:25;23297:33;23263:25;23297:33;:::i;:::-;23358:2;23346:15;;23339:32;23416:2;23401:18;;23395:25;23429:33;23395:25;23429:33;:::i;:::-;23490:2;23478:15;;23471:32;23482:6;22667:867;-1:-1:-1;;;22667:867:1:o;23857:245::-;23924:6;23977:2;23965:9;23956:7;23952:23;23948:32;23945:52;;;23993:1;23990;23983:12;23945:52;24025:9;24019:16;24044:28;24066:5;24044:28;:::i;24412:951::-;24507:6;24560:2;24548:9;24539:7;24535:23;24531:32;24528:52;;;24576:1;24573;24566:12;24528:52;24609:9;24603:16;-1:-1:-1;;;;;24634:6:1;24631:30;24628:50;;;24674:1;24671;24664:12;24628:50;24697:22;;24750:4;24742:13;;24738:27;-1:-1:-1;24728:55:1;;24779:1;24776;24769:12;24728:55;24812:2;24806:9;24835:64;24851:47;24891:6;24851:47;:::i;24835:64::-;24921:3;24945:6;24940:3;24933:19;24977:2;24972:3;24968:12;24961:19;;25032:2;25022:6;25019:1;25015:14;25011:2;25007:23;25003:32;24989:46;;25058:7;25050:6;25047:19;25044:39;;;25079:1;25076;25069:12;25044:39;25111:2;25107;25103:11;25092:22;;25123:210;25139:6;25134:3;25131:15;25123:210;;;25212:3;25206:10;25229:31;25254:5;25229:31;:::i;:::-;25273:18;;25320:2;25156:12;;;;25311;;;;25123:210;;;25352:5;24412:951;-1:-1:-1;;;;;;24412:951:1:o;25621:331::-;-1:-1:-1;;;;;25838:32:1;;25820:51;;25808:2;25793:18;;25880:66;25942:2;25927:18;;25919:6;25880:66;:::i;25957:313::-;-1:-1:-1;;;;;26149:32:1;;;;26131:51;;-1:-1:-1;;;;;26218:45:1;26213:2;26198:18;;26191:73;26119:2;26104:18;;25957:313::o;27188:1030::-;27465:3;27494:1;27527:6;27521:13;27557:36;27583:9;27557:36;:::i;:::-;27624:1;27609:17;;27635:133;;;;27782:1;27777:332;;;;27602:507;;27635:133;-1:-1:-1;;27668:24:1;;27656:37;;27741:14;;27734:22;27722:35;;27713:45;;;-1:-1:-1;27635:133:1;;27777:332;27808:6;27805:1;27798:17;27856:4;27853:1;27843:18;27883:1;27897:166;27911:6;27908:1;27905:13;27897:166;;;27991:14;;27978:11;;;27971:35;28047:1;28034:15;;;;27933:4;27926:12;27897:166;;;27901:3;;28092:6;28087:3;28083:16;28076:23;;27602:507;;;;28128:30;28154:3;28146:6;28128:30;:::i;:::-;-1:-1:-1;;;28167:19:1;;28210:1;28202:10;;27188:1030;-1:-1:-1;;;;;27188:1030:1:o;29500:125::-;29565:9;;;29586:10;;;29583:36;;;29599:18;;:::i;33546:465::-;33803:2;33792:9;33785:21;33766:4;33829:56;33881:2;33870:9;33866:18;33858:6;33829:56;:::i;34016:568::-;-1:-1:-1;;;;;34275:32:1;;;34257:51;;34344:32;;34339:2;34324:18;;34317:60;34408:2;34393:18;;34386:34;;;34451:2;34436:18;;34429:34;;;34295:3;34494;34479:19;;34472:32;;;-1:-1:-1;;34521:57:1;;34558:19;;34550:6;34521:57;:::i;:::-;34513:65;34016:568;-1:-1:-1;;;;;;;34016:568:1:o;34589:249::-;34658:6;34711:2;34699:9;34690:7;34686:23;34682:32;34679:52;;;34727:1;34724;34717:12;34679:52;34759:9;34753:16;34778:30;34802:5;34778:30;:::i;34843:834::-;-1:-1:-1;;;;;35202:32:1;;;35184:51;;35271:32;;35266:2;35251:18;;35244:60;35222:3;35335:2;35320:18;;35313:31;;;-1:-1:-1;;35367:57:1;;35404:19;;35396:6;35367:57;:::i;:::-;35472:9;35464:6;35460:22;35455:2;35444:9;35440:18;35433:50;35506:44;35543:6;35535;35506:44;:::i;:::-;35492:58;;35599:9;35591:6;35587:22;35581:3;35570:9;35566:19;35559:51;35627:44;35664:6;35656;35627:44;:::i;:::-;35619:52;34843:834;-1:-1:-1;;;;;;;;34843:834:1:o

Swarm Source

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