Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 5 from a total of 5 transactions
Loading...
Loading
Contract Name:
TurkeyFPS
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-11-23 */ // SPDX-License-Identifier: GPL-3.0 // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { 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_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); 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); } } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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`, * checking first that contract recipients are aware of the ERC721 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 be 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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * 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 payable; /** * @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 payable; /** * @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 caller. * * 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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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 caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/3_Ballot.sol pragma solidity ^0.8.0; contract TurkeyFPS is ERC721A, Ownable { using SafeMath for uint256; using Strings for uint256; string private _baseUri; string private _notRevealURI; bool public RevealedActive = false; uint256 public PricePreSale = 0.22 ether; uint256 public PricePublic = 0.22 ether; uint256 public MaxToken = 12000; uint256 public TokenIndex = 0; event TokenMinted(uint256 supply); enum Steps {Launch, PreSale, PublicSale, SoldOut} Steps public sellingStep; constructor() ERC721A("TurkeyFPS", "TRKY") {sellingStep = Steps.Launch;} function _baseURI() internal view virtual override returns (string memory) { return _baseUri; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory a) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (totalSupply() >= MaxToken || RevealedActive == true) { if (tokenId < MaxToken) { uint256 offsetId = tokenId.add(MaxToken.sub(TokenIndex)).mod(MaxToken); return string(abi.encodePacked(_baseURI(), offsetId.toString(), ".json")); } } else { return _notRevealURI; } } function mintPresale(uint8 mintAmount) public payable { require(sellingStep == Steps.PreSale, "PreSale has not started yet."); require(totalSupply().add(mintAmount) <= MaxToken, "PreSale Sold Out"); require(mintAmount > 0, "At least one should be minted"); require(PricePreSale * mintAmount <= msg.value, "Not enough funds"); if(totalSupply() + mintAmount == MaxToken) { RevealedActive = true; } _mint(msg.sender, mintAmount); emit TokenMinted(totalSupply()); } function mint(uint8 mintAmount) public payable { require(sellingStep != Steps.SoldOut, "Sold Out"); require(sellingStep == Steps.PublicSale, "Sorry, public sale has not started yet."); require(totalSupply().add(mintAmount) <= MaxToken, "Sold Out"); require(mintAmount > 0, "At least one should be minted"); require(PricePublic * mintAmount <= msg.value, "Not enough funds"); if(totalSupply() + mintAmount == MaxToken) { sellingStep = Steps.SoldOut; } _mint(msg.sender, mintAmount); emit TokenMinted(totalSupply()); } function Airdrop(address _to, uint256 mintAmount) external onlyOwner() { require(totalSupply().add(mintAmount) <= MaxToken, "Sold Out"); require(mintAmount > 0, "At least one should be minted"); _mint(_to, mintAmount); emit TokenMinted(totalSupply()); } function setPreSale() external onlyOwner { sellingStep = Steps.PreSale; } function setPublicSale() external onlyOwner { require(sellingStep == Steps.PreSale, "Active PreSale Selling Step at first"); sellingStep = Steps.PublicSale; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseUri = baseURI; } function setNotRevealURI(string memory preRevealURI) external onlyOwner { _notRevealURI = preRevealURI; } function setPricePublic(uint256 _newPricePublic) public onlyOwner { PricePublic = _newPricePublic; } function setPricePreSale(uint256 _newPricePreSale) public onlyOwner { PricePreSale = _newPricePreSale; } function Reveal() public onlyOwner { RevealedActive = true; } function withdraw() public payable onlyOwner { (bool mod, ) = payable(owner()).call{value: address(this).balance}(""); require(mod); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"TokenMinted","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":"_to","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"MaxToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PricePreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"RevealedActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TokenIndex","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","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":"uint8","name":"mintAmount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"mintAmount","type":"uint8"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum TurkeyFPS.Steps","name":"","type":"uint8"}],"stateMutability":"view","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"preRevealURI","type":"string"}],"name":"setNotRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPricePreSale","type":"uint256"}],"name":"setPricePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPricePublic","type":"uint256"}],"name":"setPricePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"a","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052600b805460ff1916905567030d98d59a960000600c819055600d55612ee0600e556000600f553480156200003757600080fd5b5060408051808201825260098152685475726b657946505360b81b60208083019182528351808501909452600484526354524b5960e01b90840152815191929162000085916002916200010f565b5080516200009b9060039060208401906200010f565b50506000805550620000ad33620000bd565b6010805460ff19169055620001f2565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011d90620001b5565b90600052602060002090601f0160209004810192826200014157600085556200018c565b82601f106200015c57805160ff19168380011785556200018c565b828001600101855582156200018c579182015b828111156200018c5782518255916020019190600101906200016f565b506200019a9291506200019e565b5090565b5b808211156200019a57600081556001016200019f565b600181811c90821680620001ca57607f821691505b60208210811415620001ec57634e487b7160e01b600052602260045260246000fd5b50919050565b611da180620002026000396000f3fe6080604052600436106101f95760003560e01c806370a082311161010d578063a22cb465116100a0578063d4c76e8b1161006f578063d4c76e8b14610520578063dad8d8ca14610536578063e203466914610550578063e985e9c514610570578063f2fde38b146105b957600080fd5b8063a22cb465146104a6578063b88d4fde146104c6578063c87b56dd146104d9578063cbccefb2146104f957600080fd5b80638c32c568116100dc5780638c32c568146104405780638da5cb5b1461046057806395d89b411461047e578063a0a6ee0f1461049357600080fd5b806370a08231146103e0578063715018a6146104005780637e2ff5f91461041557806381a2d20e1461042a57600080fd5b80633ccfd60b1161019057806356f8f78c1161015f57806356f8f78c146103635780635accac99146103785780636352211e1461039857806366b9f0d2146103b85780636ecd2306146103cd57600080fd5b80633ccfd60b1461030857806342842e0e146103105780634530a8321461032357806355f804b31461034357600080fd5b8063095ea7b3116101cc578063095ea7b3146102b157806318160ddd146102c657806323b872dd146102df5780632aedc2a3146102f257600080fd5b806301ffc9a7146101fe5780630353025f1461023357806306fdde0314610257578063081812fc14610279575b600080fd5b34801561020a57600080fd5b5061021e61021936600461179f565b6105d9565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610249600f5481565b60405190815260200161022a565b34801561026357600080fd5b5061026c61062b565b60405161022a9190611814565b34801561028557600080fd5b50610299610294366004611827565b6106bd565b6040516001600160a01b03909116815260200161022a565b6102c46102bf366004611857565b610701565b005b3480156102d257600080fd5b5060015460005403610249565b6102c46102ed366004611881565b6107a1565b3480156102fe57600080fd5b50610249600d5481565b6102c4610932565b6102c461031e366004611881565b6109ae565b34801561032f57600080fd5b506102c461033e366004611827565b6109ce565b34801561034f57600080fd5b506102c461035e3660046118bd565b6109db565b34801561036f57600080fd5b506102c46109ef565b34801561038457600080fd5b506102c46103933660046119bb565b610a85565b3480156103a457600080fd5b506102996103b3366004611827565b610aa4565b3480156103c457600080fd5b506102c4610aaf565b6102c46103db366004611a04565b610ac6565b3480156103ec57600080fd5b506102496103fb366004611a27565b610ca5565b34801561040c57600080fd5b506102c4610cf4565b34801561042157600080fd5b506102c4610d08565b34801561043657600080fd5b50610249600c5481565b34801561044c57600080fd5b506102c461045b366004611857565b610d23565b34801561046c57600080fd5b506008546001600160a01b0316610299565b34801561048a57600080fd5b5061026c610dca565b6102c46104a1366004611a04565b610dd9565b3480156104b257600080fd5b506102c46104c1366004611a42565b610f4b565b6102c46104d4366004611a7e565b610fb7565b3480156104e557600080fd5b5061026c6104f4366004611827565b611001565b34801561050557600080fd5b506010546105139060ff1681565b60405161022a9190611b10565b34801561052c57600080fd5b50610249600e5481565b34801561054257600080fd5b50600b5461021e9060ff1681565b34801561055c57600080fd5b506102c461056b366004611827565b61119e565b34801561057c57600080fd5b5061021e61058b366004611b38565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105c557600080fd5b506102c46105d4366004611a27565b6111ab565b60006301ffc9a760e01b6001600160e01b03198316148061060a57506380ac58cd60e01b6001600160e01b03198316145b806106255750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461063a90611b6b565b80601f016020809104026020016040519081016040528092919081815260200182805461066690611b6b565b80156106b35780601f10610688576101008083540402835291602001916106b3565b820191906000526020600020905b81548152906001019060200180831161069657829003601f168201915b5050505050905090565b60006106c882611221565b6106e5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061070c82610aa4565b9050336001600160a01b0382161461074557610728813361058b565b610745576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107ac82611248565b9050836001600160a01b0316816001600160a01b0316146107df5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761082c5761080f863361058b565b61082c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661085357604051633a954ecd60e21b815260040160405180910390fd5b801561085e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166108e957600184016000818152600460205260409020546108e75760005481146108e75760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61093a6112b0565b600061094e6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610998576040519150601f19603f3d011682016040523d82523d6000602084013e61099d565b606091505b50509050806109ab57600080fd5b50565b6109c983838360405180602001604052806000815250610fb7565b505050565b6109d66112b0565b600d55565b6109e36112b0565b6109c96009838361167c565b6109f76112b0565b600160105460ff166003811115610a1057610a10611afa565b14610a6e5760405162461bcd60e51b8152602060048201526024808201527f4163746976652050726553616c652053656c6c696e67205374657020617420666044820152631a5c9cdd60e21b60648201526084015b60405180910390fd5b601080546002919060ff19166001835b0217905550565b610a8d6112b0565b8051610aa090600a906020840190611700565b5050565b600061062582611248565b610ab76112b0565b600b805460ff19166001179055565b600360105460ff166003811115610adf57610adf611afa565b1415610afd5760405162461bcd60e51b8152600401610a6590611ba6565b600260105460ff166003811115610b1657610b16611afa565b14610b735760405162461bcd60e51b815260206004820152602760248201527f536f7272792c207075626c69632073616c6520686173206e6f7420737461727460448201526632b2103cb2ba1760c91b6064820152608401610a65565b600e54610b908260ff16610b8a6001546000540390565b9061130a565b1115610bae5760405162461bcd60e51b8152600401610a6590611ba6565b60008160ff1611610bd15760405162461bcd60e51b8152600401610a6590611bc8565b348160ff16600d54610be39190611c15565b1115610c245760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610a65565b600e548160ff16610c386001546000540390565b610c429190611c34565b1415610c56576010805460ff191660031790555b610c63338260ff16611316565b7ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e610c916001546000540390565b60405190815260200160405180910390a150565b60006001600160a01b038216610cce576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cfc6112b0565b610d06600061140d565b565b610d106112b0565b601080546001919060ff19168280610a7e565b610d2b6112b0565b600e54610d3f82610b8a6001546000540390565b1115610d5d5760405162461bcd60e51b8152600401610a6590611ba6565b60008111610d7d5760405162461bcd60e51b8152600401610a6590611bc8565b610d878282611316565b7ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e610db56001546000540390565b60405190815260200160405180910390a15050565b60606003805461063a90611b6b565b600160105460ff166003811115610df257610df2611afa565b14610e3f5760405162461bcd60e51b815260206004820152601c60248201527f50726553616c6520686173206e6f742073746172746564207965742e000000006044820152606401610a65565b600e54610e568260ff16610b8a6001546000540390565b1115610e975760405162461bcd60e51b815260206004820152601060248201526f141c9954d85b194814dbdb190813dd5d60821b6044820152606401610a65565b60008160ff1611610eba5760405162461bcd60e51b8152600401610a6590611bc8565b348160ff16600c54610ecc9190611c15565b1115610f0d5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610a65565b600e548160ff16610f216001546000540390565b610f2b9190611c34565b1415610c5657600b805460ff19166001179055610c63338260ff16611316565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fc28484846107a1565b6001600160a01b0383163b15610ffb57610fde8484848461145f565b610ffb576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061100c82611221565b6110705760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a65565b600e546001546000540310158061108e5750600b5460ff1615156001145b1561110c57600e548210156111075760006110cc600e546110c66110bf600f54600e5461155790919063ffffffff16565b869061130a565b90611563565b90506110d661156f565b6110df8261157e565b6040516020016110f0929190611c4c565b604051602081830303815290604052915050919050565b919050565b600a805461111990611b6b565b80601f016020809104026020016040519081016040528092919081815260200182805461114590611b6b565b80156111925780601f1061116757610100808354040283529160200191611192565b820191906000526020600020905b81548152906001019060200180831161117557829003601f168201915b50505050509050919050565b6111a66112b0565b600c55565b6111b36112b0565b6001600160a01b0381166112185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a65565b6109ab8161140d565b6000805482108015610625575050600090815260046020526040902054600160e01b161590565b60008160005481101561129757600081815260046020526040902054600160e01b8116611295575b8061128e575060001901600081815260046020526040902054611270565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610d065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a65565b600061128e8284611c34565b600054816113375760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146113e657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016113ae565b508161140457604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611494903390899088908890600401611c8b565b602060405180830381600087803b1580156114ae57600080fd5b505af19250505080156114de575060408051601f3d908101601f191682019092526114db91810190611cc8565b60015b611539573d80801561150c576040519150601f19603f3d011682016040523d82523d6000602084013e611511565b606091505b508051611531576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600061128e8284611ce5565b600061128e8284611d12565b60606009805461063a90611b6b565b6060816115a25750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115cc57806115b681611d26565b91506115c59050600a83611d41565b91506115a6565b60008167ffffffffffffffff8111156115e7576115e761192f565b6040519080825280601f01601f191660200182016040528015611611576020820181803683370190505b5090505b841561154f57611626600183611ce5565b9150611633600a86611d12565b61163e906030611c34565b60f81b81838151811061165357611653611d55565b60200101906001600160f81b031916908160001a905350611675600a86611d41565b9450611615565b82805461168890611b6b565b90600052602060002090601f0160209004810192826116aa57600085556116f0565b82601f106116c35782800160ff198235161785556116f0565b828001600101855582156116f0579182015b828111156116f05782358255916020019190600101906116d5565b506116fc929150611774565b5090565b82805461170c90611b6b565b90600052602060002090601f01602090048101928261172e57600085556116f0565b82601f1061174757805160ff19168380011785556116f0565b828001600101855582156116f0579182015b828111156116f0578251825591602001919060010190611759565b5b808211156116fc5760008155600101611775565b6001600160e01b0319811681146109ab57600080fd5b6000602082840312156117b157600080fd5b813561128e81611789565b60005b838110156117d75781810151838201526020016117bf565b83811115610ffb5750506000910152565b600081518084526118008160208601602086016117bc565b601f01601f19169290920160200192915050565b60208152600061128e60208301846117e8565b60006020828403121561183957600080fd5b5035919050565b80356001600160a01b038116811461110757600080fd5b6000806040838503121561186a57600080fd5b61187383611840565b946020939093013593505050565b60008060006060848603121561189657600080fd5b61189f84611840565b92506118ad60208501611840565b9150604084013590509250925092565b600080602083850312156118d057600080fd5b823567ffffffffffffffff808211156118e857600080fd5b818501915085601f8301126118fc57600080fd5b81358181111561190b57600080fd5b86602082850101111561191d57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156119605761196061192f565b604051601f8501601f19908116603f011681019082821181831017156119885761198861192f565b816040528093508581528686860111156119a157600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119cd57600080fd5b813567ffffffffffffffff8111156119e457600080fd5b8201601f810184136119f557600080fd5b61154f84823560208401611945565b600060208284031215611a1657600080fd5b813560ff8116811461128e57600080fd5b600060208284031215611a3957600080fd5b61128e82611840565b60008060408385031215611a5557600080fd5b611a5e83611840565b915060208301358015158114611a7357600080fd5b809150509250929050565b60008060008060808587031215611a9457600080fd5b611a9d85611840565b9350611aab60208601611840565b925060408501359150606085013567ffffffffffffffff811115611ace57600080fd5b8501601f81018713611adf57600080fd5b611aee87823560208401611945565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160048310611b3257634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611b4b57600080fd5b611b5483611840565b9150611b6260208401611840565b90509250929050565b600181811c90821680611b7f57607f821691505b60208210811415611ba057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526008908201526714dbdb190813dd5d60c21b604082015260600190565b6020808252601d908201527f4174206c65617374206f6e652073686f756c64206265206d696e746564000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611c2f57611c2f611bff565b500290565b60008219821115611c4757611c47611bff565b500190565b60008351611c5e8184602088016117bc565b835190830190611c728183602088016117bc565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cbe908301846117e8565b9695505050505050565b600060208284031215611cda57600080fd5b815161128e81611789565b600082821015611cf757611cf7611bff565b500390565b634e487b7160e01b600052601260045260246000fd5b600082611d2157611d21611cfc565b500690565b6000600019821415611d3a57611d3a611bff565b5060010190565b600082611d5057611d50611cfc565b500490565b634e487b7160e01b600052603260045260246000fdfea264697066735822122033076a900cd94398a6752a8eec5cb2972cd36e614ce86d0558f078193461762364736f6c63430008090033
Deployed Bytecode
0x6080604052600436106101f95760003560e01c806370a082311161010d578063a22cb465116100a0578063d4c76e8b1161006f578063d4c76e8b14610520578063dad8d8ca14610536578063e203466914610550578063e985e9c514610570578063f2fde38b146105b957600080fd5b8063a22cb465146104a6578063b88d4fde146104c6578063c87b56dd146104d9578063cbccefb2146104f957600080fd5b80638c32c568116100dc5780638c32c568146104405780638da5cb5b1461046057806395d89b411461047e578063a0a6ee0f1461049357600080fd5b806370a08231146103e0578063715018a6146104005780637e2ff5f91461041557806381a2d20e1461042a57600080fd5b80633ccfd60b1161019057806356f8f78c1161015f57806356f8f78c146103635780635accac99146103785780636352211e1461039857806366b9f0d2146103b85780636ecd2306146103cd57600080fd5b80633ccfd60b1461030857806342842e0e146103105780634530a8321461032357806355f804b31461034357600080fd5b8063095ea7b3116101cc578063095ea7b3146102b157806318160ddd146102c657806323b872dd146102df5780632aedc2a3146102f257600080fd5b806301ffc9a7146101fe5780630353025f1461023357806306fdde0314610257578063081812fc14610279575b600080fd5b34801561020a57600080fd5b5061021e61021936600461179f565b6105d9565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610249600f5481565b60405190815260200161022a565b34801561026357600080fd5b5061026c61062b565b60405161022a9190611814565b34801561028557600080fd5b50610299610294366004611827565b6106bd565b6040516001600160a01b03909116815260200161022a565b6102c46102bf366004611857565b610701565b005b3480156102d257600080fd5b5060015460005403610249565b6102c46102ed366004611881565b6107a1565b3480156102fe57600080fd5b50610249600d5481565b6102c4610932565b6102c461031e366004611881565b6109ae565b34801561032f57600080fd5b506102c461033e366004611827565b6109ce565b34801561034f57600080fd5b506102c461035e3660046118bd565b6109db565b34801561036f57600080fd5b506102c46109ef565b34801561038457600080fd5b506102c46103933660046119bb565b610a85565b3480156103a457600080fd5b506102996103b3366004611827565b610aa4565b3480156103c457600080fd5b506102c4610aaf565b6102c46103db366004611a04565b610ac6565b3480156103ec57600080fd5b506102496103fb366004611a27565b610ca5565b34801561040c57600080fd5b506102c4610cf4565b34801561042157600080fd5b506102c4610d08565b34801561043657600080fd5b50610249600c5481565b34801561044c57600080fd5b506102c461045b366004611857565b610d23565b34801561046c57600080fd5b506008546001600160a01b0316610299565b34801561048a57600080fd5b5061026c610dca565b6102c46104a1366004611a04565b610dd9565b3480156104b257600080fd5b506102c46104c1366004611a42565b610f4b565b6102c46104d4366004611a7e565b610fb7565b3480156104e557600080fd5b5061026c6104f4366004611827565b611001565b34801561050557600080fd5b506010546105139060ff1681565b60405161022a9190611b10565b34801561052c57600080fd5b50610249600e5481565b34801561054257600080fd5b50600b5461021e9060ff1681565b34801561055c57600080fd5b506102c461056b366004611827565b61119e565b34801561057c57600080fd5b5061021e61058b366004611b38565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105c557600080fd5b506102c46105d4366004611a27565b6111ab565b60006301ffc9a760e01b6001600160e01b03198316148061060a57506380ac58cd60e01b6001600160e01b03198316145b806106255750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461063a90611b6b565b80601f016020809104026020016040519081016040528092919081815260200182805461066690611b6b565b80156106b35780601f10610688576101008083540402835291602001916106b3565b820191906000526020600020905b81548152906001019060200180831161069657829003601f168201915b5050505050905090565b60006106c882611221565b6106e5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061070c82610aa4565b9050336001600160a01b0382161461074557610728813361058b565b610745576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107ac82611248565b9050836001600160a01b0316816001600160a01b0316146107df5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761082c5761080f863361058b565b61082c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661085357604051633a954ecd60e21b815260040160405180910390fd5b801561085e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166108e957600184016000818152600460205260409020546108e75760005481146108e75760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b61093a6112b0565b600061094e6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610998576040519150601f19603f3d011682016040523d82523d6000602084013e61099d565b606091505b50509050806109ab57600080fd5b50565b6109c983838360405180602001604052806000815250610fb7565b505050565b6109d66112b0565b600d55565b6109e36112b0565b6109c96009838361167c565b6109f76112b0565b600160105460ff166003811115610a1057610a10611afa565b14610a6e5760405162461bcd60e51b8152602060048201526024808201527f4163746976652050726553616c652053656c6c696e67205374657020617420666044820152631a5c9cdd60e21b60648201526084015b60405180910390fd5b601080546002919060ff19166001835b0217905550565b610a8d6112b0565b8051610aa090600a906020840190611700565b5050565b600061062582611248565b610ab76112b0565b600b805460ff19166001179055565b600360105460ff166003811115610adf57610adf611afa565b1415610afd5760405162461bcd60e51b8152600401610a6590611ba6565b600260105460ff166003811115610b1657610b16611afa565b14610b735760405162461bcd60e51b815260206004820152602760248201527f536f7272792c207075626c69632073616c6520686173206e6f7420737461727460448201526632b2103cb2ba1760c91b6064820152608401610a65565b600e54610b908260ff16610b8a6001546000540390565b9061130a565b1115610bae5760405162461bcd60e51b8152600401610a6590611ba6565b60008160ff1611610bd15760405162461bcd60e51b8152600401610a6590611bc8565b348160ff16600d54610be39190611c15565b1115610c245760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610a65565b600e548160ff16610c386001546000540390565b610c429190611c34565b1415610c56576010805460ff191660031790555b610c63338260ff16611316565b7ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e610c916001546000540390565b60405190815260200160405180910390a150565b60006001600160a01b038216610cce576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610cfc6112b0565b610d06600061140d565b565b610d106112b0565b601080546001919060ff19168280610a7e565b610d2b6112b0565b600e54610d3f82610b8a6001546000540390565b1115610d5d5760405162461bcd60e51b8152600401610a6590611ba6565b60008111610d7d5760405162461bcd60e51b8152600401610a6590611bc8565b610d878282611316565b7ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e610db56001546000540390565b60405190815260200160405180910390a15050565b60606003805461063a90611b6b565b600160105460ff166003811115610df257610df2611afa565b14610e3f5760405162461bcd60e51b815260206004820152601c60248201527f50726553616c6520686173206e6f742073746172746564207965742e000000006044820152606401610a65565b600e54610e568260ff16610b8a6001546000540390565b1115610e975760405162461bcd60e51b815260206004820152601060248201526f141c9954d85b194814dbdb190813dd5d60821b6044820152606401610a65565b60008160ff1611610eba5760405162461bcd60e51b8152600401610a6590611bc8565b348160ff16600c54610ecc9190611c15565b1115610f0d5760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610a65565b600e548160ff16610f216001546000540390565b610f2b9190611c34565b1415610c5657600b805460ff19166001179055610c63338260ff16611316565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fc28484846107a1565b6001600160a01b0383163b15610ffb57610fde8484848461145f565b610ffb576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061100c82611221565b6110705760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a65565b600e546001546000540310158061108e5750600b5460ff1615156001145b1561110c57600e548210156111075760006110cc600e546110c66110bf600f54600e5461155790919063ffffffff16565b869061130a565b90611563565b90506110d661156f565b6110df8261157e565b6040516020016110f0929190611c4c565b604051602081830303815290604052915050919050565b919050565b600a805461111990611b6b565b80601f016020809104026020016040519081016040528092919081815260200182805461114590611b6b565b80156111925780601f1061116757610100808354040283529160200191611192565b820191906000526020600020905b81548152906001019060200180831161117557829003601f168201915b50505050509050919050565b6111a66112b0565b600c55565b6111b36112b0565b6001600160a01b0381166112185760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a65565b6109ab8161140d565b6000805482108015610625575050600090815260046020526040902054600160e01b161590565b60008160005481101561129757600081815260046020526040902054600160e01b8116611295575b8061128e575060001901600081815260046020526040902054611270565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610d065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a65565b600061128e8284611c34565b600054816113375760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146113e657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016113ae565b508161140457604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611494903390899088908890600401611c8b565b602060405180830381600087803b1580156114ae57600080fd5b505af19250505080156114de575060408051601f3d908101601f191682019092526114db91810190611cc8565b60015b611539573d80801561150c576040519150601f19603f3d011682016040523d82523d6000602084013e611511565b606091505b508051611531576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b600061128e8284611ce5565b600061128e8284611d12565b60606009805461063a90611b6b565b6060816115a25750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115cc57806115b681611d26565b91506115c59050600a83611d41565b91506115a6565b60008167ffffffffffffffff8111156115e7576115e761192f565b6040519080825280601f01601f191660200182016040528015611611576020820181803683370190505b5090505b841561154f57611626600183611ce5565b9150611633600a86611d12565b61163e906030611c34565b60f81b81838151811061165357611653611d55565b60200101906001600160f81b031916908160001a905350611675600a86611d41565b9450611615565b82805461168890611b6b565b90600052602060002090601f0160209004810192826116aa57600085556116f0565b82601f106116c35782800160ff198235161785556116f0565b828001600101855582156116f0579182015b828111156116f05782358255916020019190600101906116d5565b506116fc929150611774565b5090565b82805461170c90611b6b565b90600052602060002090601f01602090048101928261172e57600085556116f0565b82601f1061174757805160ff19168380011785556116f0565b828001600101855582156116f0579182015b828111156116f0578251825591602001919060010190611759565b5b808211156116fc5760008155600101611775565b6001600160e01b0319811681146109ab57600080fd5b6000602082840312156117b157600080fd5b813561128e81611789565b60005b838110156117d75781810151838201526020016117bf565b83811115610ffb5750506000910152565b600081518084526118008160208601602086016117bc565b601f01601f19169290920160200192915050565b60208152600061128e60208301846117e8565b60006020828403121561183957600080fd5b5035919050565b80356001600160a01b038116811461110757600080fd5b6000806040838503121561186a57600080fd5b61187383611840565b946020939093013593505050565b60008060006060848603121561189657600080fd5b61189f84611840565b92506118ad60208501611840565b9150604084013590509250925092565b600080602083850312156118d057600080fd5b823567ffffffffffffffff808211156118e857600080fd5b818501915085601f8301126118fc57600080fd5b81358181111561190b57600080fd5b86602082850101111561191d57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156119605761196061192f565b604051601f8501601f19908116603f011681019082821181831017156119885761198861192f565b816040528093508581528686860111156119a157600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119cd57600080fd5b813567ffffffffffffffff8111156119e457600080fd5b8201601f810184136119f557600080fd5b61154f84823560208401611945565b600060208284031215611a1657600080fd5b813560ff8116811461128e57600080fd5b600060208284031215611a3957600080fd5b61128e82611840565b60008060408385031215611a5557600080fd5b611a5e83611840565b915060208301358015158114611a7357600080fd5b809150509250929050565b60008060008060808587031215611a9457600080fd5b611a9d85611840565b9350611aab60208601611840565b925060408501359150606085013567ffffffffffffffff811115611ace57600080fd5b8501601f81018713611adf57600080fd5b611aee87823560208401611945565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160048310611b3257634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215611b4b57600080fd5b611b5483611840565b9150611b6260208401611840565b90509250929050565b600181811c90821680611b7f57607f821691505b60208210811415611ba057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526008908201526714dbdb190813dd5d60c21b604082015260600190565b6020808252601d908201527f4174206c65617374206f6e652073686f756c64206265206d696e746564000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611c2f57611c2f611bff565b500290565b60008219821115611c4757611c47611bff565b500190565b60008351611c5e8184602088016117bc565b835190830190611c728183602088016117bc565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cbe908301846117e8565b9695505050505050565b600060208284031215611cda57600080fd5b815161128e81611789565b600082821015611cf757611cf7611bff565b500390565b634e487b7160e01b600052601260045260246000fd5b600082611d2157611d21611cfc565b500690565b6000600019821415611d3a57611d3a611bff565b5060010190565b600082611d5057611d50611cfc565b500490565b634e487b7160e01b600052603260045260246000fdfea264697066735822122033076a900cd94398a6752a8eec5cb2972cd36e614ce86d0558f078193461762364736f6c63430008090033
Deployed Bytecode Sourcemap
64677:3583:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27979:639;;;;;;;;;;-1:-1:-1;27979:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;27979:639:0;;;;;;;;65010:29;;;;;;;;;;;;;;;;;;;738:25:1;;;726:2;711:18;65010:29:0;592:177:1;28881:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35372:218::-;;;;;;;;;;-1:-1:-1;35372:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;35372:218:0;1710:203:1;34805:408:0;;;;;;:::i;:::-;;:::i;:::-;;24632:323;;;;;;;;;;-1:-1:-1;24906:12:0;;24693:7;24890:13;:28;24632:323;;39011:2825;;;;;;:::i;:::-;;:::i;64930:39::-;;;;;;;;;;;;;;;;68106:147;;;:::i;41932:193::-;;;;;;:::i;:::-;;:::i;67799:108::-;;;;;;;;;;-1:-1:-1;67799:108:0;;;;;:::i;:::-;;:::i;67579:95::-;;;;;;;;;;-1:-1:-1;67579:95:0;;;;;:::i;:::-;;:::i;67402:171::-;;;;;;;;;;;;;:::i;67680:113::-;;;;;;;;;;-1:-1:-1;67680:113:0;;;;;:::i;:::-;;:::i;30274:152::-;;;;;;;;;;-1:-1:-1;30274:152:0;;;;;:::i;:::-;;:::i;68031:69::-;;;;;;;;;;;;;:::i;66344:623::-;;;;;;:::i;:::-;;:::i;25816:233::-;;;;;;;;;;-1:-1:-1;25816:233:0;;;;;:::i;:::-;;:::i;63786:103::-;;;;;;;;;;;;;:::i;67315:81::-;;;;;;;;;;;;;:::i;64885:40::-;;;;;;;;;;;;;;;;66973:336;;;;;;;;;;-1:-1:-1;66973:336:0;;;;;:::i;:::-;;:::i;63138:87::-;;;;;;;;;;-1:-1:-1;63211:6:0;;-1:-1:-1;;;;;63211:6:0;63138:87;;29057:104;;;;;;;;;;;;;:::i;65839:499::-;;;;;;:::i;:::-;;:::i;35930:234::-;;;;;;;;;;-1:-1:-1;35930:234:0;;;;;:::i;:::-;;:::i;42723:407::-;;;;;;:::i;:::-;;:::i;65345:488::-;;;;;;;;;;-1:-1:-1;65345:488:0;;;;;:::i;:::-;;:::i;65135:24::-;;;;;;;;;;-1:-1:-1;65135:24:0;;;;;;;;;;;;;;;:::i;64974:31::-;;;;;;;;;;;;;;;;64846:34;;;;;;;;;;-1:-1:-1;64846:34:0;;;;;;;;67913:112;;;;;;;;;;-1:-1:-1;67913:112:0;;;;;:::i;:::-;;:::i;36321:164::-;;;;;;;;;;-1:-1:-1;36321:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;36442:25:0;;;36418:4;36442:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36321:164;64044:201;;;;;;;;;;-1:-1:-1;64044:201:0;;;;;:::i;:::-;;:::i;27979:639::-;28064:4;-1:-1:-1;;;;;;;;;28388:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;28465:25:0;;;28388:102;:179;;;-1:-1:-1;;;;;;;;;;28542:25:0;;;28388:179;28368:199;27979:639;-1:-1:-1;;27979:639:0:o;28881:100::-;28935:13;28968:5;28961:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28881:100;:::o;35372:218::-;35448:7;35473:16;35481:7;35473;:16::i;:::-;35468:64;;35498:34;;-1:-1:-1;;;35498:34:0;;;;;;;;;;;35468:64;-1:-1:-1;35552:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;35552:30:0;;35372:218::o;34805:408::-;34894:13;34910:16;34918:7;34910;:16::i;:::-;34894:32;-1:-1:-1;59138:10:0;-1:-1:-1;;;;;34943:28:0;;;34939:175;;34991:44;35008:5;59138:10;36321:164;:::i;34991:44::-;34986:128;;35063:35;;-1:-1:-1;;;35063:35:0;;;;;;;;;;;34986:128;35126:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;35126:35:0;-1:-1:-1;;;;;35126:35:0;;;;;;;;;35177:28;;35126:24;;35177:28;;;;;;;34883:330;34805:408;;:::o;39011:2825::-;39153:27;39183;39202:7;39183:18;:27::i;:::-;39153:57;;39268:4;-1:-1:-1;;;;;39227:45:0;39243:19;-1:-1:-1;;;;;39227:45:0;;39223:86;;39281:28;;-1:-1:-1;;;39281:28:0;;;;;;;;;;;39223:86;39323:27;38119:24;;;:15;:24;;;;;38347:26;;59138:10;37744:30;;;-1:-1:-1;;;;;37437:28:0;;37722:20;;;37719:56;39509:180;;39602:43;39619:4;59138:10;36321:164;:::i;39602:43::-;39597:92;;39654:35;;-1:-1:-1;;;39654:35:0;;;;;;;;;;;39597:92;-1:-1:-1;;;;;39706:16:0;;39702:52;;39731:23;;-1:-1:-1;;;39731:23:0;;;;;;;;;;;39702:52;39903:15;39900:160;;;40043:1;40022:19;40015:30;39900:160;-1:-1:-1;;;;;40440:24:0;;;;;;;:18;:24;;;;;;40438:26;;-1:-1:-1;;40438:26:0;;;40509:22;;;;;;;;;40507:24;;-1:-1:-1;40507:24:0;;;33663:11;33638:23;33634:41;33621:63;-1:-1:-1;;;33621:63:0;40802:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;41097:47:0;;41093:627;;41202:1;41192:11;;41170:19;41325:30;;;:17;:30;;;;;;41321:384;;41463:13;;41448:11;:28;41444:242;;41610:30;;;;:17;:30;;;;;:52;;;41444:242;41151:569;41093:627;41767:7;41763:2;-1:-1:-1;;;;;41748:27:0;41757:4;-1:-1:-1;;;;;41748:27:0;;;;;;;;;;;39142:2694;;;39011:2825;;;:::o;68106:147::-;63024:13;:11;:13::i;:::-;68159:8:::1;68181:7;63211:6:::0;;-1:-1:-1;;;;;63211:6:0;;63138:87;68181:7:::1;-1:-1:-1::0;;;;;68173:21:0::1;68202;68173:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68158:70;;;68243:3;68235:12;;;::::0;::::1;;68151:102;68106:147::o:0;41932:193::-;42078:39;42095:4;42101:2;42105:7;42078:39;;;;;;;;;;;;:16;:39::i;:::-;41932:193;;;:::o;67799:108::-;63024:13;:11;:13::i;:::-;67872:11:::1;:29:::0;67799:108::o;67579:95::-;63024:13;:11;:13::i;:::-;67650:18:::1;:8;67661:7:::0;;67650:18:::1;:::i;67402:171::-:0;63024:13;:11;:13::i;:::-;67476::::1;67461:11;::::0;::::1;;:28;::::0;::::1;;;;;;:::i;:::-;;67453:77;;;::::0;-1:-1:-1;;;67453:77:0;;7536:2:1;67453:77:0::1;::::0;::::1;7518:21:1::0;7575:2;7555:18;;;7548:30;7614:34;7594:18;;;7587:62;-1:-1:-1;;;7665:18:1;;;7658:34;7709:19;;67453:77:0::1;;;;;;;;;67537:11;:30:::0;;67551:16:::1;::::0;67537:11;-1:-1:-1;;67537:30:0::1;::::0;67551:16;67537:30:::1;;;;;;67402:171::o:0;67680:113::-;63024:13;:11;:13::i;:::-;67759:28;;::::1;::::0;:13:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;:::-;;67680:113:::0;:::o;30274:152::-;30346:7;30389:27;30408:7;30389:18;:27::i;68031:69::-;63024:13;:11;:13::i;:::-;68073:14:::1;:21:::0;;-1:-1:-1;;68073:21:0::1;68090:4;68073:21;::::0;;68031:69::o;66344:623::-;66421:13;66406:11;;;;:28;;;;;;;;:::i;:::-;;;66398:49;;;;-1:-1:-1;;;66398:49:0;;;;;;;:::i;:::-;66477:16;66462:11;;;;:31;;;;;;;;:::i;:::-;;66454:83;;;;-1:-1:-1;;;66454:83:0;;8277:2:1;66454:83:0;;;8259:21:1;8316:2;8296:18;;;8289:30;8355:34;8335:18;;;8328:62;-1:-1:-1;;;8406:18:1;;;8399:37;8453:19;;66454:83:0;8075:403:1;66454:83:0;66585:8;;66552:29;66570:10;66552:29;;:13;24906:12;;24693:7;24890:13;:28;;24632:323;66552:13;:17;;:29::i;:::-;:41;;66544:62;;;;-1:-1:-1;;;66544:62:0;;;;;;;:::i;:::-;66697:1;66684:10;:14;;;66676:56;;;;-1:-1:-1;;;66676:56:0;;;;;;;:::i;:::-;66775:9;66761:10;66747:24;;:11;;:24;;;;:::i;:::-;:37;;66739:66;;;;-1:-1:-1;;;66739:66:0;;9348:2:1;66739:66:0;;;9330:21:1;9387:2;9367:18;;;9360:30;-1:-1:-1;;;9406:18:1;;;9399:46;9462:18;;66739:66:0;9146:340:1;66739:66:0;66846:8;;66832:10;66816:26;;:13;24906:12;;24693:7;24890:13;:28;;24632:323;66816:13;:26;;;;:::i;:::-;:38;66813:75;;;66858:11;:27;;-1:-1:-1;;66858:27:0;66872:13;66858:27;;;66813:75;66894:29;66900:10;66912;66894:29;;:5;:29::i;:::-;66935:26;66947:13;24906:12;;24693:7;24890:13;:28;;24632:323;66947:13;66935:26;;738:25:1;;;726:2;711:18;66935:26:0;;;;;;;66344:623;:::o;25816:233::-;25888:7;-1:-1:-1;;;;;25912:19:0;;25908:60;;25940:28;;-1:-1:-1;;;25940:28:0;;;;;;;;;;;25908:60;-1:-1:-1;;;;;;25986:25:0;;;;;:18;:25;;;;;;19975:13;25986:55;;25816:233::o;63786:103::-;63024:13;:11;:13::i;:::-;63851:30:::1;63878:1;63851:18;:30::i;:::-;63786:103::o:0;67315:81::-;63024:13;:11;:13::i;:::-;67363:11:::1;:27:::0;;67377:13:::1;::::0;67363:11;-1:-1:-1;;67363:27:0::1;67377:13:::0;;67363:27:::1;::::0;66973:336;63024:13;:11;:13::i;:::-;67092:8:::1;;67059:29;67077:10;67059:13;24906:12:::0;;24693:7;24890:13;:28;;24632:323;67059:29:::1;:41;;67051:62;;;;-1:-1:-1::0;;;67051:62:0::1;;;;;;;:::i;:::-;67141:1;67128:10;:14;67120:56;;;;-1:-1:-1::0;;;67120:56:0::1;;;;;;;:::i;:::-;67243:22;67249:3;67254:10;67243:5;:22::i;:::-;67277:26;67289:13;24906:12:::0;;24693:7;24890:13;:28;;24632:323;67289:13:::1;67277:26;::::0;738:25:1;;;726:2;711:18;67277:26:0::1;;;;;;;66973:336:::0;;:::o;29057:104::-;29113:13;29146:7;29139:14;;;;;:::i;65839:499::-;65923:13;65908:11;;;;:28;;;;;;;;:::i;:::-;;65900:69;;;;-1:-1:-1;;;65900:69:0;;9826:2:1;65900:69:0;;;9808:21:1;9865:2;9845:18;;;9838:30;9904;9884:18;;;9877:58;9952:18;;65900:69:0;9624:352:1;65900:69:0;66017:8;;65984:29;66002:10;65984:29;;:13;24906:12;;24693:7;24890:13;:28;;24632:323;65984:29;:41;;65976:70;;;;-1:-1:-1;;;65976:70:0;;10183:2:1;65976:70:0;;;10165:21:1;10222:2;10202:18;;;10195:30;-1:-1:-1;;;10241:18:1;;;10234:46;10297:18;;65976:70:0;9981:340:1;65976:70:0;66074:1;66061:10;:14;;;66053:56;;;;-1:-1:-1;;;66053:56:0;;;;;;;:::i;:::-;66153:9;66139:10;66124:25;;:12;;:25;;;;:::i;:::-;:38;;66116:67;;;;-1:-1:-1;;;66116:67:0;;9348:2:1;66116:67:0;;;9330:21:1;9387:2;9367:18;;;9360:30;-1:-1:-1;;;9406:18:1;;;9399:46;9462:18;;66116:67:0;9146:340:1;66116:67:0;66223:8;;66209:10;66193:26;;:13;24906:12;;24693:7;24890:13;:28;;24632:323;66193:13;:26;;;;:::i;:::-;:38;66190:69;;;66235:14;:21;;-1:-1:-1;;66235:21:0;66252:4;66235:21;;;66265:29;66271:10;66283;66265:29;;:5;:29::i;35930:234::-;59138:10;36025:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;36025:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;36025:60:0;;;;;;;;;;36101:55;;540:41:1;;;36025:49:0;;59138:10;36101:55;;513:18:1;36101:55:0;;;;;;;35930:234;;:::o;42723:407::-;42898:31;42911:4;42917:2;42921:7;42898:12;:31::i;:::-;-1:-1:-1;;;;;42944:14:0;;;:19;42940:183;;42983:56;43014:4;43020:2;43024:7;43033:5;42983:30;:56::i;:::-;42978:145;;43067:40;;-1:-1:-1;;;43067:40:0;;;;;;;;;;;42978:145;42723:407;;;;:::o;65345:488::-;65418:15;65450:16;65458:7;65450;:16::i;:::-;65442:76;;;;-1:-1:-1;;;65442:76:0;;10528:2:1;65442:76:0;;;10510:21:1;10567:2;10547:18;;;10540:30;10606:34;10586:18;;;10579:62;-1:-1:-1;;;10657:18:1;;;10650:45;10712:19;;65442:76:0;10326:411:1;65442:76:0;65546:8;;24906:12;;24693:7;24890:13;:28;65529:25;;:51;;;-1:-1:-1;65558:14:0;;;;:22;;:14;:22;65529:51;65525:303;;;65605:8;;65595:7;:18;65591:199;;;65626:16;65645:51;65687:8;;65645:37;65657:24;65670:10;;65657:8;;:12;;:24;;;;:::i;:::-;65645:7;;:11;:37::i;:::-;:41;;:51::i;:::-;65626:70;;65738:10;:8;:10::i;:::-;65750:19;:8;:17;:19::i;:::-;65721:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;65707:73;;;65345:488;;;:::o;65591:199::-;65345:488;;;:::o;65525:303::-;65812:13;65805:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65345:488;;;:::o;67913:112::-;63024:13;:11;:13::i;:::-;67988:12:::1;:31:::0;67913:112::o;64044:201::-;63024:13;:11;:13::i;:::-;-1:-1:-1;;;;;64133:22:0;::::1;64125:73;;;::::0;-1:-1:-1;;;64125:73:0;;11586:2:1;64125:73:0::1;::::0;::::1;11568:21:1::0;11625:2;11605:18;;;11598:30;11664:34;11644:18;;;11637:62;-1:-1:-1;;;11715:18:1;;;11708:36;11761:19;;64125:73:0::1;11384:402:1::0;64125:73:0::1;64209:28;64228:8;64209:18;:28::i;36743:282::-:0;36808:4;36898:13;;36888:7;:23;36845:153;;;;-1:-1:-1;;36949:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;36949:44:0;:49;;36743:282::o;31429:1275::-;31496:7;31531;31633:13;;31626:4;:20;31622:1015;;;31671:14;31688:23;;;:17;:23;;;;;;-1:-1:-1;;;31777:24:0;;31773:845;;32442:113;32449:11;32442:113;;-1:-1:-1;;;32520:6:0;32502:25;;;;:17;:25;;;;;;32442:113;;;32588:6;31429:1275;-1:-1:-1;;;31429:1275:0:o;31773:845::-;31648:989;31622:1015;32665:31;;-1:-1:-1;;;32665:31:0;;;;;;;;;;;63303:132;63211:6;;-1:-1:-1;;;;;63211:6:0;59138:10;63367:23;63359:68;;;;-1:-1:-1;;;63359:68:0;;11993:2:1;63359:68:0;;;11975:21:1;;;12012:18;;;12005:30;12071:34;12051:18;;;12044:62;12123:18;;63359:68:0;11791:356:1;2913:98:0;2971:7;2998:5;3002:1;2998;:5;:::i;46392:2966::-;46465:20;46488:13;46516;46512:44;;46538:18;;-1:-1:-1;;;46538:18:0;;;;;;;;;;;46512:44;-1:-1:-1;;;;;47044:22:0;;;;;;:18;:22;;;;20113:2;47044:22;;;:71;;47082:32;47070:45;;47044:71;;;47358:31;;;:17;:31;;;;;-1:-1:-1;34094:15:0;;34068:24;34064:46;33663:11;33638:23;33634:41;33631:52;33621:63;;47358:173;;47593:23;;;;47358:31;;47044:22;;48358:25;47044:22;;48211:335;48872:1;48858:12;48854:20;48812:346;48913:3;48904:7;48901:16;48812:346;;49131:7;49121:8;49118:1;49091:25;49088:1;49085;49080:59;48966:1;48953:15;48812:346;;;-1:-1:-1;49191:13:0;49187:45;;49213:19;;-1:-1:-1;;;49213:19:0;;;;;;;;;;;49187:45;49249:13;:19;-1:-1:-1;41932:193:0;;;:::o;64405:191::-;64498:6;;;-1:-1:-1;;;;;64515:17:0;;;-1:-1:-1;;;;;;64515:17:0;;;;;;;64548:40;;64498:6;;;64515:17;64498:6;;64548:40;;64479:16;;64548:40;64468:128;64405:191;:::o;45214:716::-;45398:88;;-1:-1:-1;;;45398:88:0;;45377:4;;-1:-1:-1;;;;;45398:45:0;;;;;:88;;59138:10;;45465:4;;45471:7;;45480:5;;45398:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45398:88:0;;;;;;;;-1:-1:-1;;45398:88:0;;;;;;;;;;;;:::i;:::-;;;45394:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45681:13:0;;45677:235;;45727:40;;-1:-1:-1;;;45727:40:0;;;;;;;;;;;45677:235;45870:6;45864:13;45855:6;45851:2;45847:15;45840:38;45394:529;-1:-1:-1;;;;;;45557:64:0;-1:-1:-1;;;45557:64:0;;-1:-1:-1;45394:529:0;45214:716;;;;;;:::o;3294:98::-;3352:7;3379:5;3383:1;3379;:5;:::i;4615:98::-;4673:7;4700:5;4704:1;4700;:5;:::i;65244:95::-;65304:13;65328:8;65321:15;;;;;:::i;7508:723::-;7564:13;7785:10;7781:53;;-1:-1:-1;;7812:10:0;;;;;;;;;;;;-1:-1:-1;;;7812:10:0;;;;;7508:723::o;7781:53::-;7859:5;7844:12;7900:78;7907:9;;7900:78;;7933:8;;;;:::i;:::-;;-1:-1:-1;7956:10:0;;-1:-1:-1;7964:2:0;7956:10;;:::i;:::-;;;7900:78;;;7988:19;8020:6;8010:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8010:17:0;;7988:39;;8038:154;8045:10;;8038:154;;8072:11;8082:1;8072:11;;:::i;:::-;;-1:-1:-1;8141:10:0;8149:2;8141:5;:10;:::i;:::-;8128:24;;:2;:24;:::i;:::-;8115:39;;8098:6;8105;8098:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;8098:56:0;;;;;;;;-1:-1:-1;8169:11:0;8178:2;8169:11;;:::i;:::-;;;8038:154;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;774:258::-;846:1;856:113;870:6;867:1;864:13;856:113;;;946:11;;;940:18;927:11;;;920:39;892:2;885:10;856:113;;;987:6;984:1;981:13;978:48;;;-1:-1:-1;;1022:1:1;1004:16;;997:27;774:258::o;1037:::-;1079:3;1117:5;1111:12;1144:6;1139:3;1132:19;1160:63;1216:6;1209:4;1204:3;1200:14;1193:4;1186:5;1182:16;1160:63;:::i;:::-;1277:2;1256:15;-1:-1:-1;;1252:29:1;1243:39;;;;1284:4;1239:50;;1037:258;-1:-1:-1;;1037:258:1:o;1300:220::-;1449:2;1438:9;1431:21;1412:4;1469:45;1510:2;1499:9;1495:18;1487:6;1469:45;:::i;1525:180::-;1584:6;1637:2;1625:9;1616:7;1612:23;1608:32;1605:52;;;1653:1;1650;1643:12;1605:52;-1:-1:-1;1676:23:1;;1525:180;-1:-1:-1;1525:180:1:o;1918:173::-;1986:20;;-1:-1:-1;;;;;2035:31:1;;2025:42;;2015:70;;2081:1;2078;2071:12;2096:254;2164:6;2172;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2264:29;2283:9;2264:29;:::i;:::-;2254:39;2340:2;2325:18;;;;2312:32;;-1:-1:-1;;;2096:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:592::-;2759:6;2767;2820:2;2808:9;2799:7;2795:23;2791:32;2788:52;;;2836:1;2833;2826:12;2788:52;2876:9;2863:23;2905:18;2946:2;2938:6;2935:14;2932:34;;;2962:1;2959;2952:12;2932:34;3000:6;2989:9;2985:22;2975:32;;3045:7;3038:4;3034:2;3030:13;3026:27;3016:55;;3067:1;3064;3057:12;3016:55;3107:2;3094:16;3133:2;3125:6;3122:14;3119:34;;;3149:1;3146;3139:12;3119:34;3194:7;3189:2;3180:6;3176:2;3172:15;3168:24;3165:37;3162:57;;;3215:1;3212;3205:12;3162:57;3246:2;3238:11;;;;;3268:6;;-1:-1:-1;2688:592:1;;-1:-1:-1;;;;2688:592:1:o;3285:127::-;3346:10;3341:3;3337:20;3334:1;3327:31;3377:4;3374:1;3367:15;3401:4;3398:1;3391:15;3417:632;3482:5;3512:18;3553:2;3545:6;3542:14;3539:40;;;3559:18;;:::i;:::-;3634:2;3628:9;3602:2;3688:15;;-1:-1:-1;;3684:24:1;;;3710:2;3680:33;3676:42;3664:55;;;3734:18;;;3754:22;;;3731:46;3728:72;;;3780:18;;:::i;:::-;3820:10;3816:2;3809:22;3849:6;3840:15;;3879:6;3871;3864:22;3919:3;3910:6;3905:3;3901:16;3898:25;3895:45;;;3936:1;3933;3926:12;3895:45;3986:6;3981:3;3974:4;3966:6;3962:17;3949:44;4041:1;4034:4;4025:6;4017;4013:19;4009:30;4002:41;;;;3417:632;;;;;:::o;4054:451::-;4123:6;4176:2;4164:9;4155:7;4151:23;4147:32;4144:52;;;4192:1;4189;4182:12;4144:52;4232:9;4219:23;4265:18;4257:6;4254:30;4251:50;;;4297:1;4294;4287:12;4251:50;4320:22;;4373:4;4365:13;;4361:27;-1:-1:-1;4351:55:1;;4402:1;4399;4392:12;4351:55;4425:74;4491:7;4486:2;4473:16;4468:2;4464;4460:11;4425:74;:::i;4510:269::-;4567:6;4620:2;4608:9;4599:7;4595:23;4591:32;4588:52;;;4636:1;4633;4626:12;4588:52;4675:9;4662:23;4725:4;4718:5;4714:16;4707:5;4704:27;4694:55;;4745:1;4742;4735:12;4784:186;4843:6;4896:2;4884:9;4875:7;4871:23;4867:32;4864:52;;;4912:1;4909;4902:12;4864:52;4935:29;4954:9;4935:29;:::i;4975:347::-;5040:6;5048;5101:2;5089:9;5080:7;5076:23;5072:32;5069:52;;;5117:1;5114;5107:12;5069:52;5140:29;5159:9;5140:29;:::i;:::-;5130:39;;5219:2;5208:9;5204:18;5191:32;5266:5;5259:13;5252:21;5245:5;5242:32;5232:60;;5288:1;5285;5278:12;5232:60;5311:5;5301:15;;;4975:347;;;;;:::o;5327:667::-;5422:6;5430;5438;5446;5499:3;5487:9;5478:7;5474:23;5470:33;5467:53;;;5516:1;5513;5506:12;5467:53;5539:29;5558:9;5539:29;:::i;:::-;5529:39;;5587:38;5621:2;5610:9;5606:18;5587:38;:::i;:::-;5577:48;;5672:2;5661:9;5657:18;5644:32;5634:42;;5727:2;5716:9;5712:18;5699:32;5754:18;5746:6;5743:30;5740:50;;;5786:1;5783;5776:12;5740:50;5809:22;;5862:4;5854:13;;5850:27;-1:-1:-1;5840:55:1;;5891:1;5888;5881:12;5840:55;5914:74;5980:7;5975:2;5962:16;5957:2;5953;5949:11;5914:74;:::i;:::-;5904:84;;;5327:667;;;;;;;:::o;5999:127::-;6060:10;6055:3;6051:20;6048:1;6041:31;6091:4;6088:1;6081:15;6115:4;6112:1;6105:15;6131:338;6273:2;6258:18;;6306:1;6295:13;;6285:144;;6351:10;6346:3;6342:20;6339:1;6332:31;6386:4;6383:1;6376:15;6414:4;6411:1;6404:15;6285:144;6438:25;;;6131:338;:::o;6474:260::-;6542:6;6550;6603:2;6591:9;6582:7;6578:23;6574:32;6571:52;;;6619:1;6616;6609:12;6571:52;6642:29;6661:9;6642:29;:::i;:::-;6632:39;;6690:38;6724:2;6713:9;6709:18;6690:38;:::i;:::-;6680:48;;6474:260;;;;;:::o;6739:380::-;6818:1;6814:12;;;;6861;;;6882:61;;6936:4;6928:6;6924:17;6914:27;;6882:61;6989:2;6981:6;6978:14;6958:18;6955:38;6952:161;;;7035:10;7030:3;7026:20;7023:1;7016:31;7070:4;7067:1;7060:15;7098:4;7095:1;7088:15;6952:161;;6739:380;;;:::o;7739:331::-;7941:2;7923:21;;;7980:1;7960:18;;;7953:29;-1:-1:-1;;;8013:2:1;7998:18;;7991:38;8061:2;8046:18;;7739:331::o;8483:353::-;8685:2;8667:21;;;8724:2;8704:18;;;8697:30;8763:31;8758:2;8743:18;;8736:59;8827:2;8812:18;;8483:353::o;8841:127::-;8902:10;8897:3;8893:20;8890:1;8883:31;8933:4;8930:1;8923:15;8957:4;8954:1;8947:15;8973:168;9013:7;9079:1;9075;9071:6;9067:14;9064:1;9061:21;9056:1;9049:9;9042:17;9038:45;9035:71;;;9086:18;;:::i;:::-;-1:-1:-1;9126:9:1;;8973:168::o;9491:128::-;9531:3;9562:1;9558:6;9555:1;9552:13;9549:39;;;9568:18;;:::i;:::-;-1:-1:-1;9604:9:1;;9491:128::o;10742:637::-;11022:3;11060:6;11054:13;11076:53;11122:6;11117:3;11110:4;11102:6;11098:17;11076:53;:::i;:::-;11192:13;;11151:16;;;;11214:57;11192:13;11151:16;11248:4;11236:17;;11214:57;:::i;:::-;-1:-1:-1;;;11293:20:1;;11322:22;;;11371:1;11360:13;;10742:637;-1:-1:-1;;;;10742:637:1:o;12152:489::-;-1:-1:-1;;;;;12421:15:1;;;12403:34;;12473:15;;12468:2;12453:18;;12446:43;12520:2;12505:18;;12498:34;;;12568:3;12563:2;12548:18;;12541:31;;;12346:4;;12589:46;;12615:19;;12607:6;12589:46;:::i;:::-;12581:54;12152:489;-1:-1:-1;;;;;;12152:489:1:o;12646:249::-;12715:6;12768:2;12756:9;12747:7;12743:23;12739:32;12736:52;;;12784:1;12781;12774:12;12736:52;12816:9;12810:16;12835:30;12859:5;12835:30;:::i;12900:125::-;12940:4;12968:1;12965;12962:8;12959:34;;;12973:18;;:::i;:::-;-1:-1:-1;13010:9:1;;12900:125::o;13030:127::-;13091:10;13086:3;13082:20;13079:1;13072:31;13122:4;13119:1;13112:15;13146:4;13143:1;13136:15;13162:112;13194:1;13220;13210:35;;13225:18;;:::i;:::-;-1:-1:-1;13259:9:1;;13162:112::o;13279:135::-;13318:3;-1:-1:-1;;13339:17:1;;13336:43;;;13359:18;;:::i;:::-;-1:-1:-1;13406:1:1;13395:13;;13279:135::o;13419:120::-;13459:1;13485;13475:35;;13490:18;;:::i;:::-;-1:-1:-1;13524:9:1;;13419:120::o;13544:127::-;13605:10;13600:3;13596:20;13593:1;13586:31;13636:4;13633:1;13626:15;13660:4;13657:1;13650:15
Swarm Source
ipfs://33076a900cd94398a6752a8eec5cb2972cd36e614ce86d0558f0781934617623
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.