Overview
TokenID
1369
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Apelantia
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity)
/** *Submitted for verification at apescan.io on 2024-11-01 */ // Sources flattened with hardhat v2.22.15 https://hardhat.org // SPDX-License-Identifier: MIT // File @openzeppelin/contracts/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/access/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/interfaces/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/utils/introspection/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/token/ERC721/utils/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/introspection/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC-165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/utils/math/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/token/ERC721/[email protected] // Original license: SPDX_License_Identifier: MIT // 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/token/ERC721/extensions/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.20; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // Original license: SPDX_License_Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.20; /** * @dev This implements an optional extension of {ERC721} defined in the ERC that adds enumerability * of all the token ids in the contract as well as all token ids owned by each account. * * CAUTION: {ERC721} extensions that implement custom `balanceOf` logic, such as {ERC721Consecutive}, * interfere with enumerability and should not be used together with {ERC721Enumerable}. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { mapping(address owner => mapping(uint256 index => uint256)) private _ownedTokens; mapping(uint256 tokenId => uint256) private _ownedTokensIndex; uint256[] private _allTokens; mapping(uint256 tokenId => uint256) private _allTokensIndex; /** * @dev An `owner`'s token query was out of bounds for `index`. * * NOTE: The owner being `address(0)` indicates a global out of bounds index. */ error ERC721OutOfBoundsIndex(address owner, uint256 index); /** * @dev Batch mint is not allowed. */ error ERC721EnumerableForbiddenBatchMint(); /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual returns (uint256) { if (index >= balanceOf(owner)) { revert ERC721OutOfBoundsIndex(owner, index); } return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual returns (uint256) { if (index >= totalSupply()) { revert ERC721OutOfBoundsIndex(address(0), index); } return _allTokens[index]; } /** * @dev See {ERC721-_update}. */ function _update(address to, uint256 tokenId, address auth) internal virtual override returns (address) { address previousOwner = super._update(to, tokenId, auth); if (previousOwner == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (previousOwner != to) { _removeTokenFromOwnerEnumeration(previousOwner, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (previousOwner != to) { _addTokenToOwnerEnumeration(to, tokenId); } return previousOwner; } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = balanceOf(to) - 1; _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = balanceOf(from); uint256 tokenIndex = _ownedTokensIndex[tokenId]; mapping(uint256 index => uint256) storage _ownedTokensByOwner = _ownedTokens[from]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokensByOwner[lastTokenIndex]; _ownedTokensByOwner[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokensByOwner[lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } /** * See {ERC721-_increaseBalance}. We need that to account tokens that were minted in batch */ function _increaseBalance(address account, uint128 amount) internal virtual override { if (amount > 0) { revert ERC721EnumerableForbiddenBatchMint(); } super._increaseBalance(account, amount); } } // File contracts/Apelantia.sol // Original license: SPDX_License_Identifier: MIT /** █████╗ ██████╗ ███████╗██╗ █████╗ ███╗ ██╗████████╗██╗ █████╗ ██╔══██╗██╔══██╗██╔════╝██║ ██╔══██╗████╗ ██║╚══██╔══╝██║██╔══██╗ ███████║██████╔╝█████╗ ██║ ███████║██╔██╗ ██║ ██║ ██║███████║ ██╔══██║██╔═══╝ ██╔══╝ ██║ ██╔══██║██║╚██╗██║ ██║ ██║██╔══██║ ██║ ██║██║ ███████╗███████╗██║ ██║██║ ╚████║ ██║ ██║██║ ██║ ╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝╚═╝ ╚═╝ http://apelantia.com https://x.com/apelantia https://t.me/apelantia **/ pragma solidity ^0.8.20; contract Apelantia is ERC721Enumerable, Ownable { using Strings for uint256; string public baseURI; string public baseExtension = ".json"; string public notRevealedUri; uint256 public cost = 50 ether; uint256 public maxSupply = 2478; uint256 public maxMintAmount = 99; uint256 public nftPerAddressLimit = 99; bool public paused = true; bool public revealed = false; bool public onlyWhitelisted = false; address[] public whitelistedAddresses; mapping(address => uint256) public addressMintedBalance; // Mapping for tracking available token IDs mapping(uint256 => uint256) private _availableTokens; uint256 private _numAvailableTokens; // Mapping to track existing tokens mapping(uint256 => bool) private _tokenExists; constructor( string memory _name, string memory _symbol, string memory _initBaseURI, string memory _initNotRevealedUri ) ERC721(_name, _symbol) Ownable(msg.sender) { setBaseURI(_initBaseURI); setNotRevealedURI(_initNotRevealedUri); _numAvailableTokens = maxSupply; } // Return base URI function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // Public function to mint NFTs with random IDs function mint(uint256 _mintAmount) public payable { require(!paused, "The contract is paused"); uint256 supply = totalSupply(); require(_mintAmount > 0, "Need to mint at least 1 NFT"); require( _mintAmount <= maxMintAmount, "Max mint amount per session exceeded" ); require( supply + _mintAmount <= maxSupply, "Max NFT limit exceeded" ); if (msg.sender != owner()) { if (onlyWhitelisted == true) { require( isWhitelisted(msg.sender), "User is not whitelisted" ); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; require( ownerMintedCount + _mintAmount <= nftPerAddressLimit, "Max NFT per address exceeded" ); } require( msg.value >= cost * _mintAmount, "Insufficient funds" ); } for (uint256 i = 0; i < _mintAmount; i++) { uint256 tokenId = _getRandomAvailableTokenId(msg.sender); addressMintedBalance[msg.sender]++; _safeMint(msg.sender, tokenId); _tokenExists[tokenId] = true; // Track the minted token ID } } // Internal function to get a random available token ID function _getRandomAvailableTokenId(address _to) internal returns (uint256) { uint256 random = uint256( keccak256( abi.encodePacked( block.timestamp, block.prevrandao, // randomness _to, _numAvailableTokens ) ) ); uint256 randomIndex = random % _numAvailableTokens; return _fillRandomTokenId(randomIndex); } // Assign and remove a token ID from the available list function _fillRandomTokenId(uint256 _randomIndex) internal returns (uint256) { uint256 tokenId; if (_availableTokens[_randomIndex] != 0) { tokenId = _availableTokens[_randomIndex]; } else { tokenId = _randomIndex + 1; // Token IDs start from 1 } uint256 lastIndex = _numAvailableTokens - 1; if (_availableTokens[lastIndex] == 0) { _availableTokens[_randomIndex] = lastIndex + 1; } else { _availableTokens[_randomIndex] = _availableTokens[lastIndex]; } _numAvailableTokens--; return tokenId; } // Check if a user is whitelisted function isWhitelisted(address _user) public view returns (bool) { for (uint256 i = 0; i < whitelistedAddresses.length; i++) { if (whitelistedAddresses[i] == _user) { return true; } } return false; } // Get all NFTs owned by an address function walletOfOwner( address _owner ) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i = 0; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } // Return the token URI function tokenURI( uint256 tokenId ) public view virtual override returns (string memory) { // Check if token exists require( _tokenExists[tokenId], "ERC721Metadata: URI query for nonexistent token" ); if (!revealed) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension ) ) : ""; } // Only owner functions function reveal() public onlyOwner { revealed = true; } function setNftPerAddressLimit(uint256 _limit) public onlyOwner { nftPerAddressLimit = _limit; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function setMaxMintAmount(uint256 _newMaxMintAmount) public onlyOwner { maxMintAmount = _newMaxMintAmount; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension( string memory _newBaseExtension ) public onlyOwner { baseExtension = _newBaseExtension; } function setNotRevealedURI( string memory _notRevealedURI ) public onlyOwner { notRevealedUri = _notRevealedURI; } function pause(bool _state) public onlyOwner { paused = _state; } function setOnlyWhitelisted(bool _state) public onlyOwner { onlyWhitelisted = _state; } function whitelistUsers( address[] calldata _users ) public onlyOwner { delete whitelistedAddresses; whitelistedAddresses = _users; } function withdraw() public payable onlyOwner { uint256 contractBalance = address(this).balance; (bool success, ) = payable(owner()).call{value: contractBalance}(""); require(success, "Failed to send Ether to owner"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ERC721EnumerableForbiddenBatchMint","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"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"ERC721OutOfBoundsIndex","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":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c908161004891906105bc565b506802b5e3af16b1880000600e556109ae600f5560636010556063601155600160125f6101000a81548160ff0219169083151502179055505f601260016101000a81548160ff0219169083151502179055505f601260026101000a81548160ff0219169083151502179055503480156100bf575f80fd5b50604051614d01380380614d0183398181016040528101906100e191906107ab565b338484815f90816100f291906105bc565b50806001908161010291906105bc565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610175575f6040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161016c91906108be565b60405180910390fd5b610184816101b560201b60201c565b506101948261027860201b60201c565b6101a38161029960201b60201c565b600f54601681905550505050506108d7565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6102866102ba60201b60201c565b80600b908161029591906105bc565b5050565b6102a76102ba60201b60201c565b80600d90816102b691906105bc565b5050565b6102c861035360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166102ec61035a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146103515761031561035360201b60201c565b6040517f118cdaa700000000000000000000000000000000000000000000000000000000815260040161034891906108be565b60405180910390fd5b565b5f33905090565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806103fd57607f821691505b6020821081036104105761040f6103b9565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026104727fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610437565b61047c8683610437565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6104c06104bb6104b684610494565b61049d565b610494565b9050919050565b5f819050919050565b6104d9836104a6565b6104ed6104e5826104c7565b848454610443565b825550505050565b5f90565b6105016104f5565b61050c8184846104d0565b505050565b5b8181101561052f576105245f826104f9565b600181019050610512565b5050565b601f8211156105745761054581610416565b61054e84610428565b8101602085101561055d578190505b61057161056985610428565b830182610511565b50505b505050565b5f82821c905092915050565b5f6105945f1984600802610579565b1980831691505092915050565b5f6105ac8383610585565b9150826002028217905092915050565b6105c582610382565b67ffffffffffffffff8111156105de576105dd61038c565b5b6105e882546103e6565b6105f3828285610533565b5f60209050601f831160018114610624575f8415610612578287015190505b61061c85826105a1565b865550610683565b601f19841661063286610416565b5f5b8281101561065957848901518255600182019150602085019450602081019050610634565b868310156106765784890151610672601f891682610585565b8355505b6001600288020188555050505b505050505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b6106bd826106a4565b810181811067ffffffffffffffff821117156106dc576106db61038c565b5b80604052505050565b5f6106ee61068b565b90506106fa82826106b4565b919050565b5f67ffffffffffffffff8211156107195761071861038c565b5b610722826106a4565b9050602081019050919050565b8281835e5f83830152505050565b5f61074f61074a846106ff565b6106e5565b90508281526020810184848401111561076b5761076a6106a0565b5b61077684828561072f565b509392505050565b5f82601f8301126107925761079161069c565b5b81516107a284826020860161073d565b91505092915050565b5f805f80608085870312156107c3576107c2610694565b5b5f85015167ffffffffffffffff8111156107e0576107df610698565b5b6107ec8782880161077e565b945050602085015167ffffffffffffffff81111561080d5761080c610698565b5b6108198782880161077e565b935050604085015167ffffffffffffffff81111561083a57610839610698565b5b6108468782880161077e565b925050606085015167ffffffffffffffff81111561086757610866610698565b5b6108738782880161077e565b91505092959194509250565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6108a88261087f565b9050919050565b6108b88161089e565b82525050565b5f6020820190506108d15f8301846108af565b92915050565b61441d806108e45f395ff3fe608060405260043610610271575f3560e01c80635c975abb1161014e578063b88d4fde116100c0578063d5abeb0111610079578063d5abeb0114610935578063da3ef23f1461095f578063e985e9c514610987578063edec5f27146109c3578063f2c4ce1e146109eb578063f2fde38b14610a1357610271565b8063b88d4fde14610819578063ba4e5c4914610841578063ba7d2c761461087d578063c6682862146108a7578063c87b56dd146108d1578063d0eb26b01461090d57610271565b80638da5cb5b116101125780638da5cb5b1461074157806395d89b411461076b5780639c70b51214610795578063a0712d68146107bf578063a22cb465146107db578063a475b5dd1461080357610271565b80635c975abb1461065f5780636352211e146106895780636c0360eb146106c557806370a08231146106ef578063715018a61461072b57610271565b806323b872dd116101e757806342842e0e116101ab57806342842e0e14610545578063438b63001461056d57806344a0d68a146105a95780634f6ccce7146105d1578063518302271461060d57806355f804b31461063757610271565b806323b872dd146104735780632f745c591461049b5780633af32abf146104d75780633c952764146105135780633ccfd60b1461053b57610271565b8063088a4ed011610239578063088a4ed014610369578063095ea7b31461039157806313faede6146103b957806318160ddd146103e357806318cae2691461040d578063239c70ae1461044957610271565b806301ffc9a71461027557806302329a29146102b157806306fdde03146102d9578063081812fc14610303578063081c8c441461033f575b5f80fd5b348015610280575f80fd5b5061029b6004803603810190610296919061308d565b610a3b565b6040516102a891906130d2565b60405180910390f35b3480156102bc575f80fd5b506102d760048036038101906102d29190613115565b610ab4565b005b3480156102e4575f80fd5b506102ed610ad8565b6040516102fa91906131b0565b60405180910390f35b34801561030e575f80fd5b5061032960048036038101906103249190613203565b610b67565b604051610336919061326d565b60405180910390f35b34801561034a575f80fd5b50610353610b82565b60405161036091906131b0565b60405180910390f35b348015610374575f80fd5b5061038f600480360381019061038a9190613203565b610c0e565b005b34801561039c575f80fd5b506103b760048036038101906103b291906132b0565b610c20565b005b3480156103c4575f80fd5b506103cd610c36565b6040516103da91906132fd565b60405180910390f35b3480156103ee575f80fd5b506103f7610c3c565b60405161040491906132fd565b60405180910390f35b348015610418575f80fd5b50610433600480360381019061042e9190613316565b610c48565b60405161044091906132fd565b60405180910390f35b348015610454575f80fd5b5061045d610c5d565b60405161046a91906132fd565b60405180910390f35b34801561047e575f80fd5b5061049960048036038101906104949190613341565b610c63565b005b3480156104a6575f80fd5b506104c160048036038101906104bc91906132b0565b610d62565b6040516104ce91906132fd565b60405180910390f35b3480156104e2575f80fd5b506104fd60048036038101906104f89190613316565b610e06565b60405161050a91906130d2565b60405180910390f35b34801561051e575f80fd5b5061053960048036038101906105349190613115565b610ea8565b005b610543610ecd565b005b348015610550575f80fd5b5061056b60048036038101906105669190613341565b610f8c565b005b348015610578575f80fd5b50610593600480360381019061058e9190613316565b610fab565b6040516105a09190613448565b60405180910390f35b3480156105b4575f80fd5b506105cf60048036038101906105ca9190613203565b611050565b005b3480156105dc575f80fd5b506105f760048036038101906105f29190613203565b611062565b60405161060491906132fd565b60405180910390f35b348015610618575f80fd5b506106216110d4565b60405161062e91906130d2565b60405180910390f35b348015610642575f80fd5b5061065d60048036038101906106589190613594565b6110e7565b005b34801561066a575f80fd5b50610673611102565b60405161068091906130d2565b60405180910390f35b348015610694575f80fd5b506106af60048036038101906106aa9190613203565b611114565b6040516106bc919061326d565b60405180910390f35b3480156106d0575f80fd5b506106d9611125565b6040516106e691906131b0565b60405180910390f35b3480156106fa575f80fd5b5061071560048036038101906107109190613316565b6111b1565b60405161072291906132fd565b60405180910390f35b348015610736575f80fd5b5061073f611267565b005b34801561074c575f80fd5b5061075561127a565b604051610762919061326d565b60405180910390f35b348015610776575f80fd5b5061077f6112a2565b60405161078c91906131b0565b60405180910390f35b3480156107a0575f80fd5b506107a9611332565b6040516107b691906130d2565b60405180910390f35b6107d960048036038101906107d49190613203565b611345565b005b3480156107e6575f80fd5b5061080160048036038101906107fc91906135db565b6116a5565b005b34801561080e575f80fd5b506108176116bb565b005b348015610824575f80fd5b5061083f600480360381019061083a91906136b7565b6116e0565b005b34801561084c575f80fd5b5061086760048036038101906108629190613203565b611705565b604051610874919061326d565b60405180910390f35b348015610888575f80fd5b50610891611740565b60405161089e91906132fd565b60405180910390f35b3480156108b2575f80fd5b506108bb611746565b6040516108c891906131b0565b60405180910390f35b3480156108dc575f80fd5b506108f760048036038101906108f29190613203565b6117d2565b60405161090491906131b0565b60405180910390f35b348015610918575f80fd5b50610933600480360381019061092e9190613203565b611933565b005b348015610940575f80fd5b50610949611945565b60405161095691906132fd565b60405180910390f35b34801561096a575f80fd5b5061098560048036038101906109809190613594565b61194b565b005b348015610992575f80fd5b506109ad60048036038101906109a89190613737565b611966565b6040516109ba91906130d2565b60405180910390f35b3480156109ce575f80fd5b506109e960048036038101906109e491906137d2565b6119f4565b005b3480156109f6575f80fd5b50610a116004803603810190610a0c9190613594565b611a1f565b005b348015610a1e575f80fd5b50610a396004803603810190610a349190613316565b611a3a565b005b5f7f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aad5750610aac82611abe565b5b9050919050565b610abc611b9f565b8060125f6101000a81548160ff02191690831515021790555050565b60605f8054610ae69061384a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b129061384a565b8015610b5d5780601f10610b3457610100808354040283529160200191610b5d565b820191905f5260205f20905b815481529060010190602001808311610b4057829003601f168201915b5050505050905090565b5f610b7182611c26565b50610b7b82611cac565b9050919050565b600d8054610b8f9061384a565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbb9061384a565b8015610c065780601f10610bdd57610100808354040283529160200191610c06565b820191905f5260205f20905b815481529060010190602001808311610be957829003601f168201915b505050505081565b610c16611b9f565b8060108190555050565b610c328282610c2d611ce5565b611cec565b5050565b600e5481565b5f600880549050905090565b6014602052805f5260405f205f915090505481565b60105481565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610cd3575f6040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610cca919061326d565b60405180910390fd5b5f610ce68383610ce1611ce5565b611cfe565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d5c578382826040517f64283d7b000000000000000000000000000000000000000000000000000000008152600401610d539392919061387a565b60405180910390fd5b50505050565b5f610d6c836111b1565b8210610db15782826040517fa57d13dc000000000000000000000000000000000000000000000000000000008152600401610da89291906138af565b60405180910390fd5b60065f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f2054905092915050565b5f805f90505b601380549050811015610e9e578273ffffffffffffffffffffffffffffffffffffffff1660138281548110610e4457610e436138d6565b5b905f5260205f20015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610e91576001915050610ea3565b8080600101915050610e0c565b505f90505b919050565b610eb0611b9f565b80601260026101000a81548160ff02191690831515021790555050565b610ed5611b9f565b5f4790505f610ee261127a565b73ffffffffffffffffffffffffffffffffffffffff1682604051610f0590613930565b5f6040518083038185875af1925050503d805f8114610f3f576040519150601f19603f3d011682016040523d82523d5f602084013e610f44565b606091505b5050905080610f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7f9061398e565b60405180910390fd5b5050565b610fa683838360405180602001604052805f8152506116e0565b505050565b60605f610fb7836111b1565b90505f8167ffffffffffffffff811115610fd457610fd3613470565b5b6040519080825280602002602001820160405280156110025781602001602082028036833780820191505090505b5090505f5b82811015611045576110198582610d62565b82828151811061102c5761102b6138d6565b5b6020026020010181815250508080600101915050611007565b508092505050919050565b611058611b9f565b80600e8190555050565b5f61106b610c3c565b82106110b0575f826040517fa57d13dc0000000000000000000000000000000000000000000000000000000081526004016110a79291906138af565b60405180910390fd5b600882815481106110c4576110c36138d6565b5b905f5260205f2001549050919050565b601260019054906101000a900460ff1681565b6110ef611b9f565b80600b90816110fe9190613b49565b5050565b60125f9054906101000a900460ff1681565b5f61111e82611c26565b9050919050565b600b80546111329061384a565b80601f016020809104026020016040519081016040528092919081815260200182805461115e9061384a565b80156111a95780601f10611180576101008083540402835291602001916111a9565b820191905f5260205f20905b81548152906001019060200180831161118c57829003601f168201915b505050505081565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611222575f6040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401611219919061326d565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61126f611b9f565b6112785f611e18565b565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112b19061384a565b80601f01602080910402602001604051908101604052809291908181526020018280546112dd9061384a565b80156113285780601f106112ff57610100808354040283529160200191611328565b820191905f5260205f20905b81548152906001019060200180831161130b57829003601f168201915b5050505050905090565b601260029054906101000a900460ff1681565b60125f9054906101000a900460ff1615611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b90613c62565b60405180910390fd5b5f61139d610c3c565b90505f82116113e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d890613cca565b60405180910390fd5b601054821115611426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141d90613d58565b60405180910390fd5b600f5482826114359190613da3565b1115611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d90613e20565b60405180910390fd5b61147e61127a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115f75760011515601260029054906101000a900460ff161515036115a6576114d433610e06565b611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a90613e88565b60405180910390fd5b5f60145f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905060115483826115639190613da3565b11156115a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159b90613ef0565b60405180910390fd5b505b81600e546115b49190613f0e565b3410156115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed90613f99565b60405180910390fd5b5b5f5b828110156116a0575f61160b33611edb565b905060145f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81548092919061165a90613fb7565b91905055506116693382611f33565b600160175f8381526020019081526020015f205f6101000a81548160ff0219169083151502179055505080806001019150506115f9565b505050565b6116b76116b0611ce5565b8383611f50565b5050565b6116c3611b9f565b6001601260016101000a81548160ff021916908315150217905550565b6116eb848484610c63565b6116ff6116f6611ce5565b858585856120b9565b50505050565b60138181548110611714575f80fd5b905f5260205f20015f915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b600c80546117539061384a565b80601f016020809104026020016040519081016040528092919081815260200182805461177f9061384a565b80156117ca5780601f106117a1576101008083540402835291602001916117ca565b820191905f5260205f20905b8154815290600101906020018083116117ad57829003601f168201915b505050505081565b606060175f8381526020019081526020015f205f9054906101000a900460ff16611831576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118289061406e565b60405180910390fd5b601260019054906101000a900460ff166118d557600d80546118529061384a565b80601f016020809104026020016040519081016040528092919081815260200182805461187e9061384a565b80156118c95780601f106118a0576101008083540402835291602001916118c9565b820191905f5260205f20905b8154815290600101906020018083116118ac57829003601f168201915b5050505050905061192e565b5f6118de612265565b90505f8151116118fc5760405180602001604052805f81525061192a565b80611906846122f5565b600c60405160200161191a93929190614146565b6040516020818303038152906040525b9150505b919050565b61193b611b9f565b8060118190555050565b600f5481565b611953611b9f565b80600c90816119629190613b49565b5050565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6119fc611b9f565b60135f611a099190612f51565b818160139190611a1a929190612f6f565b505050565b611a27611b9f565b80600d9081611a369190613b49565b5050565b611a42611b9f565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ab2575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611aa9919061326d565b60405180910390fd5b611abb81611e18565b50565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b8857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b985750611b97826123bf565b5b9050919050565b611ba7611ce5565b73ffffffffffffffffffffffffffffffffffffffff16611bc561127a565b73ffffffffffffffffffffffffffffffffffffffff1614611c2457611be8611ce5565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611c1b919061326d565b60405180910390fd5b565b5f80611c3183612428565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ca357826040517f7e273289000000000000000000000000000000000000000000000000000000008152600401611c9a91906132fd565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b611cf98383836001612461565b505050565b5f80611d0b858585612620565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d4e57611d498461282b565b611d8d565b8473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d8c57611d8b818561286f565b5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611dce57611dc984612946565b611e0d565b8473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e0c57611e0b8585612a06565b5b5b809150509392505050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80424484601654604051602001611ef694939291906141db565b604051602081830303815290604052805190602001205f1c90505f60165482611f1f9190614255565b9050611f2a81612a8a565b92505050919050565b611f4c828260405180602001604052805f815250612b67565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fc057816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401611fb7919061326d565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120ac91906130d2565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b111561225e578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02868685856040518563ffffffff1660e01b815260040161211794939291906142d7565b6020604051808303815f875af192505050801561215257506040513d601f19601f8201168201806040525081019061214f9190614335565b60015b6121d3573d805f8114612180576040519150601f19603f3d011682016040523d82523d5f602084013e612185565b606091505b505f8151036121cb57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016121c2919061326d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461225c57836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612253919061326d565b60405180910390fd5b505b5050505050565b6060600b80546122749061384a565b80601f01602080910402602001604051908101604052809291908181526020018280546122a09061384a565b80156122eb5780601f106122c2576101008083540402835291602001916122eb565b820191905f5260205f20905b8154815290600101906020018083116122ce57829003601f168201915b5050505050905090565b60605f600161230384612b8a565b0190505f8167ffffffffffffffff81111561232157612320613470565b5b6040519080825280601f01601f1916602001820160405280156123535781602001600182028036833780820191505090505b5090505f82602001820190505b6001156123b4578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816123a9576123a8614228565b5b0494505f8503612360575b819350505050919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061249957505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156125cb575f6124a884611c26565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561251257508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561252557506125238184611966565b155b1561256757826040517fa9fbf51f00000000000000000000000000000000000000000000000000000000815260040161255e919061326d565b60405180910390fd5b81156125c957838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b5f8061262b84612428565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461266c5761266b818486612cdb565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146126f7576126ab5f855f80612461565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461277657600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b60088054905060095f8381526020019081526020015f2081905550600881908060018154018082558091505060019003905f5260205f20015f909190919091505550565b5f612879836111b1565b90505f60075f8481526020019081526020015f205490505f60065f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f209050828214612918575f815f8581526020019081526020015f2054905080825f8581526020019081526020015f20819055508260075f8381526020019081526020015f2081905550505b60075f8581526020019081526020015f205f9055805f8481526020019081526020015f205f90555050505050565b5f60016008805490506129599190614360565b90505f60095f8481526020019081526020015f205490505f60088381548110612985576129846138d6565b5b905f5260205f200154905080600883815481106129a5576129a46138d6565b5b905f5260205f2001819055508160095f8381526020019081526020015f208190555060095f8581526020019081526020015f205f905560088054806129ed576129ec614393565b5b600190038181905f5260205f20015f9055905550505050565b5f6001612a12846111b1565b612a1c9190614360565b90508160065f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f20819055508060075f8481526020019081526020015f2081905550505050565b5f805f60155f8581526020019081526020015f205414612abd5760155f8481526020019081526020015f20549050612acd565b600183612aca9190613da3565b90505b5f6001601654612add9190614360565b90505f60155f8381526020019081526020015f205403612b1e57600181612b049190613da3565b60155f8681526020019081526020015f2081905550612b46565b60155f8281526020019081526020015f205460155f8681526020019081526020015f20819055505b60165f815480929190612b58906143c0565b91905055508192505050919050565b612b718383612d9e565b612b85612b7c611ce5565b5f8585856120b9565b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612be6577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612bdc57612bdb614228565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612c23576d04ee2d6d415b85acef81000000008381612c1957612c18614228565b5b0492506020810190505b662386f26fc100008310612c5257662386f26fc100008381612c4857612c47614228565b5b0492506010810190505b6305f5e1008310612c7b576305f5e1008381612c7157612c70614228565b5b0492506008810190505b6127108310612ca0576127108381612c9657612c95614228565b5b0492506004810190505b60648310612cc35760648381612cb957612cb8614228565b5b0492506002810190505b600a8310612cd2576001810190505b80915050919050565b612ce6838383612e91565b612d99575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d5a57806040517f7e273289000000000000000000000000000000000000000000000000000000008152600401612d5191906132fd565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401612d909291906138af565b60405180910390fd5b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612e0e575f6040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612e05919061326d565b60405180910390fd5b5f612e1a83835f611cfe565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612e8c575f6040517f73c6ac6e000000000000000000000000000000000000000000000000000000008152600401612e83919061326d565b60405180910390fd5b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612f4857508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612f095750612f088484611966565b5b80612f4757508273ffffffffffffffffffffffffffffffffffffffff16612f2f83611cac565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b5080545f8255905f5260205f2090810190612f6c919061300c565b50565b828054828255905f5260205f20908101928215612ffb579160200282015b82811115612ffa57823573ffffffffffffffffffffffffffffffffffffffff16825f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190612f8d565b5b509050613008919061300c565b5090565b5b80821115613023575f815f90555060010161300d565b5090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61306c81613038565b8114613076575f80fd5b50565b5f8135905061308781613063565b92915050565b5f602082840312156130a2576130a1613030565b5b5f6130af84828501613079565b91505092915050565b5f8115159050919050565b6130cc816130b8565b82525050565b5f6020820190506130e55f8301846130c3565b92915050565b6130f4816130b8565b81146130fe575f80fd5b50565b5f8135905061310f816130eb565b92915050565b5f6020828403121561312a57613129613030565b5b5f61313784828501613101565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61318282613140565b61318c818561314a565b935061319c81856020860161315a565b6131a581613168565b840191505092915050565b5f6020820190508181035f8301526131c88184613178565b905092915050565b5f819050919050565b6131e2816131d0565b81146131ec575f80fd5b50565b5f813590506131fd816131d9565b92915050565b5f6020828403121561321857613217613030565b5b5f613225848285016131ef565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6132578261322e565b9050919050565b6132678161324d565b82525050565b5f6020820190506132805f83018461325e565b92915050565b61328f8161324d565b8114613299575f80fd5b50565b5f813590506132aa81613286565b92915050565b5f80604083850312156132c6576132c5613030565b5b5f6132d38582860161329c565b92505060206132e4858286016131ef565b9150509250929050565b6132f7816131d0565b82525050565b5f6020820190506133105f8301846132ee565b92915050565b5f6020828403121561332b5761332a613030565b5b5f6133388482850161329c565b91505092915050565b5f805f6060848603121561335857613357613030565b5b5f6133658682870161329c565b93505060206133768682870161329c565b9250506040613387868287016131ef565b9150509250925092565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6133c3816131d0565b82525050565b5f6133d483836133ba565b60208301905092915050565b5f602082019050919050565b5f6133f682613391565b613400818561339b565b935061340b836133ab565b805f5b8381101561343b57815161342288826133c9565b975061342d836133e0565b92505060018101905061340e565b5085935050505092915050565b5f6020820190508181035f83015261346081846133ec565b905092915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6134a682613168565b810181811067ffffffffffffffff821117156134c5576134c4613470565b5b80604052505050565b5f6134d7613027565b90506134e3828261349d565b919050565b5f67ffffffffffffffff82111561350257613501613470565b5b61350b82613168565b9050602081019050919050565b828183375f83830152505050565b5f613538613533846134e8565b6134ce565b9050828152602081018484840111156135545761355361346c565b5b61355f848285613518565b509392505050565b5f82601f83011261357b5761357a613468565b5b813561358b848260208601613526565b91505092915050565b5f602082840312156135a9576135a8613030565b5b5f82013567ffffffffffffffff8111156135c6576135c5613034565b5b6135d284828501613567565b91505092915050565b5f80604083850312156135f1576135f0613030565b5b5f6135fe8582860161329c565b925050602061360f85828601613101565b9150509250929050565b5f67ffffffffffffffff82111561363357613632613470565b5b61363c82613168565b9050602081019050919050565b5f61365b61365684613619565b6134ce565b9050828152602081018484840111156136775761367661346c565b5b613682848285613518565b509392505050565b5f82601f83011261369e5761369d613468565b5b81356136ae848260208601613649565b91505092915050565b5f805f80608085870312156136cf576136ce613030565b5b5f6136dc8782880161329c565b94505060206136ed8782880161329c565b93505060406136fe878288016131ef565b925050606085013567ffffffffffffffff81111561371f5761371e613034565b5b61372b8782880161368a565b91505092959194509250565b5f806040838503121561374d5761374c613030565b5b5f61375a8582860161329c565b925050602061376b8582860161329c565b9150509250929050565b5f80fd5b5f80fd5b5f8083601f84011261379257613791613468565b5b8235905067ffffffffffffffff8111156137af576137ae613775565b5b6020830191508360208202830111156137cb576137ca613779565b5b9250929050565b5f80602083850312156137e8576137e7613030565b5b5f83013567ffffffffffffffff81111561380557613804613034565b5b6138118582860161377d565b92509250509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061386157607f821691505b6020821081036138745761387361381d565b5b50919050565b5f60608201905061388d5f83018661325e565b61389a60208301856132ee565b6138a7604083018461325e565b949350505050565b5f6040820190506138c25f83018561325e565b6138cf60208301846132ee565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81905092915050565b50565b5f61391b5f83613903565b91506139268261390d565b5f82019050919050565b5f61393a82613910565b9150819050919050565b7f4661696c656420746f2073656e6420457468657220746f206f776e65720000005f82015250565b5f613978601d8361314a565b915061398382613944565b602082019050919050565b5f6020820190508181035f8301526139a58161396c565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302613a087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826139cd565b613a1286836139cd565b95508019841693508086168417925050509392505050565b5f819050919050565b5f613a4d613a48613a43846131d0565b613a2a565b6131d0565b9050919050565b5f819050919050565b613a6683613a33565b613a7a613a7282613a54565b8484546139d9565b825550505050565b5f90565b613a8e613a82565b613a99818484613a5d565b505050565b5b81811015613abc57613ab15f82613a86565b600181019050613a9f565b5050565b601f821115613b0157613ad2816139ac565b613adb846139be565b81016020851015613aea578190505b613afe613af6856139be565b830182613a9e565b50505b505050565b5f82821c905092915050565b5f613b215f1984600802613b06565b1980831691505092915050565b5f613b398383613b12565b9150826002028217905092915050565b613b5282613140565b67ffffffffffffffff811115613b6b57613b6a613470565b5b613b75825461384a565b613b80828285613ac0565b5f60209050601f831160018114613bb1575f8415613b9f578287015190505b613ba98582613b2e565b865550613c10565b601f198416613bbf866139ac565b5f5b82811015613be657848901518255600182019150602085019450602081019050613bc1565b86831015613c035784890151613bff601f891682613b12565b8355505b6001600288020188555050505b505050505050565b7f54686520636f6e747261637420697320706175736564000000000000000000005f82015250565b5f613c4c60168361314a565b9150613c5782613c18565b602082019050919050565b5f6020820190508181035f830152613c7981613c40565b9050919050565b7f4e65656420746f206d696e74206174206c656173742031204e465400000000005f82015250565b5f613cb4601b8361314a565b9150613cbf82613c80565b602082019050919050565b5f6020820190508181035f830152613ce181613ca8565b9050919050565b7f4d6178206d696e7420616d6f756e74207065722073657373696f6e20657863655f8201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b5f613d4260248361314a565b9150613d4d82613ce8565b604082019050919050565b5f6020820190508181035f830152613d6f81613d36565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613dad826131d0565b9150613db8836131d0565b9250828201905080821115613dd057613dcf613d76565b5b92915050565b7f4d6178204e4654206c696d6974206578636565646564000000000000000000005f82015250565b5f613e0a60168361314a565b9150613e1582613dd6565b602082019050919050565b5f6020820190508181035f830152613e3781613dfe565b9050919050565b7f55736572206973206e6f742077686974656c69737465640000000000000000005f82015250565b5f613e7260178361314a565b9150613e7d82613e3e565b602082019050919050565b5f6020820190508181035f830152613e9f81613e66565b9050919050565b7f4d6178204e4654207065722061646472657373206578636565646564000000005f82015250565b5f613eda601c8361314a565b9150613ee582613ea6565b602082019050919050565b5f6020820190508181035f830152613f0781613ece565b9050919050565b5f613f18826131d0565b9150613f23836131d0565b9250828202613f31816131d0565b91508282048414831517613f4857613f47613d76565b5b5092915050565b7f496e73756666696369656e742066756e647300000000000000000000000000005f82015250565b5f613f8360128361314a565b9150613f8e82613f4f565b602082019050919050565b5f6020820190508181035f830152613fb081613f77565b9050919050565b5f613fc1826131d0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ff357613ff2613d76565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f614058602f8361314a565b915061406382613ffe565b604082019050919050565b5f6020820190508181035f8301526140858161404c565b9050919050565b5f81905092915050565b5f6140a082613140565b6140aa818561408c565b93506140ba81856020860161315a565b80840191505092915050565b5f81546140d28161384a565b6140dc818661408c565b9450600182165f81146140f6576001811461410b5761413d565b60ff198316865281151582028601935061413d565b614114856139ac565b5f5b8381101561413557815481890152600182019150602081019050614116565b838801955050505b50505092915050565b5f6141518286614096565b915061415d8285614096565b915061416982846140c6565b9150819050949350505050565b5f819050919050565b61419061418b826131d0565b614176565b82525050565b5f8160601b9050919050565b5f6141ac82614196565b9050919050565b5f6141bd826141a2565b9050919050565b6141d56141d08261324d565b6141b3565b82525050565b5f6141e6828761417f565b6020820191506141f6828661417f565b60208201915061420682856141c4565b601482019150614216828461417f565b60208201915081905095945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61425f826131d0565b915061426a836131d0565b92508261427a57614279614228565b5b828206905092915050565b5f81519050919050565b5f82825260208201905092915050565b5f6142a982614285565b6142b3818561428f565b93506142c381856020860161315a565b6142cc81613168565b840191505092915050565b5f6080820190506142ea5f83018761325e565b6142f7602083018661325e565b61430460408301856132ee565b8181036060830152614316818461429f565b905095945050505050565b5f8151905061432f81613063565b92915050565b5f6020828403121561434a57614349613030565b5b5f61435784828501614321565b91505092915050565b5f61436a826131d0565b9150614375836131d0565b925082820390508181111561438d5761438c613d76565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f6143ca826131d0565b91505f82036143dc576143db613d76565b5b60018203905091905056fea26469706673582212206e0e2a085897db3f6214c2d231965f6ff964a1b3a3ed44dd9ef0f6744473f88864736f6c634300081a0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000094150454c414e5449410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4150454c414e5449414e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d575763634d675569734545794d5634446b724356504c58345a6b5461416d68765655506f667273474c5779652f000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d5a55537865764d33653539735a50536e433546434a575467386175437a4374395631777969444c4e433336412f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405260043610610271575f3560e01c80635c975abb1161014e578063b88d4fde116100c0578063d5abeb0111610079578063d5abeb0114610935578063da3ef23f1461095f578063e985e9c514610987578063edec5f27146109c3578063f2c4ce1e146109eb578063f2fde38b14610a1357610271565b8063b88d4fde14610819578063ba4e5c4914610841578063ba7d2c761461087d578063c6682862146108a7578063c87b56dd146108d1578063d0eb26b01461090d57610271565b80638da5cb5b116101125780638da5cb5b1461074157806395d89b411461076b5780639c70b51214610795578063a0712d68146107bf578063a22cb465146107db578063a475b5dd1461080357610271565b80635c975abb1461065f5780636352211e146106895780636c0360eb146106c557806370a08231146106ef578063715018a61461072b57610271565b806323b872dd116101e757806342842e0e116101ab57806342842e0e14610545578063438b63001461056d57806344a0d68a146105a95780634f6ccce7146105d1578063518302271461060d57806355f804b31461063757610271565b806323b872dd146104735780632f745c591461049b5780633af32abf146104d75780633c952764146105135780633ccfd60b1461053b57610271565b8063088a4ed011610239578063088a4ed014610369578063095ea7b31461039157806313faede6146103b957806318160ddd146103e357806318cae2691461040d578063239c70ae1461044957610271565b806301ffc9a71461027557806302329a29146102b157806306fdde03146102d9578063081812fc14610303578063081c8c441461033f575b5f80fd5b348015610280575f80fd5b5061029b6004803603810190610296919061308d565b610a3b565b6040516102a891906130d2565b60405180910390f35b3480156102bc575f80fd5b506102d760048036038101906102d29190613115565b610ab4565b005b3480156102e4575f80fd5b506102ed610ad8565b6040516102fa91906131b0565b60405180910390f35b34801561030e575f80fd5b5061032960048036038101906103249190613203565b610b67565b604051610336919061326d565b60405180910390f35b34801561034a575f80fd5b50610353610b82565b60405161036091906131b0565b60405180910390f35b348015610374575f80fd5b5061038f600480360381019061038a9190613203565b610c0e565b005b34801561039c575f80fd5b506103b760048036038101906103b291906132b0565b610c20565b005b3480156103c4575f80fd5b506103cd610c36565b6040516103da91906132fd565b60405180910390f35b3480156103ee575f80fd5b506103f7610c3c565b60405161040491906132fd565b60405180910390f35b348015610418575f80fd5b50610433600480360381019061042e9190613316565b610c48565b60405161044091906132fd565b60405180910390f35b348015610454575f80fd5b5061045d610c5d565b60405161046a91906132fd565b60405180910390f35b34801561047e575f80fd5b5061049960048036038101906104949190613341565b610c63565b005b3480156104a6575f80fd5b506104c160048036038101906104bc91906132b0565b610d62565b6040516104ce91906132fd565b60405180910390f35b3480156104e2575f80fd5b506104fd60048036038101906104f89190613316565b610e06565b60405161050a91906130d2565b60405180910390f35b34801561051e575f80fd5b5061053960048036038101906105349190613115565b610ea8565b005b610543610ecd565b005b348015610550575f80fd5b5061056b60048036038101906105669190613341565b610f8c565b005b348015610578575f80fd5b50610593600480360381019061058e9190613316565b610fab565b6040516105a09190613448565b60405180910390f35b3480156105b4575f80fd5b506105cf60048036038101906105ca9190613203565b611050565b005b3480156105dc575f80fd5b506105f760048036038101906105f29190613203565b611062565b60405161060491906132fd565b60405180910390f35b348015610618575f80fd5b506106216110d4565b60405161062e91906130d2565b60405180910390f35b348015610642575f80fd5b5061065d60048036038101906106589190613594565b6110e7565b005b34801561066a575f80fd5b50610673611102565b60405161068091906130d2565b60405180910390f35b348015610694575f80fd5b506106af60048036038101906106aa9190613203565b611114565b6040516106bc919061326d565b60405180910390f35b3480156106d0575f80fd5b506106d9611125565b6040516106e691906131b0565b60405180910390f35b3480156106fa575f80fd5b5061071560048036038101906107109190613316565b6111b1565b60405161072291906132fd565b60405180910390f35b348015610736575f80fd5b5061073f611267565b005b34801561074c575f80fd5b5061075561127a565b604051610762919061326d565b60405180910390f35b348015610776575f80fd5b5061077f6112a2565b60405161078c91906131b0565b60405180910390f35b3480156107a0575f80fd5b506107a9611332565b6040516107b691906130d2565b60405180910390f35b6107d960048036038101906107d49190613203565b611345565b005b3480156107e6575f80fd5b5061080160048036038101906107fc91906135db565b6116a5565b005b34801561080e575f80fd5b506108176116bb565b005b348015610824575f80fd5b5061083f600480360381019061083a91906136b7565b6116e0565b005b34801561084c575f80fd5b5061086760048036038101906108629190613203565b611705565b604051610874919061326d565b60405180910390f35b348015610888575f80fd5b50610891611740565b60405161089e91906132fd565b60405180910390f35b3480156108b2575f80fd5b506108bb611746565b6040516108c891906131b0565b60405180910390f35b3480156108dc575f80fd5b506108f760048036038101906108f29190613203565b6117d2565b60405161090491906131b0565b60405180910390f35b348015610918575f80fd5b50610933600480360381019061092e9190613203565b611933565b005b348015610940575f80fd5b50610949611945565b60405161095691906132fd565b60405180910390f35b34801561096a575f80fd5b5061098560048036038101906109809190613594565b61194b565b005b348015610992575f80fd5b506109ad60048036038101906109a89190613737565b611966565b6040516109ba91906130d2565b60405180910390f35b3480156109ce575f80fd5b506109e960048036038101906109e491906137d2565b6119f4565b005b3480156109f6575f80fd5b50610a116004803603810190610a0c9190613594565b611a1f565b005b348015610a1e575f80fd5b50610a396004803603810190610a349190613316565b611a3a565b005b5f7f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aad5750610aac82611abe565b5b9050919050565b610abc611b9f565b8060125f6101000a81548160ff02191690831515021790555050565b60605f8054610ae69061384a565b80601f0160208091040260200160405190810160405280929190818152602001828054610b129061384a565b8015610b5d5780601f10610b3457610100808354040283529160200191610b5d565b820191905f5260205f20905b815481529060010190602001808311610b4057829003601f168201915b5050505050905090565b5f610b7182611c26565b50610b7b82611cac565b9050919050565b600d8054610b8f9061384a565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbb9061384a565b8015610c065780601f10610bdd57610100808354040283529160200191610c06565b820191905f5260205f20905b815481529060010190602001808311610be957829003601f168201915b505050505081565b610c16611b9f565b8060108190555050565b610c328282610c2d611ce5565b611cec565b5050565b600e5481565b5f600880549050905090565b6014602052805f5260405f205f915090505481565b60105481565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610cd3575f6040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401610cca919061326d565b60405180910390fd5b5f610ce68383610ce1611ce5565b611cfe565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d5c578382826040517f64283d7b000000000000000000000000000000000000000000000000000000008152600401610d539392919061387a565b60405180910390fd5b50505050565b5f610d6c836111b1565b8210610db15782826040517fa57d13dc000000000000000000000000000000000000000000000000000000008152600401610da89291906138af565b60405180910390fd5b60065f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f2054905092915050565b5f805f90505b601380549050811015610e9e578273ffffffffffffffffffffffffffffffffffffffff1660138281548110610e4457610e436138d6565b5b905f5260205f20015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610e91576001915050610ea3565b8080600101915050610e0c565b505f90505b919050565b610eb0611b9f565b80601260026101000a81548160ff02191690831515021790555050565b610ed5611b9f565b5f4790505f610ee261127a565b73ffffffffffffffffffffffffffffffffffffffff1682604051610f0590613930565b5f6040518083038185875af1925050503d805f8114610f3f576040519150601f19603f3d011682016040523d82523d5f602084013e610f44565b606091505b5050905080610f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7f9061398e565b60405180910390fd5b5050565b610fa683838360405180602001604052805f8152506116e0565b505050565b60605f610fb7836111b1565b90505f8167ffffffffffffffff811115610fd457610fd3613470565b5b6040519080825280602002602001820160405280156110025781602001602082028036833780820191505090505b5090505f5b82811015611045576110198582610d62565b82828151811061102c5761102b6138d6565b5b6020026020010181815250508080600101915050611007565b508092505050919050565b611058611b9f565b80600e8190555050565b5f61106b610c3c565b82106110b0575f826040517fa57d13dc0000000000000000000000000000000000000000000000000000000081526004016110a79291906138af565b60405180910390fd5b600882815481106110c4576110c36138d6565b5b905f5260205f2001549050919050565b601260019054906101000a900460ff1681565b6110ef611b9f565b80600b90816110fe9190613b49565b5050565b60125f9054906101000a900460ff1681565b5f61111e82611c26565b9050919050565b600b80546111329061384a565b80601f016020809104026020016040519081016040528092919081815260200182805461115e9061384a565b80156111a95780601f10611180576101008083540402835291602001916111a9565b820191905f5260205f20905b81548152906001019060200180831161118c57829003601f168201915b505050505081565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611222575f6040517f89c62b64000000000000000000000000000000000000000000000000000000008152600401611219919061326d565b60405180910390fd5b60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b61126f611b9f565b6112785f611e18565b565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112b19061384a565b80601f01602080910402602001604051908101604052809291908181526020018280546112dd9061384a565b80156113285780601f106112ff57610100808354040283529160200191611328565b820191905f5260205f20905b81548152906001019060200180831161130b57829003601f168201915b5050505050905090565b601260029054906101000a900460ff1681565b60125f9054906101000a900460ff1615611394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138b90613c62565b60405180910390fd5b5f61139d610c3c565b90505f82116113e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d890613cca565b60405180910390fd5b601054821115611426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141d90613d58565b60405180910390fd5b600f5482826114359190613da3565b1115611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d90613e20565b60405180910390fd5b61147e61127a565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115f75760011515601260029054906101000a900460ff161515036115a6576114d433610e06565b611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a90613e88565b60405180910390fd5b5f60145f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905060115483826115639190613da3565b11156115a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159b90613ef0565b60405180910390fd5b505b81600e546115b49190613f0e565b3410156115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed90613f99565b60405180910390fd5b5b5f5b828110156116a0575f61160b33611edb565b905060145f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81548092919061165a90613fb7565b91905055506116693382611f33565b600160175f8381526020019081526020015f205f6101000a81548160ff0219169083151502179055505080806001019150506115f9565b505050565b6116b76116b0611ce5565b8383611f50565b5050565b6116c3611b9f565b6001601260016101000a81548160ff021916908315150217905550565b6116eb848484610c63565b6116ff6116f6611ce5565b858585856120b9565b50505050565b60138181548110611714575f80fd5b905f5260205f20015f915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b600c80546117539061384a565b80601f016020809104026020016040519081016040528092919081815260200182805461177f9061384a565b80156117ca5780601f106117a1576101008083540402835291602001916117ca565b820191905f5260205f20905b8154815290600101906020018083116117ad57829003601f168201915b505050505081565b606060175f8381526020019081526020015f205f9054906101000a900460ff16611831576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118289061406e565b60405180910390fd5b601260019054906101000a900460ff166118d557600d80546118529061384a565b80601f016020809104026020016040519081016040528092919081815260200182805461187e9061384a565b80156118c95780601f106118a0576101008083540402835291602001916118c9565b820191905f5260205f20905b8154815290600101906020018083116118ac57829003601f168201915b5050505050905061192e565b5f6118de612265565b90505f8151116118fc5760405180602001604052805f81525061192a565b80611906846122f5565b600c60405160200161191a93929190614146565b6040516020818303038152906040525b9150505b919050565b61193b611b9f565b8060118190555050565b600f5481565b611953611b9f565b80600c90816119629190613b49565b5050565b5f60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6119fc611b9f565b60135f611a099190612f51565b818160139190611a1a929190612f6f565b505050565b611a27611b9f565b80600d9081611a369190613b49565b5050565b611a42611b9f565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ab2575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401611aa9919061326d565b60405180910390fd5b611abb81611e18565b50565b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b8857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611b985750611b97826123bf565b5b9050919050565b611ba7611ce5565b73ffffffffffffffffffffffffffffffffffffffff16611bc561127a565b73ffffffffffffffffffffffffffffffffffffffff1614611c2457611be8611ce5565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401611c1b919061326d565b60405180910390fd5b565b5f80611c3183612428565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ca357826040517f7e273289000000000000000000000000000000000000000000000000000000008152600401611c9a91906132fd565b60405180910390fd5b80915050919050565b5f60045f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f33905090565b611cf98383836001612461565b505050565b5f80611d0b858585612620565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d4e57611d498461282b565b611d8d565b8473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611d8c57611d8b818561286f565b5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611dce57611dc984612946565b611e0d565b8473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e0c57611e0b8585612a06565b5b5b809150509392505050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80424484601654604051602001611ef694939291906141db565b604051602081830303815290604052805190602001205f1c90505f60165482611f1f9190614255565b9050611f2a81612a8a565b92505050919050565b611f4c828260405180602001604052805f815250612b67565b5050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fc057816040517f5b08ba18000000000000000000000000000000000000000000000000000000008152600401611fb7919061326d565b60405180910390fd5b8060055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120ac91906130d2565b60405180910390a3505050565b5f8373ffffffffffffffffffffffffffffffffffffffff163b111561225e578273ffffffffffffffffffffffffffffffffffffffff1663150b7a02868685856040518563ffffffff1660e01b815260040161211794939291906142d7565b6020604051808303815f875af192505050801561215257506040513d601f19601f8201168201806040525081019061214f9190614335565b60015b6121d3573d805f8114612180576040519150601f19603f3d011682016040523d82523d5f602084013e612185565b606091505b505f8151036121cb57836040517f64a0ae920000000000000000000000000000000000000000000000000000000081526004016121c2919061326d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461225c57836040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612253919061326d565b60405180910390fd5b505b5050505050565b6060600b80546122749061384a565b80601f01602080910402602001604051908101604052809291908181526020018280546122a09061384a565b80156122eb5780601f106122c2576101008083540402835291602001916122eb565b820191905f5260205f20905b8154815290600101906020018083116122ce57829003601f168201915b5050505050905090565b60605f600161230384612b8a565b0190505f8167ffffffffffffffff81111561232157612320613470565b5b6040519080825280601f01601f1916602001820160405280156123535781602001600182028036833780820191505090505b5090505f82602001820190505b6001156123b4578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a85816123a9576123a8614228565b5b0494505f8503612360575b819350505050919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f60025f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b808061249957505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b156125cb575f6124a884611c26565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415801561251257508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b801561252557506125238184611966565b155b1561256757826040517fa9fbf51f00000000000000000000000000000000000000000000000000000000815260040161255e919061326d565b60405180910390fd5b81156125c957838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b8360045f8581526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050565b5f8061262b84612428565b90505f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461266c5761266b818486612cdb565b5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146126f7576126ab5f855f80612461565b600160035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825403925050819055505b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461277657600160035f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8460025f8681526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550838573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4809150509392505050565b60088054905060095f8381526020019081526020015f2081905550600881908060018154018082558091505060019003905f5260205f20015f909190919091505550565b5f612879836111b1565b90505f60075f8481526020019081526020015f205490505f60065f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f209050828214612918575f815f8581526020019081526020015f2054905080825f8581526020019081526020015f20819055508260075f8381526020019081526020015f2081905550505b60075f8581526020019081526020015f205f9055805f8481526020019081526020015f205f90555050505050565b5f60016008805490506129599190614360565b90505f60095f8481526020019081526020015f205490505f60088381548110612985576129846138d6565b5b905f5260205f200154905080600883815481106129a5576129a46138d6565b5b905f5260205f2001819055508160095f8381526020019081526020015f208190555060095f8581526020019081526020015f205f905560088054806129ed576129ec614393565b5b600190038181905f5260205f20015f9055905550505050565b5f6001612a12846111b1565b612a1c9190614360565b90508160065f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8381526020019081526020015f20819055508060075f8481526020019081526020015f2081905550505050565b5f805f60155f8581526020019081526020015f205414612abd5760155f8481526020019081526020015f20549050612acd565b600183612aca9190613da3565b90505b5f6001601654612add9190614360565b90505f60155f8381526020019081526020015f205403612b1e57600181612b049190613da3565b60155f8681526020019081526020015f2081905550612b46565b60155f8281526020019081526020015f205460155f8681526020019081526020015f20819055505b60165f815480929190612b58906143c0565b91905055508192505050919050565b612b718383612d9e565b612b85612b7c611ce5565b5f8585856120b9565b505050565b5f805f90507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612be6577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612bdc57612bdb614228565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612c23576d04ee2d6d415b85acef81000000008381612c1957612c18614228565b5b0492506020810190505b662386f26fc100008310612c5257662386f26fc100008381612c4857612c47614228565b5b0492506010810190505b6305f5e1008310612c7b576305f5e1008381612c7157612c70614228565b5b0492506008810190505b6127108310612ca0576127108381612c9657612c95614228565b5b0492506004810190505b60648310612cc35760648381612cb957612cb8614228565b5b0492506002810190505b600a8310612cd2576001810190505b80915050919050565b612ce6838383612e91565b612d99575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d5a57806040517f7e273289000000000000000000000000000000000000000000000000000000008152600401612d5191906132fd565b60405180910390fd5b81816040517f177e802f000000000000000000000000000000000000000000000000000000008152600401612d909291906138af565b60405180910390fd5b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612e0e575f6040517f64a0ae92000000000000000000000000000000000000000000000000000000008152600401612e05919061326d565b60405180910390fd5b5f612e1a83835f611cfe565b90505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612e8c575f6040517f73c6ac6e000000000000000000000000000000000000000000000000000000008152600401612e83919061326d565b60405180910390fd5b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612f4857508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612f095750612f088484611966565b5b80612f4757508273ffffffffffffffffffffffffffffffffffffffff16612f2f83611cac565b73ffffffffffffffffffffffffffffffffffffffff16145b5b90509392505050565b5080545f8255905f5260205f2090810190612f6c919061300c565b50565b828054828255905f5260205f20908101928215612ffb579160200282015b82811115612ffa57823573ffffffffffffffffffffffffffffffffffffffff16825f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190612f8d565b5b509050613008919061300c565b5090565b5b80821115613023575f815f90555060010161300d565b5090565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61306c81613038565b8114613076575f80fd5b50565b5f8135905061308781613063565b92915050565b5f602082840312156130a2576130a1613030565b5b5f6130af84828501613079565b91505092915050565b5f8115159050919050565b6130cc816130b8565b82525050565b5f6020820190506130e55f8301846130c3565b92915050565b6130f4816130b8565b81146130fe575f80fd5b50565b5f8135905061310f816130eb565b92915050565b5f6020828403121561312a57613129613030565b5b5f61313784828501613101565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61318282613140565b61318c818561314a565b935061319c81856020860161315a565b6131a581613168565b840191505092915050565b5f6020820190508181035f8301526131c88184613178565b905092915050565b5f819050919050565b6131e2816131d0565b81146131ec575f80fd5b50565b5f813590506131fd816131d9565b92915050565b5f6020828403121561321857613217613030565b5b5f613225848285016131ef565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6132578261322e565b9050919050565b6132678161324d565b82525050565b5f6020820190506132805f83018461325e565b92915050565b61328f8161324d565b8114613299575f80fd5b50565b5f813590506132aa81613286565b92915050565b5f80604083850312156132c6576132c5613030565b5b5f6132d38582860161329c565b92505060206132e4858286016131ef565b9150509250929050565b6132f7816131d0565b82525050565b5f6020820190506133105f8301846132ee565b92915050565b5f6020828403121561332b5761332a613030565b5b5f6133388482850161329c565b91505092915050565b5f805f6060848603121561335857613357613030565b5b5f6133658682870161329c565b93505060206133768682870161329c565b9250506040613387868287016131ef565b9150509250925092565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b6133c3816131d0565b82525050565b5f6133d483836133ba565b60208301905092915050565b5f602082019050919050565b5f6133f682613391565b613400818561339b565b935061340b836133ab565b805f5b8381101561343b57815161342288826133c9565b975061342d836133e0565b92505060018101905061340e565b5085935050505092915050565b5f6020820190508181035f83015261346081846133ec565b905092915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6134a682613168565b810181811067ffffffffffffffff821117156134c5576134c4613470565b5b80604052505050565b5f6134d7613027565b90506134e3828261349d565b919050565b5f67ffffffffffffffff82111561350257613501613470565b5b61350b82613168565b9050602081019050919050565b828183375f83830152505050565b5f613538613533846134e8565b6134ce565b9050828152602081018484840111156135545761355361346c565b5b61355f848285613518565b509392505050565b5f82601f83011261357b5761357a613468565b5b813561358b848260208601613526565b91505092915050565b5f602082840312156135a9576135a8613030565b5b5f82013567ffffffffffffffff8111156135c6576135c5613034565b5b6135d284828501613567565b91505092915050565b5f80604083850312156135f1576135f0613030565b5b5f6135fe8582860161329c565b925050602061360f85828601613101565b9150509250929050565b5f67ffffffffffffffff82111561363357613632613470565b5b61363c82613168565b9050602081019050919050565b5f61365b61365684613619565b6134ce565b9050828152602081018484840111156136775761367661346c565b5b613682848285613518565b509392505050565b5f82601f83011261369e5761369d613468565b5b81356136ae848260208601613649565b91505092915050565b5f805f80608085870312156136cf576136ce613030565b5b5f6136dc8782880161329c565b94505060206136ed8782880161329c565b93505060406136fe878288016131ef565b925050606085013567ffffffffffffffff81111561371f5761371e613034565b5b61372b8782880161368a565b91505092959194509250565b5f806040838503121561374d5761374c613030565b5b5f61375a8582860161329c565b925050602061376b8582860161329c565b9150509250929050565b5f80fd5b5f80fd5b5f8083601f84011261379257613791613468565b5b8235905067ffffffffffffffff8111156137af576137ae613775565b5b6020830191508360208202830111156137cb576137ca613779565b5b9250929050565b5f80602083850312156137e8576137e7613030565b5b5f83013567ffffffffffffffff81111561380557613804613034565b5b6138118582860161377d565b92509250509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061386157607f821691505b6020821081036138745761387361381d565b5b50919050565b5f60608201905061388d5f83018661325e565b61389a60208301856132ee565b6138a7604083018461325e565b949350505050565b5f6040820190506138c25f83018561325e565b6138cf60208301846132ee565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f81905092915050565b50565b5f61391b5f83613903565b91506139268261390d565b5f82019050919050565b5f61393a82613910565b9150819050919050565b7f4661696c656420746f2073656e6420457468657220746f206f776e65720000005f82015250565b5f613978601d8361314a565b915061398382613944565b602082019050919050565b5f6020820190508181035f8301526139a58161396c565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302613a087fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826139cd565b613a1286836139cd565b95508019841693508086168417925050509392505050565b5f819050919050565b5f613a4d613a48613a43846131d0565b613a2a565b6131d0565b9050919050565b5f819050919050565b613a6683613a33565b613a7a613a7282613a54565b8484546139d9565b825550505050565b5f90565b613a8e613a82565b613a99818484613a5d565b505050565b5b81811015613abc57613ab15f82613a86565b600181019050613a9f565b5050565b601f821115613b0157613ad2816139ac565b613adb846139be565b81016020851015613aea578190505b613afe613af6856139be565b830182613a9e565b50505b505050565b5f82821c905092915050565b5f613b215f1984600802613b06565b1980831691505092915050565b5f613b398383613b12565b9150826002028217905092915050565b613b5282613140565b67ffffffffffffffff811115613b6b57613b6a613470565b5b613b75825461384a565b613b80828285613ac0565b5f60209050601f831160018114613bb1575f8415613b9f578287015190505b613ba98582613b2e565b865550613c10565b601f198416613bbf866139ac565b5f5b82811015613be657848901518255600182019150602085019450602081019050613bc1565b86831015613c035784890151613bff601f891682613b12565b8355505b6001600288020188555050505b505050505050565b7f54686520636f6e747261637420697320706175736564000000000000000000005f82015250565b5f613c4c60168361314a565b9150613c5782613c18565b602082019050919050565b5f6020820190508181035f830152613c7981613c40565b9050919050565b7f4e65656420746f206d696e74206174206c656173742031204e465400000000005f82015250565b5f613cb4601b8361314a565b9150613cbf82613c80565b602082019050919050565b5f6020820190508181035f830152613ce181613ca8565b9050919050565b7f4d6178206d696e7420616d6f756e74207065722073657373696f6e20657863655f8201527f6564656400000000000000000000000000000000000000000000000000000000602082015250565b5f613d4260248361314a565b9150613d4d82613ce8565b604082019050919050565b5f6020820190508181035f830152613d6f81613d36565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613dad826131d0565b9150613db8836131d0565b9250828201905080821115613dd057613dcf613d76565b5b92915050565b7f4d6178204e4654206c696d6974206578636565646564000000000000000000005f82015250565b5f613e0a60168361314a565b9150613e1582613dd6565b602082019050919050565b5f6020820190508181035f830152613e3781613dfe565b9050919050565b7f55736572206973206e6f742077686974656c69737465640000000000000000005f82015250565b5f613e7260178361314a565b9150613e7d82613e3e565b602082019050919050565b5f6020820190508181035f830152613e9f81613e66565b9050919050565b7f4d6178204e4654207065722061646472657373206578636565646564000000005f82015250565b5f613eda601c8361314a565b9150613ee582613ea6565b602082019050919050565b5f6020820190508181035f830152613f0781613ece565b9050919050565b5f613f18826131d0565b9150613f23836131d0565b9250828202613f31816131d0565b91508282048414831517613f4857613f47613d76565b5b5092915050565b7f496e73756666696369656e742066756e647300000000000000000000000000005f82015250565b5f613f8360128361314a565b9150613f8e82613f4f565b602082019050919050565b5f6020820190508181035f830152613fb081613f77565b9050919050565b5f613fc1826131d0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613ff357613ff2613d76565b5b600182019050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f614058602f8361314a565b915061406382613ffe565b604082019050919050565b5f6020820190508181035f8301526140858161404c565b9050919050565b5f81905092915050565b5f6140a082613140565b6140aa818561408c565b93506140ba81856020860161315a565b80840191505092915050565b5f81546140d28161384a565b6140dc818661408c565b9450600182165f81146140f6576001811461410b5761413d565b60ff198316865281151582028601935061413d565b614114856139ac565b5f5b8381101561413557815481890152600182019150602081019050614116565b838801955050505b50505092915050565b5f6141518286614096565b915061415d8285614096565b915061416982846140c6565b9150819050949350505050565b5f819050919050565b61419061418b826131d0565b614176565b82525050565b5f8160601b9050919050565b5f6141ac82614196565b9050919050565b5f6141bd826141a2565b9050919050565b6141d56141d08261324d565b6141b3565b82525050565b5f6141e6828761417f565b6020820191506141f6828661417f565b60208201915061420682856141c4565b601482019150614216828461417f565b60208201915081905095945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61425f826131d0565b915061426a836131d0565b92508261427a57614279614228565b5b828206905092915050565b5f81519050919050565b5f82825260208201905092915050565b5f6142a982614285565b6142b3818561428f565b93506142c381856020860161315a565b6142cc81613168565b840191505092915050565b5f6080820190506142ea5f83018761325e565b6142f7602083018661325e565b61430460408301856132ee565b8181036060830152614316818461429f565b905095945050505050565b5f8151905061432f81613063565b92915050565b5f6020828403121561434a57614349613030565b5b5f61435784828501614321565b91505092915050565b5f61436a826131d0565b9150614375836131d0565b925082820390508181111561438d5761438c613d76565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603160045260245ffd5b5f6143ca826131d0565b91505f82036143dc576143db613d76565b5b60018203905091905056fea26469706673582212206e0e2a085897db3f6214c2d231965f6ff964a1b3a3ed44dd9ef0f6744473f88864736f6c634300081a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000094150454c414e5449410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4150454c414e5449414e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d575763634d675569734545794d5634446b724356504c58345a6b5461416d68765655506f667273474c5779652f000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d5a55537865764d33653539735a50536e433546434a575467386175437a4374395631777969444c4e433336412f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): APELANTIA
Arg [1] : _symbol (string): APELANTIAN
Arg [2] : _initBaseURI (string): ipfs://QmWWccMgUisEEyMV4DkrCVPLX4ZkTaAmhvVUPofrsGLWye/
Arg [3] : _initNotRevealedUri (string): ipfs://QmZUSxevM3e59sZPSnC5FCJWTg8auCzCt9V1wyiDLNC36A/hidden.json
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 4150454c414e5449410000000000000000000000000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 4150454c414e5449414e00000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [9] : 697066733a2f2f516d575763634d675569734545794d5634446b724356504c58
Arg [10] : 345a6b5461416d68765655506f667273474c5779652f00000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [12] : 697066733a2f2f516d5a55537865764d33653539735a50536e433546434a5754
Arg [13] : 67386175437a4374395631777969444c4e433336412f68696464656e2e6a736f
Arg [14] : 6e00000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
122833:7033:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;115441:224;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;129237:79;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;98411:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;99583:158;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;122994:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;128693:122;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;99402:115;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;123029:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;116085:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;123342:55;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;123104:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;100252:588;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;115749:260;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;126907:274;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;129324:101;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;129611:252;;;:::i;:::-;;100911:134;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;127230:378;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;128599:86;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;116266:231;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;123221:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;128823:104;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;123189:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98224:120;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;122922:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;97949:213;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3572:103;;;;;;;;;;;;;:::i;:::-;;2897:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;98571:95;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;123256:35;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;124193:1390;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;99813:146;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;128404:69;;;;;;;;;;;;;:::i;:::-;;101116:236;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;123298:37;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;123144:38;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;122950:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;127645:722;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;128481:110;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;123066:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;128935:144;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;100030:155;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;129433:170;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;129087:142;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3830:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;115441:224;115543:4;115582:35;115567:50;;;:11;:50;;;;:90;;;;115621:36;115645:11;115621:23;:36::i;:::-;115567:90;115560:97;;115441:224;;;:::o;129237:79::-;2783:13;:11;:13::i;:::-;129302:6:::1;129293;;:15;;;;;;;;;;;;;;;;;;129237:79:::0;:::o;98411:91::-;98456:13;98489:5;98482:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98411:91;:::o;99583:158::-;99650:7;99670:22;99684:7;99670:13;:22::i;:::-;;99712:21;99725:7;99712:12;:21::i;:::-;99705:28;;99583:158;;;:::o;122994:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;128693:122::-;2783:13;:11;:13::i;:::-;128790:17:::1;128774:13;:33;;;;128693:122:::0;:::o;99402:115::-;99474:35;99483:2;99487:7;99496:12;:10;:12::i;:::-;99474:8;:35::i;:::-;99402:115;;:::o;123029:30::-;;;;:::o;116085:104::-;116137:7;116164:10;:17;;;;116157:24;;116085:104;:::o;123342:55::-;;;;;;;;;;;;;;;;;:::o;123104:33::-;;;;:::o;100252:588::-;100361:1;100347:16;;:2;:16;;;100343:89;;100417:1;100387:33;;;;;;;;;;;:::i;:::-;;;;;;;;100343:89;100653:21;100677:34;100685:2;100689:7;100698:12;:10;:12::i;:::-;100677:7;:34::i;:::-;100653:58;;100743:4;100726:21;;:13;:21;;;100722:111;;100792:4;100798:7;100807:13;100771:50;;;;;;;;;;;;;:::i;:::-;;;;;;;;100722:111;100332:508;100252:588;;;:::o;115749:260::-;115837:7;115870:16;115880:5;115870:9;:16::i;:::-;115861:5;:25;115857:101;;115933:5;115940;115910:36;;;;;;;;;;;;:::i;:::-;;;;;;;;115857:101;115975:12;:19;115988:5;115975:19;;;;;;;;;;;;;;;:26;115995:5;115975:26;;;;;;;;;;;;115968:33;;115749:260;;;;:::o;126907:274::-;126966:4;126988:9;127000:1;126988:13;;126983:168;127007:20;:27;;;;127003:1;:31;126983:168;;;127087:5;127060:32;;:20;127081:1;127060:23;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;:32;;;127056:84;;127120:4;127113:11;;;;;127056:84;127036:3;;;;;;;126983:168;;;;127168:5;127161:12;;126907:274;;;;:::o;129324:101::-;2783:13;:11;:13::i;:::-;129411:6:::1;129393:15;;:24;;;;;;;;;;;;;;;;;;129324:101:::0;:::o;129611:252::-;2783:13;:11;:13::i;:::-;129667:23:::1;129693:21;129667:47;;129728:12;129754:7;:5;:7::i;:::-;129746:21;;129775:15;129746:49;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;129727:68;;;129814:7;129806:49;;;;;;;;;;;;:::i;:::-;;;;;;;;;129656:207;;129611:252::o:0;100911:134::-;100998:39;101015:4;101021:2;101025:7;100998:39;;;;;;;;;;;;:16;:39::i;:::-;100911:134;;;:::o;127230:378::-;127306:16;127335:23;127361:17;127371:6;127361:9;:17::i;:::-;127335:43;;127389:25;127431:15;127417:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;127389:58;;127463:9;127458:117;127482:15;127478:1;:19;127458:117;;;127533:30;127553:6;127561:1;127533:19;:30::i;:::-;127519:8;127528:1;127519:11;;;;;;;;:::i;:::-;;;;;;;:44;;;;;127499:3;;;;;;;127458:117;;;;127592:8;127585:15;;;;127230:378;;;:::o;128599:86::-;2783:13;:11;:13::i;:::-;128669:8:::1;128662:4;:15;;;;128599:86:::0;:::o;116266:231::-;116332:7;116365:13;:11;:13::i;:::-;116356:5;:22;116352:103;;116433:1;116437:5;116402:41;;;;;;;;;;;;:::i;:::-;;;;;;;;116352:103;116472:10;116483:5;116472:17;;;;;;;;:::i;:::-;;;;;;;;;;116465:24;;116266:231;;;:::o;123221:28::-;;;;;;;;;;;;;:::o;128823:104::-;2783:13;:11;:13::i;:::-;128908:11:::1;128898:7;:21;;;;;;:::i;:::-;;128823:104:::0;:::o;123189:25::-;;;;;;;;;;;;;:::o;98224:120::-;98287:7;98314:22;98328:7;98314:13;:22::i;:::-;98307:29;;98224:120;;;:::o;122922:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;97949:213::-;98012:7;98053:1;98036:19;;:5;:19;;;98032:89;;98106:1;98079:30;;;;;;;;;;;:::i;:::-;;;;;;;;98032:89;98138:9;:16;98148:5;98138:16;;;;;;;;;;;;;;;;98131:23;;97949:213;;;:::o;3572:103::-;2783:13;:11;:13::i;:::-;3637:30:::1;3664:1;3637:18;:30::i;:::-;3572:103::o:0;2897:87::-;2943:7;2970:6;;;;;;;;;;;2963:13;;2897:87;:::o;98571:95::-;98618:13;98651:7;98644:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98571:95;:::o;123256:35::-;;;;;;;;;;;;;:::o;124193:1390::-;124263:6;;;;;;;;;;;124262:7;124254:42;;;;;;;;;;;;:::i;:::-;;;;;;;;;124307:14;124324:13;:11;:13::i;:::-;124307:30;;124370:1;124356:11;:15;124348:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;124451:13;;124436:11;:28;;124414:114;;;;;;;;;;;;:::i;:::-;;;;;;;;;124585:9;;124570:11;124561:6;:20;;;;:::i;:::-;:33;;124539:105;;;;;;;;;;;;:::i;:::-;;;;;;;;;124675:7;:5;:7::i;:::-;124661:21;;:10;:21;;;124657:616;;124722:4;124703:23;;:15;;;;;;;;;;;:23;;;124699:437;;124777:25;124791:10;124777:13;:25::i;:::-;124747:122;;;;;;;;;;;;:::i;:::-;;;;;;;;;124888:24;124915:20;:32;124936:10;124915:32;;;;;;;;;;;;;;;;124888:59;;125030:18;;125015:11;124996:16;:30;;;;:::i;:::-;:52;;124966:154;;;;;;;;;;;;:::i;:::-;;;;;;;;;124728:408;124699:437;125196:11;125189:4;;:18;;;;:::i;:::-;125176:9;:31;;125150:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;124657:616;125290:9;125285:291;125309:11;125305:1;:15;125285:291;;;125342:15;125360:38;125387:10;125360:26;:38::i;:::-;125342:56;;125413:20;:32;125434:10;125413:32;;;;;;;;;;;;;;;;:34;;;;;;;;;:::i;:::-;;;;;;125462:30;125472:10;125484:7;125462:9;:30::i;:::-;125531:4;125507:12;:21;125520:7;125507:21;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;125327:249;125322:3;;;;;;;125285:291;;;;124243:1340;124193:1390;:::o;99813:146::-;99899:52;99918:12;:10;:12::i;:::-;99932:8;99942;99899:18;:52::i;:::-;99813:146;;:::o;128404:69::-;2783:13;:11;:13::i;:::-;128461:4:::1;128450:8;;:15;;;;;;;;;;;;;;;;;;128404:69::o:0;101116:236::-;101230:31;101243:4;101249:2;101253:7;101230:12;:31::i;:::-;101272:72;101306:12;:10;:12::i;:::-;101320:4;101326:2;101330:7;101339:4;101272:33;:72::i;:::-;101116:236;;;;:::o;123298:37::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;123144:38::-;;;;:::o;122950:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;127645:722::-;127734:13;127816:12;:21;127829:7;127816:21;;;;;;;;;;;;;;;;;;;;;127794:118;;;;;;;;;;;;:::i;:::-;;;;;;;;;127930:8;;;;;;;;;;;127925:63;;127962:14;127955:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;127925:63;128000:28;128031:10;:8;:10::i;:::-;128000:41;;128103:1;128078:14;128072:28;:32;:287;;;;;;;;;;;;;;;;;128196:14;128237:18;:7;:16;:18::i;:::-;128282:13;128153:165;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;128072:287;128052:307;;;127645:722;;;;:::o;128481:110::-;2783:13;:11;:13::i;:::-;128577:6:::1;128556:18;:27;;;;128481:110:::0;:::o;123066:31::-;;;;:::o;128935:144::-;2783:13;:11;:13::i;:::-;129054:17:::1;129038:13;:33;;;;;;:::i;:::-;;128935:144:::0;:::o;100030:155::-;100118:4;100142:18;:25;100161:5;100142:25;;;;;;;;;;;;;;;:35;100168:8;100142:35;;;;;;;;;;;;;;;;;;;;;;;;;100135:42;;100030:155;;;;:::o;129433:170::-;2783:13;:11;:13::i;:::-;129535:20:::1;;129528:27;;;;:::i;:::-;129589:6;;129566:20;:29;;;;;;;:::i;:::-;;129433:170:::0;;:::o;129087:142::-;2783:13;:11;:13::i;:::-;129206:15:::1;129189:14;:32;;;;;;:::i;:::-;;129087:142:::0;:::o;3830:220::-;2783:13;:11;:13::i;:::-;3935:1:::1;3915:22;;:8;:22;;::::0;3911:93:::1;;3989:1;3961:31;;;;;;;;;;;:::i;:::-;;;;;;;;3911:93;4014:28;4033:8;4014:18;:28::i;:::-;3830:220:::0;:::o;97580:305::-;97682:4;97734:25;97719:40;;;:11;:40;;;;:105;;;;97791:33;97776:48;;;:11;:48;;;;97719:105;:158;;;;97841:36;97865:11;97841:23;:36::i;:::-;97719:158;97699:178;;97580:305;;;:::o;3062:166::-;3133:12;:10;:12::i;:::-;3122:23;;:7;:5;:7::i;:::-;:23;;;3118:103;;3196:12;:10;:12::i;:::-;3169:40;;;;;;;;;;;:::i;:::-;;;;;;;;3118:103;3062:166::o;112634:247::-;112697:7;112717:13;112733:17;112742:7;112733:8;:17::i;:::-;112717:33;;112782:1;112765:19;;:5;:19;;;112761:90;;112831:7;112808:31;;;;;;;;;;;:::i;:::-;;;;;;;;112761:90;112868:5;112861:12;;;112634:247;;;:::o;102115:129::-;102185:7;102212:15;:24;102228:7;102212:24;;;;;;;;;;;;;;;;;;;;;102205:31;;102115:129;;;:::o;851:98::-;904:7;931:10;924:17;;851:98;:::o;110866:122::-;110947:33;110956:2;110960:7;110969:4;110975;110947:8;:33::i;:::-;110866:122;;;:::o;116558:640::-;116653:7;116673:21;116697:32;116711:2;116715:7;116724:4;116697:13;:32::i;:::-;116673:56;;116771:1;116746:27;;:13;:27;;;116742:214;;116790:40;116822:7;116790:31;:40::i;:::-;116742:214;;;116869:2;116852:19;;:13;:19;;;116848:108;;116888:56;116921:13;116936:7;116888:32;:56::i;:::-;116848:108;116742:214;116984:1;116970:16;;:2;:16;;;116966:192;;117003:45;117040:7;117003:36;:45::i;:::-;116966:192;;;117087:2;117070:19;;:13;:19;;;117066:92;;117106:40;117134:2;117138:7;117106:27;:40::i;:::-;117066:92;116966:192;117177:13;117170:20;;;116558:640;;;;;:::o;4210:191::-;4284:16;4303:6;;;;;;;;;;;4284:25;;4329:8;4320:6;;:17;;;;;;;;;;;;;;;;;;4384:8;4353:40;;4374:8;4353:40;;;;;;;;;;;;4273:128;4210:191;:::o;125652:492::-;125719:7;125739:14;125845:15;125883:16;125936:3;125962:19;;125806:194;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;125778:237;;;;;;125756:270;;125739:287;;126037:19;126068;;126059:6;:28;;;;:::i;:::-;126037:50;;126105:31;126124:11;126105:18;:31::i;:::-;126098:38;;;;125652:492;;;:::o;106934:102::-;107002:26;107012:2;107016:7;107002:26;;;;;;;;;;;;:9;:26::i;:::-;106934:102;;:::o;112073:318::-;112201:1;112181:22;;:8;:22;;;112177:93;;112249:8;112227:31;;;;;;;;;;;:::i;:::-;;;;;;;;112177:93;112318:8;112280:18;:25;112299:5;112280:25;;;;;;;;;;;;;;;:35;112306:8;112280:35;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;112364:8;112342:41;;112357:5;112342:41;;;112374:8;112342:41;;;;;;:::i;:::-;;;;;;;;112073:318;;;:::o;20263:948::-;20467:1;20450:2;:14;;;:18;20446:758;;;20505:2;20489:36;;;20526:8;20536:4;20542:7;20551:4;20489:67;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;20485:708;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20869:1;20852:6;:13;:18;20848:330;;20994:2;20958:39;;;;;;;;;;;:::i;:::-;;;;;;;;20848:330;21128:6;21122:13;21113:6;21109:2;21105:15;21098:38;20485:708;20614:41;;;20604:51;;;:6;:51;;;;20600:185;;20762:2;20726:39;;;;;;;;;;;:::i;:::-;;;;;;;;20600:185;20557:243;20446:758;20263:948;;;;;:::o;124024:108::-;124084:13;124117:7;124110:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;124024:108;:::o;92888:650::-;92944:13;92995:14;93032:1;93012:17;93023:5;93012:10;:17::i;:::-;:21;92995:38;;93048:20;93082:6;93071:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93048:41;;93104:11;93201:6;93197:2;93193:15;93185:6;93181:28;93174:35;;93238:254;93245:4;93238:254;;;93270:5;;;;;;;;93376:10;93371:2;93364:5;93360:14;93355:32;93350:3;93342:46;93434:2;93425:11;;;;;;:::i;:::-;;;;;93468:1;93459:5;:10;93238:254;93455:21;93238:254;93513:6;93506:13;;;;;92888:650;;;:::o;22055:148::-;22131:4;22170:25;22155:40;;;:11;:40;;;;22148:47;;22055:148;;;:::o;101877:117::-;101943:7;101970;:16;101978:7;101970:16;;;;;;;;;;;;;;;;;;;;;101963:23;;101877:117;;;:::o;111176:678::-;111338:9;:31;;;;111367:1;111351:18;;:4;:18;;;;111338:31;111334:471;;;111386:13;111402:22;111416:7;111402:13;:22::i;:::-;111386:38;;111571:1;111555:18;;:4;:18;;;;:35;;;;;111586:4;111577:13;;:5;:13;;;;111555:35;:69;;;;;111595:29;111612:5;111619:4;111595:16;:29::i;:::-;111594:30;111555:69;111551:144;;;111674:4;111652:27;;;;;;;;;;;:::i;:::-;;;;;;;;111551:144;111715:9;111711:83;;;111770:7;111766:2;111750:28;;111759:5;111750:28;;;;;;;;;;;;111711:83;111371:434;111334:471;111844:2;111817:15;:24;111833:7;111817:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;111176:678;;;;:::o;105076:824::-;105162:7;105182:12;105197:17;105206:7;105197:8;:17::i;:::-;105182:32;;105293:1;105277:18;;:4;:18;;;105273:88;;105312:37;105329:4;105335;105341:7;105312:16;:37::i;:::-;105273:88;105424:1;105408:18;;:4;:18;;;105404:263;;105526:48;105543:1;105547:7;105564:1;105568:5;105526:8;:48::i;:::-;105639:1;105620:9;:15;105630:4;105620:15;;;;;;;;;;;;;;;;:20;;;;;;;;;;;105404:263;105697:1;105683:16;;:2;:16;;;105679:111;;105762:1;105745:9;:13;105755:2;105745:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;105679:111;105821:2;105802:7;:16;105810:7;105802:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;105860:7;105856:2;105841:27;;105850:4;105841:27;;;;;;;;;;;;105888:4;105881:11;;;105076:824;;;;;:::o;117918:164::-;118022:10;:17;;;;117995:15;:24;118011:7;117995:24;;;;;;;;;;;:44;;;;118050:10;118066:7;118050:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;117918:164;:::o;118709:1075::-;118975:22;119000:15;119010:4;119000:9;:15::i;:::-;118975:40;;119026:18;119047:17;:26;119065:7;119047:26;;;;;;;;;;;;119026:47;;119086:61;119150:12;:18;119163:4;119150:18;;;;;;;;;;;;;;;119086:82;;119289:14;119275:10;:28;119271:330;;119320:19;119342;:35;119362:14;119342:35;;;;;;;;;;;;119320:57;;119428:11;119394:19;:31;119414:10;119394:31;;;;;;;;;;;:45;;;;119545:10;119512:17;:30;119530:11;119512:30;;;;;;;;;;;:43;;;;119305:296;119271:330;119697:17;:26;119715:7;119697:26;;;;;;;;;;;119690:33;;;119741:19;:35;119761:14;119741:35;;;;;;;;;;;119734:42;;;118790:994;;;118709:1075;;:::o;120079:1079::-;120332:22;120377:1;120357:10;:17;;;;:21;;;;:::i;:::-;120332:46;;120389:18;120410:15;:24;120426:7;120410:24;;;;;;;;;;;;120389:45;;120761:19;120783:10;120794:14;120783:26;;;;;;;;:::i;:::-;;;;;;;;;;120761:48;;120847:11;120822:10;120833;120822:22;;;;;;;;:::i;:::-;;;;;;;;;:36;;;;120958:10;120927:15;:28;120943:11;120927:28;;;;;;;;;;;:41;;;;121099:15;:24;121115:7;121099:24;;;;;;;;;;;121092:31;;;121134:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;120150:1008;;;120079:1079;:::o;117499:218::-;117584:14;117617:1;117601:13;117611:2;117601:9;:13::i;:::-;:17;;;;:::i;:::-;117584:34;;117656:7;117629:12;:16;117642:2;117629:16;;;;;;;;;;;;;;;:24;117646:6;117629:24;;;;;;;;;;;:34;;;;117703:6;117674:17;:26;117692:7;117674:26;;;;;;;;;;;:35;;;;117573:144;117499:218;;:::o;126213:647::-;126281:7;126301:15;126365:1;126331:16;:30;126348:12;126331:30;;;;;;;;;;;;:35;126327:193;;126393:16;:30;126410:12;126393:30;;;;;;;;;;;;126383:40;;126327:193;;;126481:1;126466:12;:16;;;;:::i;:::-;126456:26;;126327:193;126532:17;126574:1;126552:19;;:23;;;;:::i;:::-;126532:43;;126623:1;126592:16;:27;126609:9;126592:27;;;;;;;;;;;;:32;126588:204;;126686:1;126674:9;:13;;;;:::i;:::-;126641:16;:30;126658:12;126641:30;;;;;;;;;;;:46;;;;126588:204;;;126753:16;:27;126770:9;126753:27;;;;;;;;;;;;126720:16;:30;126737:12;126720:30;;;;;;;;;;;:60;;;;126588:204;126804:19;;:21;;;;;;;;;:::i;:::-;;;;;;126845:7;126838:14;;;;126213:647;;;:::o;107263:210::-;107358:18;107364:2;107368:7;107358:5;:18::i;:::-;107387:78;107421:12;:10;:12::i;:::-;107443:1;107447:2;107451:7;107460:4;107387:33;:78::i;:::-;107263:210;;;:::o;86423:948::-;86476:7;86496:14;86513:1;86496:18;;86563:8;86554:5;:17;86550:106;;86601:8;86592:17;;;;;;:::i;:::-;;;;;86638:2;86628:12;;;;86550:106;86683:8;86674:5;:17;86670:106;;86721:8;86712:17;;;;;;:::i;:::-;;;;;86758:2;86748:12;;;;86670:106;86803:8;86794:5;:17;86790:106;;86841:8;86832:17;;;;;;:::i;:::-;;;;;86878:2;86868:12;;;;86790:106;86923:7;86914:5;:16;86910:103;;86960:7;86951:16;;;;;;:::i;:::-;;;;;86996:1;86986:11;;;;86910:103;87040:7;87031:5;:16;87027:103;;87077:7;87068:16;;;;;;:::i;:::-;;;;;87113:1;87103:11;;;;87027:103;87157:7;87148:5;:16;87144:103;;87194:7;87185:16;;;;;;:::i;:::-;;;;;87230:1;87220:11;;;;87144:103;87274:7;87265:5;:16;87261:68;;87312:1;87302:11;;;;87261:68;87357:6;87350:13;;;86423:948;;;:::o;103283:376::-;103396:38;103410:5;103417:7;103426;103396:13;:38::i;:::-;103391:261;;103472:1;103455:19;;:5;:19;;;103451:190;;103525:7;103502:31;;;;;;;;;;;:::i;:::-;;;;;;;;103451:190;103608:7;103617;103581:44;;;;;;;;;;;;:::i;:::-;;;;;;;;103391:261;103283:376;;;:::o;106236:335::-;106318:1;106304:16;;:2;:16;;;106300:89;;106374:1;106344:33;;;;;;;;;;;:::i;:::-;;;;;;;;106300:89;106399:21;106423:32;106431:2;106435:7;106452:1;106423:7;:32::i;:::-;106399:56;;106495:1;106470:27;;:13;:27;;;106466:98;;106549:1;106521:31;;;;;;;;;;;:::i;:::-;;;;;;;;106466:98;106289:282;106236:335;;:::o;102564:276::-;102667:4;102723:1;102704:21;;:7;:21;;;;:128;;;;;102752:7;102743:16;;:5;:16;;;:52;;;;102763:32;102780:5;102787:7;102763:16;:32::i;:::-;102743:52;:88;;;;102824:7;102799:32;;:21;102812:7;102799:12;:21::i;:::-;:32;;;102743:88;102704:128;102684:148;;102564:276;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::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:116::-;1588:21;1603:5;1588:21;:::i;:::-;1581:5;1578:32;1568:60;;1624:1;1621;1614:12;1568:60;1518:116;:::o;1640:133::-;1683:5;1721:6;1708:20;1699:29;;1737:30;1761:5;1737:30;:::i;:::-;1640:133;;;;:::o;1779:323::-;1835:6;1884:2;1872:9;1863:7;1859:23;1855:32;1852:119;;;1890:79;;:::i;:::-;1852:119;2010:1;2035:50;2077:7;2068:6;2057:9;2053:22;2035:50;:::i;:::-;2025:60;;1981:114;1779:323;;;;:::o;2108:99::-;2160:6;2194:5;2188:12;2178:22;;2108:99;;;:::o;2213:169::-;2297:11;2331:6;2326:3;2319:19;2371:4;2366:3;2362:14;2347:29;;2213:169;;;;:::o;2388:139::-;2477:6;2472:3;2467;2461:23;2518:1;2509:6;2504:3;2500:16;2493:27;2388:139;;;:::o;2533:102::-;2574:6;2625:2;2621:7;2616:2;2609:5;2605:14;2601:28;2591:38;;2533:102;;;:::o;2641:377::-;2729:3;2757:39;2790:5;2757:39;:::i;:::-;2812:71;2876:6;2871:3;2812:71;:::i;:::-;2805:78;;2892:65;2950:6;2945:3;2938:4;2931:5;2927:16;2892:65;:::i;:::-;2982:29;3004:6;2982:29;:::i;:::-;2977:3;2973:39;2966:46;;2733:285;2641:377;;;;:::o;3024:313::-;3137:4;3175:2;3164:9;3160:18;3152:26;;3224:9;3218:4;3214:20;3210:1;3199:9;3195:17;3188:47;3252:78;3325:4;3316:6;3252:78;:::i;:::-;3244:86;;3024:313;;;;:::o;3343:77::-;3380:7;3409:5;3398:16;;3343:77;;;:::o;3426:122::-;3499:24;3517:5;3499:24;:::i;:::-;3492:5;3489:35;3479:63;;3538:1;3535;3528:12;3479:63;3426:122;:::o;3554:139::-;3600:5;3638:6;3625:20;3616:29;;3654:33;3681:5;3654:33;:::i;:::-;3554:139;;;;:::o;3699:329::-;3758:6;3807:2;3795:9;3786:7;3782:23;3778:32;3775:119;;;3813:79;;:::i;:::-;3775:119;3933:1;3958:53;4003:7;3994:6;3983:9;3979:22;3958:53;:::i;:::-;3948:63;;3904:117;3699:329;;;;:::o;4034:126::-;4071:7;4111:42;4104:5;4100:54;4089:65;;4034:126;;;:::o;4166:96::-;4203:7;4232:24;4250:5;4232:24;:::i;:::-;4221:35;;4166:96;;;:::o;4268:118::-;4355:24;4373:5;4355:24;:::i;:::-;4350:3;4343:37;4268:118;;:::o;4392:222::-;4485:4;4523:2;4512:9;4508:18;4500:26;;4536:71;4604:1;4593:9;4589:17;4580:6;4536:71;:::i;:::-;4392:222;;;;:::o;4620:122::-;4693:24;4711:5;4693:24;:::i;:::-;4686:5;4683:35;4673:63;;4732:1;4729;4722:12;4673:63;4620:122;:::o;4748:139::-;4794:5;4832:6;4819:20;4810:29;;4848:33;4875:5;4848:33;:::i;:::-;4748:139;;;;:::o;4893:474::-;4961:6;4969;5018:2;5006:9;4997:7;4993:23;4989:32;4986:119;;;5024:79;;:::i;:::-;4986:119;5144:1;5169:53;5214:7;5205:6;5194:9;5190:22;5169:53;:::i;:::-;5159:63;;5115:117;5271:2;5297:53;5342:7;5333:6;5322:9;5318:22;5297:53;:::i;:::-;5287:63;;5242:118;4893:474;;;;;:::o;5373:118::-;5460:24;5478:5;5460:24;:::i;:::-;5455:3;5448:37;5373:118;;:::o;5497:222::-;5590:4;5628:2;5617:9;5613:18;5605:26;;5641:71;5709:1;5698:9;5694:17;5685:6;5641:71;:::i;:::-;5497:222;;;;:::o;5725:329::-;5784:6;5833:2;5821:9;5812:7;5808:23;5804:32;5801:119;;;5839:79;;:::i;:::-;5801:119;5959:1;5984:53;6029:7;6020:6;6009:9;6005:22;5984:53;:::i;:::-;5974:63;;5930:117;5725:329;;;;:::o;6060:619::-;6137:6;6145;6153;6202:2;6190:9;6181:7;6177:23;6173:32;6170:119;;;6208:79;;:::i;:::-;6170:119;6328:1;6353:53;6398:7;6389:6;6378:9;6374:22;6353:53;:::i;:::-;6343:63;;6299:117;6455:2;6481:53;6526:7;6517:6;6506:9;6502:22;6481:53;:::i;:::-;6471:63;;6426:118;6583:2;6609:53;6654:7;6645:6;6634:9;6630:22;6609:53;:::i;:::-;6599:63;;6554:118;6060:619;;;;;:::o;6685:114::-;6752:6;6786:5;6780:12;6770:22;;6685:114;;;:::o;6805:184::-;6904:11;6938:6;6933:3;6926:19;6978:4;6973:3;6969:14;6954:29;;6805:184;;;;:::o;6995:132::-;7062:4;7085:3;7077:11;;7115:4;7110:3;7106:14;7098:22;;6995:132;;;:::o;7133:108::-;7210:24;7228:5;7210:24;:::i;:::-;7205:3;7198:37;7133:108;;:::o;7247:179::-;7316:10;7337:46;7379:3;7371:6;7337:46;:::i;:::-;7415:4;7410:3;7406:14;7392:28;;7247:179;;;;:::o;7432:113::-;7502:4;7534;7529:3;7525:14;7517:22;;7432:113;;;:::o;7581:732::-;7700:3;7729:54;7777:5;7729:54;:::i;:::-;7799:86;7878:6;7873:3;7799:86;:::i;:::-;7792:93;;7909:56;7959:5;7909:56;:::i;:::-;7988:7;8019:1;8004:284;8029:6;8026:1;8023:13;8004:284;;;8105:6;8099:13;8132:63;8191:3;8176:13;8132:63;:::i;:::-;8125:70;;8218:60;8271:6;8218:60;:::i;:::-;8208:70;;8064:224;8051:1;8048;8044:9;8039:14;;8004:284;;;8008:14;8304:3;8297:10;;7705:608;;;7581:732;;;;:::o;8319:373::-;8462:4;8500:2;8489:9;8485:18;8477:26;;8549:9;8543:4;8539:20;8535:1;8524:9;8520:17;8513:47;8577:108;8680:4;8671:6;8577:108;:::i;:::-;8569:116;;8319:373;;;;:::o;8698:117::-;8807:1;8804;8797:12;8821:117;8930:1;8927;8920:12;8944:180;8992:77;8989:1;8982:88;9089:4;9086:1;9079:15;9113:4;9110:1;9103:15;9130:281;9213:27;9235:4;9213:27;:::i;:::-;9205:6;9201:40;9343:6;9331:10;9328:22;9307:18;9295:10;9292:34;9289:62;9286:88;;;9354:18;;:::i;:::-;9286:88;9394:10;9390:2;9383:22;9173:238;9130:281;;:::o;9417:129::-;9451:6;9478:20;;:::i;:::-;9468:30;;9507:33;9535:4;9527:6;9507:33;:::i;:::-;9417:129;;;:::o;9552:308::-;9614:4;9704:18;9696:6;9693:30;9690:56;;;9726:18;;:::i;:::-;9690:56;9764:29;9786:6;9764:29;:::i;:::-;9756:37;;9848:4;9842;9838:15;9830:23;;9552:308;;;:::o;9866:148::-;9964:6;9959:3;9954;9941:30;10005:1;9996:6;9991:3;9987:16;9980:27;9866:148;;;:::o;10020:425::-;10098:5;10123:66;10139:49;10181:6;10139:49;:::i;:::-;10123:66;:::i;:::-;10114:75;;10212:6;10205:5;10198:21;10250:4;10243:5;10239:16;10288:3;10279:6;10274:3;10270:16;10267:25;10264:112;;;10295:79;;:::i;:::-;10264:112;10385:54;10432:6;10427:3;10422;10385:54;:::i;:::-;10104:341;10020:425;;;;;:::o;10465:340::-;10521:5;10570:3;10563:4;10555:6;10551:17;10547:27;10537:122;;10578:79;;:::i;:::-;10537:122;10695:6;10682:20;10720:79;10795:3;10787:6;10780:4;10772:6;10768:17;10720:79;:::i;:::-;10711:88;;10527:278;10465:340;;;;:::o;10811:509::-;10880:6;10929:2;10917:9;10908:7;10904:23;10900:32;10897:119;;;10935:79;;:::i;:::-;10897:119;11083:1;11072:9;11068:17;11055:31;11113:18;11105:6;11102:30;11099:117;;;11135:79;;:::i;:::-;11099:117;11240:63;11295:7;11286:6;11275:9;11271:22;11240:63;:::i;:::-;11230:73;;11026:287;10811:509;;;;:::o;11326:468::-;11391:6;11399;11448:2;11436:9;11427:7;11423:23;11419:32;11416:119;;;11454:79;;:::i;:::-;11416:119;11574:1;11599:53;11644:7;11635:6;11624:9;11620:22;11599:53;:::i;:::-;11589:63;;11545:117;11701:2;11727:50;11769:7;11760:6;11749:9;11745:22;11727:50;:::i;:::-;11717:60;;11672:115;11326:468;;;;;:::o;11800:307::-;11861:4;11951:18;11943:6;11940:30;11937:56;;;11973:18;;:::i;:::-;11937:56;12011:29;12033:6;12011:29;:::i;:::-;12003:37;;12095:4;12089;12085:15;12077:23;;11800:307;;;:::o;12113:423::-;12190:5;12215:65;12231:48;12272:6;12231:48;:::i;:::-;12215:65;:::i;:::-;12206:74;;12303:6;12296:5;12289:21;12341:4;12334:5;12330:16;12379:3;12370:6;12365:3;12361:16;12358:25;12355:112;;;12386:79;;:::i;:::-;12355:112;12476:54;12523:6;12518:3;12513;12476:54;:::i;:::-;12196:340;12113:423;;;;;:::o;12555:338::-;12610:5;12659:3;12652:4;12644:6;12640:17;12636:27;12626:122;;12667:79;;:::i;:::-;12626:122;12784:6;12771:20;12809:78;12883:3;12875:6;12868:4;12860:6;12856:17;12809:78;:::i;:::-;12800:87;;12616:277;12555:338;;;;:::o;12899:943::-;12994:6;13002;13010;13018;13067:3;13055:9;13046:7;13042:23;13038:33;13035:120;;;13074:79;;:::i;:::-;13035:120;13194:1;13219:53;13264:7;13255:6;13244:9;13240:22;13219:53;:::i;:::-;13209:63;;13165:117;13321:2;13347:53;13392:7;13383:6;13372:9;13368:22;13347:53;:::i;:::-;13337:63;;13292:118;13449:2;13475:53;13520:7;13511:6;13500:9;13496:22;13475:53;:::i;:::-;13465:63;;13420:118;13605:2;13594:9;13590:18;13577:32;13636:18;13628:6;13625:30;13622:117;;;13658:79;;:::i;:::-;13622:117;13763:62;13817:7;13808:6;13797:9;13793:22;13763:62;:::i;:::-;13753:72;;13548:287;12899:943;;;;;;;:::o;13848:474::-;13916:6;13924;13973:2;13961:9;13952:7;13948:23;13944:32;13941:119;;;13979:79;;:::i;:::-;13941:119;14099:1;14124:53;14169:7;14160:6;14149:9;14145:22;14124:53;:::i;:::-;14114:63;;14070:117;14226:2;14252:53;14297:7;14288:6;14277:9;14273:22;14252:53;:::i;:::-;14242:63;;14197:118;13848:474;;;;;:::o;14328:117::-;14437:1;14434;14427:12;14451:117;14560:1;14557;14550:12;14591:568;14664:8;14674:6;14724:3;14717:4;14709:6;14705:17;14701:27;14691:122;;14732:79;;:::i;:::-;14691:122;14845:6;14832:20;14822:30;;14875:18;14867:6;14864:30;14861:117;;;14897:79;;:::i;:::-;14861:117;15011:4;15003:6;14999:17;14987:29;;15065:3;15057:4;15049:6;15045:17;15035:8;15031:32;15028:41;15025:128;;;15072:79;;:::i;:::-;15025:128;14591:568;;;;;:::o;15165:559::-;15251:6;15259;15308:2;15296:9;15287:7;15283:23;15279:32;15276:119;;;15314:79;;:::i;:::-;15276:119;15462:1;15451:9;15447:17;15434:31;15492:18;15484:6;15481:30;15478:117;;;15514:79;;:::i;:::-;15478:117;15627:80;15699:7;15690:6;15679:9;15675:22;15627:80;:::i;:::-;15609:98;;;;15405:312;15165:559;;;;;:::o;15730:180::-;15778:77;15775:1;15768:88;15875:4;15872:1;15865:15;15899:4;15896:1;15889:15;15916:320;15960:6;15997:1;15991:4;15987:12;15977:22;;16044:1;16038:4;16034:12;16065:18;16055:81;;16121:4;16113:6;16109:17;16099:27;;16055:81;16183:2;16175:6;16172:14;16152:18;16149:38;16146:84;;16202:18;;:::i;:::-;16146:84;15967:269;15916:320;;;:::o;16242:442::-;16391:4;16429:2;16418:9;16414:18;16406:26;;16442:71;16510:1;16499:9;16495:17;16486:6;16442:71;:::i;:::-;16523:72;16591:2;16580:9;16576:18;16567:6;16523:72;:::i;:::-;16605;16673:2;16662:9;16658:18;16649:6;16605:72;:::i;:::-;16242:442;;;;;;:::o;16690:332::-;16811:4;16849:2;16838:9;16834:18;16826:26;;16862:71;16930:1;16919:9;16915:17;16906:6;16862:71;:::i;:::-;16943:72;17011:2;17000:9;16996:18;16987:6;16943:72;:::i;:::-;16690:332;;;;;:::o;17028:180::-;17076:77;17073:1;17066:88;17173:4;17170:1;17163:15;17197:4;17194:1;17187:15;17214:147;17315:11;17352:3;17337:18;;17214:147;;;;:::o;17367:114::-;;:::o;17487:398::-;17646:3;17667:83;17748:1;17743:3;17667:83;:::i;:::-;17660:90;;17759:93;17848:3;17759:93;:::i;:::-;17877:1;17872:3;17868:11;17861:18;;17487:398;;;:::o;17891:379::-;18075:3;18097:147;18240:3;18097:147;:::i;:::-;18090:154;;18261:3;18254:10;;17891:379;;;:::o;18276:179::-;18416:31;18412:1;18404:6;18400:14;18393:55;18276:179;:::o;18461:366::-;18603:3;18624:67;18688:2;18683:3;18624:67;:::i;:::-;18617:74;;18700:93;18789:3;18700:93;:::i;:::-;18818:2;18813:3;18809:12;18802:19;;18461:366;;;:::o;18833:419::-;18999:4;19037:2;19026:9;19022:18;19014:26;;19086:9;19080:4;19076:20;19072:1;19061:9;19057:17;19050:47;19114:131;19240:4;19114:131;:::i;:::-;19106:139;;18833:419;;;:::o;19258:141::-;19307:4;19330:3;19322:11;;19353:3;19350:1;19343:14;19387:4;19384:1;19374:18;19366:26;;19258:141;;;:::o;19405:93::-;19442:6;19489:2;19484;19477:5;19473:14;19469:23;19459:33;;19405:93;;;:::o;19504:107::-;19548:8;19598:5;19592:4;19588:16;19567:37;;19504:107;;;;:::o;19617:393::-;19686:6;19736:1;19724:10;19720:18;19759:97;19789:66;19778:9;19759:97;:::i;:::-;19877:39;19907:8;19896:9;19877:39;:::i;:::-;19865:51;;19949:4;19945:9;19938:5;19934:21;19925:30;;19998:4;19988:8;19984:19;19977:5;19974:30;19964:40;;19693:317;;19617:393;;;;;:::o;20016:60::-;20044:3;20065:5;20058:12;;20016:60;;;:::o;20082:142::-;20132:9;20165:53;20183:34;20192:24;20210:5;20192:24;:::i;:::-;20183:34;:::i;:::-;20165:53;:::i;:::-;20152:66;;20082:142;;;:::o;20230:75::-;20273:3;20294:5;20287:12;;20230:75;;;:::o;20311:269::-;20421:39;20452:7;20421:39;:::i;:::-;20482:91;20531:41;20555:16;20531:41;:::i;:::-;20523:6;20516:4;20510:11;20482:91;:::i;:::-;20476:4;20469:105;20387:193;20311:269;;;:::o;20586:73::-;20631:3;20586:73;:::o;20665:189::-;20742:32;;:::i;:::-;20783:65;20841:6;20833;20827:4;20783:65;:::i;:::-;20718:136;20665:189;;:::o;20860:186::-;20920:120;20937:3;20930:5;20927:14;20920:120;;;20991:39;21028:1;21021:5;20991:39;:::i;:::-;20964:1;20957:5;20953:13;20944:22;;20920:120;;;20860:186;;:::o;21052:543::-;21153:2;21148:3;21145:11;21142:446;;;21187:38;21219:5;21187:38;:::i;:::-;21271:29;21289:10;21271:29;:::i;:::-;21261:8;21257:44;21454:2;21442:10;21439:18;21436:49;;;21475:8;21460:23;;21436:49;21498:80;21554:22;21572:3;21554:22;:::i;:::-;21544:8;21540:37;21527:11;21498:80;:::i;:::-;21157:431;;21142:446;21052:543;;;:::o;21601:117::-;21655:8;21705:5;21699:4;21695:16;21674:37;;21601:117;;;;:::o;21724:169::-;21768:6;21801:51;21849:1;21845:6;21837:5;21834:1;21830:13;21801:51;:::i;:::-;21797:56;21882:4;21876;21872:15;21862:25;;21775:118;21724:169;;;;:::o;21898:295::-;21974:4;22120:29;22145:3;22139:4;22120:29;:::i;:::-;22112:37;;22182:3;22179:1;22175:11;22169:4;22166:21;22158:29;;21898:295;;;;:::o;22198:1395::-;22315:37;22348:3;22315:37;:::i;:::-;22417:18;22409:6;22406:30;22403:56;;;22439:18;;:::i;:::-;22403:56;22483:38;22515:4;22509:11;22483:38;:::i;:::-;22568:67;22628:6;22620;22614:4;22568:67;:::i;:::-;22662:1;22686:4;22673:17;;22718:2;22710:6;22707:14;22735:1;22730:618;;;;23392:1;23409:6;23406:77;;;23458:9;23453:3;23449:19;23443:26;23434:35;;23406:77;23509:67;23569:6;23562:5;23509:67;:::i;:::-;23503:4;23496:81;23365:222;22700:887;;22730:618;22782:4;22778:9;22770:6;22766:22;22816:37;22848:4;22816:37;:::i;:::-;22875:1;22889:208;22903:7;22900:1;22897:14;22889:208;;;22982:9;22977:3;22973:19;22967:26;22959:6;22952:42;23033:1;23025:6;23021:14;23011:24;;23080:2;23069:9;23065:18;23052:31;;22926:4;22923:1;22919:12;22914:17;;22889:208;;;23125:6;23116:7;23113:19;23110:179;;;23183:9;23178:3;23174:19;23168:26;23226:48;23268:4;23260:6;23256:17;23245:9;23226:48;:::i;:::-;23218:6;23211:64;23133:156;23110:179;23335:1;23331;23323:6;23319:14;23315:22;23309:4;23302:36;22737:611;;;22700:887;;22290:1303;;;22198:1395;;:::o;23599:172::-;23739:24;23735:1;23727:6;23723:14;23716:48;23599:172;:::o;23777:366::-;23919:3;23940:67;24004:2;23999:3;23940:67;:::i;:::-;23933:74;;24016:93;24105:3;24016:93;:::i;:::-;24134:2;24129:3;24125:12;24118:19;;23777:366;;;:::o;24149:419::-;24315:4;24353:2;24342:9;24338:18;24330:26;;24402:9;24396:4;24392:20;24388:1;24377:9;24373:17;24366:47;24430:131;24556:4;24430:131;:::i;:::-;24422:139;;24149:419;;;:::o;24574:177::-;24714:29;24710:1;24702:6;24698:14;24691:53;24574:177;:::o;24757:366::-;24899:3;24920:67;24984:2;24979:3;24920:67;:::i;:::-;24913:74;;24996:93;25085:3;24996:93;:::i;:::-;25114:2;25109:3;25105:12;25098:19;;24757:366;;;:::o;25129:419::-;25295:4;25333:2;25322:9;25318:18;25310:26;;25382:9;25376:4;25372:20;25368:1;25357:9;25353:17;25346:47;25410:131;25536:4;25410:131;:::i;:::-;25402:139;;25129:419;;;:::o;25554:223::-;25694:34;25690:1;25682:6;25678:14;25671:58;25763:6;25758:2;25750:6;25746:15;25739:31;25554:223;:::o;25783:366::-;25925:3;25946:67;26010:2;26005:3;25946:67;:::i;:::-;25939:74;;26022:93;26111:3;26022:93;:::i;:::-;26140:2;26135:3;26131:12;26124:19;;25783:366;;;:::o;26155:419::-;26321:4;26359:2;26348:9;26344:18;26336:26;;26408:9;26402:4;26398:20;26394:1;26383:9;26379:17;26372:47;26436:131;26562:4;26436:131;:::i;:::-;26428:139;;26155:419;;;:::o;26580:180::-;26628:77;26625:1;26618:88;26725:4;26722:1;26715:15;26749:4;26746:1;26739:15;26766:191;26806:3;26825:20;26843:1;26825:20;:::i;:::-;26820:25;;26859:20;26877:1;26859:20;:::i;:::-;26854:25;;26902:1;26899;26895:9;26888:16;;26923:3;26920:1;26917:10;26914:36;;;26930:18;;:::i;:::-;26914:36;26766:191;;;;:::o;26963:172::-;27103:24;27099:1;27091:6;27087:14;27080:48;26963:172;:::o;27141:366::-;27283:3;27304:67;27368:2;27363:3;27304:67;:::i;:::-;27297:74;;27380:93;27469:3;27380:93;:::i;:::-;27498:2;27493:3;27489:12;27482:19;;27141:366;;;:::o;27513:419::-;27679:4;27717:2;27706:9;27702:18;27694:26;;27766:9;27760:4;27756:20;27752:1;27741:9;27737:17;27730:47;27794:131;27920:4;27794:131;:::i;:::-;27786:139;;27513:419;;;:::o;27938:173::-;28078:25;28074:1;28066:6;28062:14;28055:49;27938:173;:::o;28117:366::-;28259:3;28280:67;28344:2;28339:3;28280:67;:::i;:::-;28273:74;;28356:93;28445:3;28356:93;:::i;:::-;28474:2;28469:3;28465:12;28458:19;;28117:366;;;:::o;28489:419::-;28655:4;28693:2;28682:9;28678:18;28670:26;;28742:9;28736:4;28732:20;28728:1;28717:9;28713:17;28706:47;28770:131;28896:4;28770:131;:::i;:::-;28762:139;;28489:419;;;:::o;28914:178::-;29054:30;29050:1;29042:6;29038:14;29031:54;28914:178;:::o;29098:366::-;29240:3;29261:67;29325:2;29320:3;29261:67;:::i;:::-;29254:74;;29337:93;29426:3;29337:93;:::i;:::-;29455:2;29450:3;29446:12;29439:19;;29098:366;;;:::o;29470:419::-;29636:4;29674:2;29663:9;29659:18;29651:26;;29723:9;29717:4;29713:20;29709:1;29698:9;29694:17;29687:47;29751:131;29877:4;29751:131;:::i;:::-;29743:139;;29470:419;;;:::o;29895:410::-;29935:7;29958:20;29976:1;29958:20;:::i;:::-;29953:25;;29992:20;30010:1;29992:20;:::i;:::-;29987:25;;30047:1;30044;30040:9;30069:30;30087:11;30069:30;:::i;:::-;30058:41;;30248:1;30239:7;30235:15;30232:1;30229:22;30209:1;30202:9;30182:83;30159:139;;30278:18;;:::i;:::-;30159:139;29943:362;29895:410;;;;:::o;30311:168::-;30451:20;30447:1;30439:6;30435:14;30428:44;30311:168;:::o;30485:366::-;30627:3;30648:67;30712:2;30707:3;30648:67;:::i;:::-;30641:74;;30724:93;30813:3;30724:93;:::i;:::-;30842:2;30837:3;30833:12;30826:19;;30485:366;;;:::o;30857:419::-;31023:4;31061:2;31050:9;31046:18;31038:26;;31110:9;31104:4;31100:20;31096:1;31085:9;31081:17;31074:47;31138:131;31264:4;31138:131;:::i;:::-;31130:139;;30857:419;;;:::o;31282:233::-;31321:3;31344:24;31362:5;31344:24;:::i;:::-;31335:33;;31390:66;31383:5;31380:77;31377:103;;31460:18;;:::i;:::-;31377:103;31507:1;31500:5;31496:13;31489:20;;31282:233;;;:::o;31521:234::-;31661:34;31657:1;31649:6;31645:14;31638:58;31730:17;31725:2;31717:6;31713:15;31706:42;31521:234;:::o;31761:366::-;31903:3;31924:67;31988:2;31983:3;31924:67;:::i;:::-;31917:74;;32000:93;32089:3;32000:93;:::i;:::-;32118:2;32113:3;32109:12;32102:19;;31761:366;;;:::o;32133:419::-;32299:4;32337:2;32326:9;32322:18;32314:26;;32386:9;32380:4;32376:20;32372:1;32361:9;32357:17;32350:47;32414:131;32540:4;32414:131;:::i;:::-;32406:139;;32133:419;;;:::o;32558:148::-;32660:11;32697:3;32682:18;;32558:148;;;;:::o;32712:390::-;32818:3;32846:39;32879:5;32846:39;:::i;:::-;32901:89;32983:6;32978:3;32901:89;:::i;:::-;32894:96;;32999:65;33057:6;33052:3;33045:4;33038:5;33034:16;32999:65;:::i;:::-;33089:6;33084:3;33080:16;33073:23;;32822:280;32712:390;;;;:::o;33132:874::-;33235:3;33272:5;33266:12;33301:36;33327:9;33301:36;:::i;:::-;33353:89;33435:6;33430:3;33353:89;:::i;:::-;33346:96;;33473:1;33462:9;33458:17;33489:1;33484:166;;;;33664:1;33659:341;;;;33451:549;;33484:166;33568:4;33564:9;33553;33549:25;33544:3;33537:38;33630:6;33623:14;33616:22;33608:6;33604:35;33599:3;33595:45;33588:52;;33484:166;;33659:341;33726:38;33758:5;33726:38;:::i;:::-;33786:1;33800:154;33814:6;33811:1;33808:13;33800:154;;;33888:7;33882:14;33878:1;33873:3;33869:11;33862:35;33938:1;33929:7;33925:15;33914:26;;33836:4;33833:1;33829:12;33824:17;;33800:154;;;33983:6;33978:3;33974:16;33967:23;;33666:334;;33451:549;;33239:767;;33132:874;;;;:::o;34012:589::-;34237:3;34259:95;34350:3;34341:6;34259:95;:::i;:::-;34252:102;;34371:95;34462:3;34453:6;34371:95;:::i;:::-;34364:102;;34483:92;34571:3;34562:6;34483:92;:::i;:::-;34476:99;;34592:3;34585:10;;34012:589;;;;;;:::o;34607:79::-;34646:7;34675:5;34664:16;;34607:79;;;:::o;34692:157::-;34797:45;34817:24;34835:5;34817:24;:::i;:::-;34797:45;:::i;:::-;34792:3;34785:58;34692:157;;:::o;34855:94::-;34888:8;34936:5;34932:2;34928:14;34907:35;;34855:94;;;:::o;34955:::-;34994:7;35023:20;35037:5;35023:20;:::i;:::-;35012:31;;34955:94;;;:::o;35055:100::-;35094:7;35123:26;35143:5;35123:26;:::i;:::-;35112:37;;35055:100;;;:::o;35161:157::-;35266:45;35286:24;35304:5;35286:24;:::i;:::-;35266:45;:::i;:::-;35261:3;35254:58;35161:157;;:::o;35324:679::-;35520:3;35535:75;35606:3;35597:6;35535:75;:::i;:::-;35635:2;35630:3;35626:12;35619:19;;35648:75;35719:3;35710:6;35648:75;:::i;:::-;35748:2;35743:3;35739:12;35732:19;;35761:75;35832:3;35823:6;35761:75;:::i;:::-;35861:2;35856:3;35852:12;35845:19;;35874:75;35945:3;35936:6;35874:75;:::i;:::-;35974:2;35969:3;35965:12;35958:19;;35994:3;35987:10;;35324:679;;;;;;;:::o;36009:180::-;36057:77;36054:1;36047:88;36154:4;36151:1;36144:15;36178:4;36175:1;36168:15;36195:176;36227:1;36244:20;36262:1;36244:20;:::i;:::-;36239:25;;36278:20;36296:1;36278:20;:::i;:::-;36273:25;;36317:1;36307:35;;36322:18;;:::i;:::-;36307:35;36363:1;36360;36356:9;36351:14;;36195:176;;;;:::o;36377:98::-;36428:6;36462:5;36456:12;36446:22;;36377:98;;;:::o;36481:168::-;36564:11;36598:6;36593:3;36586:19;36638:4;36633:3;36629:14;36614:29;;36481:168;;;;:::o;36655:373::-;36741:3;36769:38;36801:5;36769:38;:::i;:::-;36823:70;36886:6;36881:3;36823:70;:::i;:::-;36816:77;;36902:65;36960:6;36955:3;36948:4;36941:5;36937:16;36902:65;:::i;:::-;36992:29;37014:6;36992:29;:::i;:::-;36987:3;36983:39;36976:46;;36745:283;36655:373;;;;:::o;37034:640::-;37229:4;37267:3;37256:9;37252:19;37244:27;;37281:71;37349:1;37338:9;37334:17;37325:6;37281:71;:::i;:::-;37362:72;37430:2;37419:9;37415:18;37406:6;37362:72;:::i;:::-;37444;37512:2;37501:9;37497:18;37488:6;37444:72;:::i;:::-;37563:9;37557:4;37553:20;37548:2;37537:9;37533:18;37526:48;37591:76;37662:4;37653:6;37591:76;:::i;:::-;37583:84;;37034:640;;;;;;;:::o;37680:141::-;37736:5;37767:6;37761:13;37752:22;;37783:32;37809:5;37783:32;:::i;:::-;37680:141;;;;:::o;37827:349::-;37896:6;37945:2;37933:9;37924:7;37920:23;37916:32;37913:119;;;37951:79;;:::i;:::-;37913:119;38071:1;38096:63;38151:7;38142:6;38131:9;38127:22;38096:63;:::i;:::-;38086:73;;38042:127;37827:349;;;;:::o;38182:194::-;38222:4;38242:20;38260:1;38242:20;:::i;:::-;38237:25;;38276:20;38294:1;38276:20;:::i;:::-;38271:25;;38320:1;38317;38313:9;38305:17;;38344:1;38338:4;38335:11;38332:37;;;38349:18;;:::i;:::-;38332:37;38182:194;;;;:::o;38382:180::-;38430:77;38427:1;38420:88;38527:4;38524:1;38517:15;38551:4;38548:1;38541:15;38568:171;38607:3;38630:24;38648:5;38630:24;:::i;:::-;38621:33;;38676:4;38669:5;38666:15;38663:41;;38684:18;;:::i;:::-;38663:41;38731:1;38724:5;38720:13;38713:20;;38568:171;;;:::o
Swarm Source
ipfs://6e0e2a085897db3f6214c2d231965f6ff964a1b3a3ed44dd9ef0f6744473f888
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.