ERC-721
Overview
Max Total Supply
732 !POP
Holders
57
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 !POPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
POP
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity Multiple files format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import "./Ownable.sol"; import "./ERC721AQueryable.sol"; import "./DefaultOperatorFilterer.sol"; import "./ReentrancyGuard.sol"; contract POP is ERC721A("!POP", "!POP"), ERC721AQueryable, Ownable, DefaultOperatorFilterer, ReentrancyGuard { enum ContractStatus { disable, publicmint } // ------------------------------------------------------------------------ // * Storage // ------------------------------------------------------------------------ uint256 public PRICE = 0.003 ether; uint256 public MAX_SUPPLY = 4444; uint256 public MAX_FREE_PER_WALLET = 1; uint256 public MAX_TX_PER_WALLET = 5; ContractStatus public CONTRACT_STATUS = ContractStatus.disable; uint256 public publicMintCounter; string internal baseURI = ""; // ------------------------------------------------------------------------ // * Modifiers // ------------------------------------------------------------------------ modifier isEthAvailable(uint256 quantity) { require( msg.value >= getSalePrice(msg.sender, quantity), "Insufficient funds" ); _; } modifier isMaxTxReached(uint256 quantity) { require( _numberMinted(msg.sender) + quantity <= MAX_TX_PER_WALLET, "Exceeded transaction limit" ); _; } modifier isSupplyUnavailable(uint256 quantity) { require(totalSupply() + quantity <= MAX_SUPPLY, "Out of stock"); _; } modifier isUser() { require(tx.origin == msg.sender, "Invalid User"); _; } function getSalePrice( address sender, uint256 quantity ) private view returns (uint256 COST) { int256 INT_FREE_QUOTA = int256(MAX_FREE_PER_WALLET) - int256(_numberMinted(sender)); int256 INT_COST; if (INT_FREE_QUOTA > 0) { if (int256(quantity) < INT_FREE_QUOTA) { INT_COST = 0; } else { INT_COST = int256(PRICE) * (int256(quantity) - INT_FREE_QUOTA); } } else { INT_COST = int256(PRICE) * (int256(quantity)); } COST = uint256(INT_COST); } // ------------------------------------------------------------------------ // * Frontend view helpers // ------------------------------------------------------------------------ function getTotalSupplyLeft() public view returns (uint256) { return MAX_SUPPLY - totalSupply(); } function getTotalMinted(address addr) public view returns (uint256) { return _numberMinted(addr); } function getPublicMintCounter() public view returns (uint) { return publicMintCounter; } // ------------------------------------------------------------------------ // * Mint // ------------------------------------------------------------------------ function mint( uint256 quantity ) public payable virtual nonReentrant isUser isSupplyUnavailable(quantity) isMaxTxReached(quantity) isEthAvailable(quantity) { require( CONTRACT_STATUS == ContractStatus.publicmint, "Contract is not open for Public Mint" ); _mint(msg.sender, quantity); publicMintCounter += quantity; } // ------------------------------------------------------------------------ // * Admin Functions // ------------------------------------------------------------------------ function internalMint( uint256 quantity ) public virtual onlyOwner nonReentrant isUser isSupplyUnavailable(quantity) { _mint(msg.sender, quantity); } function setBaseURI(string memory newURI) external virtual onlyOwner { baseURI = newURI; } function setStatus(ContractStatus status) external onlyOwner { CONTRACT_STATUS = status; } function setPrice(uint newPrice) external onlyOwner { PRICE = newPrice; } function setSupply(uint newSupply) external onlyOwner { MAX_SUPPLY = newSupply; } function setMaxPerWallet(uint newMaxPerWallet) external onlyOwner { MAX_TX_PER_WALLET = newMaxPerWallet; } function withdrawAll() external onlyOwner nonReentrant isUser { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } // ------------------------------------------------------------------------ // * Operator Filterer Overrides // ------------------------------------------------------------------------ function transferFrom( address from, address to, uint256 tokenId ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override(IERC721A, ERC721A) onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } // ------------------------------------------------------------------------ // * Internal Overrides // ------------------------------------------------------------------------ function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } }
// SPDX-License-Identifier: MIT // 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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @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) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import './ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// SPDX-License-Identifier: MIT // 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); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CONTRACT_STATUS","outputs":[{"internalType":"enum POP.ContractStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","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":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicMintCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getTotalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupplyLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"internalMint","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"quantity","type":"uint256"}],"name":"mint","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":"publicMintCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum POP.ContractStatus","name":"status","type":"uint8"}],"name":"setStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
660aa87bee538000600a5561115c600b556001600c556005600d55600e805460ff1916905560a0604052600060809081526010906200003f90826200031b565b503480156200004d57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb6600160405180604001604052806004815260200163021504f560e41b81525060405180604001604052806004815260200163021504f560e41b8152508160029081620000b091906200031b565b506003620000bf82826200031b565b5050600160005550620000d23362000224565b6daaeb6d7670e522a718067333cd4e3b15620002175780156200016557604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200014657600080fd5b505af11580156200015b573d6000803e3d6000fd5b5050505062000217565b6001600160a01b03821615620001b65760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200012b565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001fd57600080fd5b505af115801562000212573d6000803e3d6000fd5b505050505b50506001600955620003e7565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002a157607f821691505b602082108103620002c257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200031657600081815260208120601f850160051c81016020861015620002f15750805b601f850160051c820191505b818110156200031257828155600101620002fd565b5050505b505050565b81516001600160401b0381111562000337576200033762000276565b6200034f816200034884546200028c565b84620002c8565b602080601f8311600181146200038757600084156200036e5750858301515b600019600386901b1c1916600185901b17855562000312565b600085815260208120601f198616915b82811015620003b85788860151825594840194600190910190840162000397565b5085821015620003d75787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6122a980620003f76000396000f3fe6080604052600436106102305760003560e01c80638da5cb5b1161012e578063acd0d9a6116100ab578063c87b56dd1161006f578063c87b56dd14610641578063defcbacb14610661578063e268e4d314610676578063e985e9c514610696578063f2fde38b146106df57600080fd5b8063acd0d9a6146105a5578063b88d4fde146105c5578063bb251b9d146105d8578063bf7b779c146105ed578063c23dc68f1461061457600080fd5b806398710d1e116100f257806398710d1e1461051c57806399a2557a146105325780639a9c1bb114610552578063a0712d6814610572578063a22cb4651461058557600080fd5b80638da5cb5b1461049d57806391b7f5ed146104bb5780639437908e146104db57806395d89b41146104f1578063975e840e1461050657600080fd5b806341f43434116101bc57806370a082311161018057806370a0823114610410578063715018a6146104305780638462151c14610445578063853828b6146104725780638d859f3e1461048757600080fd5b806341f434341461036e57806342842e0e1461039057806355f804b3146103a35780635bbb2177146103c35780636352211e146103f057600080fd5b806318160ddd1161020357806318160ddd146102d957806323b872dd146103055780632e49d78b1461031857806332cb6b0c146103385780633b4c4b251461034e57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004611af3565b6106ff565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f610751565b6040516102619190611b60565b34801561029857600080fd5b506102ac6102a7366004611b73565b6107e3565b6040516001600160a01b039091168152602001610261565b6102d76102d2366004611ba8565b610827565b005b3480156102e557600080fd5b506102f7600154600054036000190190565b604051908152602001610261565b6102d7610313366004611bd2565b6108c7565b34801561032457600080fd5b506102d7610333366004611c0e565b6108f2565b34801561034457600080fd5b506102f7600b5481565b34801561035a57600080fd5b506102d7610369366004611b73565b610920565b34801561037a57600080fd5b506102ac6daaeb6d7670e522a718067333cd4e81565b6102d761039e366004611bd2565b61092d565b3480156103af57600080fd5b506102d76103be366004611cbb565b610952565b3480156103cf57600080fd5b506103e36103de366004611d04565b61096a565b6040516102619190611db6565b3480156103fc57600080fd5b506102ac61040b366004611b73565b610a36565b34801561041c57600080fd5b506102f761042b366004611df8565b610a41565b34801561043c57600080fd5b506102d7610a90565b34801561045157600080fd5b50610465610460366004611df8565b610aa4565b6040516102619190611e13565b34801561047e57600080fd5b506102d7610bad565b34801561049357600080fd5b506102f7600a5481565b3480156104a957600080fd5b506008546001600160a01b03166102ac565b3480156104c757600080fd5b506102d76104d6366004611b73565b610c7b565b3480156104e757600080fd5b506102f7600f5481565b3480156104fd57600080fd5b5061027f610c88565b34801561051257600080fd5b506102f7600d5481565b34801561052857600080fd5b506102f7600c5481565b34801561053e57600080fd5b5061046561054d366004611e4b565b610c97565b34801561055e57600080fd5b506102f761056d366004611df8565b610e1f565b6102d7610580366004611b73565b610e2a565b34801561059157600080fd5b506102d76105a0366004611e8c565b611007565b3480156105b157600080fd5b506102d76105c0366004611b73565b611073565b6102d76105d3366004611ec3565b611114565b3480156105e457600080fd5b50600f546102f7565b3480156105f957600080fd5b50600e546106079060ff1681565b6040516102619190611f55565b34801561062057600080fd5b5061063461062f366004611b73565b611141565b6040516102619190611f7d565b34801561064d57600080fd5b5061027f61065c366004611b73565b6111c9565b34801561066d57600080fd5b506102f761124c565b34801561068257600080fd5b506102d7610691366004611b73565b611271565b3480156106a257600080fd5b506102556106b1366004611f8b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106eb57600080fd5b506102d76106fa366004611df8565b61127e565b60006301ffc9a760e01b6001600160e01b03198316148061073057506380ac58cd60e01b6001600160e01b03198316145b8061074b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461076090611fbe565b80601f016020809104026020016040519081016040528092919081815260200182805461078c90611fbe565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b5050505050905090565b60006107ee826112f4565b61080b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061083282610a36565b9050336001600160a01b0382161461086b5761084e81336106b1565b61086b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b826001600160a01b03811633146108e1576108e133611329565b6108ec8484846113e2565b50505050565b6108fa61157b565b600e805482919060ff19166001838181111561091857610918611f3f565b021790555050565b61092861157b565b600b55565b826001600160a01b03811633146109475761094733611329565b6108ec8484846115d5565b61095a61157b565b6010610966828261203e565b5050565b60608160008167ffffffffffffffff81111561098857610988611c2f565b6040519080825280602002602001820160405280156109da57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816109a65790505b50905060005b828114610a2d57610a088686838181106109fc576109fc6120fe565b90506020020135611141565b828281518110610a1a57610a1a6120fe565b60209081029190910101526001016109e0565b50949350505050565b600061074b826115f5565b60006001600160a01b038216610a6a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a9861157b565b610aa26000611664565b565b60606000806000610ab485610a41565b905060008167ffffffffffffffff811115610ad157610ad1611c2f565b604051908082528060200260200182016040528015610afa578160200160208202803683370190505b509050610b2760408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610ba157610b3a816116b6565b91508160400151610b995781516001600160a01b031615610b5a57815194505b876001600160a01b0316856001600160a01b031603610b995780838780600101985081518110610b8c57610b8c6120fe565b6020026020010181815250505b600101610b2a565b50909695505050505050565b610bb561157b565b610bbd6116f2565b323314610be55760405162461bcd60e51b8152600401610bdc90612114565b60405180910390fd5b604051600090339047908381818185875af1925050503d8060008114610c27576040519150601f19603f3d011682016040523d82523d6000602084013e610c2c565b606091505b5050905080610c705760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610bdc565b50610aa26001600955565b610c8361157b565b600a55565b60606003805461076090611fbe565b6060818310610cb957604051631960ccad60e11b815260040160405180910390fd5b600080610cc560005490565b90506001851015610cd557600194505b80841115610ce1578093505b6000610cec87610a41565b905084861015610d0b5785850381811015610d05578091505b50610d0f565b5060005b60008167ffffffffffffffff811115610d2a57610d2a611c2f565b604051908082528060200260200182016040528015610d53578160200160208202803683370190505b50905081600003610d69579350610e1892505050565b6000610d7488611141565b905060008160400151610d85575080515b885b888114158015610d975750848714155b15610e0c57610da5816116b6565b92508260400151610e045782516001600160a01b031615610dc557825191505b8a6001600160a01b0316826001600160a01b031603610e045780848880600101995081518110610df757610df76120fe565b6020026020010181815250505b600101610d87565b50505092835250909150505b9392505050565b600061074b8261174b565b610e326116f2565b323314610e515760405162461bcd60e51b8152600401610bdc90612114565b80600b5481610e67600154600054036000190190565b610e719190612150565b1115610eae5760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b6044820152606401610bdc565b81600d5481610ebc3361174b565b610ec69190612150565b1115610f145760405162461bcd60e51b815260206004820152601a60248201527f4578636565646564207472616e73616374696f6e206c696d69740000000000006044820152606401610bdc565b82610f1f3382611774565b341015610f635760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610bdc565b6001600e5460ff166001811115610f7c57610f7c611f3f565b14610fd55760405162461bcd60e51b8152602060048201526024808201527f436f6e7472616374206973206e6f74206f70656e20666f72205075626c696320604482015263135a5b9d60e21b6064820152608401610bdc565b610fdf33856117e0565b83600f6000828254610ff19190612150565b9091555050600160095550611004915050565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61107b61157b565b6110836116f2565b3233146110a25760405162461bcd60e51b8152600401610bdc90612114565b80600b54816110b8600154600054036000190190565b6110c29190612150565b11156110ff5760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b6044820152606401610bdc565b61110933836117e0565b506110046001600955565b836001600160a01b038116331461112e5761112e33611329565b61113a858585856118de565b5050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061119a57506000548310155b156111a55792915050565b6111ae836116b6565b90508060400151156111c05792915050565b610e1883611922565b60606111d4826112f4565b6111f157604051630a14c4b560e41b815260040160405180910390fd5b60006111fb611957565b9050805160000361121b5760405180602001604052806000815250610e18565b8061122584611966565b604051602001611236929190612163565b6040516020818303038152906040529392505050565b600061125f600154600054036000190190565b600b5461126c9190612192565b905090565b61127961157b565b600d55565b61128661157b565b6001600160a01b0381166112eb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bdc565b61100481611664565b600081600111158015611308575060005482105b801561074b575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561100457604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ba91906121a5565b61100457604051633b79c77360e21b81526001600160a01b0382166004820152602401610bdc565b60006113ed826115f5565b9050836001600160a01b0316816001600160a01b0316146114205760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761146d5761145086336106b1565b61146d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661149457604051633a954ecd60e21b815260040160405180910390fd5b801561149f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036115315760018401600081815260046020526040812054900361152f57600054811461152f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610aa25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdc565b6115f083838360405180602001604052806000815250611114565b505050565b6000818060011161164b5760005481101561164b5760008181526004602052604081205490600160e01b82169003611649575b80600003610e18575060001901600081815260046020526040902054611628565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461074b906119aa565b6002600954036117445760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610bdc565b6002600955565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b6000806117808461174b565b600c5461178d91906121c2565b90506000808213156117c757818412156117a9575060006117d8565b6117b382856121c2565b600a546117c091906121e9565b90506117d8565b83600a546117d591906121e9565b90505b949350505050565b60008054908290036118055760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146118b457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161187c565b50816000036118d557604051622e076360e81b815260040160405180910390fd5b60005550505050565b6118e98484846108c7565b6001600160a01b0383163b156108ec57611905848484846119f2565b6108ec576040516368d2bf6b60e11b815260040160405180910390fd5b60408051608081018252600080825260208201819052918101829052606081019190915261074b611952836115f5565b6119aa565b60606010805461076090611fbe565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806119805750819003601f19909101908152919050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a27903390899088908890600401612219565b6020604051808303816000875af1925050508015611a62575060408051601f3d908101601f19168201909252611a5f91810190612256565b60015b611ac0573d808015611a90576040519150601f19603f3d011682016040523d82523d6000602084013e611a95565b606091505b508051600003611ab8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6001600160e01b03198116811461100457600080fd5b600060208284031215611b0557600080fd5b8135610e1881611add565b60005b83811015611b2b578181015183820152602001611b13565b50506000910152565b60008151808452611b4c816020860160208601611b10565b601f01601f19169290920160200192915050565b602081526000610e186020830184611b34565b600060208284031215611b8557600080fd5b5035919050565b80356001600160a01b0381168114611ba357600080fd5b919050565b60008060408385031215611bbb57600080fd5b611bc483611b8c565b946020939093013593505050565b600080600060608486031215611be757600080fd5b611bf084611b8c565b9250611bfe60208501611b8c565b9150604084013590509250925092565b600060208284031215611c2057600080fd5b813560028110610e1857600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611c6057611c60611c2f565b604051601f8501601f19908116603f01168101908282118183101715611c8857611c88611c2f565b81604052809350858152868686011115611ca157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611ccd57600080fd5b813567ffffffffffffffff811115611ce457600080fd5b8201601f81018413611cf557600080fd5b6117d884823560208401611c45565b60008060208385031215611d1757600080fd5b823567ffffffffffffffff80821115611d2f57600080fd5b818501915085601f830112611d4357600080fd5b813581811115611d5257600080fd5b8660208260051b8501011115611d6757600080fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610ba157611de5838551611d79565b9284019260809290920191600101611dd2565b600060208284031215611e0a57600080fd5b610e1882611b8c565b6020808252825182820181905260009190848201906040850190845b81811015610ba157835183529284019291840191600101611e2f565b600080600060608486031215611e6057600080fd5b611e6984611b8c565b95602085013595506040909401359392505050565b801515811461100457600080fd5b60008060408385031215611e9f57600080fd5b611ea883611b8c565b91506020830135611eb881611e7e565b809150509250929050565b60008060008060808587031215611ed957600080fd5b611ee285611b8c565b9350611ef060208601611b8c565b925060408501359150606085013567ffffffffffffffff811115611f1357600080fd5b8501601f81018713611f2457600080fd5b611f3387823560208401611c45565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611f7757634e487b7160e01b600052602160045260246000fd5b91905290565b6080810161074b8284611d79565b60008060408385031215611f9e57600080fd5b611fa783611b8c565b9150611fb560208401611b8c565b90509250929050565b600181811c90821680611fd257607f821691505b602082108103611ff257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156115f057600081815260208120601f850160051c8101602086101561201f5750805b601f850160051c820191505b818110156115735782815560010161202b565b815167ffffffffffffffff81111561205857612058611c2f565b61206c816120668454611fbe565b84611ff8565b602080601f8311600181146120a157600084156120895750858301515b600019600386901b1c1916600185901b178555611573565b600085815260208120601f198616915b828110156120d0578886015182559484019460019091019084016120b1565b50858210156120ee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6020808252600c908201526b24b73b30b634b2102ab9b2b960a11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561074b5761074b61213a565b60008351612175818460208801611b10565b835190830190612189818360208801611b10565b01949350505050565b8181038181111561074b5761074b61213a565b6000602082840312156121b757600080fd5b8151610e1881611e7e565b81810360008312801583831316838312821617156121e2576121e261213a565b5092915050565b80820260008212600160ff1b841416156122055761220561213a565b818105831482151761074b5761074b61213a565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061224c90830184611b34565b9695505050505050565b60006020828403121561226857600080fd5b8151610e1881611add56fea2646970667358221220ed9203788abcc501897f5986a07f0416b31369b81c0c52704afaad1dd781ccbf64736f6c63430008120033
Deployed Bytecode
0x6080604052600436106102305760003560e01c80638da5cb5b1161012e578063acd0d9a6116100ab578063c87b56dd1161006f578063c87b56dd14610641578063defcbacb14610661578063e268e4d314610676578063e985e9c514610696578063f2fde38b146106df57600080fd5b8063acd0d9a6146105a5578063b88d4fde146105c5578063bb251b9d146105d8578063bf7b779c146105ed578063c23dc68f1461061457600080fd5b806398710d1e116100f257806398710d1e1461051c57806399a2557a146105325780639a9c1bb114610552578063a0712d6814610572578063a22cb4651461058557600080fd5b80638da5cb5b1461049d57806391b7f5ed146104bb5780639437908e146104db57806395d89b41146104f1578063975e840e1461050657600080fd5b806341f43434116101bc57806370a082311161018057806370a0823114610410578063715018a6146104305780638462151c14610445578063853828b6146104725780638d859f3e1461048757600080fd5b806341f434341461036e57806342842e0e1461039057806355f804b3146103a35780635bbb2177146103c35780636352211e146103f057600080fd5b806318160ddd1161020357806318160ddd146102d957806323b872dd146103055780632e49d78b1461031857806332cb6b0c146103385780633b4c4b251461034e57600080fd5b806301ffc9a71461023557806306fdde031461026a578063081812fc1461028c578063095ea7b3146102c4575b600080fd5b34801561024157600080fd5b50610255610250366004611af3565b6106ff565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061027f610751565b6040516102619190611b60565b34801561029857600080fd5b506102ac6102a7366004611b73565b6107e3565b6040516001600160a01b039091168152602001610261565b6102d76102d2366004611ba8565b610827565b005b3480156102e557600080fd5b506102f7600154600054036000190190565b604051908152602001610261565b6102d7610313366004611bd2565b6108c7565b34801561032457600080fd5b506102d7610333366004611c0e565b6108f2565b34801561034457600080fd5b506102f7600b5481565b34801561035a57600080fd5b506102d7610369366004611b73565b610920565b34801561037a57600080fd5b506102ac6daaeb6d7670e522a718067333cd4e81565b6102d761039e366004611bd2565b61092d565b3480156103af57600080fd5b506102d76103be366004611cbb565b610952565b3480156103cf57600080fd5b506103e36103de366004611d04565b61096a565b6040516102619190611db6565b3480156103fc57600080fd5b506102ac61040b366004611b73565b610a36565b34801561041c57600080fd5b506102f761042b366004611df8565b610a41565b34801561043c57600080fd5b506102d7610a90565b34801561045157600080fd5b50610465610460366004611df8565b610aa4565b6040516102619190611e13565b34801561047e57600080fd5b506102d7610bad565b34801561049357600080fd5b506102f7600a5481565b3480156104a957600080fd5b506008546001600160a01b03166102ac565b3480156104c757600080fd5b506102d76104d6366004611b73565b610c7b565b3480156104e757600080fd5b506102f7600f5481565b3480156104fd57600080fd5b5061027f610c88565b34801561051257600080fd5b506102f7600d5481565b34801561052857600080fd5b506102f7600c5481565b34801561053e57600080fd5b5061046561054d366004611e4b565b610c97565b34801561055e57600080fd5b506102f761056d366004611df8565b610e1f565b6102d7610580366004611b73565b610e2a565b34801561059157600080fd5b506102d76105a0366004611e8c565b611007565b3480156105b157600080fd5b506102d76105c0366004611b73565b611073565b6102d76105d3366004611ec3565b611114565b3480156105e457600080fd5b50600f546102f7565b3480156105f957600080fd5b50600e546106079060ff1681565b6040516102619190611f55565b34801561062057600080fd5b5061063461062f366004611b73565b611141565b6040516102619190611f7d565b34801561064d57600080fd5b5061027f61065c366004611b73565b6111c9565b34801561066d57600080fd5b506102f761124c565b34801561068257600080fd5b506102d7610691366004611b73565b611271565b3480156106a257600080fd5b506102556106b1366004611f8b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106eb57600080fd5b506102d76106fa366004611df8565b61127e565b60006301ffc9a760e01b6001600160e01b03198316148061073057506380ac58cd60e01b6001600160e01b03198316145b8061074b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461076090611fbe565b80601f016020809104026020016040519081016040528092919081815260200182805461078c90611fbe565b80156107d95780601f106107ae576101008083540402835291602001916107d9565b820191906000526020600020905b8154815290600101906020018083116107bc57829003601f168201915b5050505050905090565b60006107ee826112f4565b61080b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061083282610a36565b9050336001600160a01b0382161461086b5761084e81336106b1565b61086b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b826001600160a01b03811633146108e1576108e133611329565b6108ec8484846113e2565b50505050565b6108fa61157b565b600e805482919060ff19166001838181111561091857610918611f3f565b021790555050565b61092861157b565b600b55565b826001600160a01b03811633146109475761094733611329565b6108ec8484846115d5565b61095a61157b565b6010610966828261203e565b5050565b60608160008167ffffffffffffffff81111561098857610988611c2f565b6040519080825280602002602001820160405280156109da57816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816109a65790505b50905060005b828114610a2d57610a088686838181106109fc576109fc6120fe565b90506020020135611141565b828281518110610a1a57610a1a6120fe565b60209081029190910101526001016109e0565b50949350505050565b600061074b826115f5565b60006001600160a01b038216610a6a576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a9861157b565b610aa26000611664565b565b60606000806000610ab485610a41565b905060008167ffffffffffffffff811115610ad157610ad1611c2f565b604051908082528060200260200182016040528015610afa578160200160208202803683370190505b509050610b2760408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610ba157610b3a816116b6565b91508160400151610b995781516001600160a01b031615610b5a57815194505b876001600160a01b0316856001600160a01b031603610b995780838780600101985081518110610b8c57610b8c6120fe565b6020026020010181815250505b600101610b2a565b50909695505050505050565b610bb561157b565b610bbd6116f2565b323314610be55760405162461bcd60e51b8152600401610bdc90612114565b60405180910390fd5b604051600090339047908381818185875af1925050503d8060008114610c27576040519150601f19603f3d011682016040523d82523d6000602084013e610c2c565b606091505b5050905080610c705760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610bdc565b50610aa26001600955565b610c8361157b565b600a55565b60606003805461076090611fbe565b6060818310610cb957604051631960ccad60e11b815260040160405180910390fd5b600080610cc560005490565b90506001851015610cd557600194505b80841115610ce1578093505b6000610cec87610a41565b905084861015610d0b5785850381811015610d05578091505b50610d0f565b5060005b60008167ffffffffffffffff811115610d2a57610d2a611c2f565b604051908082528060200260200182016040528015610d53578160200160208202803683370190505b50905081600003610d69579350610e1892505050565b6000610d7488611141565b905060008160400151610d85575080515b885b888114158015610d975750848714155b15610e0c57610da5816116b6565b92508260400151610e045782516001600160a01b031615610dc557825191505b8a6001600160a01b0316826001600160a01b031603610e045780848880600101995081518110610df757610df76120fe565b6020026020010181815250505b600101610d87565b50505092835250909150505b9392505050565b600061074b8261174b565b610e326116f2565b323314610e515760405162461bcd60e51b8152600401610bdc90612114565b80600b5481610e67600154600054036000190190565b610e719190612150565b1115610eae5760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b6044820152606401610bdc565b81600d5481610ebc3361174b565b610ec69190612150565b1115610f145760405162461bcd60e51b815260206004820152601a60248201527f4578636565646564207472616e73616374696f6e206c696d69740000000000006044820152606401610bdc565b82610f1f3382611774565b341015610f635760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b6044820152606401610bdc565b6001600e5460ff166001811115610f7c57610f7c611f3f565b14610fd55760405162461bcd60e51b8152602060048201526024808201527f436f6e7472616374206973206e6f74206f70656e20666f72205075626c696320604482015263135a5b9d60e21b6064820152608401610bdc565b610fdf33856117e0565b83600f6000828254610ff19190612150565b9091555050600160095550611004915050565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61107b61157b565b6110836116f2565b3233146110a25760405162461bcd60e51b8152600401610bdc90612114565b80600b54816110b8600154600054036000190190565b6110c29190612150565b11156110ff5760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f662073746f636b60a01b6044820152606401610bdc565b61110933836117e0565b506110046001600955565b836001600160a01b038116331461112e5761112e33611329565b61113a858585856118de565b5050505050565b604080516080810182526000808252602082018190529181018290526060810191909152604080516080810182526000808252602082018190529181018290526060810191909152600183108061119a57506000548310155b156111a55792915050565b6111ae836116b6565b90508060400151156111c05792915050565b610e1883611922565b60606111d4826112f4565b6111f157604051630a14c4b560e41b815260040160405180910390fd5b60006111fb611957565b9050805160000361121b5760405180602001604052806000815250610e18565b8061122584611966565b604051602001611236929190612163565b6040516020818303038152906040529392505050565b600061125f600154600054036000190190565b600b5461126c9190612192565b905090565b61127961157b565b600d55565b61128661157b565b6001600160a01b0381166112eb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bdc565b61100481611664565b600081600111158015611308575060005482105b801561074b575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561100457604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611396573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ba91906121a5565b61100457604051633b79c77360e21b81526001600160a01b0382166004820152602401610bdc565b60006113ed826115f5565b9050836001600160a01b0316816001600160a01b0316146114205760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761146d5761145086336106b1565b61146d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661149457604051633a954ecd60e21b815260040160405180910390fd5b801561149f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036115315760018401600081815260046020526040812054900361152f57600054811461152f5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6008546001600160a01b03163314610aa25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdc565b6115f083838360405180602001604052806000815250611114565b505050565b6000818060011161164b5760005481101561164b5760008181526004602052604081205490600160e01b82169003611649575b80600003610e18575060001901600081815260046020526040902054611628565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461074b906119aa565b6002600954036117445760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610bdc565b6002600955565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b6000806117808461174b565b600c5461178d91906121c2565b90506000808213156117c757818412156117a9575060006117d8565b6117b382856121c2565b600a546117c091906121e9565b90506117d8565b83600a546117d591906121e9565b90505b949350505050565b60008054908290036118055760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146118b457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161187c565b50816000036118d557604051622e076360e81b815260040160405180910390fd5b60005550505050565b6118e98484846108c7565b6001600160a01b0383163b156108ec57611905848484846119f2565b6108ec576040516368d2bf6b60e11b815260040160405180910390fd5b60408051608081018252600080825260208201819052918101829052606081019190915261074b611952836115f5565b6119aa565b60606010805461076090611fbe565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806119805750819003601f19909101908152919050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a27903390899088908890600401612219565b6020604051808303816000875af1925050508015611a62575060408051601f3d908101601f19168201909252611a5f91810190612256565b60015b611ac0573d808015611a90576040519150601f19603f3d011682016040523d82523d6000602084013e611a95565b606091505b508051600003611ab8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6001600160e01b03198116811461100457600080fd5b600060208284031215611b0557600080fd5b8135610e1881611add565b60005b83811015611b2b578181015183820152602001611b13565b50506000910152565b60008151808452611b4c816020860160208601611b10565b601f01601f19169290920160200192915050565b602081526000610e186020830184611b34565b600060208284031215611b8557600080fd5b5035919050565b80356001600160a01b0381168114611ba357600080fd5b919050565b60008060408385031215611bbb57600080fd5b611bc483611b8c565b946020939093013593505050565b600080600060608486031215611be757600080fd5b611bf084611b8c565b9250611bfe60208501611b8c565b9150604084013590509250925092565b600060208284031215611c2057600080fd5b813560028110610e1857600080fd5b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611c6057611c60611c2f565b604051601f8501601f19908116603f01168101908282118183101715611c8857611c88611c2f565b81604052809350858152868686011115611ca157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611ccd57600080fd5b813567ffffffffffffffff811115611ce457600080fd5b8201601f81018413611cf557600080fd5b6117d884823560208401611c45565b60008060208385031215611d1757600080fd5b823567ffffffffffffffff80821115611d2f57600080fd5b818501915085601f830112611d4357600080fd5b813581811115611d5257600080fd5b8660208260051b8501011115611d6757600080fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610ba157611de5838551611d79565b9284019260809290920191600101611dd2565b600060208284031215611e0a57600080fd5b610e1882611b8c565b6020808252825182820181905260009190848201906040850190845b81811015610ba157835183529284019291840191600101611e2f565b600080600060608486031215611e6057600080fd5b611e6984611b8c565b95602085013595506040909401359392505050565b801515811461100457600080fd5b60008060408385031215611e9f57600080fd5b611ea883611b8c565b91506020830135611eb881611e7e565b809150509250929050565b60008060008060808587031215611ed957600080fd5b611ee285611b8c565b9350611ef060208601611b8c565b925060408501359150606085013567ffffffffffffffff811115611f1357600080fd5b8501601f81018713611f2457600080fd5b611f3387823560208401611c45565b91505092959194509250565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611f7757634e487b7160e01b600052602160045260246000fd5b91905290565b6080810161074b8284611d79565b60008060408385031215611f9e57600080fd5b611fa783611b8c565b9150611fb560208401611b8c565b90509250929050565b600181811c90821680611fd257607f821691505b602082108103611ff257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156115f057600081815260208120601f850160051c8101602086101561201f5750805b601f850160051c820191505b818110156115735782815560010161202b565b815167ffffffffffffffff81111561205857612058611c2f565b61206c816120668454611fbe565b84611ff8565b602080601f8311600181146120a157600084156120895750858301515b600019600386901b1c1916600185901b178555611573565b600085815260208120601f198616915b828110156120d0578886015182559484019460019091019084016120b1565b50858210156120ee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b6020808252600c908201526b24b73b30b634b2102ab9b2b960a11b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561074b5761074b61213a565b60008351612175818460208801611b10565b835190830190612189818360208801611b10565b01949350505050565b8181038181111561074b5761074b61213a565b6000602082840312156121b757600080fd5b8151610e1881611e7e565b81810360008312801583831316838312821617156121e2576121e261213a565b5092915050565b80820260008212600160ff1b841416156122055761220561213a565b818105831482151761074b5761074b61213a565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061224c90830184611b34565b9695505050505050565b60006020828403121561226857600080fd5b8151610e1881611add56fea2646970667358221220ed9203788abcc501897f5986a07f0416b31369b81c0c52704afaad1dd781ccbf64736f6c63430008120033
Deployed Bytecode Sourcemap
188:5756:9:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9155:630:2;;;;;;;;;;-1:-1:-1;9155:630:2;;;;;:::i;:::-;;:::i;:::-;;;565:14:11;;558:22;540:41;;528:2;513:18;9155:630:2;;;;;;;;10039:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:2;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:11;;;1679:51;;1667:2;1652:18;16360:214:2;1533:203:11;15812:398:2;;;;;;:::i;:::-;;:::i;:::-;;5894:317;;;;;;;;;;;;5933:1:9;6164:12:2;5955:7;6148:13;:28;-1:-1:-1;;6148:46:2;;5894:317;;;;2324:25:11;;;2312:2;2297:18;5894:317:2;2178:177:11;4820:218:9;;;;;;:::i;:::-;;:::i;4001:102::-;;;;;;;;;;-1:-1:-1;4001:102:9;;;;;:::i;:::-;;:::i;610:32::-;;;;;;;;;;;;;;;;4200:93;;;;;;;;;;-1:-1:-1;4200:93:9;;;;;:::i;:::-;;:::i;737:142:7:-;;;;;;;;;;;;836:42;737:142;;5044:226:9;;;;;;:::i;:::-;;:::i;3893:102::-;;;;;;;;;;-1:-1:-1;3893:102:9;;;;;:::i;:::-;;:::i;1640:513:3:-;;;;;;;;;;-1:-1:-1;1640:513:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11391:150:2:-;;;;;;;;;;-1:-1:-1;11391:150:2;;;;;:::i;:::-;;:::i;7045:230::-;;;;;;;;;;-1:-1:-1;7045:230:2;;;;;:::i;:::-;;:::i;1824:101:8:-;;;;;;;;;;;;;:::i;5416:879:3:-;;;;;;;;;;-1:-1:-1;5416:879:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;4423:193:9:-;;;;;;;;;;;;;:::i;570:34::-;;;;;;;;;;;;;;;;1194:85:8;;;;;;;;;;-1:-1:-1;1266:6:8;;-1:-1:-1;;;;;1266:6:8;1194:85;;4109::9;;;;;;;;;;-1:-1:-1;4109:85:9;;;;;:::i;:::-;;:::i;804:32::-;;;;;;;;;;;;;;;;10208:102:2;;;;;;;;;;;;;:::i;692:36:9:-;;;;;;;;;;;;;;;;648:38;;;;;;;;;;;;;;;;2527:2454:3;;;;;;;;;;-1:-1:-1;2527:2454:3;;;;;:::i;:::-;;:::i;2614:111:9:-;;;;;;;;;;-1:-1:-1;2614:111:9;;;;;:::i;:::-;;:::i;3012:458::-;;;;;;:::i;:::-;;:::i;16901:231:2:-;;;;;;;;;;-1:-1:-1;16901:231:2;;;;;:::i;:::-;;:::i;3662:225:9:-;;;;;;;;;;-1:-1:-1;3662:225:9;;;;;:::i;:::-;;:::i;5276:259::-;;;;;;:::i;:::-;;:::i;2731:100::-;;;;;;;;;;-1:-1:-1;2807:17:9;;2731:100;;735:62;;;;;;;;;;-1:-1:-1;735:62:9;;;;;;;;;;;;;;;:::i;1069:418:3:-;;;;;;;;;;-1:-1:-1;1069:418:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;10411:313:2:-;;;;;;;;;;-1:-1:-1;10411:313:2;;;;;:::i;:::-;;:::i;2498:110:9:-;;;;;;;;;;;;;:::i;4299:118::-;;;;;;;;;;-1:-1:-1;4299:118:9;;;;;:::i;:::-;;:::i;17282:162:2:-;;;;;;;;;;-1:-1:-1;17282:162:2;;;;;:::i;:::-;-1:-1:-1;;;;;17402:25:2;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162;2074:198:8;;;;;;;;;;-1:-1:-1;2074:198:8;;;;;:::i;:::-;;:::i;9155:630:2:-;9240:4;-1:-1:-1;;;;;;;;;9558:25:2;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:2;;;9558:101;:177;;;-1:-1:-1;;;;;;;;;;9710:25:2;;;9558:177;9539:196;9155:630;-1:-1:-1;;9155:630:2:o;10039:98::-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:2;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:2;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:2;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:2;-1:-1:-1;;;;;15947:28:2;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:2;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:2;-1:-1:-1;;;;;16125:35:2;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;4820:218:9:-;4978:4;-1:-1:-1;;;;;2054:18:7;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;4994:37:9::1;5013:4;5019:2;5023:7;4994:18;:37::i;:::-;4820:218:::0;;;;:::o;4001:102::-;1087:13:8;:11;:13::i;:::-;4072:15:9::1;:24:::0;;4090:6;;4072:15;-1:-1:-1;;4072:24:9::1;::::0;4090:6;4072:24;;::::1;;;;;;:::i;:::-;;;;;;4001:102:::0;:::o;4200:93::-;1087:13:8;:11;:13::i;:::-;4264:10:9::1;:22:::0;4200:93::o;5044:226::-;5206:4;-1:-1:-1;;;;;2054:18:7;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;5222:41:9::1;5245:4;5251:2;5255:7;5222:22;:41::i;3893:102::-:0;1087:13:8;:11;:13::i;:::-;3972:7:9::1;:16;3982:6:::0;3972:7;:16:::1;:::i;:::-;;3893:102:::0;:::o;1640:513:3:-;1779:23;1867:8;1842:22;1867:8;1933:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1933:36:3;;-1:-1:-1;;1933:36:3;;;;;;;;;;;;1896:73;;1988:9;1983:123;2004:14;1999:1;:19;1983:123;;2059:32;2079:8;;2088:1;2079:11;;;;;;;:::i;:::-;;;;;;;2059:19;:32::i;:::-;2043:10;2054:1;2043:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2020:3;;1983:123;;;-1:-1:-1;2126:10:3;1640:513;-1:-1:-1;;;;1640:513:3:o;11391:150:2:-;11463:7;11505:27;11524:7;11505:18;:27::i;7045:230::-;7117:7;-1:-1:-1;;;;;7140:19:2;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:2;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:2;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;1824:101:8:-;1087:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;:::-;1824:101::o:0;5416:879:3:-;5494:16;5546:19;5579:25;5618:22;5643:16;5653:5;5643:9;:16::i;:::-;5618:41;;5673:25;5715:14;5701:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5701:29:3;;5673:57;;5744:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5744:31:3;5933:1:9;5789:461:3;5838:14;5823:11;:29;5789:461;;5889:15;5902:1;5889:12;:15::i;:::-;5877:27;;5926:9;:16;;;5966:8;5922:71;6014:14;;-1:-1:-1;;;;;6014:28:3;;6010:109;;6086:14;;;-1:-1:-1;6010:109:3;6161:5;-1:-1:-1;;;;;6140:26:3;:17;-1:-1:-1;;;;;6140:26:3;;6136:100;;6216:1;6190:8;6199:13;;;;;;6190:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6136:100;5854:3;;5789:461;;;-1:-1:-1;6270:8:3;;5416:879;-1:-1:-1;;;;;;5416:879:3:o;4423:193:9:-;1087:13:8;:11;:13::i;:::-;2261:21:10::1;:19;:21::i;:::-;1631:9:9::2;1644:10;1631:23;1623:48;;;;-1:-1:-1::0;;;1623:48:9::2;;;;;;;:::i;:::-;;;;;;;;;4514:49:::3;::::0;4496:12:::3;::::0;4514:10:::3;::::0;4537:21:::3;::::0;4496:12;4514:49;4496:12;4514:49;4537:21;4514:10;:49:::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4495:68;;;4581:7;4573:36;;;::::0;-1:-1:-1;;;4573:36:9;;12907:2:11;4573:36:9::3;::::0;::::3;12889:21:11::0;12946:2;12926:18;;;12919:30;-1:-1:-1;;;12965:18:11;;;12958:46;13021:18;;4573:36:9::3;12705:340:11::0;4573:36:9::3;4485:131;2303:20:10::1;1716:1:::0;2809:7;:22;2629:209;4109:85:9;1087:13:8;:11;:13::i;:::-;4171:5:9::1;:16:::0;4109:85::o;10208:102:2:-;10264:13;10296:7;10289:14;;;;;:::i;2527:2454:3:-;2666:16;2731:4;2722:5;:13;2718:45;;2744:19;;-1:-1:-1;;;2744:19:3;;;;;;;;;;;2718:45;2777:19;2810:17;2830:14;5645:7:2;5671:13;;5590:101;2830:14:3;2810:34;-1:-1:-1;5933:1:9;2920:5:3;:23;2916:85;;;5933:1:9;2963:23:3;;2916:85;3075:9;3068:4;:16;3064:71;;;3111:9;3104:16;;3064:71;3148:25;3176:16;3186:5;3176:9;:16::i;:::-;3148:44;;3367:4;3359:5;:12;3355:271;;;3413:12;;;3447:31;;;3443:109;;;3522:11;3502:31;;3443:109;3373:193;3355:271;;;-1:-1:-1;3610:1:3;3355:271;3639:25;3681:17;3667:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3667:32:3;;3639:60;;3717:17;3738:1;3717:22;3713:76;;3766:8;-1:-1:-1;3759:15:3;;-1:-1:-1;;;3759:15:3;3713:76;3930:31;3964:26;3984:5;3964:19;:26::i;:::-;3930:60;;4004:25;4246:9;:16;;;4241:90;;-1:-1:-1;4302:14:3;;4241:90;4361:5;4344:467;4373:4;4368:1;:9;;:45;;;;;4396:17;4381:11;:32;;4368:45;4344:467;;;4450:15;4463:1;4450:12;:15::i;:::-;4438:27;;4487:9;:16;;;4527:8;4483:71;4575:14;;-1:-1:-1;;;;;4575:28:3;;4571:109;;4647:14;;;-1:-1:-1;4571:109:3;4722:5;-1:-1:-1;;;;;4701:26:3;:17;-1:-1:-1;;;;;4701:26:3;;4697:100;;4777:1;4751:8;4760:13;;;;;;4751:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4697:100;4415:3;;4344:467;;;-1:-1:-1;;;4893:29:3;;;-1:-1:-1;4900:8:3;;-1:-1:-1;;2527:2454:3;;;;;;:::o;2614:111:9:-;2673:7;2699:19;2713:4;2699:13;:19::i;3012:458::-;2261:21:10;:19;:21::i;:::-;1631:9:9::1;1644:10;1631:23;1623:48;;;;-1:-1:-1::0;;;1623:48:9::1;;;;;;;:::i;:::-;3169:8:::2;1544:10;;1532:8;1516:13;5933:1:::0;6164:12:2;5955:7;6148:13;:28;-1:-1:-1;;6148:46:2;;5894:317;1516:13:9::2;:24;;;;:::i;:::-;:38;;1508:63;;;::::0;-1:-1:-1;;;1508:63:9;;13514:2:11;1508:63:9::2;::::0;::::2;13496:21:11::0;13553:2;13533:18;;;13526:30;-1:-1:-1;;;13572:18:11;;;13565:42;13624:18;;1508:63:9::2;13312:336:11::0;1508:63:9::2;3202:8:::3;1358:17;;1346:8;1318:25;1332:10;1318:13;:25::i;:::-;:36;;;;:::i;:::-;:57;;1297:130;;;::::0;-1:-1:-1;;;1297:130:9;;13855:2:11;1297:130:9::3;::::0;::::3;13837:21:11::0;13894:2;13874:18;;;13867:30;13933:28;13913:18;;;13906:56;13979:18;;1297:130:9::3;13653:350:11::0;1297:130:9::3;3235:8:::4;1143:34;1156:10;1168:8;1143:12;:34::i;:::-;1130:9;:47;;1109:112;;;::::0;-1:-1:-1;;;1109:112:9;;14210:2:11;1109:112:9::4;::::0;::::4;14192:21:11::0;14249:2;14229:18;;;14222:30;-1:-1:-1;;;14268:18:11;;;14261:48;14326:18;;1109:112:9::4;14008:342:11::0;1109:112:9::4;3299:25:::5;3280:15;::::0;::::5;;::::0;:44;::::5;;;;;;:::i;:::-;;3259:127;;;::::0;-1:-1:-1;;;3259:127:9;;14557:2:11;3259:127:9::5;::::0;::::5;14539:21:11::0;14596:2;14576:18;;;14569:30;14635:34;14615:18;;;14608:62;-1:-1:-1;;;14686:18:11;;;14679:34;14730:19;;3259:127:9::5;14355:400:11::0;3259:127:9::5;3397:27;3403:10;3415:8;3397:5;:27::i;:::-;3455:8;3434:17;;:29;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;1716:1:10;2809:7;:22;-1:-1:-1;2303:20:10;;-1:-1:-1;;2629:209:10;2303:20;3012:458:9;:::o;16901:231:2:-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:2;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:2;;;;;;;;;;17070:55;;540:41:11;;;16995:49:2;;39523:10;17070:55;;513:18:11;17070:55:2;;;;;;;16901:231;;:::o;3662:225:9:-;1087:13:8;:11;:13::i;:::-;2261:21:10::1;:19;:21::i;:::-;1631:9:9::2;1644:10;1631:23;1623:48;;;;-1:-1:-1::0;;;1623:48:9::2;;;;;;;:::i;:::-;3829:8:::3;1544:10;;1532:8;1516:13;5933:1:::0;6164:12:2;5955:7;6148:13;:28;-1:-1:-1;;6148:46:2;;5894:317;1516:13:9::3;:24;;;;:::i;:::-;:38;;1508:63;;;::::0;-1:-1:-1;;;1508:63:9;;13514:2:11;1508:63:9::3;::::0;::::3;13496:21:11::0;13553:2;13533:18;;;13526:30;-1:-1:-1;;;13572:18:11;;;13565:42;13624:18;;1508:63:9::3;13312:336:11::0;1508:63:9::3;3853:27:::4;3859:10;3871:8;3853:5;:27::i;:::-;1681:1:::3;2303:20:10::1;1716:1:::0;2809:7;:22;2629:209;5276:259:9;5465:4;-1:-1:-1;;;;;2054:18:7;;2062:10;2054:18;2050:81;;2088:32;2109:10;2088:20;:32::i;:::-;5481:47:9::1;5504:4;5510:2;5514:7;5523:4;5481:22;:47::i;:::-;5276:259:::0;;;;;:::o;1069:418:3:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5933:1:9;1231:7:3;:25;:54;;;-1:-1:-1;5645:7:2;5671:13;1260:7:3;:25;;1231:54;1227:101;;;1308:9;1069:418;-1:-1:-1;;1069:418:3:o;1227:101::-;1349:21;1362:7;1349:12;:21::i;:::-;1337:33;;1384:9;:16;;;1380:63;;;1423:9;1069:418;-1:-1:-1;;1069:418:3:o;1380:63::-;1459:21;1472:7;1459:12;:21::i;10411:313:2:-;10484:13;10514:16;10522:7;10514;:16::i;:::-;10509:59;;10539:29;;-1:-1:-1;;;10539:29:2;;;;;;;;;;;10509:59;10579:21;10603:10;:8;:10::i;:::-;10579:34;;10636:7;10630:21;10655:1;10630:26;:87;;;;;;;;;;;;;;;;;10683:7;10692:18;10702:7;10692:9;:18::i;:::-;10666:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10623:94;10411:313;-1:-1:-1;;;10411:313:2:o;2498:110:9:-;2549:7;2588:13;5933:1;6164:12:2;5955:7;6148:13;:28;-1:-1:-1;;6148:46:2;;5894:317;2588:13:9;2575:10;;:26;;;;:::i;:::-;2568:33;;2498:110;:::o;4299:118::-;1087:13:8;:11;:13::i;:::-;4375:17:9::1;:35:::0;4299:118::o;2074:198:8:-;1087:13;:11;:13::i;:::-;-1:-1:-1;;;;;2162:22:8;::::1;2154:73;;;::::0;-1:-1:-1;;;2154:73:8;;15596:2:11;2154:73:8::1;::::0;::::1;15578:21:11::0;15635:2;15615:18;;;15608:30;15674:34;15654:18;;;15647:62;-1:-1:-1;;;15725:18:11;;;15718:36;15771:19;;2154:73:8::1;15394:402:11::0;2154:73:8::1;2237:28;2256:8;2237:18;:28::i;17693:277:2:-:0;17758:4;17812:7;5933:1:9;17793:26:2;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:2;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:2;:49;;17693:277::o;2281:412:7:-;836:42;2470:45;:49;2466:221;;2540:67;;-1:-1:-1;;;2540:67:7;;2591:4;2540:67;;;16013:34:11;-1:-1:-1;;;;;16083:15:11;;16063:18;;;16056:43;836:42:7;;2540;;15948:18:11;;2540:67:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2535:142;;2634:28;;-1:-1:-1;;;2634:28:7;;-1:-1:-1;;;;;1697:32:11;;2634:28:7;;;1679:51:11;1652:18;;2634:28:7;1533:203:11;19903:2764:2;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:2;20128:19;-1:-1:-1;;;;;20112:45:2;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:2;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:2;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:2;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:2;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:2;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:2;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:2;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:2;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:2;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:2;;:52;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;:35;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:2;22590:4;-1:-1:-1;;;;;22581:27:2;;;;;;;;;;;22618:42;20030:2637;;;19903:2764;;;:::o;1352:130:8:-;1266:6;;-1:-1:-1;;;;;1266:6:8;39523:10:2;1415:23:8;1407:68;;;;-1:-1:-1;;;1407:68:8;;16562:2:11;1407:68:8;;;16544:21:11;;;16581:18;;;16574:30;16640:34;16620:18;;;16613:62;16692:18;;1407:68:8;16360:356:11;22758:187:2;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;12515:1249::-;12582:7;12616;;5933:1:9;12662:23:2;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:2;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:2;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:2;;;;;;;;;;;2426:187:8;2518:6;;;-1:-1:-1;;;;;2534:17:8;;;-1:-1:-1;;;;;;2534:17:8;;;;;;;2566:40;;2518:6;;;2534:17;2518:6;;2566:40;;2499:16;;2566:40;2489:124;2426:187;:::o;11979:159:2:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12106:24:2;;;;:17;:24;;;;;;12087:44;;:18;:44::i;2336:287:10:-;1759:1;2468:7;;:19;2460:63;;;;-1:-1:-1;;;2460:63:10;;16923:2:11;2460:63:10;;;16905:21:11;16962:2;16942:18;;;16935:30;17001:33;16981:18;;;16974:61;17052:18;;2460:63:10;16721:355:11;2460:63:10;1759:1;2598:7;:18;2336:287::o;7352:176:2:-;-1:-1:-1;;;;;7440:25:2;7413:7;7440:25;;;:18;:25;;1495:2;7440:25;;;;;:50;;1360:13;7439:82;;7352:176::o;1695:605:9:-;1795:12;1819:21;1892;1906:6;1892:13;:21::i;:::-;1850:19;;1843:71;;;;:::i;:::-;1819:95;;1924:15;1971:1;1954:14;:18;1950:309;;;2011:14;1999:8;1992:33;1988:185;;;-1:-1:-1;2056:1:9;1950:309;;1988:185;2124:33;2143:14;2131:8;2124:33;:::i;:::-;2114:5;;2107:51;;;;:::i;:::-;2096:62;;1950:309;;;2238:8;2221:5;;2214:34;;;;:::i;:::-;2203:45;;1950:309;2284:8;1695:605;-1:-1:-1;;;;1695:605:9:o;27091:2902:2:-;27163:20;27186:13;;;27213;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:2;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:2;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:2;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;29465:75;29831:8;29843:1;29831:13;29827:45;;29853:19;;-1:-1:-1;;;29853:19:2;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:2;;;:::o;23526:396::-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:2;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:2;;;;;;;;;;;11724:164;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11834:47:2;11853:27;11872:7;11853:18;:27::i;:::-;11834:18;:47::i;5730:106:9:-;5790:13;5822:7;5815:14;;;;;:::i;39637:1708:2:-;39702:17;40130:4;40123;40117:11;40113:22;40220:1;40214:4;40207:15;40293:4;40290:1;40286:12;40279:19;;;40373:1;40368:3;40361:14;40474:3;40708:5;40690:419;40755:1;40750:3;40746:11;40739:18;;40923:2;40917:4;40913:13;40909:2;40905:22;40900:3;40892:36;41015:2;41005:13;;41070:25;40690:419;41070:25;-1:-1:-1;41137:13:2;;;-1:-1:-1;;41250:14:2;;;41310:19;;;41250:14;39637:1708;-1:-1:-1;39637:1708:2:o;13858:361::-;-1:-1:-1;;;;;;;;;;;;;13967:41:2;;;;2004:3;14052:33;;;14018:68;;-1:-1:-1;;;14018:68:2;-1:-1:-1;;;14115:24:2;;:29;;-1:-1:-1;;;14096:48:2;;;;2513:3;14183:28;;;;-1:-1:-1;;;14154:58:2;-1:-1:-1;13858:361:2:o;25948:697::-;26126:88;;-1:-1:-1;;;26126:88:2;;26106:4;;-1:-1:-1;;;;;26126:45:2;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:2;;;;;;;;-1:-1:-1;;26126:88:2;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:2;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:2;-1:-1:-1;;;26282:64:2;;-1:-1:-1;25948:697:2;;;;;;:::o;14:131:11:-;-1:-1:-1;;;;;;88:32:11;;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;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:11;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:11;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:11:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:11;;1348:180;-1:-1:-1;1348:180:11:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:11;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:11:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:275::-;2771:6;2824:2;2812:9;2803:7;2799:23;2795:32;2792:52;;;2840:1;2837;2830:12;2792:52;2879:9;2866:23;2918:1;2911:5;2908:12;2898:40;;2934:1;2931;2924:12;3213:127;3274:10;3269:3;3265:20;3262:1;3255:31;3305:4;3302:1;3295:15;3329:4;3326:1;3319:15;3345:632;3410:5;3440:18;3481:2;3473:6;3470:14;3467:40;;;3487:18;;:::i;:::-;3562:2;3556:9;3530:2;3616:15;;-1:-1:-1;;3612:24:11;;;3638:2;3608:33;3604:42;3592:55;;;3662:18;;;3682:22;;;3659:46;3656:72;;;3708:18;;:::i;:::-;3748:10;3744:2;3737:22;3777:6;3768:15;;3807:6;3799;3792:22;3847:3;3838:6;3833:3;3829:16;3826:25;3823:45;;;3864:1;3861;3854:12;3823:45;3914:6;3909:3;3902:4;3894:6;3890:17;3877:44;3969:1;3962:4;3953:6;3945;3941:19;3937:30;3930:41;;;;3345:632;;;;;:::o;3982:451::-;4051:6;4104:2;4092:9;4083:7;4079:23;4075:32;4072:52;;;4120:1;4117;4110:12;4072:52;4160:9;4147:23;4193:18;4185:6;4182:30;4179:50;;;4225:1;4222;4215:12;4179:50;4248:22;;4301:4;4293:13;;4289:27;-1:-1:-1;4279:55:11;;4330:1;4327;4320:12;4279:55;4353:74;4419:7;4414:2;4401:16;4396:2;4392;4388:11;4353:74;:::i;4438:615::-;4524:6;4532;4585:2;4573:9;4564:7;4560:23;4556:32;4553:52;;;4601:1;4598;4591:12;4553:52;4641:9;4628:23;4670:18;4711:2;4703:6;4700:14;4697:34;;;4727:1;4724;4717:12;4697:34;4765:6;4754:9;4750:22;4740:32;;4810:7;4803:4;4799:2;4795:13;4791:27;4781:55;;4832:1;4829;4822:12;4781:55;4872:2;4859:16;4898:2;4890:6;4887:14;4884:34;;;4914:1;4911;4904:12;4884:34;4967:7;4962:2;4952:6;4949:1;4945:14;4941:2;4937:23;4933:32;4930:45;4927:65;;;4988:1;4985;4978:12;4927:65;5019:2;5011:11;;;;;5041:6;;-1:-1:-1;4438:615:11;;-1:-1:-1;;;;4438:615:11:o;5058:349::-;5142:12;;-1:-1:-1;;;;;5138:38:11;5126:51;;5230:4;5219:16;;;5213:23;5238:18;5209:48;5193:14;;;5186:72;5321:4;5310:16;;;5304:23;5297:31;5290:39;5274:14;;;5267:63;5383:4;5372:16;;;5366:23;5391:8;5362:38;5346:14;;5339:62;5058:349::o;5412:724::-;5647:2;5699:21;;;5769:13;;5672:18;;;5791:22;;;5618:4;;5647:2;5870:15;;;;5844:2;5829:18;;;5618:4;5913:197;5927:6;5924:1;5921:13;5913:197;;;5976:52;6024:3;6015:6;6009:13;5976:52;:::i;:::-;6085:15;;;;6057:4;6048:14;;;;;5949:1;5942:9;5913:197;;6141:186;6200:6;6253:2;6241:9;6232:7;6228:23;6224:32;6221:52;;;6269:1;6266;6259:12;6221:52;6292:29;6311:9;6292:29;:::i;6332:632::-;6503:2;6555:21;;;6625:13;;6528:18;;;6647:22;;;6474:4;;6503:2;6726:15;;;;6700:2;6685:18;;;6474:4;6769:169;6783:6;6780:1;6777:13;6769:169;;;6844:13;;6832:26;;6913:15;;;;6878:12;;;;6805:1;6798:9;6769:169;;6969:322;7046:6;7054;7062;7115:2;7103:9;7094:7;7090:23;7086:32;7083:52;;;7131:1;7128;7121:12;7083:52;7154:29;7173:9;7154:29;:::i;:::-;7144:39;7230:2;7215:18;;7202:32;;-1:-1:-1;7281:2:11;7266:18;;;7253:32;;6969:322;-1:-1:-1;;;6969:322:11:o;7296:118::-;7382:5;7375:13;7368:21;7361:5;7358:32;7348:60;;7404:1;7401;7394:12;7419:315;7484:6;7492;7545:2;7533:9;7524:7;7520:23;7516:32;7513:52;;;7561:1;7558;7551:12;7513:52;7584:29;7603:9;7584:29;:::i;:::-;7574:39;;7663:2;7652:9;7648:18;7635:32;7676:28;7698:5;7676:28;:::i;:::-;7723:5;7713:15;;;7419:315;;;;;:::o;7739:667::-;7834:6;7842;7850;7858;7911:3;7899:9;7890:7;7886:23;7882:33;7879:53;;;7928:1;7925;7918:12;7879:53;7951:29;7970:9;7951:29;:::i;:::-;7941:39;;7999:38;8033:2;8022:9;8018:18;7999:38;:::i;:::-;7989:48;;8084:2;8073:9;8069:18;8056:32;8046:42;;8139:2;8128:9;8124:18;8111:32;8166:18;8158:6;8155:30;8152:50;;;8198:1;8195;8188:12;8152:50;8221:22;;8274:4;8266:13;;8262:27;-1:-1:-1;8252:55:11;;8303:1;8300;8293:12;8252:55;8326:74;8392:7;8387:2;8374:16;8369:2;8365;8361:11;8326:74;:::i;:::-;8316:84;;;7739:667;;;;;;;:::o;8411:127::-;8472:10;8467:3;8463:20;8460:1;8453:31;8503:4;8500:1;8493:15;8527:4;8524:1;8517:15;8543:347;8694:2;8679:18;;8727:1;8716:13;;8706:144;;8772:10;8767:3;8763:20;8760:1;8753:31;8807:4;8804:1;8797:15;8835:4;8832:1;8825:15;8706:144;8859:25;;;8543:347;:::o;8895:268::-;9093:3;9078:19;;9106:51;9082:9;9139:6;9106:51;:::i;9168:260::-;9236:6;9244;9297:2;9285:9;9276:7;9272:23;9268:32;9265:52;;;9313:1;9310;9303:12;9265:52;9336:29;9355:9;9336:29;:::i;:::-;9326:39;;9384:38;9418:2;9407:9;9403:18;9384:38;:::i;:::-;9374:48;;9168:260;;;;;:::o;9433:380::-;9512:1;9508:12;;;;9555;;;9576:61;;9630:4;9622:6;9618:17;9608:27;;9576:61;9683:2;9675:6;9672:14;9652:18;9649:38;9646:161;;9729:10;9724:3;9720:20;9717:1;9710:31;9764:4;9761:1;9754:15;9792:4;9789:1;9782:15;9646:161;;9433:380;;;:::o;9944:545::-;10046:2;10041:3;10038:11;10035:448;;;10082:1;10107:5;10103:2;10096:17;10152:4;10148:2;10138:19;10222:2;10210:10;10206:19;10203:1;10199:27;10193:4;10189:38;10258:4;10246:10;10243:20;10240:47;;;-1:-1:-1;10281:4:11;10240:47;10336:2;10331:3;10327:12;10324:1;10320:20;10314:4;10310:31;10300:41;;10391:82;10409:2;10402:5;10399:13;10391:82;;;10454:17;;;10435:1;10424:13;10391:82;;10665:1352;10791:3;10785:10;10818:18;10810:6;10807:30;10804:56;;;10840:18;;:::i;:::-;10869:97;10959:6;10919:38;10951:4;10945:11;10919:38;:::i;:::-;10913:4;10869:97;:::i;:::-;11021:4;;11085:2;11074:14;;11102:1;11097:663;;;;11804:1;11821:6;11818:89;;;-1:-1:-1;11873:19:11;;;11867:26;11818:89;-1:-1:-1;;10622:1:11;10618:11;;;10614:24;10610:29;10600:40;10646:1;10642:11;;;10597:57;11920:81;;11067:944;;11097:663;9891:1;9884:14;;;9928:4;9915:18;;-1:-1:-1;;11133:20:11;;;11251:236;11265:7;11262:1;11259:14;11251:236;;;11354:19;;;11348:26;11333:42;;11446:27;;;;11414:1;11402:14;;;;11281:19;;11251:236;;;11255:3;11515:6;11506:7;11503:19;11500:201;;;11576:19;;;11570:26;-1:-1:-1;;11659:1:11;11655:14;;;11671:3;11651:24;11647:37;11643:42;11628:58;11613:74;;11500:201;-1:-1:-1;;;;;11747:1:11;11731:14;;;11727:22;11714:36;;-1:-1:-1;10665:1352:11:o;12022:127::-;12083:10;12078:3;12074:20;12071:1;12064:31;12114:4;12111:1;12104:15;12138:4;12135:1;12128:15;12154:336;12356:2;12338:21;;;12395:2;12375:18;;;12368:30;-1:-1:-1;;;12429:2:11;12414:18;;12407:42;12481:2;12466:18;;12154:336::o;13050:127::-;13111:10;13106:3;13102:20;13099:1;13092:31;13142:4;13139:1;13132:15;13166:4;13163:1;13156:15;13182:125;13247:9;;;13268:10;;;13265:36;;;13281:18;;:::i;14760:496::-;14939:3;14977:6;14971:13;14993:66;15052:6;15047:3;15040:4;15032:6;15028:17;14993:66;:::i;:::-;15122:13;;15081:16;;;;15144:70;15122:13;15081:16;15191:4;15179:17;;15144:70;:::i;:::-;15230:20;;14760:496;-1:-1:-1;;;;14760:496:11:o;15261:128::-;15328:9;;;15349:11;;;15346:37;;;15363:18;;:::i;16110:245::-;16177:6;16230:2;16218:9;16209:7;16205:23;16201:32;16198:52;;;16246:1;16243;16236:12;16198:52;16278:9;16272:16;16297:28;16319:5;16297:28;:::i;17081:200::-;17147:9;;;17120:4;17175:9;;17203:10;;17215:12;;;17199:29;17238:12;;;17230:21;;17196:56;17193:82;;;17255:18;;:::i;:::-;17193:82;17081:200;;;;:::o;17286:237::-;17358:9;;;17325:7;17383:9;;-1:-1:-1;;;17394:18:11;;17379:34;17376:60;;;17416:18;;:::i;:::-;17489:1;17480:7;17475:16;17472:1;17469:23;17465:1;17458:9;17455:38;17445:72;;17497:18;;:::i;17528:489::-;-1:-1:-1;;;;;17797:15:11;;;17779:34;;17849:15;;17844:2;17829:18;;17822:43;17896:2;17881:18;;17874:34;;;17944:3;17939:2;17924:18;;17917:31;;;17722:4;;17965:46;;17991:19;;17983:6;17965:46;:::i;:::-;17957:54;17528:489;-1:-1:-1;;;;;;17528:489:11:o;18022:249::-;18091:6;18144:2;18132:9;18123:7;18119:23;18115:32;18112:52;;;18160:1;18157;18150:12;18112:52;18192:9;18186:16;18211:30;18235:5;18211:30;:::i
Swarm Source
ipfs://ed9203788abcc501897f5986a07f0416b31369b81c0c52704afaad1dd781ccbf
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.