Overview
APE Balance
0 APE
APE Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 14 from a total of 14 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x62cf6fc9 | 7362200 | 1 hr ago | IN | 15 APE | 0.00543199 | ||||
Set Approval For... | 7343097 | 12 hrs ago | IN | 0 APE | 0.00118816 | ||||
0x62cf6fc9 | 7308939 | 34 hrs ago | IN | 15 APE | 0.00543168 | ||||
0x62cf6fc9 | 7304221 | 38 hrs ago | IN | 15 APE | 0.00543199 | ||||
0x62cf6fc9 | 7293055 | 45 hrs ago | IN | 15 APE | 0.00543168 | ||||
0x62cf6fc9 | 7291248 | 47 hrs ago | IN | 15 APE | 0.00543199 | ||||
0x62cf6fc9 | 7279834 | 2 days ago | IN | 15 APE | 0.00543199 | ||||
0x62cf6fc9 | 7275335 | 2 days ago | IN | 15 APE | 0.00543202 | ||||
0x62cf6fc9 | 7261513 | 2 days ago | IN | 15 APE | 0.00543171 | ||||
0x62cf6fc9 | 7245742 | 3 days ago | IN | 15 APE | 0.00543199 | ||||
0x62cf6fc9 | 7243079 | 3 days ago | IN | 120 APE | 0.02750205 | ||||
0x62cf6fc9 | 7241993 | 3 days ago | IN | 15 APE | 0.00543135 | ||||
0x62cf6fc9 | 7229464 | 3 days ago | IN | 60 APE | 0.01489011 | ||||
0x62cf6fc9 | 7228584 | 4 days ago | IN | 15 APE | 0.00650223 |
Latest 13 internal transactions
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
7362200 | 1 hr ago | 15 APE | ||||
7308939 | 34 hrs ago | 15 APE | ||||
7304221 | 38 hrs ago | 15 APE | ||||
7293055 | 45 hrs ago | 15 APE | ||||
7291248 | 47 hrs ago | 15 APE | ||||
7279834 | 2 days ago | 15 APE | ||||
7275335 | 2 days ago | 15 APE | ||||
7261513 | 2 days ago | 15 APE | ||||
7245742 | 3 days ago | 15 APE | ||||
7243079 | 3 days ago | 120 APE | ||||
7241993 | 3 days ago | 15 APE | ||||
7229464 | 3 days ago | 60 APE | ||||
7228584 | 4 days ago | 15 APE |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BAGS
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at apescan.io on 2024-12-26 */ // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[ERC]. * * 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[ERC 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/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.20; /** * @dev Required interface of an ERC-721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC-721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or * {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon * a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC-721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the address zero. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.20; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.20; /** * @title ERC-721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC-721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be * reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, 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/ERC721/utils/ERC721Utils.sol // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/utils/ERC721Utils.sol) pragma solidity ^0.8.20; /** * @dev Library that provide common ERC-721 utility functions. * * See https://eips.ethereum.org/EIPS/eip-721[ERC-721]. * * _Available since v5.1._ */ library ERC721Utils { /** * @dev Performs an acceptance check for the provided `operator` by calling {IERC721-onERC721Received} * 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 {IERC721Receiver-onERC721Received} and return the acceptance magic value to accept * the transfer. */ function checkOnERC721Received( address operator, address from, address to, uint256 tokenId, bytes memory data ) internal { if (to.code.length > 0) { try IERC721Receiver(to).onERC721Received(operator, from, tokenId, data) returns (bytes4 retval) { if (retval != IERC721Receiver.onERC721Received.selector) { // Token rejected revert IERC721Errors.ERC721InvalidReceiver(to); } } catch (bytes memory reason) { if (reason.length == 0) { // non-IERC721Receiver implementer revert IERC721Errors.ERC721InvalidReceiver(to); } else { assembly ("memory-safe") { revert(add(32, reason), mload(reason)) } } } } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/contracts/utils/Panic.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/Panic.sol) pragma solidity ^0.8.20; /** * @dev Helper library for emitting standardized panic codes. * * ```solidity * contract Example { * using Panic for uint256; * * // Use any of the declared internal constants * function foo() { Panic.GENERIC.panic(); } * * // Alternatively * function foo() { Panic.panic(Panic.GENERIC); } * } * ``` * * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil]. * * _Available since v5.1._ */ // slither-disable-next-line unused-state library Panic { /// @dev generic / unspecified error uint256 internal constant GENERIC = 0x00; /// @dev used by the assert() builtin uint256 internal constant ASSERT = 0x01; /// @dev arithmetic underflow or overflow uint256 internal constant UNDER_OVERFLOW = 0x11; /// @dev division or modulo by zero uint256 internal constant DIVISION_BY_ZERO = 0x12; /// @dev enum conversion error uint256 internal constant ENUM_CONVERSION_ERROR = 0x21; /// @dev invalid encoding in storage uint256 internal constant STORAGE_ENCODING_ERROR = 0x22; /// @dev empty array pop uint256 internal constant EMPTY_ARRAY_POP = 0x31; /// @dev array out of bounds access uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32; /// @dev resource error (too large allocation or too large array) uint256 internal constant RESOURCE_ERROR = 0x41; /// @dev calling invalid internal function uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51; /// @dev Reverts with a panic code. Recommended to use with /// the internal constants with predefined codes. function panic(uint256 code) internal pure { assembly ("memory-safe") { mstore(0x00, 0x4e487b71) mstore(0x20, code) revert(0x1c, 0x24) } } } // File: @openzeppelin/contracts/utils/math/SafeCast.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol) // This file was procedurally generated from scripts/generate/templates/SafeCast.js. pragma solidity ^0.8.20; /** * @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeCast { /** * @dev Value doesn't fit in an uint of `bits` size. */ error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value); /** * @dev An int value doesn't fit in an uint of `bits` size. */ error SafeCastOverflowedIntToUint(int256 value); /** * @dev Value doesn't fit in an int of `bits` size. */ error SafeCastOverflowedIntDowncast(uint8 bits, int256 value); /** * @dev An uint value doesn't fit in an int of `bits` size. */ error SafeCastOverflowedUintToInt(uint256 value); /** * @dev Returns the downcasted uint248 from uint256, reverting on * overflow (when the input is greater than largest uint248). * * Counterpart to Solidity's `uint248` operator. * * Requirements: * * - input must fit into 248 bits */ function toUint248(uint256 value) internal pure returns (uint248) { if (value > type(uint248).max) { revert SafeCastOverflowedUintDowncast(248, value); } return uint248(value); } /** * @dev Returns the downcasted uint240 from uint256, reverting on * overflow (when the input is greater than largest uint240). * * Counterpart to Solidity's `uint240` operator. * * Requirements: * * - input must fit into 240 bits */ function toUint240(uint256 value) internal pure returns (uint240) { if (value > type(uint240).max) { revert SafeCastOverflowedUintDowncast(240, value); } return uint240(value); } /** * @dev Returns the downcasted uint232 from uint256, reverting on * overflow (when the input is greater than largest uint232). * * Counterpart to Solidity's `uint232` operator. * * Requirements: * * - input must fit into 232 bits */ function toUint232(uint256 value) internal pure returns (uint232) { if (value > type(uint232).max) { revert SafeCastOverflowedUintDowncast(232, value); } return uint232(value); } /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { if (value > type(uint224).max) { revert SafeCastOverflowedUintDowncast(224, value); } return uint224(value); } /** * @dev Returns the downcasted uint216 from uint256, reverting on * overflow (when the input is greater than largest uint216). * * Counterpart to Solidity's `uint216` operator. * * Requirements: * * - input must fit into 216 bits */ function toUint216(uint256 value) internal pure returns (uint216) { if (value > type(uint216).max) { revert SafeCastOverflowedUintDowncast(216, value); } return uint216(value); } /** * @dev Returns the downcasted uint208 from uint256, reverting on * overflow (when the input is greater than largest uint208). * * Counterpart to Solidity's `uint208` operator. * * Requirements: * * - input must fit into 208 bits */ function toUint208(uint256 value) internal pure returns (uint208) { if (value > type(uint208).max) { revert SafeCastOverflowedUintDowncast(208, value); } return uint208(value); } /** * @dev Returns the downcasted uint200 from uint256, reverting on * overflow (when the input is greater than largest uint200). * * Counterpart to Solidity's `uint200` operator. * * Requirements: * * - input must fit into 200 bits */ function toUint200(uint256 value) internal pure returns (uint200) { if (value > type(uint200).max) { revert SafeCastOverflowedUintDowncast(200, value); } return uint200(value); } /** * @dev Returns the downcasted uint192 from uint256, reverting on * overflow (when the input is greater than largest uint192). * * Counterpart to Solidity's `uint192` operator. * * Requirements: * * - input must fit into 192 bits */ function toUint192(uint256 value) internal pure returns (uint192) { if (value > type(uint192).max) { revert SafeCastOverflowedUintDowncast(192, value); } return uint192(value); } /** * @dev Returns the downcasted uint184 from uint256, reverting on * overflow (when the input is greater than largest uint184). * * Counterpart to Solidity's `uint184` operator. * * Requirements: * * - input must fit into 184 bits */ function toUint184(uint256 value) internal pure returns (uint184) { if (value > type(uint184).max) { revert SafeCastOverflowedUintDowncast(184, value); } return uint184(value); } /** * @dev Returns the downcasted uint176 from uint256, reverting on * overflow (when the input is greater than largest uint176). * * Counterpart to Solidity's `uint176` operator. * * Requirements: * * - input must fit into 176 bits */ function toUint176(uint256 value) internal pure returns (uint176) { if (value > type(uint176).max) { revert SafeCastOverflowedUintDowncast(176, value); } return uint176(value); } /** * @dev Returns the downcasted uint168 from uint256, reverting on * overflow (when the input is greater than largest uint168). * * Counterpart to Solidity's `uint168` operator. * * Requirements: * * - input must fit into 168 bits */ function toUint168(uint256 value) internal pure returns (uint168) { if (value > type(uint168).max) { revert SafeCastOverflowedUintDowncast(168, value); } return uint168(value); } /** * @dev Returns the downcasted uint160 from uint256, reverting on * overflow (when the input is greater than largest uint160). * * Counterpart to Solidity's `uint160` operator. * * Requirements: * * - input must fit into 160 bits */ function toUint160(uint256 value) internal pure returns (uint160) { if (value > type(uint160).max) { revert SafeCastOverflowedUintDowncast(160, value); } return uint160(value); } /** * @dev Returns the downcasted uint152 from uint256, reverting on * overflow (when the input is greater than largest uint152). * * Counterpart to Solidity's `uint152` operator. * * Requirements: * * - input must fit into 152 bits */ function toUint152(uint256 value) internal pure returns (uint152) { if (value > type(uint152).max) { revert SafeCastOverflowedUintDowncast(152, value); } return uint152(value); } /** * @dev Returns the downcasted uint144 from uint256, reverting on * overflow (when the input is greater than largest uint144). * * Counterpart to Solidity's `uint144` operator. * * Requirements: * * - input must fit into 144 bits */ function toUint144(uint256 value) internal pure returns (uint144) { if (value > type(uint144).max) { revert SafeCastOverflowedUintDowncast(144, value); } return uint144(value); } /** * @dev Returns the downcasted uint136 from uint256, reverting on * overflow (when the input is greater than largest uint136). * * Counterpart to Solidity's `uint136` operator. * * Requirements: * * - input must fit into 136 bits */ function toUint136(uint256 value) internal pure returns (uint136) { if (value > type(uint136).max) { revert SafeCastOverflowedUintDowncast(136, value); } return uint136(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { if (value > type(uint128).max) { revert SafeCastOverflowedUintDowncast(128, value); } return uint128(value); } /** * @dev Returns the downcasted uint120 from uint256, reverting on * overflow (when the input is greater than largest uint120). * * Counterpart to Solidity's `uint120` operator. * * Requirements: * * - input must fit into 120 bits */ function toUint120(uint256 value) internal pure returns (uint120) { if (value > type(uint120).max) { revert SafeCastOverflowedUintDowncast(120, value); } return uint120(value); } /** * @dev Returns the downcasted uint112 from uint256, reverting on * overflow (when the input is greater than largest uint112). * * Counterpart to Solidity's `uint112` operator. * * Requirements: * * - input must fit into 112 bits */ function toUint112(uint256 value) internal pure returns (uint112) { if (value > type(uint112).max) { revert SafeCastOverflowedUintDowncast(112, value); } return uint112(value); } /** * @dev Returns the downcasted uint104 from uint256, reverting on * overflow (when the input is greater than largest uint104). * * Counterpart to Solidity's `uint104` operator. * * Requirements: * * - input must fit into 104 bits */ function toUint104(uint256 value) internal pure returns (uint104) { if (value > type(uint104).max) { revert SafeCastOverflowedUintDowncast(104, value); } return uint104(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { if (value > type(uint96).max) { revert SafeCastOverflowedUintDowncast(96, value); } return uint96(value); } /** * @dev Returns the downcasted uint88 from uint256, reverting on * overflow (when the input is greater than largest uint88). * * Counterpart to Solidity's `uint88` operator. * * Requirements: * * - input must fit into 88 bits */ function toUint88(uint256 value) internal pure returns (uint88) { if (value > type(uint88).max) { revert SafeCastOverflowedUintDowncast(88, value); } return uint88(value); } /** * @dev Returns the downcasted uint80 from uint256, reverting on * overflow (when the input is greater than largest uint80). * * Counterpart to Solidity's `uint80` operator. * * Requirements: * * - input must fit into 80 bits */ function toUint80(uint256 value) internal pure returns (uint80) { if (value > type(uint80).max) { revert SafeCastOverflowedUintDowncast(80, value); } return uint80(value); } /** * @dev Returns the downcasted uint72 from uint256, reverting on * overflow (when the input is greater than largest uint72). * * Counterpart to Solidity's `uint72` operator. * * Requirements: * * - input must fit into 72 bits */ function toUint72(uint256 value) internal pure returns (uint72) { if (value > type(uint72).max) { revert SafeCastOverflowedUintDowncast(72, value); } return uint72(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { if (value > type(uint64).max) { revert SafeCastOverflowedUintDowncast(64, value); } return uint64(value); } /** * @dev Returns the downcasted uint56 from uint256, reverting on * overflow (when the input is greater than largest uint56). * * Counterpart to Solidity's `uint56` operator. * * Requirements: * * - input must fit into 56 bits */ function toUint56(uint256 value) internal pure returns (uint56) { if (value > type(uint56).max) { revert SafeCastOverflowedUintDowncast(56, value); } return uint56(value); } /** * @dev Returns the downcasted uint48 from uint256, reverting on * overflow (when the input is greater than largest uint48). * * Counterpart to Solidity's `uint48` operator. * * Requirements: * * - input must fit into 48 bits */ function toUint48(uint256 value) internal pure returns (uint48) { if (value > type(uint48).max) { revert SafeCastOverflowedUintDowncast(48, value); } return uint48(value); } /** * @dev Returns the downcasted uint40 from uint256, reverting on * overflow (when the input is greater than largest uint40). * * Counterpart to Solidity's `uint40` operator. * * Requirements: * * - input must fit into 40 bits */ function toUint40(uint256 value) internal pure returns (uint40) { if (value > type(uint40).max) { revert SafeCastOverflowedUintDowncast(40, value); } return uint40(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { if (value > type(uint32).max) { revert SafeCastOverflowedUintDowncast(32, value); } return uint32(value); } /** * @dev Returns the downcasted uint24 from uint256, reverting on * overflow (when the input is greater than largest uint24). * * Counterpart to Solidity's `uint24` operator. * * Requirements: * * - input must fit into 24 bits */ function toUint24(uint256 value) internal pure returns (uint24) { if (value > type(uint24).max) { revert SafeCastOverflowedUintDowncast(24, value); } return uint24(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { if (value > type(uint16).max) { revert SafeCastOverflowedUintDowncast(16, value); } return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits */ function toUint8(uint256 value) internal pure returns (uint8) { if (value > type(uint8).max) { revert SafeCastOverflowedUintDowncast(8, value); } return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { if (value < 0) { revert SafeCastOverflowedIntToUint(value); } return uint256(value); } /** * @dev Returns the downcasted int248 from int256, reverting on * overflow (when the input is less than smallest int248 or * greater than largest int248). * * Counterpart to Solidity's `int248` operator. * * Requirements: * * - input must fit into 248 bits */ function toInt248(int256 value) internal pure returns (int248 downcasted) { downcasted = int248(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(248, value); } } /** * @dev Returns the downcasted int240 from int256, reverting on * overflow (when the input is less than smallest int240 or * greater than largest int240). * * Counterpart to Solidity's `int240` operator. * * Requirements: * * - input must fit into 240 bits */ function toInt240(int256 value) internal pure returns (int240 downcasted) { downcasted = int240(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(240, value); } } /** * @dev Returns the downcasted int232 from int256, reverting on * overflow (when the input is less than smallest int232 or * greater than largest int232). * * Counterpart to Solidity's `int232` operator. * * Requirements: * * - input must fit into 232 bits */ function toInt232(int256 value) internal pure returns (int232 downcasted) { downcasted = int232(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(232, value); } } /** * @dev Returns the downcasted int224 from int256, reverting on * overflow (when the input is less than smallest int224 or * greater than largest int224). * * Counterpart to Solidity's `int224` operator. * * Requirements: * * - input must fit into 224 bits */ function toInt224(int256 value) internal pure returns (int224 downcasted) { downcasted = int224(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(224, value); } } /** * @dev Returns the downcasted int216 from int256, reverting on * overflow (when the input is less than smallest int216 or * greater than largest int216). * * Counterpart to Solidity's `int216` operator. * * Requirements: * * - input must fit into 216 bits */ function toInt216(int256 value) internal pure returns (int216 downcasted) { downcasted = int216(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(216, value); } } /** * @dev Returns the downcasted int208 from int256, reverting on * overflow (when the input is less than smallest int208 or * greater than largest int208). * * Counterpart to Solidity's `int208` operator. * * Requirements: * * - input must fit into 208 bits */ function toInt208(int256 value) internal pure returns (int208 downcasted) { downcasted = int208(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(208, value); } } /** * @dev Returns the downcasted int200 from int256, reverting on * overflow (when the input is less than smallest int200 or * greater than largest int200). * * Counterpart to Solidity's `int200` operator. * * Requirements: * * - input must fit into 200 bits */ function toInt200(int256 value) internal pure returns (int200 downcasted) { downcasted = int200(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(200, value); } } /** * @dev Returns the downcasted int192 from int256, reverting on * overflow (when the input is less than smallest int192 or * greater than largest int192). * * Counterpart to Solidity's `int192` operator. * * Requirements: * * - input must fit into 192 bits */ function toInt192(int256 value) internal pure returns (int192 downcasted) { downcasted = int192(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(192, value); } } /** * @dev Returns the downcasted int184 from int256, reverting on * overflow (when the input is less than smallest int184 or * greater than largest int184). * * Counterpart to Solidity's `int184` operator. * * Requirements: * * - input must fit into 184 bits */ function toInt184(int256 value) internal pure returns (int184 downcasted) { downcasted = int184(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(184, value); } } /** * @dev Returns the downcasted int176 from int256, reverting on * overflow (when the input is less than smallest int176 or * greater than largest int176). * * Counterpart to Solidity's `int176` operator. * * Requirements: * * - input must fit into 176 bits */ function toInt176(int256 value) internal pure returns (int176 downcasted) { downcasted = int176(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(176, value); } } /** * @dev Returns the downcasted int168 from int256, reverting on * overflow (when the input is less than smallest int168 or * greater than largest int168). * * Counterpart to Solidity's `int168` operator. * * Requirements: * * - input must fit into 168 bits */ function toInt168(int256 value) internal pure returns (int168 downcasted) { downcasted = int168(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(168, value); } } /** * @dev Returns the downcasted int160 from int256, reverting on * overflow (when the input is less than smallest int160 or * greater than largest int160). * * Counterpart to Solidity's `int160` operator. * * Requirements: * * - input must fit into 160 bits */ function toInt160(int256 value) internal pure returns (int160 downcasted) { downcasted = int160(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(160, value); } } /** * @dev Returns the downcasted int152 from int256, reverting on * overflow (when the input is less than smallest int152 or * greater than largest int152). * * Counterpart to Solidity's `int152` operator. * * Requirements: * * - input must fit into 152 bits */ function toInt152(int256 value) internal pure returns (int152 downcasted) { downcasted = int152(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(152, value); } } /** * @dev Returns the downcasted int144 from int256, reverting on * overflow (when the input is less than smallest int144 or * greater than largest int144). * * Counterpart to Solidity's `int144` operator. * * Requirements: * * - input must fit into 144 bits */ function toInt144(int256 value) internal pure returns (int144 downcasted) { downcasted = int144(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(144, value); } } /** * @dev Returns the downcasted int136 from int256, reverting on * overflow (when the input is less than smallest int136 or * greater than largest int136). * * Counterpart to Solidity's `int136` operator. * * Requirements: * * - input must fit into 136 bits */ function toInt136(int256 value) internal pure returns (int136 downcasted) { downcasted = int136(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(136, value); } } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits */ function toInt128(int256 value) internal pure returns (int128 downcasted) { downcasted = int128(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(128, value); } } /** * @dev Returns the downcasted int120 from int256, reverting on * overflow (when the input is less than smallest int120 or * greater than largest int120). * * Counterpart to Solidity's `int120` operator. * * Requirements: * * - input must fit into 120 bits */ function toInt120(int256 value) internal pure returns (int120 downcasted) { downcasted = int120(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(120, value); } } /** * @dev Returns the downcasted int112 from int256, reverting on * overflow (when the input is less than smallest int112 or * greater than largest int112). * * Counterpart to Solidity's `int112` operator. * * Requirements: * * - input must fit into 112 bits */ function toInt112(int256 value) internal pure returns (int112 downcasted) { downcasted = int112(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(112, value); } } /** * @dev Returns the downcasted int104 from int256, reverting on * overflow (when the input is less than smallest int104 or * greater than largest int104). * * Counterpart to Solidity's `int104` operator. * * Requirements: * * - input must fit into 104 bits */ function toInt104(int256 value) internal pure returns (int104 downcasted) { downcasted = int104(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(104, value); } } /** * @dev Returns the downcasted int96 from int256, reverting on * overflow (when the input is less than smallest int96 or * greater than largest int96). * * Counterpart to Solidity's `int96` operator. * * Requirements: * * - input must fit into 96 bits */ function toInt96(int256 value) internal pure returns (int96 downcasted) { downcasted = int96(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(96, value); } } /** * @dev Returns the downcasted int88 from int256, reverting on * overflow (when the input is less than smallest int88 or * greater than largest int88). * * Counterpart to Solidity's `int88` operator. * * Requirements: * * - input must fit into 88 bits */ function toInt88(int256 value) internal pure returns (int88 downcasted) { downcasted = int88(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(88, value); } } /** * @dev Returns the downcasted int80 from int256, reverting on * overflow (when the input is less than smallest int80 or * greater than largest int80). * * Counterpart to Solidity's `int80` operator. * * Requirements: * * - input must fit into 80 bits */ function toInt80(int256 value) internal pure returns (int80 downcasted) { downcasted = int80(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(80, value); } } /** * @dev Returns the downcasted int72 from int256, reverting on * overflow (when the input is less than smallest int72 or * greater than largest int72). * * Counterpart to Solidity's `int72` operator. * * Requirements: * * - input must fit into 72 bits */ function toInt72(int256 value) internal pure returns (int72 downcasted) { downcasted = int72(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(72, value); } } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits */ function toInt64(int256 value) internal pure returns (int64 downcasted) { downcasted = int64(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(64, value); } } /** * @dev Returns the downcasted int56 from int256, reverting on * overflow (when the input is less than smallest int56 or * greater than largest int56). * * Counterpart to Solidity's `int56` operator. * * Requirements: * * - input must fit into 56 bits */ function toInt56(int256 value) internal pure returns (int56 downcasted) { downcasted = int56(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(56, value); } } /** * @dev Returns the downcasted int48 from int256, reverting on * overflow (when the input is less than smallest int48 or * greater than largest int48). * * Counterpart to Solidity's `int48` operator. * * Requirements: * * - input must fit into 48 bits */ function toInt48(int256 value) internal pure returns (int48 downcasted) { downcasted = int48(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(48, value); } } /** * @dev Returns the downcasted int40 from int256, reverting on * overflow (when the input is less than smallest int40 or * greater than largest int40). * * Counterpart to Solidity's `int40` operator. * * Requirements: * * - input must fit into 40 bits */ function toInt40(int256 value) internal pure returns (int40 downcasted) { downcasted = int40(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(40, value); } } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits */ function toInt32(int256 value) internal pure returns (int32 downcasted) { downcasted = int32(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(32, value); } } /** * @dev Returns the downcasted int24 from int256, reverting on * overflow (when the input is less than smallest int24 or * greater than largest int24). * * Counterpart to Solidity's `int24` operator. * * Requirements: * * - input must fit into 24 bits */ function toInt24(int256 value) internal pure returns (int24 downcasted) { downcasted = int24(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(24, value); } } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits */ function toInt16(int256 value) internal pure returns (int16 downcasted) { downcasted = int16(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(16, value); } } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits */ function toInt8(int256 value) internal pure returns (int8 downcasted) { downcasted = int8(value); if (downcasted != value) { revert SafeCastOverflowedIntDowncast(8, value); } } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive if (value > uint256(type(int256).max)) { revert SafeCastOverflowedUintToInt(value); } return int256(value); } /** * @dev Cast a boolean (false or true) to a uint256 (0 or 1) with no jump. */ function toUint(bool b) internal pure returns (uint256 u) { assembly ("memory-safe") { u := iszero(iszero(b)) } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/math/Math.sol) pragma solidity ^0.8.20; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { 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 success flag (no overflow). */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an success flag (no overflow). */ function trySub(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an success flag (no overflow). */ function tryMul(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { 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 success flag (no division by zero). */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a success flag (no division by zero). */ function tryMod(uint256 a, uint256 b) internal pure returns (bool success, uint256 result) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant. * * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone. * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute * one branch when needed, making this function more expensive. */ function ternary(bool condition, uint256 a, uint256 b) internal pure returns (uint256) { unchecked { // branchless ternary works because: // b ^ (a ^ b) == a // b ^ 0 == b return b ^ ((a ^ b) * SafeCast.toUint(condition)); } } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return ternary(a > b, a, b); } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return ternary(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. Panic.panic(Panic.DIVISION_BY_ZERO); } // The following calculation ensures accurate ceiling division without overflow. // Since a is non-zero, (a - 1) / b will not overflow. // The largest possible result occurs when (a - 1) / b is type(uint256).max, // but the largest value we can obtain is type(uint256).max - 1, which happens // when a = type(uint256).max and b = 1. unchecked { return SafeCast.toUint(a > 0) * ((a - 1) / b + 1); } } /** * @dev Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * * 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²⁵⁶ and mod 2²⁵⁶ - 1, then use // the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2²⁵⁶ + 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²⁵⁶. Also prevents denominator == 0. if (denominator <= prod1) { Panic.panic(ternary(denominator == 0, Panic.DIVISION_BY_ZERO, Panic.UNDER_OVERFLOW)); } /////////////////////////////////////////////// // 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²⁵⁶ / 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²⁵⁶. Now that denominator is an odd number, it has an inverse modulo 2²⁵⁶ such // that denominator * inv ≡ 1 mod 2²⁵⁶. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv ≡ 1 mod 2⁴. 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⁸ inverse *= 2 - denominator * inverse; // inverse mod 2¹⁶ inverse *= 2 - denominator * inverse; // inverse mod 2³² inverse *= 2 - denominator * inverse; // inverse mod 2⁶⁴ inverse *= 2 - denominator * inverse; // inverse mod 2¹²⁸ inverse *= 2 - denominator * inverse; // inverse mod 2²⁵⁶ // 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²⁵⁶. Since the preconditions guarantee that the outcome is // less than 2²⁵⁶, 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; } } /** * @dev 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) { return mulDiv(x, y, denominator) + SafeCast.toUint(unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0); } /** * @dev Calculate the modular multiplicative inverse of a number in Z/nZ. * * If n is a prime, then Z/nZ is a field. In that case all elements are inversible, except 0. * If n is not a prime, then Z/nZ is not a field, and some elements might not be inversible. * * If the input value is not inversible, 0 is returned. * * NOTE: If you know for sure that n is (big) a prime, it may be cheaper to use Fermat's little theorem and get the * inverse using `Math.modExp(a, n - 2, n)`. See {invModPrime}. */ function invMod(uint256 a, uint256 n) internal pure returns (uint256) { unchecked { if (n == 0) return 0; // The inverse modulo is calculated using the Extended Euclidean Algorithm (iterative version) // Used to compute integers x and y such that: ax + ny = gcd(a, n). // When the gcd is 1, then the inverse of a modulo n exists and it's x. // ax + ny = 1 // ax = 1 + (-y)n // ax ≡ 1 (mod n) # x is the inverse of a modulo n // If the remainder is 0 the gcd is n right away. uint256 remainder = a % n; uint256 gcd = n; // Therefore the initial coefficients are: // ax + ny = gcd(a, n) = n // 0a + 1n = n int256 x = 0; int256 y = 1; while (remainder != 0) { uint256 quotient = gcd / remainder; (gcd, remainder) = ( // The old remainder is the next gcd to try. remainder, // Compute the next remainder. // Can't overflow given that (a % gcd) * (gcd // (a % gcd)) <= gcd // where gcd is at most n (capped to type(uint256).max) gcd - remainder * quotient ); (x, y) = ( // Increment the coefficient of a. y, // Decrement the coefficient of n. // Can overflow, but the result is casted to uint256 so that the // next value of y is "wrapped around" to a value between 0 and n - 1. x - y * int256(quotient) ); } if (gcd != 1) return 0; // No inverse exists. return ternary(x < 0, n - uint256(-x), uint256(x)); // Wrap the result if it's negative. } } /** * @dev Variant of {invMod}. More efficient, but only works if `p` is known to be a prime greater than `2`. * * From https://en.wikipedia.org/wiki/Fermat%27s_little_theorem[Fermat's little theorem], we know that if p is * prime, then `a**(p-1) ≡ 1 mod p`. As a consequence, we have `a * a**(p-2) ≡ 1 mod p`, which means that * `a**(p-2)` is the modular multiplicative inverse of a in Fp. * * NOTE: this function does NOT check that `p` is a prime greater than `2`. */ function invModPrime(uint256 a, uint256 p) internal view returns (uint256) { unchecked { return Math.modExp(a, p - 2, p); } } /** * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m) * * Requirements: * - modulus can't be zero * - underlying staticcall to precompile must succeed * * IMPORTANT: The result is only valid if the underlying call succeeds. When using this function, make * sure the chain you're using it on supports the precompiled contract for modular exponentiation * at address 0x05 as specified in https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, * the underlying function will succeed given the lack of a revert, but the result may be incorrectly * interpreted as 0. */ function modExp(uint256 b, uint256 e, uint256 m) internal view returns (uint256) { (bool success, uint256 result) = tryModExp(b, e, m); if (!success) { Panic.panic(Panic.DIVISION_BY_ZERO); } return result; } /** * @dev Returns the modular exponentiation of the specified base, exponent and modulus (b ** e % m). * It includes a success flag indicating if the operation succeeded. Operation will be marked as failed if trying * to operate modulo 0 or if the underlying precompile reverted. * * IMPORTANT: The result is only valid if the success flag is true. When using this function, make sure the chain * you're using it on supports the precompiled contract for modular exponentiation at address 0x05 as specified in * https://eips.ethereum.org/EIPS/eip-198[EIP-198]. Otherwise, the underlying function will succeed given the lack * of a revert, but the result may be incorrectly interpreted as 0. */ function tryModExp(uint256 b, uint256 e, uint256 m) internal view returns (bool success, uint256 result) { if (m == 0) return (false, 0); assembly ("memory-safe") { let ptr := mload(0x40) // | Offset | Content | Content (Hex) | // |-----------|------------|--------------------------------------------------------------------| // | 0x00:0x1f | size of b | 0x0000000000000000000000000000000000000000000000000000000000000020 | // | 0x20:0x3f | size of e | 0x0000000000000000000000000000000000000000000000000000000000000020 | // | 0x40:0x5f | size of m | 0x0000000000000000000000000000000000000000000000000000000000000020 | // | 0x60:0x7f | value of b | 0x<.............................................................b> | // | 0x80:0x9f | value of e | 0x<.............................................................e> | // | 0xa0:0xbf | value of m | 0x<.............................................................m> | mstore(ptr, 0x20) mstore(add(ptr, 0x20), 0x20) mstore(add(ptr, 0x40), 0x20) mstore(add(ptr, 0x60), b) mstore(add(ptr, 0x80), e) mstore(add(ptr, 0xa0), m) // Given the result < m, it's guaranteed to fit in 32 bytes, // so we can use the memory scratch space located at offset 0. success := staticcall(gas(), 0x05, ptr, 0xc0, 0x00, 0x20) result := mload(0x00) } } /** * @dev Variant of {modExp} that supports inputs of arbitrary length. */ function modExp(bytes memory b, bytes memory e, bytes memory m) internal view returns (bytes memory) { (bool success, bytes memory result) = tryModExp(b, e, m); if (!success) { Panic.panic(Panic.DIVISION_BY_ZERO); } return result; } /** * @dev Variant of {tryModExp} that supports inputs of arbitrary length. */ function tryModExp( bytes memory b, bytes memory e, bytes memory m ) internal view returns (bool success, bytes memory result) { if (_zeroBytes(m)) return (false, new bytes(0)); uint256 mLen = m.length; // Encode call args in result and move the free memory pointer result = abi.encodePacked(b.length, e.length, mLen, b, e, m); assembly ("memory-safe") { let dataPtr := add(result, 0x20) // Write result on top of args to avoid allocating extra memory. success := staticcall(gas(), 0x05, dataPtr, mload(result), dataPtr, mLen) // Overwrite the length. // result.length > returndatasize() is guaranteed because returndatasize() == m.length mstore(result, mLen) // Set the memory pointer after the returned data. mstore(0x40, add(dataPtr, mLen)) } } /** * @dev Returns whether the provided byte array is zero. */ function _zeroBytes(bytes memory byteArray) private pure returns (bool) { for (uint256 i = 0; i < byteArray.length; ++i) { if (byteArray[i] != 0) { return false; } } return true; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * This method is based on Newton's method for computing square roots; the algorithm is restricted to only * using integer operations. */ function sqrt(uint256 a) internal pure returns (uint256) { unchecked { // Take care of easy edge cases when a == 0 or a == 1 if (a <= 1) { return a; } // In this function, we use Newton's method to get a root of `f(x) := x² - a`. It involves building a // sequence x_n that converges toward sqrt(a). For each iteration x_n, we also define the error between // the current value as `ε_n = | x_n - sqrt(a) |`. // // For our first estimation, we consider `e` the smallest power of 2 which is bigger than the square root // of the target. (i.e. `2**(e-1) ≤ sqrt(a) < 2**e`). We know that `e ≤ 128` because `(2¹²⁸)² = 2²⁵⁶` is // bigger than any uint256. // // By noticing that // `2**(e-1) ≤ sqrt(a) < 2**e → (2**(e-1))² ≤ a < (2**e)² → 2**(2*e-2) ≤ a < 2**(2*e)` // we can deduce that `e - 1` is `log2(a) / 2`. We can thus compute `x_n = 2**(e-1)` using a method similar // to the msb function. uint256 aa = a; uint256 xn = 1; if (aa >= (1 << 128)) { aa >>= 128; xn <<= 64; } if (aa >= (1 << 64)) { aa >>= 64; xn <<= 32; } if (aa >= (1 << 32)) { aa >>= 32; xn <<= 16; } if (aa >= (1 << 16)) { aa >>= 16; xn <<= 8; } if (aa >= (1 << 8)) { aa >>= 8; xn <<= 4; } if (aa >= (1 << 4)) { aa >>= 4; xn <<= 2; } if (aa >= (1 << 2)) { xn <<= 1; } // We now have x_n such that `x_n = 2**(e-1) ≤ sqrt(a) < 2**e = 2 * x_n`. This implies ε_n ≤ 2**(e-1). // // We can refine our estimation by noticing that the middle of that interval minimizes the error. // If we move x_n to equal 2**(e-1) + 2**(e-2), then we reduce the error to ε_n ≤ 2**(e-2). // This is going to be our x_0 (and ε_0) xn = (3 * xn) >> 1; // ε_0 := | x_0 - sqrt(a) | ≤ 2**(e-2) // From here, Newton's method give us: // x_{n+1} = (x_n + a / x_n) / 2 // // One should note that: // x_{n+1}² - a = ((x_n + a / x_n) / 2)² - a // = ((x_n² + a) / (2 * x_n))² - a // = (x_n⁴ + 2 * a * x_n² + a²) / (4 * x_n²) - a // = (x_n⁴ + 2 * a * x_n² + a² - 4 * a * x_n²) / (4 * x_n²) // = (x_n⁴ - 2 * a * x_n² + a²) / (4 * x_n²) // = (x_n² - a)² / (2 * x_n)² // = ((x_n² - a) / (2 * x_n))² // ≥ 0 // Which proves that for all n ≥ 1, sqrt(a) ≤ x_n // // This gives us the proof of quadratic convergence of the sequence: // ε_{n+1} = | x_{n+1} - sqrt(a) | // = | (x_n + a / x_n) / 2 - sqrt(a) | // = | (x_n² + a - 2*x_n*sqrt(a)) / (2 * x_n) | // = | (x_n - sqrt(a))² / (2 * x_n) | // = | ε_n² / (2 * x_n) | // = ε_n² / | (2 * x_n) | // // For the first iteration, we have a special case where x_0 is known: // ε_1 = ε_0² / | (2 * x_0) | // ≤ (2**(e-2))² / (2 * (2**(e-1) + 2**(e-2))) // ≤ 2**(2*e-4) / (3 * 2**(e-1)) // ≤ 2**(e-3) / 3 // ≤ 2**(e-3-log2(3)) // ≤ 2**(e-4.5) // // For the following iterations, we use the fact that, 2**(e-1) ≤ sqrt(a) ≤ x_n: // ε_{n+1} = ε_n² / | (2 * x_n) | // ≤ (2**(e-k))² / (2 * 2**(e-1)) // ≤ 2**(2*e-2*k) / 2**e // ≤ 2**(e-2*k) xn = (xn + a / xn) >> 1; // ε_1 := | x_1 - sqrt(a) | ≤ 2**(e-4.5) -- special case, see above xn = (xn + a / xn) >> 1; // ε_2 := | x_2 - sqrt(a) | ≤ 2**(e-9) -- general case with k = 4.5 xn = (xn + a / xn) >> 1; // ε_3 := | x_3 - sqrt(a) | ≤ 2**(e-18) -- general case with k = 9 xn = (xn + a / xn) >> 1; // ε_4 := | x_4 - sqrt(a) | ≤ 2**(e-36) -- general case with k = 18 xn = (xn + a / xn) >> 1; // ε_5 := | x_5 - sqrt(a) | ≤ 2**(e-72) -- general case with k = 36 xn = (xn + a / xn) >> 1; // ε_6 := | x_6 - sqrt(a) | ≤ 2**(e-144) -- general case with k = 72 // Because e ≤ 128 (as discussed during the first estimation phase), we know have reached a precision // ε_6 ≤ 2**(e-144) < 1. Given we're operating on integers, then we can ensure that xn is now either // sqrt(a) or sqrt(a) + 1. return xn - SafeCast.toUint(xn > a / xn); } } /** * @dev 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 + SafeCast.toUint(unsignedRoundsUp(rounding) && result * result < a); } } /** * @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; uint256 exp; unchecked { exp = 128 * SafeCast.toUint(value > (1 << 128) - 1); value >>= exp; result += exp; exp = 64 * SafeCast.toUint(value > (1 << 64) - 1); value >>= exp; result += exp; exp = 32 * SafeCast.toUint(value > (1 << 32) - 1); value >>= exp; result += exp; exp = 16 * SafeCast.toUint(value > (1 << 16) - 1); value >>= exp; result += exp; exp = 8 * SafeCast.toUint(value > (1 << 8) - 1); value >>= exp; result += exp; exp = 4 * SafeCast.toUint(value > (1 << 4) - 1); value >>= exp; result += exp; exp = 2 * SafeCast.toUint(value > (1 << 2) - 1); value >>= exp; result += exp; result += SafeCast.toUint(value > 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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << result < value); } } /** * @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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 10 ** result < value); } } /** * @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; uint256 isGt; unchecked { isGt = SafeCast.toUint(value > (1 << 128) - 1); value >>= isGt * 128; result += isGt * 16; isGt = SafeCast.toUint(value > (1 << 64) - 1); value >>= isGt * 64; result += isGt * 8; isGt = SafeCast.toUint(value > (1 << 32) - 1); value >>= isGt * 32; result += isGt * 4; isGt = SafeCast.toUint(value > (1 << 16) - 1); value >>= isGt * 16; result += isGt * 2; result += SafeCast.toUint(value > (1 << 8) - 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 + SafeCast.toUint(unsignedRoundsUp(rounding) && 1 << (result << 3) < value); } } /** * @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/math/SignedMath.sol // OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.20; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Branchless ternary evaluation for `a ? b : c`. Gas costs are constant. * * IMPORTANT: This function may reduce bytecode size and consume less gas when used standalone. * However, the compiler may optimize Solidity ternary operations (i.e. `a ? b : c`) to only compute * one branch when needed, making this function more expensive. */ function ternary(bool condition, int256 a, int256 b) internal pure returns (int256) { unchecked { // branchless ternary works because: // b ^ (a ^ b) == a // b ^ 0 == b return b ^ ((a ^ b) * int256(SafeCast.toUint(condition))); } } /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return ternary(a > b, a, b); } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return ternary(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 { // Formula from the "Bit Twiddling Hacks" by Sean Eron Anderson. // Since `n` is a signed integer, the generated bytecode will use the SAR opcode to perform the right shift, // taking advantage of the most significant (or "sign" bit) in two's complement representation. // This opcode adds new most significant bits set to the value of the previous most significant bit. As a result, // the mask will either be `bytes32(0)` (if n is positive) or `~bytes32(0)` (if n is negative). int256 mask = n >> 255; // A `bytes32(0)` mask leaves the input unchanged, while a `~bytes32(0)` mask complements it. return uint256((n + mask) ^ mask); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v5.1.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; assembly ("memory-safe") { ptr := add(buffer, add(32, length)) } while (true) { ptr--; assembly ("memory-safe") { 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 Converts an `address` with fixed length of 20 bytes to its checksummed ASCII `string` hexadecimal * representation, according to EIP-55. */ function toChecksumHexString(address addr) internal pure returns (string memory) { bytes memory buffer = bytes(toHexString(addr)); // hash the hex part of buffer (skip length + 2 bytes, length 40) uint256 hashValue; assembly ("memory-safe") { hashValue := shr(96, keccak256(add(buffer, 0x22), 40)) } for (uint256 i = 41; i > 1; --i) { // possible values for buffer[i] are 48 (0) to 57 (9) and 97 (a) to 102 (f) if (hashValue & 0xf > 7 && uint8(buffer[i]) > 96) { // case shift by xoring with 0x20 buffer[i] ^= 0x20; } hashValue >>= 4; } return string(buffer); } /** * @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/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/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.20; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC-721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Errors { using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; mapping(uint256 tokenId => address) private _owners; mapping(address owner => uint256) private _balances; mapping(uint256 tokenId => address) private _tokenApprovals; mapping(address owner => mapping(address operator => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual returns (uint256) { if (owner == address(0)) { revert ERC721InvalidOwner(address(0)); } return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual returns (address) { return _requireOwned(tokenId); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual returns (string memory) { _requireOwned(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string.concat(baseURI, tokenId.toString()) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual { _approve(to, tokenId, _msgSender()); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual returns (address) { _requireOwned(tokenId); return _getApproved(tokenId); } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } // Setting an "auth" arguments enables the `_isAuthorized` check which verifies that the token exists // (from != 0). Therefore, it is not needed to verify that the return value is not 0 here. address previousOwner = _update(to, tokenId, _msgSender()); if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual { transferFrom(from, to, tokenId); ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist * * IMPORTANT: Any overrides to this function that add ownership of tokens not tracked by the * core ERC-721 logic MUST be matched with the use of {_increaseBalance} to keep balances * consistent with ownership. The invariant to preserve is that for any address `a` the value returned by * `balanceOf(a)` must be equal to the number of tokens such that `_ownerOf(tokenId)` is `a`. */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns the approved address for `tokenId`. Returns 0 if `tokenId` is not minted. */ function _getApproved(uint256 tokenId) internal view virtual returns (address) { return _tokenApprovals[tokenId]; } /** * @dev Returns whether `spender` is allowed to manage `owner`'s tokens, or `tokenId` in * particular (ignoring whether it is owned by `owner`). * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _isAuthorized(address owner, address spender, uint256 tokenId) internal view virtual returns (bool) { return spender != address(0) && (owner == spender || isApprovedForAll(owner, spender) || _getApproved(tokenId) == spender); } /** * @dev Checks if `spender` can operate on `tokenId`, assuming the provided `owner` is the actual owner. * Reverts if: * - `spender` does not have approval from `owner` for `tokenId`. * - `spender` does not have approval to manage all of `owner`'s assets. * * WARNING: This function assumes that `owner` is the actual owner of `tokenId` and does not verify this * assumption. */ function _checkAuthorized(address owner, address spender, uint256 tokenId) internal view virtual { if (!_isAuthorized(owner, spender, tokenId)) { if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } else { revert ERC721InsufficientApproval(spender, tokenId); } } } /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * NOTE: the value is limited to type(uint128).max. This protect against _balance overflow. It is unrealistic that * a uint256 would ever overflow from increments when these increments are bounded to uint128 values. * * WARNING: Increasing an account's balance using this function tends to be paired with an override of the * {_ownerOf} function to resolve the ownership of the corresponding tokens so that balances and ownership * remain consistent with one another. */ function _increaseBalance(address account, uint128 value) internal virtual { unchecked { _balances[account] += value; } } /** * @dev Transfers `tokenId` from its current owner to `to`, or alternatively mints (or burns) if the current owner * (or `to`) is the zero address. Returns the owner of the `tokenId` before the update. * * The `auth` argument is optional. If the value passed is non 0, then this function will check that * `auth` is either the owner of the token, or approved to operate on the token (by the owner). * * Emits a {Transfer} event. * * NOTE: If overriding this function in a way that tracks balances, see also {_increaseBalance}. */ function _update(address to, uint256 tokenId, address auth) internal virtual returns (address) { address from = _ownerOf(tokenId); // Perform (optional) operator check if (auth != address(0)) { _checkAuthorized(from, auth, tokenId); } // Execute the update if (from != address(0)) { // Clear approval. No need to re-authorize or emit the Approval event _approve(address(0), tokenId, address(0), false); unchecked { _balances[from] -= 1; } } if (to != address(0)) { unchecked { _balances[to] += 1; } } _owners[tokenId] = to; emit Transfer(from, to, tokenId); return from; } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner != address(0)) { revert ERC721InvalidSender(address(0)); } } /** * @dev Mints `tokenId`, transfers it to `to` and checks for `to` acceptance. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual { _mint(to, tokenId); ERC721Utils.checkOnERC721Received(_msgSender(), address(0), to, tokenId, data); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal { address previousOwner = _update(address(0), tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal { if (to == address(0)) { revert ERC721InvalidReceiver(address(0)); } address previousOwner = _update(to, tokenId, address(0)); if (previousOwner == address(0)) { revert ERC721NonexistentToken(tokenId); } else if (previousOwner != from) { revert ERC721IncorrectOwner(from, tokenId, previousOwner); } } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking that contract recipients * are aware of the ERC-721 standard to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is like {safeTransferFrom} in the sense that it invokes * {IERC721Receiver-onERC721Received} on the receiver, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `tokenId` token must exist and be owned by `from`. * - `to` cannot be the zero address. * - `from` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId) internal { _safeTransfer(from, to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeTransfer-address-address-uint256-}[`_safeTransfer`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); ERC721Utils.checkOnERC721Received(_msgSender(), from, to, tokenId, data); } /** * @dev Approve `to` to operate on `tokenId` * * The `auth` argument is optional. If the value passed is non 0, then this function will check that `auth` is * either the owner of the token, or approved to operate on all tokens held by this owner. * * Emits an {Approval} event. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address to, uint256 tokenId, address auth) internal { _approve(to, tokenId, auth, true); } /** * @dev Variant of `_approve` with an optional flag to enable or disable the {Approval} event. The event is not * emitted in the context of transfers. */ function _approve(address to, uint256 tokenId, address auth, bool emitEvent) internal virtual { // Avoid reading the owner unless necessary if (emitEvent || auth != address(0)) { address owner = _requireOwned(tokenId); // We do not use _isAuthorized because single-token approvals should not be able to call approve if (auth != address(0) && owner != auth && !isApprovedForAll(owner, auth)) { revert ERC721InvalidApprover(auth); } if (emitEvent) { emit Approval(owner, to, tokenId); } } _tokenApprovals[tokenId] = to; } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Requirements: * - operator can't be the address zero. * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { if (operator == address(0)) { revert ERC721InvalidOperator(operator); } _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` doesn't have a current owner (it hasn't been minted, or it has been burned). * Returns the owner. * * Overrides to ownership logic should be done to {_ownerOf}. */ function _requireOwned(uint256 tokenId) internal view returns (address) { address owner = _ownerOf(tokenId); if (owner == address(0)) { revert ERC721NonexistentToken(tokenId); } return owner; } } // File: @openzeppelin/contracts/interfaces/IERC165.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol) pragma solidity ^0.8.20; // File: @openzeppelin/contracts/interfaces/IERC721.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC721.sol) pragma solidity ^0.8.20; // File: @openzeppelin/contracts/interfaces/IERC4906.sol // OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC4906.sol) pragma solidity ^0.8.20; /// @title ERC-721 Metadata Update Extension interface IERC4906 is IERC165, IERC721 { /// @dev This event emits when the metadata of a token is changed. /// So that the third-party platforms such as NFT market could /// timely update the images and related attributes of the NFT. event MetadataUpdate(uint256 _tokenId); /// @dev This event emits when the metadata of a range of tokens is changed. /// So that the third-party platforms such as NFT market could /// timely update the images and related attributes of the NFTs. event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId); } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.20; /** * @dev ERC-721 token with storage based token URI management. */ abstract contract ERC721URIStorage is IERC4906, ERC721 { using Strings for uint256; // Interface ID as defined in ERC-4906. This does not correspond to a traditional interface ID as ERC-4906 only // defines events and does not include any external function. bytes4 private constant ERC4906_INTERFACE_ID = bytes4(0x49064906); // Optional mapping for token URIs mapping(uint256 tokenId => string) private _tokenURIs; /** * @dev See {IERC165-supportsInterface} */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) { return interfaceId == ERC4906_INTERFACE_ID || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireOwned(tokenId); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via string.concat). if (bytes(_tokenURI).length > 0) { return string.concat(base, _tokenURI); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Emits {MetadataUpdate}. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { _tokenURIs[tokenId] = _tokenURI; emit MetadataUpdate(tokenId); } } // 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/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: contracts/bags.sol pragma solidity ^0.8.20; contract BAGS is ERC721URIStorage, ERC2981, Ownable, ReentrancyGuard { uint256 public mintFee; uint256 public constant MAX_BATCH_MINT = 50; uint256 public constant MAX_SUPPLY = 5000; uint256 private _tokenIds; address public immutable feeReceiver; mapping(address => uint256[]) private _ownedTokens; bytes32 private authenticationKey; event NFTMinted( address indexed to, uint256 indexed tokenId, string tokenURI, uint256 mintFee ); event MintFeeUpdated(uint256 newMintFee); event RoyaltyInfoUpdated(address receiver, uint96 feeNumerator); event AuthKeyUpdated(); constructor( uint256 initialMintFee, address receiverAddress, address royaltyReceiver, uint96 royaltyPercentage, bytes32 initialAuthKey ) ERC721("Bags", "BAGS") Ownable(msg.sender) { require(receiverAddress != address(0), "Invalid fee receiver address"); require(royaltyReceiver != address(0), "Invalid royalty receiver address"); require(initialAuthKey != bytes32(0), "Invalid auth key"); require(royaltyPercentage <= 10000, "Royalty percentage cannot exceed 100%"); mintFee = initialMintFee; feeReceiver = receiverAddress; authenticationKey = initialAuthKey; _setDefaultRoyalty(royaltyReceiver, royaltyPercentage); } function updateAuthKey(bytes32 newKey) external onlyOwner { require(newKey != bytes32(0), "Invalid auth key"); authenticationKey = newKey; emit AuthKeyUpdated(); } // Updated to use hash verification instead of decryption function verifyTokenURI(string memory uri, bytes32 hash) internal view returns (bool) { bytes32 calculatedHash = keccak256( abi.encodePacked( uri, authenticationKey ) ); return calculatedHash == hash; } function setDefaultRoyalty( address receiver, uint96 feeNumerator ) external onlyOwner { require(receiver != address(0), "Invalid royalty receiver address"); require(feeNumerator <= 10000, "Royalty percentage cannot exceed 100%"); _setDefaultRoyalty(receiver, feeNumerator); emit RoyaltyInfoUpdated(receiver, feeNumerator); } function setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) external onlyOwner { require(_ownerOf(tokenId) != address(0), "Token does not exist"); require(receiver != address(0), "Invalid royalty receiver address"); require(feeNumerator <= 10000, "Royalty percentage cannot exceed 100%"); _setTokenRoyalty(tokenId, receiver, feeNumerator); emit RoyaltyInfoUpdated(receiver, feeNumerator); } function updateMintFee(uint256 newMintFee) external onlyOwner { mintFee = newMintFee; emit MintFeeUpdated(newMintFee); } // Updated mintBatchNFT function to handle the new verification method function mintBatchNFT( address to, string[] memory tokenURIs, bytes32[] memory hashes ) public payable nonReentrant returns (uint256[] memory) { require(to != address(0), "Cannot mint to zero address"); require(tokenURIs.length > 0, "Must mint at least one NFT"); require(tokenURIs.length <= MAX_BATCH_MINT, "Exceeded max batch mint"); require(tokenURIs.length == hashes.length, "URI and hash arrays length mismatch"); require(_tokenIds + tokenURIs.length <= MAX_SUPPLY, "Would exceed max supply"); uint256 expectedFee = mintFee * tokenURIs.length; require(msg.value >= expectedFee, "Insufficient batch mint fee"); uint256[] memory newTokenIds = new uint256[](tokenURIs.length); for (uint256 i = 0; i < tokenURIs.length; i++) { require(verifyTokenURI(tokenURIs[i], hashes[i]), "Invalid URI hash"); unchecked { _tokenIds++; } uint256 newTokenId = _tokenIds; _safeMint(to, newTokenId); _setTokenURI(newTokenId, tokenURIs[i]); _ownedTokens[to].push(newTokenId); newTokenIds[i] = newTokenId; emit NFTMinted(to, newTokenId, tokenURIs[i], mintFee); } if (msg.value > expectedFee) { payable(msg.sender).transfer(msg.value - expectedFee); } payable(feeReceiver).transfer(expectedFee); return newTokenIds; } function getTokenURIsByOwner( address owner ) public view returns (uint256[] memory, string[] memory) { uint256[] memory tokenIds = _ownedTokens[owner]; string[] memory uris = new string[](tokenIds.length); for (uint256 i = 0; i < tokenIds.length; i++) { uris[i] = super.tokenURI(tokenIds[i]); } return (tokenIds, uris); } function getCurrentTokenId() public view returns (uint256) { return _tokenIds; } function getRemainingSupply() public view returns (uint256) { return MAX_SUPPLY - _tokenIds; } function supportsInterface( bytes4 interfaceId ) public view override(ERC721URIStorage, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"initialMintFee","type":"uint256"},{"internalType":"address","name":"receiverAddress","type":"address"},{"internalType":"address","name":"royaltyReceiver","type":"address"},{"internalType":"uint96","name":"royaltyPercentage","type":"uint96"},{"internalType":"bytes32","name":"initialAuthKey","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"sender","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721IncorrectOwner","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721InsufficientApproval","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC721InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"ERC721InvalidOperator","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ERC721InvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC721InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC721InvalidSender","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ERC721NonexistentToken","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[],"name":"AuthKeyUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMintFee","type":"uint256"}],"name":"MintFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"tokenURI","type":"string"},{"indexed":false,"internalType":"uint256","name":"mintFee","type":"uint256"}],"name":"NFTMinted","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":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"RoyaltyInfoUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_BATCH_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getTokenURIsByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string[]","name":"tokenURIs","type":"string[]"},{"internalType":"bytes32[]","name":"hashes","type":"bytes32[]"}],"name":"mintBatchNFT","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newKey","type":"bytes32"}],"name":"updateAuthKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMintFee","type":"uint256"}],"name":"updateMintFee","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405234801561000f575f80fd5b5060405161515638038061515683398181016040528101906100319190610688565b336040518060400160405280600481526020017f42616773000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4241475300000000000000000000000000000000000000000000000000000000815250815f90816100ac9190610930565b5080600190816100bc9190610930565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361012f575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016101269190610a0e565b60405180910390fd5b61013e8161031660201b60201c565b506001600a819055505f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036101b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101ac90610a81565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161021a90610ae9565b60405180910390fd5b5f801b8103610267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161025e90610b51565b60405180910390fd5b612710826bffffffffffffffffffffffff1611156102ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102b190610bdf565b60405180910390fd5b84600b819055508373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505080600e8190555061030c83836103d960201b60201c565b5050505050610c63565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f6103e861057a60201b60201c565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff16111561044d5781816040517f6f483d09000000000000000000000000000000000000000000000000000000008152600401610444929190610c3c565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036104bd575f6040517fb6d9900a0000000000000000000000000000000000000000000000000000000081526004016104b49190610a0e565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060075f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f612710905090565b5f80fd5b5f819050919050565b61059981610587565b81146105a3575f80fd5b50565b5f815190506105b481610590565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6105e3826105ba565b9050919050565b6105f3816105d9565b81146105fd575f80fd5b50565b5f8151905061060e816105ea565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b61063481610614565b811461063e575f80fd5b50565b5f8151905061064f8161062b565b92915050565b5f819050919050565b61066781610655565b8114610671575f80fd5b50565b5f815190506106828161065e565b92915050565b5f805f805f60a086880312156106a1576106a0610583565b5b5f6106ae888289016105a6565b95505060206106bf88828901610600565b94505060406106d088828901610600565b93505060606106e188828901610641565b92505060806106f288828901610674565b9150509295509295909350565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061077a57607f821691505b60208210810361078d5761078c610736565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026107ef7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826107b4565b6107f986836107b4565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61083461082f61082a84610587565b610811565b610587565b9050919050565b5f819050919050565b61084d8361081a565b6108616108598261083b565b8484546107c0565b825550505050565b5f90565b610875610869565b610880818484610844565b505050565b5b818110156108a3576108985f8261086d565b600181019050610886565b5050565b601f8211156108e8576108b981610793565b6108c2846107a5565b810160208510156108d1578190505b6108e56108dd856107a5565b830182610885565b50505b505050565b5f82821c905092915050565b5f6109085f19846008026108ed565b1980831691505092915050565b5f61092083836108f9565b9150826002028217905092915050565b610939826106ff565b67ffffffffffffffff81111561095257610951610709565b5b61095c8254610763565b6109678282856108a7565b5f60209050601f831160018114610998575f8415610986578287015190505b6109908582610915565b8655506109f7565b601f1984166109a686610793565b5f5b828110156109cd578489015182556001820191506020850194506020810190506109a8565b868310156109ea57848901516109e6601f8916826108f9565b8355505b6001600288020188555050505b505050505050565b610a08816105d9565b82525050565b5f602082019050610a215f8301846109ff565b92915050565b5f82825260208201905092915050565b7f496e76616c6964206665652072656365697665722061646472657373000000005f82015250565b5f610a6b601c83610a27565b9150610a7682610a37565b602082019050919050565b5f6020820190508181035f830152610a9881610a5f565b9050919050565b7f496e76616c696420726f79616c747920726563656976657220616464726573735f82015250565b5f610ad3602083610a27565b9150610ade82610a9f565b602082019050919050565b5f6020820190508181035f830152610b0081610ac7565b9050919050565b7f496e76616c69642061757468206b6579000000000000000000000000000000005f82015250565b5f610b3b601083610a27565b9150610b4682610b07565b602082019050919050565b5f6020820190508181035f830152610b6881610b2f565b9050919050565b7f526f79616c74792070657263656e746167652063616e6e6f74206578636565645f8201527f2031303025000000000000000000000000000000000000000000000000000000602082015250565b5f610bc9602583610a27565b9150610bd482610b6f565b604082019050919050565b5f6020820190508181035f830152610bf681610bbd565b9050919050565b5f610c17610c12610c0d84610614565b610811565b610587565b9050919050565b610c2781610bfd565b82525050565b610c3681610587565b82525050565b5f604082019050610c4f5f830185610c1e565b610c5c6020830184610c2d565b9392505050565b6080516144d4610c825f395f818161125b01526114c901526144d45ff3fe6080604052600436106101c1575f3560e01c80636352211e116100f6578063a81152f711610094578063e4b7fb7311610063578063e4b7fb7314610641578063e985e9c51461066b578063f2fde38b146106a7578063f6231f5e146106cf576101c1565b8063a81152f714610589578063b3f00674146105b3578063b88d4fde146105dd578063c87b56dd14610605576101c1565b806384017e52116100d057806384017e52146104e55780638da5cb5b1461050d57806395d89b4114610537578063a22cb46514610561576101c1565b80636352211e1461045757806370a0823114610493578063715018a6146104cf576101c1565b806323b872dd1161016357806342842e0e1161013d57806342842e0e146103ad57806356189236146103d55780635944c753146103ff57806362cf6fc914610427576101c1565b806323b872dd1461031e5780632a55205a1461034657806332cb6b0c14610383576101c1565b8063081812fc1161019f578063081812fc14610253578063095ea7b31461028f57806313966db5146102b757806315e8675e146102e1576101c1565b806301ffc9a7146101c557806304634d8d1461020157806306fdde0314610229575b5f80fd5b3480156101d0575f80fd5b506101eb60048036038101906101e69190612d16565b6106f7565b6040516101f89190612d5b565b60405180910390f35b34801561020c575f80fd5b5061022760048036038101906102229190612e0f565b610708565b005b348015610234575f80fd5b5061023d610818565b60405161024a9190612ebd565b60405180910390f35b34801561025e575f80fd5b5061027960048036038101906102749190612f10565b6108a7565b6040516102869190612f4a565b60405180910390f35b34801561029a575f80fd5b506102b560048036038101906102b09190612f63565b6108c2565b005b3480156102c2575f80fd5b506102cb6108d8565b6040516102d89190612fb0565b60405180910390f35b3480156102ec575f80fd5b5061030760048036038101906103029190612fc9565b6108de565b6040516103159291906131ae565b60405180910390f35b348015610329575f80fd5b50610344600480360381019061033f91906131e3565b610a27565b005b348015610351575f80fd5b5061036c60048036038101906103679190613233565b610b26565b60405161037a929190613271565b60405180910390f35b34801561038e575f80fd5b50610397610c48565b6040516103a49190612fb0565b60405180910390f35b3480156103b8575f80fd5b506103d360048036038101906103ce91906131e3565b610c4e565b005b3480156103e0575f80fd5b506103e9610c6d565b6040516103f69190612fb0565b60405180910390f35b34801561040a575f80fd5b5061042560048036038101906104209190613298565b610c76565b005b610441600480360381019061043c91906135e9565b610dfe565b60405161044e9190613671565b60405180910390f35b348015610462575f80fd5b5061047d60048036038101906104789190612f10565b6112d1565b60405161048a9190612f4a565b60405180910390f35b34801561049e575f80fd5b506104b960048036038101906104b49190612fc9565b6112e2565b6040516104c69190612fb0565b60405180910390f35b3480156104da575f80fd5b506104e3611398565b005b3480156104f0575f80fd5b5061050b60048036038101906105069190612f10565b6113ab565b005b348015610518575f80fd5b506105216113f4565b60405161052e9190612f4a565b60405180910390f35b348015610542575f80fd5b5061054b61141c565b6040516105589190612ebd565b60405180910390f35b34801561056c575f80fd5b50610587600480360381019061058291906136bb565b6114ac565b005b348015610594575f80fd5b5061059d6114c2565b6040516105aa9190612fb0565b60405180910390f35b3480156105be575f80fd5b506105c76114c7565b6040516105d49190612f4a565b60405180910390f35b3480156105e8575f80fd5b5061060360048036038101906105fe9190613797565b6114eb565b005b348015610610575f80fd5b5061062b60048036038101906106269190612f10565b611510565b6040516106389190612ebd565b60405180910390f35b34801561064c575f80fd5b5061065561161b565b6040516106629190612fb0565b60405180910390f35b348015610676575f80fd5b50610691600480360381019061068c9190613817565b611631565b60405161069e9190612d5b565b60405180910390f35b3480156106b2575f80fd5b506106cd60048036038101906106c89190612fc9565b6116bf565b005b3480156106da575f80fd5b506106f560048036038101906106f09190613855565b611743565b005b5f610701826117c5565b9050919050565b61071061183e565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361077e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610775906138ca565b60405180910390fd5b612710816bffffffffffffffffffffffff1611156107d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c890613958565b60405180910390fd5b6107db82826118c5565b7fae1d656a1268648b04ffa79c1416f05879338ae295aae3234d8db217356a1c62828260405161080c929190613985565b60405180910390a15050565b60605f8054610826906139d9565b80601f0160208091040260200160405190810160405280929190818152602001828054610852906139d9565b801561089d5780601f106108745761010080835404028352916020019161089d565b820191905f5260205f20905b81548152906001019060200180831161088057829003601f168201915b5050505050905090565b5f6108b182611a60565b506108bb82611ae6565b9050919050565b6108d482826108cf611b1f565b611b26565b5050565b600b5481565b6060805f600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080548060200260200160405190810160405280929190818152602001828054801561096757602002820191905f5260205f20905b815481526020019060010190808311610953575b505050505090505f815167ffffffffffffffff81111561098a576109896132ec565b5b6040519080825280602002602001820160405280156109bd57816020015b60608152602001906001900390816109a85790505b5090505f5b8251811015610a19576109ee8382815181106109e1576109e0613a09565b5b6020026020010151611510565b828281518110610a0157610a00613a09565b5b602002602001018190525080806001019150506109c2565b508181935093505050915091565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a97575f6040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610a8e9190612f4a565b60405180910390fd5b5f610aaa8383610aa5611b1f565b611b38565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b20578382826040517f64283d7b000000000000000000000000000000000000000000000000000000008152600401610b1793929190613a36565b60405180910390fd5b50505050565b5f805f60085f8681526020019081526020015f2090505f815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f825f0160149054906101000a90046bffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bfa5760075f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915060075f0160149054906101000a90046bffffffffffffffffffffffff1690505b5f610c03611d43565b6bffffffffffffffffffffffff16826bffffffffffffffffffffffff1688610c2b9190613a98565b610c359190613b06565b9050828195509550505050509250929050565b61138881565b610c6883838360405180602001604052805f8152506114eb565b505050565b5f600c54905090565b610c7e61183e565b5f73ffffffffffffffffffffffffffffffffffffffff16610c9e84611d4c565b73ffffffffffffffffffffffffffffffffffffffff1603610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb90613b80565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d59906138ca565b60405180910390fd5b612710816bffffffffffffffffffffffff161115610db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dac90613958565b60405180910390fd5b610dc0838383611d85565b7fae1d656a1268648b04ffa79c1416f05879338ae295aae3234d8db217356a1c628282604051610df1929190613985565b60405180910390a1505050565b6060610e08611f34565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d90613be8565b60405180910390fd5b5f835111610eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb090613c50565b60405180910390fd5b603283511115610efe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef590613cb8565b60405180910390fd5b8151835114610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613d46565b60405180910390fd5b6113888351600c54610f549190613d64565b1115610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c90613de1565b60405180910390fd5b5f8351600b54610fa59190613a98565b905080341015610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe190613e49565b60405180910390fd5b5f845167ffffffffffffffff811115611006576110056132ec565b5b6040519080825280602002602001820160405280156110345781602001602082028036833780820191505090505b5090505f5b85518110156112005761108086828151811061105857611057613a09565b5b602002602001015186838151811061107357611072613a09565b5b6020026020010151611f83565b6110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690613eb1565b60405180910390fd5b600c5f81548092919060010191905055505f600c5490506110e08882611fbe565b611104818884815181106110f7576110f6613a09565b5b6020026020010151611fdb565b600d5f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f90919091909150558083838151811061117957611178613a09565b5b602002602001018181525050808873ffffffffffffffffffffffffffffffffffffffff167f7f9dd5d8fa69e733db2277a568b65a9651a3042da18fb2b5ea1966d3891cbfda8985815181106111d1576111d0613a09565b5b6020026020010151600b546040516111ea929190613ecf565b60405180910390a3508080600101915050611039565b5081341115611259573373ffffffffffffffffffffffffffffffffffffffff166108fc833461122f9190613efd565b90811502906040515f60405180830381858888f19350505050158015611257573d5f803e3d5ffd5b505b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f193505050501580156112bc573d5f803e3d5ffd5b5080925050506112ca612035565b9392505050565b5f6112db82611a60565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611353575f6040517f89c62b6400000000000000000000000000000000000000000000000000000000815260040161134a9190612f4a565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6113a061183e565b6113a95f61203f565b565b6113b361183e565b80600b819055507f38fbb1c8b109c430f0c030e7ed076cf5611a307773a4e8e365601e8f8bceaec6816040516113e99190612fb0565b60405180910390a150565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461142b906139d9565b80601f0160208091040260200160405190810160405280929190818152602001828054611457906139d9565b80156114a25780601f10611479576101008083540402835291602001916114a2565b820191905f5260205f20905b81548152906001019060200180831161148557829003601f168201915b5050505050905090565b6114be6114b7611b1f565b8383612102565b5050565b603281565b7f000000000000000000000000000000000000000000000000000000000000000081565b6114f6848484610a27565b61150a611501611b1f565b8585858561226b565b50505050565b606061151b82611a60565b505f60065f8481526020019081526020015f208054611539906139d9565b80601f0160208091040260200160405190810160405280929190818152602001828054611565906139d9565b80156115b05780601f10611587576101008083540402835291602001916115b0565b820191905f5260205f20905b81548152906001019060200180831161159357829003601f168201915b505050505090505f6115c0612417565b90505f8151036115d4578192505050611616565b5f825111156116085780826040516020016115f0929190613f6a565b60405160208183030381529060405292505050611616565b6116118461242d565b925050505b919050565b5f600c5461138861162c9190613efd565b905090565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6116c761183e565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611737575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161172e9190612f4a565b60405180910390fd5b6117408161203f565b50565b61174b61183e565b5f801b810361178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178690613fd7565b60405180910390fd5b80600e819055507f0d0cdc4f11302e70e3492f5161057a5963552c89b9e710217cb5dbcb8f8a029960405160405180910390a150565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611837575061183682612493565b5b9050919050565b611846611b1f565b73ffffffffffffffffffffffffffffffffffffffff166118646113f4565b73ffffffffffffffffffffffffffffffffffffffff16146118c357611887611b1f565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016118ba9190612f4a565b60405180910390fd5b565b5f6118ce611d43565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff1611156119335781816040517f6f483d0900000000000000000000000000000000000000000000000000000000815260040161192a92919061402e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119a3575f6040517fb6d9900a00000000000000000000000000000000000000000000000000000000815260040161199a9190612f4a565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060075f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f80611a6b83611d4c565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611add57826040517f7e273289000000000000000000000000000000000000000000000000000000008152600401611ad49190612fb0565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b611b3383838360016124f3565b505050565b5f80611b4384611d4c565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611b8457611b838184866126b2565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c0f57611bc35f855f806124f3565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614611c8e57600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b5f612710905090565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f611d8e611d43565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115611df5578382826040517fdfd1fc1b000000000000000000000000000000000000000000000000000000008152600401611dec93929190614055565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e6757835f6040517f969f0852000000000000000000000000000000000000000000000000000000008152600401611e5e92919061408a565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f8681526020019081526020015f205f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555090505050505050565b6002600a5403611f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f70906140fb565b60405180910390fd5b6002600a81905550565b5f8083600e54604051602001611f9a929190614139565b60405160208183030381529060405280519060200120905082811491505092915050565b611fd7828260405180602001604052805f815250612775565b5050565b8060065f8481526020019081526020015f209081611ff991906142f4565b507ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7826040516120299190612fb0565b60405180910390a15050565b6001600a81905550565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361217257816040517f5b08ba180000000000000000000000000000000000000000000000000000000081526004016121699190612f4a565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161225e9190612d5b565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1115612410578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02868685856040518563ffffffff1660e01b81526004016122c99493929190614415565b6020604051808303815f875af192505050801561230457506040513d601f19601f820116820180604052508101906123019190614473565b60015b612385573d805f8114612332576040519150601f19603f3d011682016040523d82523d5f602084013e612337565b606091505b505f81510361237d57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016123749190612f4a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461240e57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016124059190612f4a565b60405180910390fd5b505b5050505050565b606060405180602001604052805f815250905090565b606061243882611a60565b505f612442612417565b90505f8151116124605760405180602001604052805f81525061248b565b8061246a84612798565b60405160200161247b929190613f6a565b6040516020818303038152906040525b915050919050565b5f634906490660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124ec57506124eb82612862565b5b9050919050565b808061252b57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561265d575f61253a84611a60565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156125a457508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156125b757506125b58184611631565b155b156125f957826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016125f09190612f4a565b60405180910390fd5b811561265b57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6126bd838383612943565b612770575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361273157806040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016127289190612fb0565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401612767929190613271565b60405180910390fd5b505050565b61277f8383612a03565b61279361278a611b1f565b5f85858561226b565b505050565b60605f60016127a684612af6565b0190505f8167ffffffffffffffff8111156127c4576127c36132ec565b5b6040519080825280601f01601f1916602001820160405280156127f65781602001600182028036833780820191505090505b5090505f82602001820190505b600115612857578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161284c5761284b613ad9565b5b0494505f8503612803575b819350505050919050565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061292c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061293c575061293b82612c47565b5b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156129fa57508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129bb57506129ba8484611631565b5b806129f957508273ffffffffffffffffffffffffffffffffffffffff166129e183611ae6565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a73575f6040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612a6a9190612f4a565b60405180910390fd5b5f612a7f83835f611b38565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612af1575f6040517f73c6ac6e000000000000000000000000000000000000000000000000000000008152600401612ae89190612f4a565b60405180910390fd5b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612b52577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612b4857612b47613ad9565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612b8f576d04ee2d6d415b85acef81000000008381612b8557612b84613ad9565b5b0492506020810190505b662386f26fc100008310612bbe57662386f26fc100008381612bb457612bb3613ad9565b5b0492506010810190505b6305f5e1008310612be7576305f5e1008381612bdd57612bdc613ad9565b5b0492506008810190505b6127108310612c0c576127108381612c0257612c01613ad9565b5b0492506004810190505b60648310612c2f5760648381612c2557612c24613ad9565b5b0492506002810190505b600a8310612c3e576001810190505b80915050919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612cf581612cc1565b8114612cff575f80fd5b50565b5f81359050612d1081612cec565b92915050565b5f60208284031215612d2b57612d2a612cb9565b5b5f612d3884828501612d02565b91505092915050565b5f8115159050919050565b612d5581612d41565b82525050565b5f602082019050612d6e5f830184612d4c565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612d9d82612d74565b9050919050565b612dad81612d93565b8114612db7575f80fd5b50565b5f81359050612dc881612da4565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b612dee81612dce565b8114612df8575f80fd5b50565b5f81359050612e0981612de5565b92915050565b5f8060408385031215612e2557612e24612cb9565b5b5f612e3285828601612dba565b9250506020612e4385828601612dfb565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612e8f82612e4d565b612e998185612e57565b9350612ea9818560208601612e67565b612eb281612e75565b840191505092915050565b5f6020820190508181035f830152612ed58184612e85565b905092915050565b5f819050919050565b612eef81612edd565b8114612ef9575f80fd5b50565b5f81359050612f0a81612ee6565b92915050565b5f60208284031215612f2557612f24612cb9565b5b5f612f3284828501612efc565b91505092915050565b612f4481612d93565b82525050565b5f602082019050612f5d5f830184612f3b565b92915050565b5f8060408385031215612f7957612f78612cb9565b5b5f612f8685828601612dba565b9250506020612f9785828601612efc565b9150509250929050565b612faa81612edd565b82525050565b5f602082019050612fc35f830184612fa1565b92915050565b5f60208284031215612fde57612fdd612cb9565b5b5f612feb84828501612dba565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61302681612edd565b82525050565b5f613037838361301d565b60208301905092915050565b5f602082019050919050565b5f61305982612ff4565b6130638185612ffe565b935061306e8361300e565b805f5b8381101561309e578151613085888261302c565b975061309083613043565b925050600181019050613071565b5085935050505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f82825260208201905092915050565b5f6130ee82612e4d565b6130f881856130d4565b9350613108818560208601612e67565b61311181612e75565b840191505092915050565b5f61312783836130e4565b905092915050565b5f602082019050919050565b5f613145826130ab565b61314f81856130b5565b935083602082028501613161856130c5565b805f5b8581101561319c578484038952815161317d858261311c565b94506131888361312f565b925060208a01995050600181019050613164565b50829750879550505050505092915050565b5f6040820190508181035f8301526131c6818561304f565b905081810360208301526131da818461313b565b90509392505050565b5f805f606084860312156131fa576131f9612cb9565b5b5f61320786828701612dba565b935050602061321886828701612dba565b925050604061322986828701612efc565b9150509250925092565b5f806040838503121561324957613248612cb9565b5b5f61325685828601612efc565b925050602061326785828601612efc565b9150509250929050565b5f6040820190506132845f830185612f3b565b6132916020830184612fa1565b9392505050565b5f805f606084860312156132af576132ae612cb9565b5b5f6132bc86828701612efc565b93505060206132cd86828701612dba565b92505060406132de86828701612dfb565b9150509250925092565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61332282612e75565b810181811067ffffffffffffffff82111715613341576133406132ec565b5b80604052505050565b5f613353612cb0565b905061335f8282613319565b919050565b5f67ffffffffffffffff82111561337e5761337d6132ec565b5b602082029050602081019050919050565b5f80fd5b5f80fd5b5f67ffffffffffffffff8211156133b1576133b06132ec565b5b6133ba82612e75565b9050602081019050919050565b828183375f83830152505050565b5f6133e76133e284613397565b61334a565b90508281526020810184848401111561340357613402613393565b5b61340e8482856133c7565b509392505050565b5f82601f83011261342a576134296132e8565b5b813561343a8482602086016133d5565b91505092915050565b5f61345561345084613364565b61334a565b905080838252602082019050602084028301858111156134785761347761338f565b5b835b818110156134bf57803567ffffffffffffffff81111561349d5761349c6132e8565b5b8086016134aa8982613416565b8552602085019450505060208101905061347a565b5050509392505050565b5f82601f8301126134dd576134dc6132e8565b5b81356134ed848260208601613443565b91505092915050565b5f67ffffffffffffffff8211156135105761350f6132ec565b5b602082029050602081019050919050565b5f819050919050565b61353381613521565b811461353d575f80fd5b50565b5f8135905061354e8161352a565b92915050565b5f613566613561846134f6565b61334a565b905080838252602082019050602084028301858111156135895761358861338f565b5b835b818110156135b2578061359e8882613540565b84526020840193505060208101905061358b565b5050509392505050565b5f82601f8301126135d0576135cf6132e8565b5b81356135e0848260208601613554565b91505092915050565b5f805f60608486031215613600576135ff612cb9565b5b5f61360d86828701612dba565b935050602084013567ffffffffffffffff81111561362e5761362d612cbd565b5b61363a868287016134c9565b925050604084013567ffffffffffffffff81111561365b5761365a612cbd565b5b613667868287016135bc565b9150509250925092565b5f6020820190508181035f830152613689818461304f565b905092915050565b61369a81612d41565b81146136a4575f80fd5b50565b5f813590506136b581613691565b92915050565b5f80604083850312156136d1576136d0612cb9565b5b5f6136de85828601612dba565b92505060206136ef858286016136a7565b9150509250929050565b5f67ffffffffffffffff821115613713576137126132ec565b5b61371c82612e75565b9050602081019050919050565b5f61373b613736846136f9565b61334a565b90508281526020810184848401111561375757613756613393565b5b6137628482856133c7565b509392505050565b5f82601f83011261377e5761377d6132e8565b5b813561378e848260208601613729565b91505092915050565b5f805f80608085870312156137af576137ae612cb9565b5b5f6137bc87828801612dba565b94505060206137cd87828801612dba565b93505060406137de87828801612efc565b925050606085013567ffffffffffffffff8111156137ff576137fe612cbd565b5b61380b8782880161376a565b91505092959194509250565b5f806040838503121561382d5761382c612cb9565b5b5f61383a85828601612dba565b925050602061384b85828601612dba565b9150509250929050565b5f6020828403121561386a57613869612cb9565b5b5f61387784828501613540565b91505092915050565b7f496e76616c696420726f79616c747920726563656976657220616464726573735f82015250565b5f6138b4602083612e57565b91506138bf82613880565b602082019050919050565b5f6020820190508181035f8301526138e1816138a8565b9050919050565b7f526f79616c74792070657263656e746167652063616e6e6f74206578636565645f8201527f2031303025000000000000000000000000000000000000000000000000000000602082015250565b5f613942602583612e57565b915061394d826138e8565b604082019050919050565b5f6020820190508181035f83015261396f81613936565b9050919050565b61397f81612dce565b82525050565b5f6040820190506139985f830185612f3b565b6139a56020830184613976565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806139f057607f821691505b602082108103613a0357613a026139ac565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f606082019050613a495f830186612f3b565b613a566020830185612fa1565b613a636040830184612f3b565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613aa282612edd565b9150613aad83612edd565b9250828202613abb81612edd565b91508282048414831517613ad257613ad1613a6b565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613b1082612edd565b9150613b1b83612edd565b925082613b2b57613b2a613ad9565b5b828204905092915050565b7f546f6b656e20646f6573206e6f742065786973740000000000000000000000005f82015250565b5f613b6a601483612e57565b9150613b7582613b36565b602082019050919050565b5f6020820190508181035f830152613b9781613b5e565b9050919050565b7f43616e6e6f74206d696e7420746f207a65726f206164647265737300000000005f82015250565b5f613bd2601b83612e57565b9150613bdd82613b9e565b602082019050919050565b5f6020820190508181035f830152613bff81613bc6565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e65204e46540000000000005f82015250565b5f613c3a601a83612e57565b9150613c4582613c06565b602082019050919050565b5f6020820190508181035f830152613c6781613c2e565b9050919050565b7f4578636565646564206d6178206261746368206d696e740000000000000000005f82015250565b5f613ca2601783612e57565b9150613cad82613c6e565b602082019050919050565b5f6020820190508181035f830152613ccf81613c96565b9050919050565b7f55524920616e64206861736820617272617973206c656e677468206d69736d615f8201527f7463680000000000000000000000000000000000000000000000000000000000602082015250565b5f613d30602383612e57565b9150613d3b82613cd6565b604082019050919050565b5f6020820190508181035f830152613d5d81613d24565b9050919050565b5f613d6e82612edd565b9150613d7983612edd565b9250828201905080821115613d9157613d90613a6b565b5b92915050565b7f576f756c6420657863656564206d617820737570706c790000000000000000005f82015250565b5f613dcb601783612e57565b9150613dd682613d97565b602082019050919050565b5f6020820190508181035f830152613df881613dbf565b9050919050565b7f496e73756666696369656e74206261746368206d696e742066656500000000005f82015250565b5f613e33601b83612e57565b9150613e3e82613dff565b602082019050919050565b5f6020820190508181035f830152613e6081613e27565b9050919050565b7f496e76616c6964205552492068617368000000000000000000000000000000005f82015250565b5f613e9b601083612e57565b9150613ea682613e67565b602082019050919050565b5f6020820190508181035f830152613ec881613e8f565b9050919050565b5f6040820190508181035f830152613ee78185612e85565b9050613ef66020830184612fa1565b9392505050565b5f613f0782612edd565b9150613f1283612edd565b9250828203905081811115613f2a57613f29613a6b565b5b92915050565b5f81905092915050565b5f613f4482612e4d565b613f4e8185613f30565b9350613f5e818560208601612e67565b80840191505092915050565b5f613f758285613f3a565b9150613f818284613f3a565b91508190509392505050565b7f496e76616c69642061757468206b6579000000000000000000000000000000005f82015250565b5f613fc1601083612e57565b9150613fcc82613f8d565b602082019050919050565b5f6020820190508181035f830152613fee81613fb5565b9050919050565b5f819050919050565b5f61401861401361400e84612dce565b613ff5565b612edd565b9050919050565b61402881613ffe565b82525050565b5f6040820190506140415f83018561401f565b61404e6020830184612fa1565b9392505050565b5f6060820190506140685f830186612fa1565b614075602083018561401f565b6140826040830184612fa1565b949350505050565b5f60408201905061409d5f830185612fa1565b6140aa6020830184612f3b565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f6140e5601f83612e57565b91506140f0826140b1565b602082019050919050565b5f6020820190508181035f830152614112816140d9565b9050919050565b5f819050919050565b61413361412e82613521565b614119565b82525050565b5f6141448285613f3a565b91506141508284614122565b6020820191508190509392505050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026141bc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614181565b6141c68683614181565b95508019841693508086168417925050509392505050565b5f6141f86141f36141ee84612edd565b613ff5565b612edd565b9050919050565b5f819050919050565b614211836141de565b61422561421d826141ff565b84845461418d565b825550505050565b5f90565b61423961422d565b614244818484614208565b505050565b5b818110156142675761425c5f82614231565b60018101905061424a565b5050565b601f8211156142ac5761427d81614160565b61428684614172565b81016020851015614295578190505b6142a96142a185614172565b830182614249565b50505b505050565b5f82821c905092915050565b5f6142cc5f19846008026142b1565b1980831691505092915050565b5f6142e483836142bd565b9150826002028217905092915050565b6142fd82612e4d565b67ffffffffffffffff811115614316576143156132ec565b5b61432082546139d9565b61432b82828561426b565b5f60209050601f83116001811461435c575f841561434a578287015190505b61435485826142d9565b8655506143bb565b601f19841661436a86614160565b5f5b828110156143915784890151825560018201915060208501945060208101905061436c565b868310156143ae57848901516143aa601f8916826142bd565b8355505b6001600288020188555050505b505050505050565b5f81519050919050565b5f82825260208201905092915050565b5f6143e7826143c3565b6143f181856143cd565b9350614401818560208601612e67565b61440a81612e75565b840191505092915050565b5f6080820190506144285f830187612f3b565b6144356020830186612f3b565b6144426040830185612fa1565b818103606083015261445481846143dd565b905095945050505050565b5f8151905061446d81612cec565b92915050565b5f6020828403121561448857614487612cb9565b5b5f6144958482850161445f565b9150509291505056fea2646970667358221220347bc6b3b29e61b09ba731d6cd9fe5be77d579cbcfca3c1325c8091d32a6236564736f6c634300081a0033000000000000000000000000000000000000000000000000d02ab486cedc000000000000000000000000000030b7918ea87780626a931e037d23f8b406944a2a00000000000000000000000030b7918ea87780626a931e037d23f8b406944a2a00000000000000000000000000000000000000000000000000000000000001f41dbfe1f97b95ecf5dfda53a08a6d48e1ee93591ce9dd22efe934ffc86449b315
Deployed Bytecode
0x6080604052600436106101c1575f3560e01c80636352211e116100f6578063a81152f711610094578063e4b7fb7311610063578063e4b7fb7314610641578063e985e9c51461066b578063f2fde38b146106a7578063f6231f5e146106cf576101c1565b8063a81152f714610589578063b3f00674146105b3578063b88d4fde146105dd578063c87b56dd14610605576101c1565b806384017e52116100d057806384017e52146104e55780638da5cb5b1461050d57806395d89b4114610537578063a22cb46514610561576101c1565b80636352211e1461045757806370a0823114610493578063715018a6146104cf576101c1565b806323b872dd1161016357806342842e0e1161013d57806342842e0e146103ad57806356189236146103d55780635944c753146103ff57806362cf6fc914610427576101c1565b806323b872dd1461031e5780632a55205a1461034657806332cb6b0c14610383576101c1565b8063081812fc1161019f578063081812fc14610253578063095ea7b31461028f57806313966db5146102b757806315e8675e146102e1576101c1565b806301ffc9a7146101c557806304634d8d1461020157806306fdde0314610229575b5f80fd5b3480156101d0575f80fd5b506101eb60048036038101906101e69190612d16565b6106f7565b6040516101f89190612d5b565b60405180910390f35b34801561020c575f80fd5b5061022760048036038101906102229190612e0f565b610708565b005b348015610234575f80fd5b5061023d610818565b60405161024a9190612ebd565b60405180910390f35b34801561025e575f80fd5b5061027960048036038101906102749190612f10565b6108a7565b6040516102869190612f4a565b60405180910390f35b34801561029a575f80fd5b506102b560048036038101906102b09190612f63565b6108c2565b005b3480156102c2575f80fd5b506102cb6108d8565b6040516102d89190612fb0565b60405180910390f35b3480156102ec575f80fd5b5061030760048036038101906103029190612fc9565b6108de565b6040516103159291906131ae565b60405180910390f35b348015610329575f80fd5b50610344600480360381019061033f91906131e3565b610a27565b005b348015610351575f80fd5b5061036c60048036038101906103679190613233565b610b26565b60405161037a929190613271565b60405180910390f35b34801561038e575f80fd5b50610397610c48565b6040516103a49190612fb0565b60405180910390f35b3480156103b8575f80fd5b506103d360048036038101906103ce91906131e3565b610c4e565b005b3480156103e0575f80fd5b506103e9610c6d565b6040516103f69190612fb0565b60405180910390f35b34801561040a575f80fd5b5061042560048036038101906104209190613298565b610c76565b005b610441600480360381019061043c91906135e9565b610dfe565b60405161044e9190613671565b60405180910390f35b348015610462575f80fd5b5061047d60048036038101906104789190612f10565b6112d1565b60405161048a9190612f4a565b60405180910390f35b34801561049e575f80fd5b506104b960048036038101906104b49190612fc9565b6112e2565b6040516104c69190612fb0565b60405180910390f35b3480156104da575f80fd5b506104e3611398565b005b3480156104f0575f80fd5b5061050b60048036038101906105069190612f10565b6113ab565b005b348015610518575f80fd5b506105216113f4565b60405161052e9190612f4a565b60405180910390f35b348015610542575f80fd5b5061054b61141c565b6040516105589190612ebd565b60405180910390f35b34801561056c575f80fd5b50610587600480360381019061058291906136bb565b6114ac565b005b348015610594575f80fd5b5061059d6114c2565b6040516105aa9190612fb0565b60405180910390f35b3480156105be575f80fd5b506105c76114c7565b6040516105d49190612f4a565b60405180910390f35b3480156105e8575f80fd5b5061060360048036038101906105fe9190613797565b6114eb565b005b348015610610575f80fd5b5061062b60048036038101906106269190612f10565b611510565b6040516106389190612ebd565b60405180910390f35b34801561064c575f80fd5b5061065561161b565b6040516106629190612fb0565b60405180910390f35b348015610676575f80fd5b50610691600480360381019061068c9190613817565b611631565b60405161069e9190612d5b565b60405180910390f35b3480156106b2575f80fd5b506106cd60048036038101906106c89190612fc9565b6116bf565b005b3480156106da575f80fd5b506106f560048036038101906106f09190613855565b611743565b005b5f610701826117c5565b9050919050565b61071061183e565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361077e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610775906138ca565b60405180910390fd5b612710816bffffffffffffffffffffffff1611156107d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c890613958565b60405180910390fd5b6107db82826118c5565b7fae1d656a1268648b04ffa79c1416f05879338ae295aae3234d8db217356a1c62828260405161080c929190613985565b60405180910390a15050565b60605f8054610826906139d9565b80601f0160208091040260200160405190810160405280929190818152602001828054610852906139d9565b801561089d5780601f106108745761010080835404028352916020019161089d565b820191905f5260205f20905b81548152906001019060200180831161088057829003601f168201915b5050505050905090565b5f6108b182611a60565b506108bb82611ae6565b9050919050565b6108d482826108cf611b1f565b611b26565b5050565b600b5481565b6060805f600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2080548060200260200160405190810160405280929190818152602001828054801561096757602002820191905f5260205f20905b815481526020019060010190808311610953575b505050505090505f815167ffffffffffffffff81111561098a576109896132ec565b5b6040519080825280602002602001820160405280156109bd57816020015b60608152602001906001900390816109a85790505b5090505f5b8251811015610a19576109ee8382815181106109e1576109e0613a09565b5b6020026020010151611510565b828281518110610a0157610a00613a09565b5b602002602001018190525080806001019150506109c2565b508181935093505050915091565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a97575f6040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610a8e9190612f4a565b60405180910390fd5b5f610aaa8383610aa5611b1f565b611b38565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b20578382826040517f64283d7b000000000000000000000000000000000000000000000000000000008152600401610b1793929190613a36565b60405180910390fd5b50505050565b5f805f60085f8681526020019081526020015f2090505f815f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f825f0160149054906101000a90046bffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610bfa5760075f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16915060075f0160149054906101000a90046bffffffffffffffffffffffff1690505b5f610c03611d43565b6bffffffffffffffffffffffff16826bffffffffffffffffffffffff1688610c2b9190613a98565b610c359190613b06565b9050828195509550505050509250929050565b61138881565b610c6883838360405180602001604052805f8152506114eb565b505050565b5f600c54905090565b610c7e61183e565b5f73ffffffffffffffffffffffffffffffffffffffff16610c9e84611d4c565b73ffffffffffffffffffffffffffffffffffffffff1603610cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ceb90613b80565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d59906138ca565b60405180910390fd5b612710816bffffffffffffffffffffffff161115610db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dac90613958565b60405180910390fd5b610dc0838383611d85565b7fae1d656a1268648b04ffa79c1416f05879338ae295aae3234d8db217356a1c628282604051610df1929190613985565b60405180910390a1505050565b6060610e08611f34565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d90613be8565b60405180910390fd5b5f835111610eb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb090613c50565b60405180910390fd5b603283511115610efe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef590613cb8565b60405180910390fd5b8151835114610f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3990613d46565b60405180910390fd5b6113888351600c54610f549190613d64565b1115610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c90613de1565b60405180910390fd5b5f8351600b54610fa59190613a98565b905080341015610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe190613e49565b60405180910390fd5b5f845167ffffffffffffffff811115611006576110056132ec565b5b6040519080825280602002602001820160405280156110345781602001602082028036833780820191505090505b5090505f5b85518110156112005761108086828151811061105857611057613a09565b5b602002602001015186838151811061107357611072613a09565b5b6020026020010151611f83565b6110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690613eb1565b60405180910390fd5b600c5f81548092919060010191905055505f600c5490506110e08882611fbe565b611104818884815181106110f7576110f6613a09565b5b6020026020010151611fdb565b600d5f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081908060018154018082558091505060019003905f5260205f20015f90919091909150558083838151811061117957611178613a09565b5b602002602001018181525050808873ffffffffffffffffffffffffffffffffffffffff167f7f9dd5d8fa69e733db2277a568b65a9651a3042da18fb2b5ea1966d3891cbfda8985815181106111d1576111d0613a09565b5b6020026020010151600b546040516111ea929190613ecf565b60405180910390a3508080600101915050611039565b5081341115611259573373ffffffffffffffffffffffffffffffffffffffff166108fc833461122f9190613efd565b90811502906040515f60405180830381858888f19350505050158015611257573d5f803e3d5ffd5b505b7f00000000000000000000000030b7918ea87780626a931e037d23f8b406944a2a73ffffffffffffffffffffffffffffffffffffffff166108fc8390811502906040515f60405180830381858888f193505050501580156112bc573d5f803e3d5ffd5b5080925050506112ca612035565b9392505050565b5f6112db82611a60565b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611353575f6040517f89c62b6400000000000000000000000000000000000000000000000000000000815260040161134a9190612f4a565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6113a061183e565b6113a95f61203f565b565b6113b361183e565b80600b819055507f38fbb1c8b109c430f0c030e7ed076cf5611a307773a4e8e365601e8f8bceaec6816040516113e99190612fb0565b60405180910390a150565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461142b906139d9565b80601f0160208091040260200160405190810160405280929190818152602001828054611457906139d9565b80156114a25780601f10611479576101008083540402835291602001916114a2565b820191905f5260205f20905b81548152906001019060200180831161148557829003601f168201915b5050505050905090565b6114be6114b7611b1f565b8383612102565b5050565b603281565b7f00000000000000000000000030b7918ea87780626a931e037d23f8b406944a2a81565b6114f6848484610a27565b61150a611501611b1f565b8585858561226b565b50505050565b606061151b82611a60565b505f60065f8481526020019081526020015f208054611539906139d9565b80601f0160208091040260200160405190810160405280929190818152602001828054611565906139d9565b80156115b05780601f10611587576101008083540402835291602001916115b0565b820191905f5260205f20905b81548152906001019060200180831161159357829003601f168201915b505050505090505f6115c0612417565b90505f8151036115d4578192505050611616565b5f825111156116085780826040516020016115f0929190613f6a565b60405160208183030381529060405292505050611616565b6116118461242d565b925050505b919050565b5f600c5461138861162c9190613efd565b905090565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6116c761183e565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611737575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161172e9190612f4a565b60405180910390fd5b6117408161203f565b50565b61174b61183e565b5f801b810361178f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178690613fd7565b60405180910390fd5b80600e819055507f0d0cdc4f11302e70e3492f5161057a5963552c89b9e710217cb5dbcb8f8a029960405160405180910390a150565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611837575061183682612493565b5b9050919050565b611846611b1f565b73ffffffffffffffffffffffffffffffffffffffff166118646113f4565b73ffffffffffffffffffffffffffffffffffffffff16146118c357611887611b1f565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016118ba9190612f4a565b60405180910390fd5b565b5f6118ce611d43565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff1611156119335781816040517f6f483d0900000000000000000000000000000000000000000000000000000000815260040161192a92919061402e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036119a3575f6040517fb6d9900a00000000000000000000000000000000000000000000000000000000815260040161199a9190612f4a565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060075f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f80611a6b83611d4c565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611add57826040517f7e273289000000000000000000000000000000000000000000000000000000008152600401611ad49190612fb0565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b611b3383838360016124f3565b505050565b5f80611b4384611d4c565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611b8457611b838184866126b2565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c0f57611bc35f855f806124f3565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614611c8e57600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b5f612710905090565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f611d8e611d43565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115611df5578382826040517fdfd1fc1b000000000000000000000000000000000000000000000000000000008152600401611dec93929190614055565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611e6757835f6040517f969f0852000000000000000000000000000000000000000000000000000000008152600401611e5e92919061408a565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f8681526020019081526020015f205f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555090505050505050565b6002600a5403611f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f70906140fb565b60405180910390fd5b6002600a81905550565b5f8083600e54604051602001611f9a929190614139565b60405160208183030381529060405280519060200120905082811491505092915050565b611fd7828260405180602001604052805f815250612775565b5050565b8060065f8481526020019081526020015f209081611ff991906142f4565b507ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7826040516120299190612fb0565b60405180910390a15050565b6001600a81905550565b5f60095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361217257816040517f5b08ba180000000000000000000000000000000000000000000000000000000081526004016121699190612f4a565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161225e9190612d5b565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1115612410578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02868685856040518563ffffffff1660e01b81526004016122c99493929190614415565b6020604051808303815f875af192505050801561230457506040513d601f19601f820116820180604052508101906123019190614473565b60015b612385573d805f8114612332576040519150601f19603f3d011682016040523d82523d5f602084013e612337565b606091505b505f81510361237d57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016123749190612f4a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461240e57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016124059190612f4a565b60405180910390fd5b505b5050505050565b606060405180602001604052805f815250905090565b606061243882611a60565b505f612442612417565b90505f8151116124605760405180602001604052805f81525061248b565b8061246a84612798565b60405160200161247b929190613f6a565b6040516020818303038152906040525b915050919050565b5f634906490660e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124ec57506124eb82612862565b5b9050919050565b808061252b57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561265d575f61253a84611a60565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156125a457508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156125b757506125b58184611631565b155b156125f957826040517fa9fbf51f0000000000000000000000000000000000000000000000000000000081526004016125f09190612f4a565b60405180910390fd5b811561265b57838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b6126bd838383612943565b612770575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361273157806040517f7e2732890000000000000000000000000000000000000000000000000000000081526004016127289190612fb0565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401612767929190613271565b60405180910390fd5b505050565b61277f8383612a03565b61279361278a611b1f565b5f85858561226b565b505050565b60605f60016127a684612af6565b0190505f8167ffffffffffffffff8111156127c4576127c36132ec565b5b6040519080825280601f01601f1916602001820160405280156127f65781602001600182028036833780820191505090505b5090505f82602001820190505b600115612857578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161284c5761284b613ad9565b5b0494505f8503612803575b819350505050919050565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061292c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061293c575061293b82612c47565b5b9050919050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156129fa57508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129bb57506129ba8484611631565b5b806129f957508273ffffffffffffffffffffffffffffffffffffffff166129e183611ae6565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a73575f6040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612a6a9190612f4a565b60405180910390fd5b5f612a7f83835f611b38565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612af1575f6040517f73c6ac6e000000000000000000000000000000000000000000000000000000008152600401612ae89190612f4a565b60405180910390fd5b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612b52577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612b4857612b47613ad9565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612b8f576d04ee2d6d415b85acef81000000008381612b8557612b84613ad9565b5b0492506020810190505b662386f26fc100008310612bbe57662386f26fc100008381612bb457612bb3613ad9565b5b0492506010810190505b6305f5e1008310612be7576305f5e1008381612bdd57612bdc613ad9565b5b0492506008810190505b6127108310612c0c576127108381612c0257612c01613ad9565b5b0492506004810190505b60648310612c2f5760648381612c2557612c24613ad9565b5b0492506002810190505b600a8310612c3e576001810190505b80915050919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612cf581612cc1565b8114612cff575f80fd5b50565b5f81359050612d1081612cec565b92915050565b5f60208284031215612d2b57612d2a612cb9565b5b5f612d3884828501612d02565b91505092915050565b5f8115159050919050565b612d5581612d41565b82525050565b5f602082019050612d6e5f830184612d4c565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612d9d82612d74565b9050919050565b612dad81612d93565b8114612db7575f80fd5b50565b5f81359050612dc881612da4565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b612dee81612dce565b8114612df8575f80fd5b50565b5f81359050612e0981612de5565b92915050565b5f8060408385031215612e2557612e24612cb9565b5b5f612e3285828601612dba565b9250506020612e4385828601612dfb565b9150509250929050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f612e8f82612e4d565b612e998185612e57565b9350612ea9818560208601612e67565b612eb281612e75565b840191505092915050565b5f6020820190508181035f830152612ed58184612e85565b905092915050565b5f819050919050565b612eef81612edd565b8114612ef9575f80fd5b50565b5f81359050612f0a81612ee6565b92915050565b5f60208284031215612f2557612f24612cb9565b5b5f612f3284828501612efc565b91505092915050565b612f4481612d93565b82525050565b5f602082019050612f5d5f830184612f3b565b92915050565b5f8060408385031215612f7957612f78612cb9565b5b5f612f8685828601612dba565b9250506020612f9785828601612efc565b9150509250929050565b612faa81612edd565b82525050565b5f602082019050612fc35f830184612fa1565b92915050565b5f60208284031215612fde57612fdd612cb9565b5b5f612feb84828501612dba565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b61302681612edd565b82525050565b5f613037838361301d565b60208301905092915050565b5f602082019050919050565b5f61305982612ff4565b6130638185612ffe565b935061306e8361300e565b805f5b8381101561309e578151613085888261302c565b975061309083613043565b925050600181019050613071565b5085935050505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f82825260208201905092915050565b5f6130ee82612e4d565b6130f881856130d4565b9350613108818560208601612e67565b61311181612e75565b840191505092915050565b5f61312783836130e4565b905092915050565b5f602082019050919050565b5f613145826130ab565b61314f81856130b5565b935083602082028501613161856130c5565b805f5b8581101561319c578484038952815161317d858261311c565b94506131888361312f565b925060208a01995050600181019050613164565b50829750879550505050505092915050565b5f6040820190508181035f8301526131c6818561304f565b905081810360208301526131da818461313b565b90509392505050565b5f805f606084860312156131fa576131f9612cb9565b5b5f61320786828701612dba565b935050602061321886828701612dba565b925050604061322986828701612efc565b9150509250925092565b5f806040838503121561324957613248612cb9565b5b5f61325685828601612efc565b925050602061326785828601612efc565b9150509250929050565b5f6040820190506132845f830185612f3b565b6132916020830184612fa1565b9392505050565b5f805f606084860312156132af576132ae612cb9565b5b5f6132bc86828701612efc565b93505060206132cd86828701612dba565b92505060406132de86828701612dfb565b9150509250925092565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61332282612e75565b810181811067ffffffffffffffff82111715613341576133406132ec565b5b80604052505050565b5f613353612cb0565b905061335f8282613319565b919050565b5f67ffffffffffffffff82111561337e5761337d6132ec565b5b602082029050602081019050919050565b5f80fd5b5f80fd5b5f67ffffffffffffffff8211156133b1576133b06132ec565b5b6133ba82612e75565b9050602081019050919050565b828183375f83830152505050565b5f6133e76133e284613397565b61334a565b90508281526020810184848401111561340357613402613393565b5b61340e8482856133c7565b509392505050565b5f82601f83011261342a576134296132e8565b5b813561343a8482602086016133d5565b91505092915050565b5f61345561345084613364565b61334a565b905080838252602082019050602084028301858111156134785761347761338f565b5b835b818110156134bf57803567ffffffffffffffff81111561349d5761349c6132e8565b5b8086016134aa8982613416565b8552602085019450505060208101905061347a565b5050509392505050565b5f82601f8301126134dd576134dc6132e8565b5b81356134ed848260208601613443565b91505092915050565b5f67ffffffffffffffff8211156135105761350f6132ec565b5b602082029050602081019050919050565b5f819050919050565b61353381613521565b811461353d575f80fd5b50565b5f8135905061354e8161352a565b92915050565b5f613566613561846134f6565b61334a565b905080838252602082019050602084028301858111156135895761358861338f565b5b835b818110156135b2578061359e8882613540565b84526020840193505060208101905061358b565b5050509392505050565b5f82601f8301126135d0576135cf6132e8565b5b81356135e0848260208601613554565b91505092915050565b5f805f60608486031215613600576135ff612cb9565b5b5f61360d86828701612dba565b935050602084013567ffffffffffffffff81111561362e5761362d612cbd565b5b61363a868287016134c9565b925050604084013567ffffffffffffffff81111561365b5761365a612cbd565b5b613667868287016135bc565b9150509250925092565b5f6020820190508181035f830152613689818461304f565b905092915050565b61369a81612d41565b81146136a4575f80fd5b50565b5f813590506136b581613691565b92915050565b5f80604083850312156136d1576136d0612cb9565b5b5f6136de85828601612dba565b92505060206136ef858286016136a7565b9150509250929050565b5f67ffffffffffffffff821115613713576137126132ec565b5b61371c82612e75565b9050602081019050919050565b5f61373b613736846136f9565b61334a565b90508281526020810184848401111561375757613756613393565b5b6137628482856133c7565b509392505050565b5f82601f83011261377e5761377d6132e8565b5b813561378e848260208601613729565b91505092915050565b5f805f80608085870312156137af576137ae612cb9565b5b5f6137bc87828801612dba565b94505060206137cd87828801612dba565b93505060406137de87828801612efc565b925050606085013567ffffffffffffffff8111156137ff576137fe612cbd565b5b61380b8782880161376a565b91505092959194509250565b5f806040838503121561382d5761382c612cb9565b5b5f61383a85828601612dba565b925050602061384b85828601612dba565b9150509250929050565b5f6020828403121561386a57613869612cb9565b5b5f61387784828501613540565b91505092915050565b7f496e76616c696420726f79616c747920726563656976657220616464726573735f82015250565b5f6138b4602083612e57565b91506138bf82613880565b602082019050919050565b5f6020820190508181035f8301526138e1816138a8565b9050919050565b7f526f79616c74792070657263656e746167652063616e6e6f74206578636565645f8201527f2031303025000000000000000000000000000000000000000000000000000000602082015250565b5f613942602583612e57565b915061394d826138e8565b604082019050919050565b5f6020820190508181035f83015261396f81613936565b9050919050565b61397f81612dce565b82525050565b5f6040820190506139985f830185612f3b565b6139a56020830184613976565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806139f057607f821691505b602082108103613a0357613a026139ac565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f606082019050613a495f830186612f3b565b613a566020830185612fa1565b613a636040830184612f3b565b949350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613aa282612edd565b9150613aad83612edd565b9250828202613abb81612edd565b91508282048414831517613ad257613ad1613a6b565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613b1082612edd565b9150613b1b83612edd565b925082613b2b57613b2a613ad9565b5b828204905092915050565b7f546f6b656e20646f6573206e6f742065786973740000000000000000000000005f82015250565b5f613b6a601483612e57565b9150613b7582613b36565b602082019050919050565b5f6020820190508181035f830152613b9781613b5e565b9050919050565b7f43616e6e6f74206d696e7420746f207a65726f206164647265737300000000005f82015250565b5f613bd2601b83612e57565b9150613bdd82613b9e565b602082019050919050565b5f6020820190508181035f830152613bff81613bc6565b9050919050565b7f4d757374206d696e74206174206c65617374206f6e65204e46540000000000005f82015250565b5f613c3a601a83612e57565b9150613c4582613c06565b602082019050919050565b5f6020820190508181035f830152613c6781613c2e565b9050919050565b7f4578636565646564206d6178206261746368206d696e740000000000000000005f82015250565b5f613ca2601783612e57565b9150613cad82613c6e565b602082019050919050565b5f6020820190508181035f830152613ccf81613c96565b9050919050565b7f55524920616e64206861736820617272617973206c656e677468206d69736d615f8201527f7463680000000000000000000000000000000000000000000000000000000000602082015250565b5f613d30602383612e57565b9150613d3b82613cd6565b604082019050919050565b5f6020820190508181035f830152613d5d81613d24565b9050919050565b5f613d6e82612edd565b9150613d7983612edd565b9250828201905080821115613d9157613d90613a6b565b5b92915050565b7f576f756c6420657863656564206d617820737570706c790000000000000000005f82015250565b5f613dcb601783612e57565b9150613dd682613d97565b602082019050919050565b5f6020820190508181035f830152613df881613dbf565b9050919050565b7f496e73756666696369656e74206261746368206d696e742066656500000000005f82015250565b5f613e33601b83612e57565b9150613e3e82613dff565b602082019050919050565b5f6020820190508181035f830152613e6081613e27565b9050919050565b7f496e76616c6964205552492068617368000000000000000000000000000000005f82015250565b5f613e9b601083612e57565b9150613ea682613e67565b602082019050919050565b5f6020820190508181035f830152613ec881613e8f565b9050919050565b5f6040820190508181035f830152613ee78185612e85565b9050613ef66020830184612fa1565b9392505050565b5f613f0782612edd565b9150613f1283612edd565b9250828203905081811115613f2a57613f29613a6b565b5b92915050565b5f81905092915050565b5f613f4482612e4d565b613f4e8185613f30565b9350613f5e818560208601612e67565b80840191505092915050565b5f613f758285613f3a565b9150613f818284613f3a565b91508190509392505050565b7f496e76616c69642061757468206b6579000000000000000000000000000000005f82015250565b5f613fc1601083612e57565b9150613fcc82613f8d565b602082019050919050565b5f6020820190508181035f830152613fee81613fb5565b9050919050565b5f819050919050565b5f61401861401361400e84612dce565b613ff5565b612edd565b9050919050565b61402881613ffe565b82525050565b5f6040820190506140415f83018561401f565b61404e6020830184612fa1565b9392505050565b5f6060820190506140685f830186612fa1565b614075602083018561401f565b6140826040830184612fa1565b949350505050565b5f60408201905061409d5f830185612fa1565b6140aa6020830184612f3b565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f6140e5601f83612e57565b91506140f0826140b1565b602082019050919050565b5f6020820190508181035f830152614112816140d9565b9050919050565b5f819050919050565b61413361412e82613521565b614119565b82525050565b5f6141448285613f3a565b91506141508284614122565b6020820191508190509392505050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026141bc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614181565b6141c68683614181565b95508019841693508086168417925050509392505050565b5f6141f86141f36141ee84612edd565b613ff5565b612edd565b9050919050565b5f819050919050565b614211836141de565b61422561421d826141ff565b84845461418d565b825550505050565b5f90565b61423961422d565b614244818484614208565b505050565b5b818110156142675761425c5f82614231565b60018101905061424a565b5050565b601f8211156142ac5761427d81614160565b61428684614172565b81016020851015614295578190505b6142a96142a185614172565b830182614249565b50505b505050565b5f82821c905092915050565b5f6142cc5f19846008026142b1565b1980831691505092915050565b5f6142e483836142bd565b9150826002028217905092915050565b6142fd82612e4d565b67ffffffffffffffff811115614316576143156132ec565b5b61432082546139d9565b61432b82828561426b565b5f60209050601f83116001811461435c575f841561434a578287015190505b61435485826142d9565b8655506143bb565b601f19841661436a86614160565b5f5b828110156143915784890151825560018201915060208501945060208101905061436c565b868310156143ae57848901516143aa601f8916826142bd565b8355505b6001600288020188555050505b505050505050565b5f81519050919050565b5f82825260208201905092915050565b5f6143e7826143c3565b6143f181856143cd565b9350614401818560208601612e67565b61440a81612e75565b840191505092915050565b5f6080820190506144285f830187612f3b565b6144356020830186612f3b565b6144426040830185612fa1565b818103606083015261445481846143dd565b905095945050505050565b5f8151905061446d81612cec565b92915050565b5f6020828403121561448857614487612cb9565b5b5f6144958482850161445f565b9150509291505056fea2646970667358221220347bc6b3b29e61b09ba731d6cd9fe5be77d579cbcfca3c1325c8091d32a6236564736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000d02ab486cedc000000000000000000000000000030b7918ea87780626a931e037d23f8b406944a2a00000000000000000000000030b7918ea87780626a931e037d23f8b406944a2a00000000000000000000000000000000000000000000000000000000000001f41dbfe1f97b95ecf5dfda53a08a6d48e1ee93591ce9dd22efe934ffc86449b315
-----Decoded View---------------
Arg [0] : initialMintFee (uint256): 15000000000000000000
Arg [1] : receiverAddress (address): 0x30b7918Ea87780626a931e037D23f8B406944a2a
Arg [2] : royaltyReceiver (address): 0x30b7918Ea87780626a931e037D23f8B406944a2a
Arg [3] : royaltyPercentage (uint96): 500
Arg [4] : initialAuthKey (bytes32): 0x1dbfe1f97b95ecf5dfda53a08a6d48e1ee93591ce9dd22efe934ffc86449b315
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000d02ab486cedc0000
Arg [1] : 00000000000000000000000030b7918ea87780626a931e037d23f8b406944a2a
Arg [2] : 00000000000000000000000030b7918ea87780626a931e037d23f8b406944a2a
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [4] : 1dbfe1f97b95ecf5dfda53a08a6d48e1ee93591ce9dd22efe934ffc86449b315
Deployed Bytecode Sourcemap
124944:5487:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;130240:188;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;126948:389;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;94294:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95466:158;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95285:115;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;125020:22;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;129611:403;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;96135:588;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;121795:673;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;125099:41;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;96794:134;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;130022:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;127345:495;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;128075:1528;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94107:120;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93832:213;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;114266:103;;;;;;;;;;;;;:::i;:::-;;127848:143;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;113591:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94454:95;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95696:146;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;125049:43;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;125179:36;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;96999:236;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;111009:609;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130124:108;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;95913:155;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;114524:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;126380:195;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;130240:188;130360:4;130384:36;130408:11;130384:23;:36::i;:::-;130377:43;;130240:188;;;:::o;126948:389::-;113477:13;:11;:13::i;:::-;127097:1:::1;127077:22;;:8;:22;;::::0;127069:67:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;127171:5;127155:12;:21;;;;127147:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;127229:42;127248:8;127258:12;127229:18;:42::i;:::-;127287;127306:8;127316:12;127287:42;;;;;;;:::i;:::-;;;;;;;;126948:389:::0;;:::o;94294:91::-;94339:13;94372:5;94365:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94294:91;:::o;95466:158::-;95533:7;95553:22;95567:7;95553:13;:22::i;:::-;;95595:21;95608:7;95595:12;:21::i;:::-;95588:28;;95466:158;;;:::o;95285:115::-;95357:35;95366:2;95370:7;95379:12;:10;:12::i;:::-;95357:8;:35::i;:::-;95285:115;;:::o;125020:22::-;;;;:::o;129611:403::-;129692:16;129710:15;129738:25;129766:12;:19;129779:5;129766:19;;;;;;;;;;;;;;;129738:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;129796:20;129832:8;:15;129819:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;129796:52;;129866:9;129861:110;129885:8;:15;129881:1;:19;129861:110;;;129932:27;129947:8;129956:1;129947:11;;;;;;;;:::i;:::-;;;;;;;;129932:14;:27::i;:::-;129922:4;129927:1;129922:7;;;;;;;;:::i;:::-;;;;;;;:37;;;;129902:3;;;;;;;129861:110;;;;129991:8;130001:4;129983:23;;;;;;129611:403;;;:::o;96135:588::-;96244:1;96230:16;;:2;:16;;;96226:89;;96300:1;96270:33;;;;;;;;;;;:::i;:::-;;;;;;;;96226:89;96536:21;96560:34;96568:2;96572:7;96581:12;:10;:12::i;:::-;96560:7;:34::i;:::-;96536:58;;96626:4;96609:21;;:13;:21;;;96605:111;;96675:4;96681:7;96690:13;96654:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;96605:111;96215:508;96135:588;;;:::o;121795:673::-;121906:16;121924:14;121951:32;121986:17;:26;122004:7;121986:26;;;;;;;;;;;121951:61;;122023:23;122049:12;:21;;;;;;;;;;;;122023:47;;122081:22;122106:12;:28;;;;;;;;;;;;122081:53;;122178:1;122151:29;;:15;:29;;;122147:176;;122215:19;:28;;;;;;;;;;;;122197:46;;122276:19;:35;;;;;;;;;;;;122258:53;;122147:176;122335:21;122391:17;:15;:17::i;:::-;122359:49;;122372:15;122360:27;;:9;:27;;;;:::i;:::-;122359:49;;;;:::i;:::-;122335:73;;122429:15;122446:13;122421:39;;;;;;;;121795:673;;;;;:::o;125099:41::-;125136:4;125099:41;:::o;96794:134::-;96881:39;96898:4;96904:2;96908:7;96881:39;;;;;;;;;;;;:16;:39::i;:::-;96794:134;;;:::o;130022:94::-;130072:7;130099:9;;130092:16;;130022:94;:::o;127345:495::-;113477:13;:11;:13::i;:::-;127527:1:::1;127498:31;;:17;127507:7;127498:8;:17::i;:::-;:31;;::::0;127490:64:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;127593:1;127573:22;;:8;:22;;::::0;127565:67:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;127667:5;127651:12;:21;;;;127643:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;127725:49;127742:7;127751:8;127761:12;127725:16;:49::i;:::-;127790:42;127809:8;127819:12;127790:42;;;;;;;:::i;:::-;;;;;;;;127345:495:::0;;;:::o;128075:1528::-;128232:16;117447:21;:19;:21::i;:::-;128283:1:::1;128269:16;;:2;:16;;::::0;128261:56:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;128355:1;128336:9;:16;:20;128328:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;125090:2;128406:9;:16;:34;;128398:70;;;;;;;;;;;;:::i;:::-;;;;;;;;;128507:6;:13;128487:9;:16;:33;128479:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;125136:4;128591:9;:16;128579:9;;:28;;;;:::i;:::-;:42;;128571:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;128662:19;128694:9;:16;128684:7;;:26;;;;:::i;:::-;128662:48;;128742:11;128729:9;:24;;128721:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;128798:28;128843:9;:16;128829:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;128798:62;;128878:9;128873:516;128897:9;:16;128893:1;:20;128873:516;;;128943:39;128958:9;128968:1;128958:12;;;;;;;;:::i;:::-;;;;;;;;128972:6;128979:1;128972:9;;;;;;;;:::i;:::-;;;;;;;;128943:14;:39::i;:::-;128935:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;129049:9;;:11;;;;;;;;;;;;;129090:18;129111:9;;129090:30;;129137:25;129147:2;129151:10;129137:9;:25::i;:::-;129177:38;129190:10;129202:9;129212:1;129202:12;;;;;;;;:::i;:::-;;;;;;;;129177;:38::i;:::-;129232:12;:16;129245:2;129232:16;;;;;;;;;;;;;;;129254:10;129232:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;129297:10;129280:11;129292:1;129280:14;;;;;;;;:::i;:::-;;;;;;;:27;;;::::0;::::1;129343:10;129339:2;129329:48;;;129355:9;129365:1;129355:12;;;;;;;;:::i;:::-;;;;;;;;129369:7;;129329:48;;;;;;;:::i;:::-;;;;;;;;128920:469;128915:3;;;;;;;128873:516;;;;129417:11;129405:9;:23;129401:109;;;129453:10;129445:28;;:53;129486:11;129474:9;:23;;;;:::i;:::-;129445:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;129401:109;129530:11;129522:29;;:42;129552:11;129522:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;129584:11;129577:18;;;;117491:20:::0;:18;:20::i;:::-;128075:1528;;;;;:::o;94107:120::-;94170:7;94197:22;94211:7;94197:13;:22::i;:::-;94190:29;;94107:120;;;:::o;93832:213::-;93895:7;93936:1;93919:19;;:5;:19;;;93915:89;;93989:1;93962:30;;;;;;;;;;;:::i;:::-;;;;;;;;93915:89;94021:9;:16;94031:5;94021:16;;;;;;;;;;;;;;;;94014:23;;93832:213;;;:::o;114266:103::-;113477:13;:11;:13::i;:::-;114331:30:::1;114358:1;114331:18;:30::i;:::-;114266:103::o:0;127848:143::-;113477:13;:11;:13::i;:::-;127931:10:::1;127921:7;:20;;;;127957:26;127972:10;127957:26;;;;;;:::i;:::-;;;;;;;;127848:143:::0;:::o;113591:87::-;113637:7;113664:6;;;;;;;;;;;113657:13;;113591:87;:::o;94454:95::-;94501:13;94534:7;94527:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94454:95;:::o;95696:146::-;95782:52;95801:12;:10;:12::i;:::-;95815:8;95825;95782:18;:52::i;:::-;95696:146;;:::o;125049:43::-;125090:2;125049:43;:::o;125179:36::-;;;:::o;96999:236::-;97113:31;97126:4;97132:2;97136:7;97113:12;:31::i;:::-;97155:72;97189:12;:10;:12::i;:::-;97203:4;97209:2;97213:7;97222:4;97155:33;:72::i;:::-;96999:236;;;;:::o;111009:609::-;111082:13;111108:22;111122:7;111108:13;:22::i;:::-;;111143:23;111169:10;:19;111180:7;111169:19;;;;;;;;;;;111143:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111199:18;111220:10;:8;:10::i;:::-;111199:31;;111328:1;111312:4;111306:18;:23;111302:72;;111353:9;111346:16;;;;;;111302:72;111501:1;111481:9;111475:23;:27;111471:97;;;111540:4;111546:9;111526:30;;;;;;;;;:::i;:::-;;;;;;;;;;;;;111519:37;;;;;;111471:97;111587:23;111602:7;111587:14;:23::i;:::-;111580:30;;;;111009:609;;;;:::o;130124:108::-;130175:7;130215:9;;125136:4;130202:22;;;;:::i;:::-;130195:29;;130124:108;:::o;95913:155::-;96001:4;96025:18;:25;96044:5;96025:25;;;;;;;;;;;;;;;:35;96051:8;96025:35;;;;;;;;;;;;;;;;;;;;;;;;;96018:42;;95913:155;;;;:::o;114524:220::-;113477:13;:11;:13::i;:::-;114629:1:::1;114609:22;;:8;:22;;::::0;114605:93:::1;;114683:1;114655:31;;;;;;;;;;;:::i;:::-;;;;;;;;114605:93;114708:28;114727:8;114708:18;:28::i;:::-;114524:220:::0;:::o;126380:195::-;113477:13;:11;:13::i;:::-;126475:1:::1;126467:10:::0;::::1;126457:6;:20:::0;126449:49:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;126529:6;126509:17;:26;;;;126551:16;;;;;;;;;;126380:195:::0;:::o;121525:215::-;121627:4;121666:26;121651:41;;;:11;:41;;;;:81;;;;121696:36;121720:11;121696:23;:36::i;:::-;121651:81;121644:88;;121525:215;;;:::o;113756:166::-;113827:12;:10;:12::i;:::-;113816:23;;:7;:5;:7::i;:::-;:23;;;113812:103;;113890:12;:10;:12::i;:::-;113863:40;;;;;;;;;;;:::i;:::-;;;;;;;;113812:103;113756:166::o;123118:518::-;123213:19;123235:17;:15;:17::i;:::-;123213:39;;;;123282:11;123267:12;:26;;;123263:176;;;123401:12;123415:11;123372:55;;;;;;;;;;;;:::i;:::-;;;;;;;;123263:176;123473:1;123453:22;;:8;:22;;;123449:110;;123544:1;123499:48;;;;;;;;;;;:::i;:::-;;;;;;;;123449:110;123593:35;;;;;;;;123605:8;123593:35;;;;;;123615:12;123593:35;;;;;123571:19;:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;123202:434;123118:518;;:::o;108517:247::-;108580:7;108600:13;108616:17;108625:7;108616:8;:17::i;:::-;108600:33;;108665:1;108648:19;;:5;:19;;;108644:90;;108714:7;108691:31;;;;;;;;;;;:::i;:::-;;;;;;;;108644:90;108751:5;108744:12;;;108517:247;;;:::o;97998:129::-;98068:7;98095:15;:24;98111:7;98095:24;;;;;;;;;;;;;;;;;;;;;98088:31;;97998:129;;;:::o;17169:98::-;17222:7;17249:10;17242:17;;17169:98;:::o;106749:122::-;106830:33;106839:2;106843:7;106852:4;106858;106830:8;:33::i;:::-;106749:122;;;:::o;100959:824::-;101045:7;101065:12;101080:17;101089:7;101080:8;:17::i;:::-;101065:32;;101176:1;101160:18;;:4;:18;;;101156:88;;101195:37;101212:4;101218;101224:7;101195:16;:37::i;:::-;101156:88;101307:1;101291:18;;:4;:18;;;101287:263;;101409:48;101426:1;101430:7;101447:1;101451:5;101409:8;:48::i;:::-;101522:1;101503:9;:15;101513:4;101503:15;;;;;;;;;;;;;;;;:20;;;;;;;;;;;101287:263;101580:1;101566:16;;:2;:16;;;101562:111;;101645:1;101628:9;:13;101638:2;101628:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;101562:111;101704:2;101685:7;:16;101693:7;101685:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;101743:7;101739:2;101724:27;;101733:4;101724:27;;;;;;;;;;;;101771:4;101764:11;;;100959:824;;;;;:::o;122750:97::-;122808:6;122834:5;122827:12;;122750:97;:::o;97760:117::-;97826:7;97853;:16;97861:7;97853:16;;;;;;;;;;;;;;;;;;;;;97846:23;;97760:117;;;:::o;124087:554::-;124197:19;124219:17;:15;:17::i;:::-;124197:39;;;;124266:11;124251:12;:26;;;124247:183;;;124383:7;124392:12;124406:11;124356:62;;;;;;;;;;;;;:::i;:::-;;;;;;;;124247:183;124464:1;124444:22;;:8;:22;;;124440:117;;124525:7;124542:1;124490:55;;;;;;;;;;;;:::i;:::-;;;;;;;;124440:117;124598:35;;;;;;;;124610:8;124598:35;;;;;;124620:12;124598:35;;;;;124569:17;:26;124587:7;124569:26;;;;;;;;;;;:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;124186:455;124087:554;;;:::o;117527:293::-;116929:1;117661:7;;:19;117653:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;116929:1;117794:7;:18;;;;117527:293::o;126646:294::-;126726:4;126743:22;126827:3;126849:17;;126792:89;;;;;;;;;:::i;:::-;;;;;;;;;;;;;126768:124;;;;;;126743:149;;126928:4;126910:14;:22;126903:29;;;126646:294;;;;:::o;102817:102::-;102885:26;102895:2;102899:7;102885:26;;;;;;;;;;;;:9;:26::i;:::-;102817:102;;:::o;111744:170::-;111858:9;111836:10;:19;111847:7;111836:19;;;;;;;;;;;:31;;;;;;:::i;:::-;;111883:23;111898:7;111883:23;;;;;;:::i;:::-;;;;;;;;111744:170;;:::o;117828:213::-;116885:1;118011:7;:22;;;;117828:213::o;114904:191::-;114978:16;114997:6;;;;;;;;;;;114978:25;;115023:8;115014:6;;:17;;;;;;;;;;;;;;;;;;115078:8;115047:40;;115068:8;115047:40;;;;;;;;;;;;114967:128;114904:191;:::o;107956:318::-;108084:1;108064:22;;:8;:22;;;108060:93;;108132:8;108110:31;;;;;;;;;;;:::i;:::-;;;;;;;;108060:93;108201:8;108163:18;:25;108182:5;108163:25;;;;;;;;;;;;;;;:35;108189:8;108163:35;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;108247:8;108225:41;;108240:5;108225:41;;;108257:8;108225:41;;;;;;:::i;:::-;;;;;;;;107956:318;;;:::o;15519:948::-;15723:1;15706:2;:14;;;:18;15702:758;;;15761:2;15745:36;;;15782:8;15792:4;15798:7;15807:4;15745:67;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;15741:708;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16125:1;16108:6;:13;:18;16104:330;;16250:2;16214:39;;;;;;;;;;;:::i;:::-;;;;;;;;16104:330;16384:6;16378:13;16369:6;16365:2;16361:15;16354:38;15741:708;15870:41;;;15860:51;;;:6;:51;;;;15856:185;;16018:2;15982:39;;;;;;;;;;;:::i;:::-;;;;;;;;15856:185;15813:243;15702:758;15519:948;;;;;:::o;95129:94::-;95180:13;95206:9;;;;;;;;;;;;;;95129:94;:::o;94620:260::-;94684:13;94710:22;94724:7;94710:13;:22::i;:::-;;94745:21;94769:10;:8;:10::i;:::-;94745:34;;94821:1;94803:7;94797:21;:25;:75;;;;;;;;;;;;;;;;;94839:7;94848:18;:7;:16;:18::i;:::-;94825:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;94797:75;94790:82;;;94620:260;;;:::o;110729:209::-;110831:4;110544:10;110537:18;;110855:35;;;:11;:35;;;;:75;;;;110894:36;110918:11;110894:23;:36::i;:::-;110855:75;110848:82;;110729:209;;;:::o;107059:678::-;107221:9;:31;;;;107250:1;107234:18;;:4;:18;;;;107221:31;107217:471;;;107269:13;107285:22;107299:7;107285:13;:22::i;:::-;107269:38;;107454:1;107438:18;;:4;:18;;;;:35;;;;;107469:4;107460:13;;:5;:13;;;;107438:35;:69;;;;;107478:29;107495:5;107502:4;107478:16;:29::i;:::-;107477:30;107438:69;107434:144;;;107557:4;107535:27;;;;;;;;;;;:::i;:::-;;;;;;;;107434:144;107598:9;107594:83;;;107653:7;107649:2;107633:28;;107642:5;107633:28;;;;;;;;;;;;107594:83;107254:434;107217:471;107727:2;107700:15;:24;107716:7;107700:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;107059:678;;;;:::o;99166:376::-;99279:38;99293:5;99300:7;99309;99279:13;:38::i;:::-;99274:261;;99355:1;99338:19;;:5;:19;;;99334:190;;99408:7;99385:31;;;;;;;;;;;:::i;:::-;;;;;;;;99334:190;99491:7;99500;99464:44;;;;;;;;;;;;:::i;:::-;;;;;;;;99274:261;99166:376;;;:::o;103146:210::-;103241:18;103247:2;103251:7;103241:5;:18::i;:::-;103270:78;103304:12;:10;:12::i;:::-;103326:1;103330:2;103334:7;103343:4;103270:33;:78::i;:::-;103146:210;;;:::o;87889:650::-;87945:13;87996:14;88033:1;88013:17;88024:5;88013:10;:17::i;:::-;:21;87996:38;;88049:20;88083:6;88072:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88049:41;;88105:11;88202:6;88198:2;88194:15;88186:6;88182:28;88175:35;;88239:254;88246:4;88239:254;;;88271:5;;;;;;;;88377:10;88372:2;88365:5;88361:14;88356:32;88351:3;88343:46;88435:2;88426:11;;;;;;:::i;:::-;;;;;88469:1;88460:5;:10;88239:254;88456:21;88239:254;88514:6;88507:13;;;;;87889:650;;;:::o;93463:305::-;93565:4;93617:25;93602:40;;;:11;:40;;;;:105;;;;93674:33;93659:48;;;:11;:48;;;;93602:105;:158;;;;93724:36;93748:11;93724:23;:36::i;:::-;93602:158;93582:178;;93463:305;;;:::o;98447:276::-;98550:4;98606:1;98587:21;;:7;:21;;;;:128;;;;;98635:7;98626:16;;:5;:16;;;:52;;;;98646:32;98663:5;98670:7;98646:16;:32::i;:::-;98626:52;:88;;;;98707:7;98682:32;;:21;98695:7;98682:12;:21::i;:::-;:32;;;98626:88;98587:128;98567:148;;98447:276;;;;;:::o;102119:335::-;102201:1;102187:16;;:2;:16;;;102183:89;;102257:1;102227:33;;;;;;;;;;;:::i;:::-;;;;;;;;102183:89;102282:21;102306:32;102314:2;102318:7;102335:1;102306:7;:32::i;:::-;102282:56;;102378:1;102353:27;;:13;:27;;;102349:98;;102432:1;102404:31;;;;;;;;;;;:::i;:::-;;;;;;;;102349:98;102172:282;102119:335;;:::o;81534:948::-;81587:7;81607:14;81624:1;81607:18;;81674:8;81665:5;:17;81661:106;;81712:8;81703:17;;;;;;:::i;:::-;;;;;81749:2;81739:12;;;;81661:106;81794:8;81785:5;:17;81781:106;;81832:8;81823:17;;;;;;:::i;:::-;;;;;81869:2;81859:12;;;;81781:106;81914:8;81905:5;:17;81901:106;;81952:8;81943:17;;;;;;:::i;:::-;;;;;81989:2;81979:12;;;;81901:106;82034:7;82025:5;:16;82021:103;;82071:7;82062:16;;;;;;:::i;:::-;;;;;82107:1;82097:11;;;;82021:103;82151:7;82142:5;:16;82138:103;;82188:7;82179:16;;;;;;:::i;:::-;;;;;82224:1;82214:11;;;;82138:103;82268:7;82259:5;:16;82255:103;;82305:7;82296:16;;;;;;:::i;:::-;;;;;82341:1;82331:11;;;;82255:103;82385:7;82376:5;:16;82372:68;;82423:1;82413:11;;;;82372:68;82468:6;82461:13;;;81534:948;;;:::o;92061:148::-;92137:4;92176:25;92161:40;;;:11;:40;;;;92154:47;;92061:148;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:126::-;1555:7;1595:42;1588:5;1584:54;1573:65;;1518:126;;;:::o;1650:96::-;1687:7;1716:24;1734:5;1716:24;:::i;:::-;1705:35;;1650:96;;;:::o;1752:122::-;1825:24;1843:5;1825:24;:::i;:::-;1818:5;1815:35;1805:63;;1864:1;1861;1854:12;1805:63;1752:122;:::o;1880:139::-;1926:5;1964:6;1951:20;1942:29;;1980:33;2007:5;1980:33;:::i;:::-;1880:139;;;;:::o;2025:109::-;2061:7;2101:26;2094:5;2090:38;2079:49;;2025:109;;;:::o;2140:120::-;2212:23;2229:5;2212:23;:::i;:::-;2205:5;2202:34;2192:62;;2250:1;2247;2240:12;2192:62;2140:120;:::o;2266:137::-;2311:5;2349:6;2336:20;2327:29;;2365:32;2391:5;2365:32;:::i;:::-;2266:137;;;;:::o;2409:472::-;2476:6;2484;2533:2;2521:9;2512:7;2508:23;2504:32;2501:119;;;2539:79;;:::i;:::-;2501:119;2659:1;2684:53;2729:7;2720:6;2709:9;2705:22;2684:53;:::i;:::-;2674:63;;2630:117;2786:2;2812:52;2856:7;2847:6;2836:9;2832:22;2812:52;:::i;:::-;2802:62;;2757:117;2409:472;;;;;:::o;2887:99::-;2939:6;2973:5;2967:12;2957:22;;2887:99;;;:::o;2992:169::-;3076:11;3110:6;3105:3;3098:19;3150:4;3145:3;3141:14;3126:29;;2992:169;;;;:::o;3167:139::-;3256:6;3251:3;3246;3240:23;3297:1;3288:6;3283:3;3279:16;3272:27;3167:139;;;:::o;3312:102::-;3353:6;3404:2;3400:7;3395:2;3388:5;3384:14;3380:28;3370:38;;3312:102;;;:::o;3420:377::-;3508:3;3536:39;3569:5;3536:39;:::i;:::-;3591:71;3655:6;3650:3;3591:71;:::i;:::-;3584:78;;3671:65;3729:6;3724:3;3717:4;3710:5;3706:16;3671:65;:::i;:::-;3761:29;3783:6;3761:29;:::i;:::-;3756:3;3752:39;3745:46;;3512:285;3420:377;;;;:::o;3803:313::-;3916:4;3954:2;3943:9;3939:18;3931:26;;4003:9;3997:4;3993:20;3989:1;3978:9;3974:17;3967:47;4031:78;4104:4;4095:6;4031:78;:::i;:::-;4023:86;;3803:313;;;;:::o;4122:77::-;4159:7;4188:5;4177:16;;4122:77;;;:::o;4205:122::-;4278:24;4296:5;4278:24;:::i;:::-;4271:5;4268:35;4258:63;;4317:1;4314;4307:12;4258:63;4205:122;:::o;4333:139::-;4379:5;4417:6;4404:20;4395:29;;4433:33;4460:5;4433:33;:::i;:::-;4333:139;;;;:::o;4478:329::-;4537:6;4586:2;4574:9;4565:7;4561:23;4557:32;4554:119;;;4592:79;;:::i;:::-;4554:119;4712:1;4737:53;4782:7;4773:6;4762:9;4758:22;4737:53;:::i;:::-;4727:63;;4683:117;4478:329;;;;:::o;4813:118::-;4900:24;4918:5;4900:24;:::i;:::-;4895:3;4888:37;4813:118;;:::o;4937:222::-;5030:4;5068:2;5057:9;5053:18;5045:26;;5081:71;5149:1;5138:9;5134:17;5125:6;5081:71;:::i;:::-;4937:222;;;;:::o;5165:474::-;5233:6;5241;5290:2;5278:9;5269:7;5265:23;5261:32;5258:119;;;5296:79;;:::i;:::-;5258:119;5416:1;5441:53;5486:7;5477:6;5466:9;5462:22;5441:53;:::i;:::-;5431:63;;5387:117;5543:2;5569:53;5614:7;5605:6;5594:9;5590:22;5569:53;:::i;:::-;5559:63;;5514:118;5165:474;;;;;:::o;5645:118::-;5732:24;5750:5;5732:24;:::i;:::-;5727:3;5720:37;5645:118;;:::o;5769:222::-;5862:4;5900:2;5889:9;5885:18;5877:26;;5913:71;5981:1;5970:9;5966:17;5957:6;5913:71;:::i;:::-;5769:222;;;;:::o;5997:329::-;6056:6;6105:2;6093:9;6084:7;6080:23;6076:32;6073:119;;;6111:79;;:::i;:::-;6073:119;6231:1;6256:53;6301:7;6292:6;6281:9;6277:22;6256:53;:::i;:::-;6246:63;;6202:117;5997:329;;;;:::o;6332:114::-;6399:6;6433:5;6427:12;6417:22;;6332:114;;;:::o;6452:184::-;6551:11;6585:6;6580:3;6573:19;6625:4;6620:3;6616:14;6601:29;;6452:184;;;;:::o;6642:132::-;6709:4;6732:3;6724:11;;6762:4;6757:3;6753:14;6745:22;;6642:132;;;:::o;6780:108::-;6857:24;6875:5;6857:24;:::i;:::-;6852:3;6845:37;6780:108;;:::o;6894:179::-;6963:10;6984:46;7026:3;7018:6;6984:46;:::i;:::-;7062:4;7057:3;7053:14;7039:28;;6894:179;;;;:::o;7079:113::-;7149:4;7181;7176:3;7172:14;7164:22;;7079:113;;;:::o;7228:732::-;7347:3;7376:54;7424:5;7376:54;:::i;:::-;7446:86;7525:6;7520:3;7446:86;:::i;:::-;7439:93;;7556:56;7606:5;7556:56;:::i;:::-;7635:7;7666:1;7651:284;7676:6;7673:1;7670:13;7651:284;;;7752:6;7746:13;7779:63;7838:3;7823:13;7779:63;:::i;:::-;7772:70;;7865:60;7918:6;7865:60;:::i;:::-;7855:70;;7711:224;7698:1;7695;7691:9;7686:14;;7651:284;;;7655:14;7951:3;7944:10;;7352:608;;;7228:732;;;;:::o;7966:124::-;8043:6;8077:5;8071:12;8061:22;;7966:124;;;:::o;8096:194::-;8205:11;8239:6;8234:3;8227:19;8279:4;8274:3;8270:14;8255:29;;8096:194;;;;:::o;8296:142::-;8373:4;8396:3;8388:11;;8426:4;8421:3;8417:14;8409:22;;8296:142;;;:::o;8444:159::-;8518:11;8552:6;8547:3;8540:19;8592:4;8587:3;8583:14;8568:29;;8444:159;;;;:::o;8609:357::-;8687:3;8715:39;8748:5;8715:39;:::i;:::-;8770:61;8824:6;8819:3;8770:61;:::i;:::-;8763:68;;8840:65;8898:6;8893:3;8886:4;8879:5;8875:16;8840:65;:::i;:::-;8930:29;8952:6;8930:29;:::i;:::-;8925:3;8921:39;8914:46;;8691:275;8609:357;;;;:::o;8972:196::-;9061:10;9096:66;9158:3;9150:6;9096:66;:::i;:::-;9082:80;;8972:196;;;;:::o;9174:123::-;9254:4;9286;9281:3;9277:14;9269:22;;9174:123;;;:::o;9331:991::-;9470:3;9499:64;9557:5;9499:64;:::i;:::-;9579:96;9668:6;9663:3;9579:96;:::i;:::-;9572:103;;9701:3;9746:4;9738:6;9734:17;9729:3;9725:27;9776:66;9836:5;9776:66;:::i;:::-;9865:7;9896:1;9881:396;9906:6;9903:1;9900:13;9881:396;;;9977:9;9971:4;9967:20;9962:3;9955:33;10028:6;10022:13;10056:84;10135:4;10120:13;10056:84;:::i;:::-;10048:92;;10163:70;10226:6;10163:70;:::i;:::-;10153:80;;10262:4;10257:3;10253:14;10246:21;;9941:336;9928:1;9925;9921:9;9916:14;;9881:396;;;9885:14;10293:4;10286:11;;10313:3;10306:10;;9475:847;;;;;9331:991;;;;:::o;10328:674::-;10569:4;10607:2;10596:9;10592:18;10584:26;;10656:9;10650:4;10646:20;10642:1;10631:9;10627:17;10620:47;10684:108;10787:4;10778:6;10684:108;:::i;:::-;10676:116;;10839:9;10833:4;10829:20;10824:2;10813:9;10809:18;10802:48;10867:128;10990:4;10981:6;10867:128;:::i;:::-;10859:136;;10328:674;;;;;:::o;11008:619::-;11085:6;11093;11101;11150:2;11138:9;11129:7;11125:23;11121:32;11118:119;;;11156:79;;:::i;:::-;11118:119;11276:1;11301:53;11346:7;11337:6;11326:9;11322:22;11301:53;:::i;:::-;11291:63;;11247:117;11403:2;11429:53;11474:7;11465:6;11454:9;11450:22;11429:53;:::i;:::-;11419:63;;11374:118;11531:2;11557:53;11602:7;11593:6;11582:9;11578:22;11557:53;:::i;:::-;11547:63;;11502:118;11008:619;;;;;:::o;11633:474::-;11701:6;11709;11758:2;11746:9;11737:7;11733:23;11729:32;11726:119;;;11764:79;;:::i;:::-;11726:119;11884:1;11909:53;11954:7;11945:6;11934:9;11930:22;11909:53;:::i;:::-;11899:63;;11855:117;12011:2;12037:53;12082:7;12073:6;12062:9;12058:22;12037:53;:::i;:::-;12027:63;;11982:118;11633:474;;;;;:::o;12113:332::-;12234:4;12272:2;12261:9;12257:18;12249:26;;12285:71;12353:1;12342:9;12338:17;12329:6;12285:71;:::i;:::-;12366:72;12434:2;12423:9;12419:18;12410:6;12366:72;:::i;:::-;12113:332;;;;;:::o;12451:617::-;12527:6;12535;12543;12592:2;12580:9;12571:7;12567:23;12563:32;12560:119;;;12598:79;;:::i;:::-;12560:119;12718:1;12743:53;12788:7;12779:6;12768:9;12764:22;12743:53;:::i;:::-;12733:63;;12689:117;12845:2;12871:53;12916:7;12907:6;12896:9;12892:22;12871:53;:::i;:::-;12861:63;;12816:118;12973:2;12999:52;13043:7;13034:6;13023:9;13019:22;12999:52;:::i;:::-;12989:62;;12944:117;12451:617;;;;;:::o;13074:117::-;13183:1;13180;13173:12;13197:180;13245:77;13242:1;13235:88;13342:4;13339:1;13332:15;13366:4;13363:1;13356:15;13383:281;13466:27;13488:4;13466:27;:::i;:::-;13458:6;13454:40;13596:6;13584:10;13581:22;13560:18;13548:10;13545:34;13542:62;13539:88;;;13607:18;;:::i;:::-;13539:88;13647:10;13643:2;13636:22;13426:238;13383:281;;:::o;13670:129::-;13704:6;13731:20;;:::i;:::-;13721:30;;13760:33;13788:4;13780:6;13760:33;:::i;:::-;13670:129;;;:::o;13805:321::-;13892:4;13982:18;13974:6;13971:30;13968:56;;;14004:18;;:::i;:::-;13968:56;14054:4;14046:6;14042:17;14034:25;;14114:4;14108;14104:15;14096:23;;13805:321;;;:::o;14132:117::-;14241:1;14238;14231:12;14255:117;14364:1;14361;14354:12;14378:308;14440:4;14530:18;14522:6;14519:30;14516:56;;;14552:18;;:::i;:::-;14516:56;14590:29;14612:6;14590:29;:::i;:::-;14582:37;;14674:4;14668;14664:15;14656:23;;14378:308;;;:::o;14692:148::-;14790:6;14785:3;14780;14767:30;14831:1;14822:6;14817:3;14813:16;14806:27;14692:148;;;:::o;14846:425::-;14924:5;14949:66;14965:49;15007:6;14965:49;:::i;:::-;14949:66;:::i;:::-;14940:75;;15038:6;15031:5;15024:21;15076:4;15069:5;15065:16;15114:3;15105:6;15100:3;15096:16;15093:25;15090:112;;;15121:79;;:::i;:::-;15090:112;15211:54;15258:6;15253:3;15248;15211:54;:::i;:::-;14930:341;14846:425;;;;;:::o;15291:340::-;15347:5;15396:3;15389:4;15381:6;15377:17;15373:27;15363:122;;15404:79;;:::i;:::-;15363:122;15521:6;15508:20;15546:79;15621:3;15613:6;15606:4;15598:6;15594:17;15546:79;:::i;:::-;15537:88;;15353:278;15291:340;;;;:::o;15653:945::-;15759:5;15784:91;15800:74;15867:6;15800:74;:::i;:::-;15784:91;:::i;:::-;15775:100;;15895:5;15924:6;15917:5;15910:21;15958:4;15951:5;15947:16;15940:23;;16011:4;16003:6;15999:17;15991:6;15987:30;16040:3;16032:6;16029:15;16026:122;;;16059:79;;:::i;:::-;16026:122;16174:6;16157:435;16191:6;16186:3;16183:15;16157:435;;;16280:3;16267:17;16316:18;16303:11;16300:35;16297:122;;;16338:79;;:::i;:::-;16297:122;16462:11;16454:6;16450:24;16500:47;16543:3;16531:10;16500:47;:::i;:::-;16495:3;16488:60;16577:4;16572:3;16568:14;16561:21;;16233:359;;16217:4;16212:3;16208:14;16201:21;;16157:435;;;16161:21;15765:833;;15653:945;;;;;:::o;16620:390::-;16701:5;16750:3;16743:4;16735:6;16731:17;16727:27;16717:122;;16758:79;;:::i;:::-;16717:122;16875:6;16862:20;16900:104;17000:3;16992:6;16985:4;16977:6;16973:17;16900:104;:::i;:::-;16891:113;;16707:303;16620:390;;;;:::o;17016:311::-;17093:4;17183:18;17175:6;17172:30;17169:56;;;17205:18;;:::i;:::-;17169:56;17255:4;17247:6;17243:17;17235:25;;17315:4;17309;17305:15;17297:23;;17016:311;;;:::o;17333:77::-;17370:7;17399:5;17388:16;;17333:77;;;:::o;17416:122::-;17489:24;17507:5;17489:24;:::i;:::-;17482:5;17479:35;17469:63;;17528:1;17525;17518:12;17469:63;17416:122;:::o;17544:139::-;17590:5;17628:6;17615:20;17606:29;;17644:33;17671:5;17644:33;:::i;:::-;17544:139;;;;:::o;17706:710::-;17802:5;17827:81;17843:64;17900:6;17843:64;:::i;:::-;17827:81;:::i;:::-;17818:90;;17928:5;17957:6;17950:5;17943:21;17991:4;17984:5;17980:16;17973:23;;18044:4;18036:6;18032:17;18024:6;18020:30;18073:3;18065:6;18062:15;18059:122;;;18092:79;;:::i;:::-;18059:122;18207:6;18190:220;18224:6;18219:3;18216:15;18190:220;;;18299:3;18328:37;18361:3;18349:10;18328:37;:::i;:::-;18323:3;18316:50;18395:4;18390:3;18386:14;18379:21;;18266:144;18250:4;18245:3;18241:14;18234:21;;18190:220;;;18194:21;17808:608;;17706:710;;;;;:::o;18439:370::-;18510:5;18559:3;18552:4;18544:6;18540:17;18536:27;18526:122;;18567:79;;:::i;:::-;18526:122;18684:6;18671:20;18709:94;18799:3;18791:6;18784:4;18776:6;18772:17;18709:94;:::i;:::-;18700:103;;18516:293;18439:370;;;;:::o;18815:1059::-;18952:6;18960;18968;19017:2;19005:9;18996:7;18992:23;18988:32;18985:119;;;19023:79;;:::i;:::-;18985:119;19143:1;19168:53;19213:7;19204:6;19193:9;19189:22;19168:53;:::i;:::-;19158:63;;19114:117;19298:2;19287:9;19283:18;19270:32;19329:18;19321:6;19318:30;19315:117;;;19351:79;;:::i;:::-;19315:117;19456:88;19536:7;19527:6;19516:9;19512:22;19456:88;:::i;:::-;19446:98;;19241:313;19621:2;19610:9;19606:18;19593:32;19652:18;19644:6;19641:30;19638:117;;;19674:79;;:::i;:::-;19638:117;19779:78;19849:7;19840:6;19829:9;19825:22;19779:78;:::i;:::-;19769:88;;19564:303;18815:1059;;;;;:::o;19880:373::-;20023:4;20061:2;20050:9;20046:18;20038:26;;20110:9;20104:4;20100:20;20096:1;20085:9;20081:17;20074:47;20138:108;20241:4;20232:6;20138:108;:::i;:::-;20130:116;;19880:373;;;;:::o;20259:116::-;20329:21;20344:5;20329:21;:::i;:::-;20322:5;20319:32;20309:60;;20365:1;20362;20355:12;20309:60;20259:116;:::o;20381:133::-;20424:5;20462:6;20449:20;20440:29;;20478:30;20502:5;20478:30;:::i;:::-;20381:133;;;;:::o;20520:468::-;20585:6;20593;20642:2;20630:9;20621:7;20617:23;20613:32;20610:119;;;20648:79;;:::i;:::-;20610:119;20768:1;20793:53;20838:7;20829:6;20818:9;20814:22;20793:53;:::i;:::-;20783:63;;20739:117;20895:2;20921:50;20963:7;20954:6;20943:9;20939:22;20921:50;:::i;:::-;20911:60;;20866:115;20520:468;;;;;:::o;20994:307::-;21055:4;21145:18;21137:6;21134:30;21131:56;;;21167:18;;:::i;:::-;21131:56;21205:29;21227:6;21205:29;:::i;:::-;21197:37;;21289:4;21283;21279:15;21271:23;;20994:307;;;:::o;21307:423::-;21384:5;21409:65;21425:48;21466:6;21425:48;:::i;:::-;21409:65;:::i;:::-;21400:74;;21497:6;21490:5;21483:21;21535:4;21528:5;21524:16;21573:3;21564:6;21559:3;21555:16;21552:25;21549:112;;;21580:79;;:::i;:::-;21549:112;21670:54;21717:6;21712:3;21707;21670:54;:::i;:::-;21390:340;21307:423;;;;;:::o;21749:338::-;21804:5;21853:3;21846:4;21838:6;21834:17;21830:27;21820:122;;21861:79;;:::i;:::-;21820:122;21978:6;21965:20;22003:78;22077:3;22069:6;22062:4;22054:6;22050:17;22003:78;:::i;:::-;21994:87;;21810:277;21749:338;;;;:::o;22093:943::-;22188:6;22196;22204;22212;22261:3;22249:9;22240:7;22236:23;22232:33;22229:120;;;22268:79;;:::i;:::-;22229:120;22388:1;22413:53;22458:7;22449:6;22438:9;22434:22;22413:53;:::i;:::-;22403:63;;22359:117;22515:2;22541:53;22586:7;22577:6;22566:9;22562:22;22541:53;:::i;:::-;22531:63;;22486:118;22643:2;22669:53;22714:7;22705:6;22694:9;22690:22;22669:53;:::i;:::-;22659:63;;22614:118;22799:2;22788:9;22784:18;22771:32;22830:18;22822:6;22819:30;22816:117;;;22852:79;;:::i;:::-;22816:117;22957:62;23011:7;23002:6;22991:9;22987:22;22957:62;:::i;:::-;22947:72;;22742:287;22093:943;;;;;;;:::o;23042:474::-;23110:6;23118;23167:2;23155:9;23146:7;23142:23;23138:32;23135:119;;;23173:79;;:::i;:::-;23135:119;23293:1;23318:53;23363:7;23354:6;23343:9;23339:22;23318:53;:::i;:::-;23308:63;;23264:117;23420:2;23446:53;23491:7;23482:6;23471:9;23467:22;23446:53;:::i;:::-;23436:63;;23391:118;23042:474;;;;;:::o;23522:329::-;23581:6;23630:2;23618:9;23609:7;23605:23;23601:32;23598:119;;;23636:79;;:::i;:::-;23598:119;23756:1;23781:53;23826:7;23817:6;23806:9;23802:22;23781:53;:::i;:::-;23771:63;;23727:117;23522:329;;;;:::o;23857:182::-;23997:34;23993:1;23985:6;23981:14;23974:58;23857:182;:::o;24045:366::-;24187:3;24208:67;24272:2;24267:3;24208:67;:::i;:::-;24201:74;;24284:93;24373:3;24284:93;:::i;:::-;24402:2;24397:3;24393:12;24386:19;;24045:366;;;:::o;24417:419::-;24583:4;24621:2;24610:9;24606:18;24598:26;;24670:9;24664:4;24660:20;24656:1;24645:9;24641:17;24634:47;24698:131;24824:4;24698:131;:::i;:::-;24690:139;;24417:419;;;:::o;24842:224::-;24982:34;24978:1;24970:6;24966:14;24959:58;25051:7;25046:2;25038:6;25034:15;25027:32;24842:224;:::o;25072:366::-;25214:3;25235:67;25299:2;25294:3;25235:67;:::i;:::-;25228:74;;25311:93;25400:3;25311:93;:::i;:::-;25429:2;25424:3;25420:12;25413:19;;25072:366;;;:::o;25444:419::-;25610:4;25648:2;25637:9;25633:18;25625:26;;25697:9;25691:4;25687:20;25683:1;25672:9;25668:17;25661:47;25725:131;25851:4;25725:131;:::i;:::-;25717:139;;25444:419;;;:::o;25869:115::-;25954:23;25971:5;25954:23;:::i;:::-;25949:3;25942:36;25869:115;;:::o;25990:328::-;26109:4;26147:2;26136:9;26132:18;26124:26;;26160:71;26228:1;26217:9;26213:17;26204:6;26160:71;:::i;:::-;26241:70;26307:2;26296:9;26292:18;26283:6;26241:70;:::i;:::-;25990:328;;;;;:::o;26324:180::-;26372:77;26369:1;26362:88;26469:4;26466:1;26459:15;26493:4;26490:1;26483:15;26510:320;26554:6;26591:1;26585:4;26581:12;26571:22;;26638:1;26632:4;26628:12;26659:18;26649:81;;26715:4;26707:6;26703:17;26693:27;;26649:81;26777:2;26769:6;26766:14;26746:18;26743:38;26740:84;;26796:18;;:::i;:::-;26740:84;26561:269;26510:320;;;:::o;26836:180::-;26884:77;26881:1;26874:88;26981:4;26978:1;26971:15;27005:4;27002:1;26995:15;27022:442;27171:4;27209:2;27198:9;27194:18;27186:26;;27222:71;27290:1;27279:9;27275:17;27266:6;27222:71;:::i;:::-;27303:72;27371:2;27360:9;27356:18;27347:6;27303:72;:::i;:::-;27385;27453:2;27442:9;27438:18;27429:6;27385:72;:::i;:::-;27022:442;;;;;;:::o;27470:180::-;27518:77;27515:1;27508:88;27615:4;27612:1;27605:15;27639:4;27636:1;27629:15;27656:410;27696:7;27719:20;27737:1;27719:20;:::i;:::-;27714:25;;27753:20;27771:1;27753:20;:::i;:::-;27748:25;;27808:1;27805;27801:9;27830:30;27848:11;27830:30;:::i;:::-;27819:41;;28009:1;28000:7;27996:15;27993:1;27990:22;27970:1;27963:9;27943:83;27920:139;;28039:18;;:::i;:::-;27920:139;27704:362;27656:410;;;;:::o;28072:180::-;28120:77;28117:1;28110:88;28217:4;28214:1;28207:15;28241:4;28238:1;28231:15;28258:185;28298:1;28315:20;28333:1;28315:20;:::i;:::-;28310:25;;28349:20;28367:1;28349:20;:::i;:::-;28344:25;;28388:1;28378:35;;28393:18;;:::i;:::-;28378:35;28435:1;28432;28428:9;28423:14;;28258:185;;;;:::o;28449:170::-;28589:22;28585:1;28577:6;28573:14;28566:46;28449:170;:::o;28625:366::-;28767:3;28788:67;28852:2;28847:3;28788:67;:::i;:::-;28781:74;;28864:93;28953:3;28864:93;:::i;:::-;28982:2;28977:3;28973:12;28966:19;;28625:366;;;:::o;28997:419::-;29163:4;29201:2;29190:9;29186:18;29178:26;;29250:9;29244:4;29240:20;29236:1;29225:9;29221:17;29214:47;29278:131;29404:4;29278:131;:::i;:::-;29270:139;;28997:419;;;:::o;29422:177::-;29562:29;29558:1;29550:6;29546:14;29539:53;29422:177;:::o;29605:366::-;29747:3;29768:67;29832:2;29827:3;29768:67;:::i;:::-;29761:74;;29844:93;29933:3;29844:93;:::i;:::-;29962:2;29957:3;29953:12;29946:19;;29605:366;;;:::o;29977:419::-;30143:4;30181:2;30170:9;30166:18;30158:26;;30230:9;30224:4;30220:20;30216:1;30205:9;30201:17;30194:47;30258:131;30384:4;30258:131;:::i;:::-;30250:139;;29977:419;;;:::o;30402:176::-;30542:28;30538:1;30530:6;30526:14;30519:52;30402:176;:::o;30584:366::-;30726:3;30747:67;30811:2;30806:3;30747:67;:::i;:::-;30740:74;;30823:93;30912:3;30823:93;:::i;:::-;30941:2;30936:3;30932:12;30925:19;;30584:366;;;:::o;30956:419::-;31122:4;31160:2;31149:9;31145:18;31137:26;;31209:9;31203:4;31199:20;31195:1;31184:9;31180:17;31173:47;31237:131;31363:4;31237:131;:::i;:::-;31229:139;;30956:419;;;:::o;31381:173::-;31521:25;31517:1;31509:6;31505:14;31498:49;31381:173;:::o;31560:366::-;31702:3;31723:67;31787:2;31782:3;31723:67;:::i;:::-;31716:74;;31799:93;31888:3;31799:93;:::i;:::-;31917:2;31912:3;31908:12;31901:19;;31560:366;;;:::o;31932:419::-;32098:4;32136:2;32125:9;32121:18;32113:26;;32185:9;32179:4;32175:20;32171:1;32160:9;32156:17;32149:47;32213:131;32339:4;32213:131;:::i;:::-;32205:139;;31932:419;;;:::o;32357:222::-;32497:34;32493:1;32485:6;32481:14;32474:58;32566:5;32561:2;32553:6;32549:15;32542:30;32357:222;:::o;32585:366::-;32727:3;32748:67;32812:2;32807:3;32748:67;:::i;:::-;32741:74;;32824:93;32913:3;32824:93;:::i;:::-;32942:2;32937:3;32933:12;32926:19;;32585:366;;;:::o;32957:419::-;33123:4;33161:2;33150:9;33146:18;33138:26;;33210:9;33204:4;33200:20;33196:1;33185:9;33181:17;33174:47;33238:131;33364:4;33238:131;:::i;:::-;33230:139;;32957:419;;;:::o;33382:191::-;33422:3;33441:20;33459:1;33441:20;:::i;:::-;33436:25;;33475:20;33493:1;33475:20;:::i;:::-;33470:25;;33518:1;33515;33511:9;33504:16;;33539:3;33536:1;33533:10;33530:36;;;33546:18;;:::i;:::-;33530:36;33382:191;;;;:::o;33579:173::-;33719:25;33715:1;33707:6;33703:14;33696:49;33579:173;:::o;33758:366::-;33900:3;33921:67;33985:2;33980:3;33921:67;:::i;:::-;33914:74;;33997:93;34086:3;33997:93;:::i;:::-;34115:2;34110:3;34106:12;34099:19;;33758:366;;;:::o;34130:419::-;34296:4;34334:2;34323:9;34319:18;34311:26;;34383:9;34377:4;34373:20;34369:1;34358:9;34354:17;34347:47;34411:131;34537:4;34411:131;:::i;:::-;34403:139;;34130:419;;;:::o;34555:177::-;34695:29;34691:1;34683:6;34679:14;34672:53;34555:177;:::o;34738:366::-;34880:3;34901:67;34965:2;34960:3;34901:67;:::i;:::-;34894:74;;34977:93;35066:3;34977:93;:::i;:::-;35095:2;35090:3;35086:12;35079:19;;34738:366;;;:::o;35110:419::-;35276:4;35314:2;35303:9;35299:18;35291:26;;35363:9;35357:4;35353:20;35349:1;35338:9;35334:17;35327:47;35391:131;35517:4;35391:131;:::i;:::-;35383:139;;35110:419;;;:::o;35535:166::-;35675:18;35671:1;35663:6;35659:14;35652:42;35535:166;:::o;35707:366::-;35849:3;35870:67;35934:2;35929:3;35870:67;:::i;:::-;35863:74;;35946:93;36035:3;35946:93;:::i;:::-;36064:2;36059:3;36055:12;36048:19;;35707:366;;;:::o;36079:419::-;36245:4;36283:2;36272:9;36268:18;36260:26;;36332:9;36326:4;36322:20;36318:1;36307:9;36303:17;36296:47;36360:131;36486:4;36360:131;:::i;:::-;36352:139;;36079:419;;;:::o;36504:423::-;36645:4;36683:2;36672:9;36668:18;36660:26;;36732:9;36726:4;36722:20;36718:1;36707:9;36703:17;36696:47;36760:78;36833:4;36824:6;36760:78;:::i;:::-;36752:86;;36848:72;36916:2;36905:9;36901:18;36892:6;36848:72;:::i;:::-;36504:423;;;;;:::o;36933:194::-;36973:4;36993:20;37011:1;36993:20;:::i;:::-;36988:25;;37027:20;37045:1;37027:20;:::i;:::-;37022:25;;37071:1;37068;37064:9;37056:17;;37095:1;37089:4;37086:11;37083:37;;;37100:18;;:::i;:::-;37083:37;36933:194;;;;:::o;37133:148::-;37235:11;37272:3;37257:18;;37133:148;;;;:::o;37287:390::-;37393:3;37421:39;37454:5;37421:39;:::i;:::-;37476:89;37558:6;37553:3;37476:89;:::i;:::-;37469:96;;37574:65;37632:6;37627:3;37620:4;37613:5;37609:16;37574:65;:::i;:::-;37664:6;37659:3;37655:16;37648:23;;37397:280;37287:390;;;;:::o;37683:435::-;37863:3;37885:95;37976:3;37967:6;37885:95;:::i;:::-;37878:102;;37997:95;38088:3;38079:6;37997:95;:::i;:::-;37990:102;;38109:3;38102:10;;37683:435;;;;;:::o;38124:166::-;38264:18;38260:1;38252:6;38248:14;38241:42;38124:166;:::o;38296:366::-;38438:3;38459:67;38523:2;38518:3;38459:67;:::i;:::-;38452:74;;38535:93;38624:3;38535:93;:::i;:::-;38653:2;38648:3;38644:12;38637:19;;38296:366;;;:::o;38668:419::-;38834:4;38872:2;38861:9;38857:18;38849:26;;38921:9;38915:4;38911:20;38907:1;38896:9;38892:17;38885:47;38949:131;39075:4;38949:131;:::i;:::-;38941:139;;38668:419;;;:::o;39093:60::-;39121:3;39142:5;39135:12;;39093:60;;;:::o;39159:140::-;39208:9;39241:52;39259:33;39268:23;39285:5;39268:23;:::i;:::-;39259:33;:::i;:::-;39241:52;:::i;:::-;39228:65;;39159:140;;;:::o;39305:129::-;39391:36;39421:5;39391:36;:::i;:::-;39386:3;39379:49;39305:129;;:::o;39440:330::-;39560:4;39598:2;39587:9;39583:18;39575:26;;39611:70;39678:1;39667:9;39663:17;39654:6;39611:70;:::i;:::-;39691:72;39759:2;39748:9;39744:18;39735:6;39691:72;:::i;:::-;39440:330;;;;;:::o;39776:440::-;39924:4;39962:2;39951:9;39947:18;39939:26;;39975:71;40043:1;40032:9;40028:17;40019:6;39975:71;:::i;:::-;40056;40123:2;40112:9;40108:18;40099:6;40056:71;:::i;:::-;40137:72;40205:2;40194:9;40190:18;40181:6;40137:72;:::i;:::-;39776:440;;;;;;:::o;40222:332::-;40343:4;40381:2;40370:9;40366:18;40358:26;;40394:71;40462:1;40451:9;40447:17;40438:6;40394:71;:::i;:::-;40475:72;40543:2;40532:9;40528:18;40519:6;40475:72;:::i;:::-;40222:332;;;;;:::o;40560:181::-;40700:33;40696:1;40688:6;40684:14;40677:57;40560:181;:::o;40747:366::-;40889:3;40910:67;40974:2;40969:3;40910:67;:::i;:::-;40903:74;;40986:93;41075:3;40986:93;:::i;:::-;41104:2;41099:3;41095:12;41088:19;;40747:366;;;:::o;41119:419::-;41285:4;41323:2;41312:9;41308:18;41300:26;;41372:9;41366:4;41362:20;41358:1;41347:9;41343:17;41336:47;41400:131;41526:4;41400:131;:::i;:::-;41392:139;;41119:419;;;:::o;41544:79::-;41583:7;41612:5;41601:16;;41544:79;;;:::o;41629:157::-;41734:45;41754:24;41772:5;41754:24;:::i;:::-;41734:45;:::i;:::-;41729:3;41722:58;41629:157;;:::o;41792:416::-;41952:3;41974:95;42065:3;42056:6;41974:95;:::i;:::-;41967:102;;42079:75;42150:3;42141:6;42079:75;:::i;:::-;42179:2;42174:3;42170:12;42163:19;;42199:3;42192:10;;41792:416;;;;;:::o;42214:141::-;42263:4;42286:3;42278:11;;42309:3;42306:1;42299:14;42343:4;42340:1;42330:18;42322:26;;42214:141;;;:::o;42361:93::-;42398:6;42445:2;42440;42433:5;42429:14;42425:23;42415:33;;42361:93;;;:::o;42460:107::-;42504:8;42554:5;42548:4;42544:16;42523:37;;42460:107;;;;:::o;42573:393::-;42642:6;42692:1;42680:10;42676:18;42715:97;42745:66;42734:9;42715:97;:::i;:::-;42833:39;42863:8;42852:9;42833:39;:::i;:::-;42821:51;;42905:4;42901:9;42894:5;42890:21;42881:30;;42954:4;42944:8;42940:19;42933:5;42930:30;42920:40;;42649:317;;42573:393;;;;;:::o;42972:142::-;43022:9;43055:53;43073:34;43082:24;43100:5;43082:24;:::i;:::-;43073:34;:::i;:::-;43055:53;:::i;:::-;43042:66;;42972:142;;;:::o;43120:75::-;43163:3;43184:5;43177:12;;43120:75;;;:::o;43201:269::-;43311:39;43342:7;43311:39;:::i;:::-;43372:91;43421:41;43445:16;43421:41;:::i;:::-;43413:6;43406:4;43400:11;43372:91;:::i;:::-;43366:4;43359:105;43277:193;43201:269;;;:::o;43476:73::-;43521:3;43476:73;:::o;43555:189::-;43632:32;;:::i;:::-;43673:65;43731:6;43723;43717:4;43673:65;:::i;:::-;43608:136;43555:189;;:::o;43750:186::-;43810:120;43827:3;43820:5;43817:14;43810:120;;;43881:39;43918:1;43911:5;43881:39;:::i;:::-;43854:1;43847:5;43843:13;43834:22;;43810:120;;;43750:186;;:::o;43942:543::-;44043:2;44038:3;44035:11;44032:446;;;44077:38;44109:5;44077:38;:::i;:::-;44161:29;44179:10;44161:29;:::i;:::-;44151:8;44147:44;44344:2;44332:10;44329:18;44326:49;;;44365:8;44350:23;;44326:49;44388:80;44444:22;44462:3;44444:22;:::i;:::-;44434:8;44430:37;44417:11;44388:80;:::i;:::-;44047:431;;44032:446;43942:543;;;:::o;44491:117::-;44545:8;44595:5;44589:4;44585:16;44564:37;;44491:117;;;;:::o;44614:169::-;44658:6;44691:51;44739:1;44735:6;44727:5;44724:1;44720:13;44691:51;:::i;:::-;44687:56;44772:4;44766;44762:15;44752:25;;44665:118;44614:169;;;;:::o;44788:295::-;44864:4;45010:29;45035:3;45029:4;45010:29;:::i;:::-;45002:37;;45072:3;45069:1;45065:11;45059:4;45056:21;45048:29;;44788:295;;;;:::o;45088:1395::-;45205:37;45238:3;45205:37;:::i;:::-;45307:18;45299:6;45296:30;45293:56;;;45329:18;;:::i;:::-;45293:56;45373:38;45405:4;45399:11;45373:38;:::i;:::-;45458:67;45518:6;45510;45504:4;45458:67;:::i;:::-;45552:1;45576:4;45563:17;;45608:2;45600:6;45597:14;45625:1;45620:618;;;;46282:1;46299:6;46296:77;;;46348:9;46343:3;46339:19;46333:26;46324:35;;46296:77;46399:67;46459:6;46452:5;46399:67;:::i;:::-;46393:4;46386:81;46255:222;45590:887;;45620:618;45672:4;45668:9;45660:6;45656:22;45706:37;45738:4;45706:37;:::i;:::-;45765:1;45779:208;45793:7;45790:1;45787:14;45779:208;;;45872:9;45867:3;45863:19;45857:26;45849:6;45842:42;45923:1;45915:6;45911:14;45901:24;;45970:2;45959:9;45955:18;45942:31;;45816:4;45813:1;45809:12;45804:17;;45779:208;;;46015:6;46006:7;46003:19;46000:179;;;46073:9;46068:3;46064:19;46058:26;46116:48;46158:4;46150:6;46146:17;46135:9;46116:48;:::i;:::-;46108:6;46101:64;46023:156;46000:179;46225:1;46221;46213:6;46209:14;46205:22;46199:4;46192:36;45627:611;;;45590:887;;45180:1303;;;45088:1395;;:::o;46489:98::-;46540:6;46574:5;46568:12;46558:22;;46489:98;;;:::o;46593:168::-;46676:11;46710:6;46705:3;46698:19;46750:4;46745:3;46741:14;46726:29;;46593:168;;;;:::o;46767:373::-;46853:3;46881:38;46913:5;46881:38;:::i;:::-;46935:70;46998:6;46993:3;46935:70;:::i;:::-;46928:77;;47014:65;47072:6;47067:3;47060:4;47053:5;47049:16;47014:65;:::i;:::-;47104:29;47126:6;47104:29;:::i;:::-;47099:3;47095:39;47088:46;;46857:283;46767:373;;;;:::o;47146:640::-;47341:4;47379:3;47368:9;47364:19;47356:27;;47393:71;47461:1;47450:9;47446:17;47437:6;47393:71;:::i;:::-;47474:72;47542:2;47531:9;47527:18;47518:6;47474:72;:::i;:::-;47556;47624:2;47613:9;47609:18;47600:6;47556:72;:::i;:::-;47675:9;47669:4;47665:20;47660:2;47649:9;47645:18;47638:48;47703:76;47774:4;47765:6;47703:76;:::i;:::-;47695:84;;47146:640;;;;;;;:::o;47792:141::-;47848:5;47879:6;47873:13;47864:22;;47895:32;47921:5;47895:32;:::i;:::-;47792:141;;;;:::o;47939:349::-;48008:6;48057:2;48045:9;48036:7;48032:23;48028:32;48025:119;;;48063:79;;:::i;:::-;48025:119;48183:1;48208:63;48263:7;48254:6;48243:9;48239:22;48208:63;:::i;:::-;48198:73;;48154:127;47939:349;;;;:::o
Swarm Source
ipfs://347bc6b3b29e61b09ba731d6cd9fe5be77d579cbcfca3c1325c8091d32a62365
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.