ERC-721
Overview
Max Total Supply
26 VSCH
Holders
26
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 VSCHLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
VSCHARATCER
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-28 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.17; /* https://linktr.ee/verseshoes For more information about Verseshoe please check the linktree */ interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) 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); } contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry constant operatorFilterRegistry = 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(operatorFilterRegistry).code.length > 0) { if (subscribe) { operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { operatorFilterRegistry.register(address(this)); } } } } modifier onlyAllowedOperator() virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(operatorFilterRegistry).code.length > 0) { if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) { revert OperatorNotAllowed(msg.sender); } } _; } } contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } 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); } /** * @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.selector); 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.selector); 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 Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @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 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // 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, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @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. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @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.selector); 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 result) { if (_startTokenId() <= tokenId) { if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @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); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (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.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // 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. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _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.selector); } } /** * @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.selector); } 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.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; do { assembly { // 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`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _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.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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.selector); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) _revert(bytes4(0)); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // 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.selector); } _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.selector); 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) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } } 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); } 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 ownership) { unchecked { if (tokenId >= _startTokenId()) { if (tokenId < _nextTokenId()) { // If the `tokenId` is within bounds, // scan backwards for the initialized ownership slot. while (!_ownershipIsInitialized(tokenId)) --tokenId; return _ownershipAt(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) { TokenOwnership[] memory ownerships; uint256 i = tokenIds.length; assembly { // Grab the free memory pointer. ownerships := mload(0x40) // Store the length. mstore(ownerships, i) // Allocate one word for the length, // `tokenIds.length` words for the pointers. i := shl(5, i) // Multiply `i` by 32. mstore(0x40, add(add(ownerships, 0x20), i)) } while (i != 0) { uint256 tokenId; assembly { i := sub(i, 0x20) tokenId := calldataload(add(tokenIds.offset, i)) } TokenOwnership memory ownership = explicitOwnershipOf(tokenId); assembly { // Store the pointer of `ownership` in the `ownerships` array. mstore(add(add(ownerships, 0x20), i), ownership) } } 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) { return _tokensOfOwnerIn(owner, start, stop); } /** * @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) { uint256 start = _startTokenId(); uint256 stop = _nextTokenId(); uint256[] memory tokenIds; if (start != stop) tokenIds = _tokensOfOwnerIn(owner, start, stop); return tokenIds; } /** * @dev Helper function for returning an array of token IDs owned by `owner`. * * Note that this function is optimized for smaller bytecode size over runtime gas, * since it is meant to be called off-chain. */ function _tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) private view returns (uint256[] memory) { unchecked { if (start >= stop) _revert(InvalidQueryRange.selector); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } uint256 stopLimit = _nextTokenId(); // Set `stop = min(stop, stopLimit)`. if (stop >= stopLimit) { stop = stopLimit; } uint256[] memory tokenIds; uint256 tokenIdsMaxLength = balanceOf(owner); bool startLtStop = start < stop; assembly { // Set `tokenIdsMaxLength` to zero if `start` is less than `stop`. tokenIdsMaxLength := mul(tokenIdsMaxLength, startLtStop) } if (tokenIdsMaxLength != 0) { // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (stop - start <= tokenIdsMaxLength) { tokenIdsMaxLength = stop - start; } assembly { // Grab the free memory pointer. tokenIds := mload(0x40) // Allocate one word for the length, and `tokenIdsMaxLength` words // for the data. `shl(5, x)` is equivalent to `mul(32, x)`. mstore(0x40, add(tokenIds, shl(5, add(tokenIdsMaxLength, 1)))) } // 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; } uint256 tokenIdsIdx; // Use a do-while, which is slightly more efficient for this case, // as the array will at least contain one element. do { ownership = _ownershipAt(start); assembly { switch mload(add(ownership, 0x40)) // if `ownership.burned == false`. case 0 { // if `ownership.addr != address(0)`. // The `addr` already has it's upper 96 bits clearned, // since it is written to memory with regular Solidity. if mload(ownership) { currOwnershipAddr := mload(ownership) } // if `currOwnershipAddr == owner`. // The `shl(96, x)` is to make the comparison agnostic to any // dirty upper 96 bits in `owner`. if iszero(shl(96, xor(currOwnershipAddr, owner))) { tokenIdsIdx := add(tokenIdsIdx, 1) mstore(add(tokenIds, shl(5, tokenIdsIdx)), start) } } // Otherwise, reset `currOwnershipAddr`. // This handles the case of batch burned tokens // (burned bit of first slot set, remaining slots left uninitialized). default { currOwnershipAddr := 0 } start := add(start, 1) } } while (!(start == stop || tokenIdsIdx == tokenIdsMaxLength)); // Store the length of the array. assembly { mstore(tokenIds, tokenIdsIdx) } } return tokenIds; } } } 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); } } library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } contract VSCHARATCER is ERC721A, ERC721AQueryable, Ownable, ReentrancyGuard , DefaultOperatorFilterer{ using Strings for uint256; string public baseURI = "ipfs://QmPVLKC4DY6GRpj2YEMT4fNMoJeY2b4xXdTZXx9LrQqFJf/"; string public baseExtension = ".json"; string public notRevealedUri = "https://aqua-cheap-lobster-402.mypinata.cloud/ipfs/QmYaSxSmneLxDgBY4bf8Zcmct3rNwq9ZX7W3W3dMBhtzTV?_gl=1*1emzr95*_ga*MTAzMTI1NzQ3Ni4xNjY3NDQ0Mjc1*_ga_5RMPXG14TE*MTY3NzI5OTIzMC4xNS4xLjE2NzcyOTk0NTEuNTcuMC4w"; uint256 public costWL = 0.048 ether; uint256 public maxSupply = 7000; uint256 public maxMintAmountWL = 1; bool public revealed = false; mapping(address => uint256) public addressMintedBalanceWL; uint256 public currentState = 0; mapping(address => bool) public whitelistedAddresses; bytes32 public merkleRootWhitelist = 0x922fae7164e8f55d6edea32274541729505f97919e4deadffd89d7490768e91a; address public crossmintAddress = 0xdAb1a1854214684acE522439684a145E62505233; function setCrossmintAddress (address _address) public onlyOwner { crossmintAddress = _address; } constructor() ERC721A("VScharacter", "VSCH") {} function mint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable { uint256 supply = totalSupply(); require(_mintAmount > 0, "need to mint at least 1 NFT"); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); if (msg.sender != owner()) { require(currentState > 0, "the contract is paused"); if (currentState == 1) { uint256 ownerMintedCount = addressMintedBalanceWL[msg.sender]; require( isWhitelisted(msg.sender, _merkleProof), "user is not whitelisted" ); require( _mintAmount <= maxMintAmountWL, "max mint amount per session exceeded" ); require( ownerMintedCount + _mintAmount <= maxMintAmountWL, "max NFT per address exceeded" ); require( msg.value >= costWL * _mintAmount, "insufficient funds" ); } } _safeMint(msg.sender, _mintAmount); if (currentState == 1) { addressMintedBalanceWL[msg.sender] += _mintAmount; } } function mintCrossmint(uint256 _mintAmount, address user) public payable { uint256 supply = totalSupply(); require(_mintAmount > 0, "need to mint at least 1 NFT"); require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded"); require(currentState > 0, "the contract is paused"); require(msg.sender == crossmintAddress, "Only for crossmint"); if (currentState == 1) { require( _mintAmount <= maxMintAmountWL, "max mint amount per session exceeded" ); require( msg.value >= costWL * _mintAmount, "insufficient funds" ); } _safeMint(user, _mintAmount); } function Airdrop(uint256 _mintAmount, address _receiver) public onlyOwner { require(_mintAmount > 0, "need to mint at least 1 NFT"); require(totalSupply() + _mintAmount <= maxSupply, "max NFT limit exceeded"); _safeMint(_receiver, _mintAmount); } function isWhitelisted(address _user, bytes32[] calldata _merkleProof) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(_user)); return MerkleProof.verify(_merkleProof, merkleRootWhitelist, leaf); } function mintableAmountForUser(address _user) public view returns (uint256) { if (currentState == 1) { return maxMintAmountWL - addressMintedBalanceWL[_user]; } return 0; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 tokenId) public view virtual override(IERC721A, ERC721A) returns (string memory) { require(_exists(tokenId),"ERC721Metadata: URI query for nonexistent token" ); if (revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, tokenId.toString(), baseExtension ) ) : ""; } function reveal() public onlyOwner { revealed = true; } function burnTokens(uint numOfTokens) public onlyOwner { require( maxSupply - numOfTokens >= 2000); uint newMaxSupply = maxSupply - numOfTokens; maxSupply = newMaxSupply; } function setmaxMintAmountWL(uint256 _newmaxMintAmount) public onlyOwner { maxMintAmountWL = _newmaxMintAmount; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function currentTime() internal view returns(uint) { return block.timestamp; } function pause() public onlyOwner { currentState = 0; } function setOnlyWhitelisted() public onlyOwner { currentState = 1; } function setWLCost(uint256 _price) public onlyOwner { costWL = _price; } function setWhitelistMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRootWhitelist = _merkleRoot; } function withdraw() public onlyOwner nonReentrant { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } // ------------------------- Opensea Royality Filter ----------------------- function transferFrom(address from, address to, uint256 tokenId) public payable override(IERC721A, ERC721A) onlyAllowedOperator { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override(IERC721A, ERC721A) onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override(IERC721A, ERC721A) onlyAllowedOperator { super.safeTransferFrom(from, to, tokenId, data); } receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"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":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalanceWL","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":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numOfTokens","type":"uint256"}],"name":"burnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"costWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crossmintAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentState","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":"ownership","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootWhitelist","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"mintCrossmint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"mintableAmountForUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setCrossmintAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setWLCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWhitelistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmountWL","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":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60e0604052603660808181529062002ebc60a039600a90620000229082620003cb565b50604080518082019091526005815264173539b7b760d91b6020820152600b906200004e9082620003cb565b5060405180610100016040528060cc815260200162002ef260cc9139600c90620000799082620003cb565b5066aa87bee5380000600d55611b58600e556001600f556010805460ff1916905560006012557f922fae7164e8f55d6edea32274541729505f97919e4deadffd89d7490768e91a601455601580546001600160a01b03191673dab1a1854214684ace522439684a145e62505233179055348015620000f657600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600b81526020016a2b29b1b430b930b1ba32b960a91b815250604051806040016040528060048152602001630aca686960e31b8152508160029081620001609190620003cb565b5060036200016f8282620003cb565b50506001600055506200018233620002d4565b60016009556daaeb6d7670e522a718067333cd4e3b15620002cc5780156200021a57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620001fb57600080fd5b505af115801562000210573d6000803e3d6000fd5b50505050620002cc565b6001600160a01b038216156200026b5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620001e0565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620002b257600080fd5b505af1158015620002c7573d6000803e3d6000fd5b505050505b505062000497565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200035157607f821691505b6020821081036200037257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003c657600081815260208120601f850160051c81016020861015620003a15750805b601f850160051c820191505b81811015620003c257828155600101620003ad565b5050505b505050565b81516001600160401b03811115620003e757620003e762000326565b620003ff81620003f884546200033c565b8462000378565b602080601f8311600181146200043757600084156200041e5750858301515b600019600386901b1c1916600185901b178555620003c2565b600085815260208120601f198616915b82811015620004685788860151825594840194600190910190840162000447565b5085821015620004875787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612a1580620004a76000396000f3fe6080604052600436106102cd5760003560e01c80636eddb9e311610175578063a475b5dd116100dc578063c87b56dd11610095578063da3ef23f1161006f578063da3ef23f1461082f578063e985e9c51461084f578063f2c4ce1e14610898578063f2fde38b146108b857600080fd5b8063c87b56dd146107d9578063d1d19213146107f9578063d5abeb011461081957600080fd5b8063a475b5dd1461073c578063b88d4fde14610751578063ba41b0c614610764578063bd32fb6614610777578063c23dc68f14610797578063c6682862146107c457600080fd5b80638da5cb5b1161012e5780638da5cb5b146106935780638e1f9cfe146106b157806395d89b41146106c757806399755624146106dc57806399a2557a146106fc578063a22cb4651461071c57600080fd5b80636eddb9e3146105dc57806370a08231146105fc578063715018a61461061c5780637871e154146106315780638456cb59146106515780638462151c1461066657600080fd5b8063295e4c33116102345780635a23dd99116101ed5780636352211e116101c75780636352211e1461057457806365c4ad03146105945780636c0360eb146105a75780636d1b229d146105bc57600080fd5b80635a23dd99146105075780635b2a55e4146105275780635bbb21771461054757600080fd5b8063295e4c331461046357806337546c67146104785780633ccfd60b146104a557806342842e0e146104ba57806351830227146104cd57806355f804b3146104e757600080fd5b8063081c8c4411610286578063081c8c44146103dc578063095ea7b3146103f15780630c3f6acf1461040657806313093b1d1461041c57806318160ddd1461043257806323b872dd1461045057600080fd5b806301ffc9a7146102d957806306afd5921461030e57806306c933d81461033257806306fdde031461036257806307656e3314610384578063081812fc146103a457600080fd5b366102d457005b600080fd5b3480156102e557600080fd5b506102f96102f4366004612113565b6108d8565b60405190151581526020015b60405180910390f35b34801561031a57600080fd5b50610324600d5481565b604051908152602001610305565b34801561033e57600080fd5b506102f961034d366004612147565b60136020526000908152604090205460ff1681565b34801561036e57600080fd5b5061037761092a565b60405161030591906121b2565b34801561039057600080fd5b5061032461039f366004612147565b6109bc565b3480156103b057600080fd5b506103c46103bf3660046121c5565b6109f6565b6040516001600160a01b039091168152602001610305565b3480156103e857600080fd5b50610377610a31565b6104046103ff3660046121de565b610abf565b005b34801561041257600080fd5b5061032460125481565b34801561042857600080fd5b50610324600f5481565b34801561043e57600080fd5b50610324600154600054036000190190565b61040461045e366004612208565b610acf565b34801561046f57600080fd5b50610404610b8d565b34801561048457600080fd5b50610324610493366004612147565b60116020526000908152604090205481565b3480156104b157600080fd5b50610404610b9c565b6104046104c8366004612208565b610c2a565b3480156104d957600080fd5b506010546102f99060ff1681565b3480156104f357600080fd5b506104046105023660046122d0565b610cde565b34801561051357600080fd5b506102f9610522366004612365565b610cf2565b34801561053357600080fd5b506015546103c4906001600160a01b031681565b34801561055357600080fd5b506105676105623660046123b8565b610d78565b6040516103059190612437565b34801561058057600080fd5b506103c461058f3660046121c5565b610dc4565b6104046105a2366004612479565b610dcf565b3480156105b357600080fd5b50610377610f51565b3480156105c857600080fd5b506104046105d73660046121c5565b610f5e565b3480156105e857600080fd5b506104046105f73660046121c5565b610f99565b34801561060857600080fd5b50610324610617366004612147565b610fa6565b34801561062857600080fd5b50610404610fec565b34801561063d57600080fd5b5061040461064c366004612479565b610ffe565b34801561065d57600080fd5b5061040461106d565b34801561067257600080fd5b50610686610681366004612147565b61107c565b60405161030591906124a5565b34801561069f57600080fd5b506008546001600160a01b03166103c4565b3480156106bd57600080fd5b5061032460145481565b3480156106d357600080fd5b506103776110a3565b3480156106e857600080fd5b506104046106f7366004612147565b6110b2565b34801561070857600080fd5b506106866107173660046124dd565b6110dc565b34801561072857600080fd5b5061040461073736600461251e565b6110e9565b34801561074857600080fd5b50610404611155565b61040461075f366004612555565b61116c565b6104046107723660046125d1565b611227565b34801561078357600080fd5b506104046107923660046121c5565b611465565b3480156107a357600080fd5b506107b76107b23660046121c5565b611472565b6040516103059190612604565b3480156107d057600080fd5b506103776114d6565b3480156107e557600080fd5b506103776107f43660046121c5565b6114e3565b34801561080557600080fd5b506104046108143660046121c5565b611652565b34801561082557600080fd5b50610324600e5481565b34801561083b57600080fd5b5061040461084a3660046122d0565b61165f565b34801561085b57600080fd5b506102f961086a366004612612565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108a457600080fd5b506104046108b33660046122d0565b611673565b3480156108c457600080fd5b506104046108d3366004612147565b611687565b60006301ffc9a760e01b6001600160e01b03198316148061090957506380ac58cd60e01b6001600160e01b03198316145b806109245750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546109399061263c565b80601f01602080910402602001604051908101604052809291908181526020018280546109659061263c565b80156109b25780601f10610987576101008083540402835291602001916109b2565b820191906000526020600020905b81548152906001019060200180831161099557829003601f168201915b5050505050905090565b60006012546001036109ee576001600160a01b038216600090815260116020526040902054600f54610924919061268c565b506000919050565b6000610a0182611700565b610a1557610a156333d1c03960e21b61174c565b506000908152600660205260409020546001600160a01b031690565b600c8054610a3e9061263c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6a9061263c565b8015610ab75780601f10610a8c57610100808354040283529160200191610ab7565b820191906000526020600020905b815481529060010190602001808311610a9a57829003601f168201915b505050505081565b610acb82826001611756565b5050565b6daaeb6d7670e522a718067333cd4e3b15610b7d57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610b35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b59919061269f565b610b7d57604051633b79c77360e21b81523360048201526024015b60405180910390fd5b610b888383836117f9565b505050565b610b9561195e565b6001601255565b610ba461195e565b610bac6119b8565b6000610bc06008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c0a576040519150601f19603f3d011682016040523d82523d6000602084013e610c0f565b606091505b5050905080610c1d57600080fd5b50610c286001600955565b565b6daaeb6d7670e522a718067333cd4e3b15610cd357604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610c90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb4919061269f565b610cd357604051633b79c77360e21b8152336004820152602401610b74565b610b88838383611a11565b610ce661195e565b600a610acb828261270a565b6040516bffffffffffffffffffffffff19606085901b1660208201526000908190603401604051602081830303815290604052805190602001209050610d6f848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014549150849050611a2c565b95945050505050565b60408051828152600583901b8082016020019092526060915b8015610dbc57601f1980820191860101356000610dad82611472565b8484016020015250610d919050565b509392505050565b600061092482611a42565b6000610de2600154600054036000190190565b905060008311610e045760405162461bcd60e51b8152600401610b74906127ca565b600e54610e118483612801565b1115610e2f5760405162461bcd60e51b8152600401610b7490612814565b600060125411610e7a5760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610b74565b6015546001600160a01b03163314610ec95760405162461bcd60e51b815260206004820152601260248201527113db9b1e48199bdc8818dc9bdcdcdb5a5b9d60721b6044820152606401610b74565b601254600103610f4757600f54831115610ef55760405162461bcd60e51b8152600401610b7490612844565b82600d54610f039190612888565b341015610f475760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610b74565b610b888284611ae3565b600a8054610a3e9061263c565b610f6661195e565b6107d081600e54610f77919061268c565b1015610f8257600080fd5b600081600e54610f92919061268c565b600e555050565b610fa161195e565b600f55565b60006001600160a01b038216610fc657610fc66323d3ad8160e21b61174c565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ff461195e565b610c286000611afd565b61100661195e565b600082116110265760405162461bcd60e51b8152600401610b74906127ca565b600e548261103b600154600054036000190190565b6110459190612801565b11156110635760405162461bcd60e51b8152600401610b7490612814565b610acb8183611ae3565b61107561195e565b6000601255565b6000546060906001908282821461109b57611098858484611b4f565b90505b949350505050565b6060600380546109399061263c565b6110ba61195e565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b606061109b848484611b4f565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61115d61195e565b6010805460ff19166001179055565b6daaeb6d7670e522a718067333cd4e3b1561121557604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af11580156111d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f6919061269f565b61121557604051633b79c77360e21b8152336004820152602401610b74565b61122184848484611c4e565b50505050565b600061123a600154600054036000190190565b90506000841161125c5760405162461bcd60e51b8152600401610b74906127ca565b600e546112698583612801565b11156112875760405162461bcd60e51b8152600401610b7490612814565b6008546001600160a01b03163314611427576000601254116112e45760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610b74565b60125460010361142757336000818152601160205260409020549061130a908585610cf2565b6113565760405162461bcd60e51b815260206004820152601760248201527f75736572206973206e6f742077686974656c69737465640000000000000000006044820152606401610b74565b600f548511156113785760405162461bcd60e51b8152600401610b7490612844565b600f546113858683612801565b11156113d35760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610b74565b84600d546113e19190612888565b3410156114255760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610b74565b505b6114313385611ae3565b60125460010361122157336000908152601160205260408120805486929061145a908490612801565b909155505050505050565b61146d61195e565b601455565b604080516080810182526000808252602082018190529181018290526060810191909152600182106114d1576000548210156114d1575b6000828152600460205260409020546114c857600019909101906114a9565b61092482611c89565b919050565b600b8054610a3e9061263c565b60606114ee82611700565b6115525760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b74565b60105460ff1615156000036115f357600c805461156e9061263c565b80601f016020809104026020016040519081016040528092919081815260200182805461159a9061263c565b80156115e75780601f106115bc576101008083540402835291602001916115e7565b820191906000526020600020905b8154815290600101906020018083116115ca57829003601f168201915b50505050509050919050565b60006115fd611d08565b9050600081511161161d576040518060200160405280600081525061164b565b8061162784611d17565b600b60405160200161163b9392919061289f565b6040516020818303038152906040525b9392505050565b61165a61195e565b600d55565b61166761195e565b600b610acb828261270a565b61167b61195e565b600c610acb828261270a565b61168f61195e565b6001600160a01b0381166116f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b74565b6116fd81611afd565b50565b6000816001116114d1576000548210156114d15760005b506000828152600460205260408120549081900361173f576117388361293f565b9250611717565b600160e01b161592915050565b8060005260046000fd5b600061176183610dc4565b90508180156117795750336001600160a01b03821614155b1561179c57611788813361086a565b61179c5761179c6367d9dca160e11b61174c565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b600061180482611a42565b6001600160a01b03948516949091508116841461182a5761182a62a1148160e81b61174c565b60008281526006602052604090208054338082146001600160a01b0388169091141761186e5761185a863361086a565b61186e5761186e632ce44b5f60e11b61174c565b801561187957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361190b576001840160008181526004602052604081205490036119095760005481146119095760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361195557611955633a954ecd60e21b61174c565b50505050505050565b6008546001600160a01b03163314610c285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b74565b600260095403611a0a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b74565b6002600955565b610b888383836040518060200160405280600081525061116c565b600082611a398584611daa565b14949350505050565b600081600111611ad3575060008181526004602052604081205490819003611ac0576000548210611a7d57611a7d636f96cda160e11b61174c565b5b50600019016000818152600460205260409020548015611a7e57600160e01b8116600003611aab57919050565b611abb636f96cda160e11b61174c565b611a7e565b600160e01b8116600003611ad357919050565b6114d1636f96cda160e11b61174c565b610acb828260405180602001604052806000815250611def565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060818310611b6857611b68631960ccad60e11b61174c565b6001831015611b7657600192505b600054808310611b84578092505b60606000611b9187610fa6565b85871090810291508115611c42578187870311611bae5786860391505b60405192506001820160051b83016040526000611bca88611472565b905060008160400151611bdb575080515b60005b611be78a611c89565b9250604083015160008114611bff5760009250611c24565b835115611c0b57835192505b8b831860601b611c24576001820191508a8260051b8801525b5060018a019950888a1480611c3857508481145b15611bde57855250505b50909695505050505050565b611c59848484610acf565b6001600160a01b0383163b1561122157611c7584848484611e58565b611221576112216368d2bf6b60e11b61174c565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461092490604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060600a80546109399061263c565b60606000611d2483611f3a565b600101905060008167ffffffffffffffff811115611d4457611d44612244565b6040519080825280601f01601f191660200182016040528015611d6e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611d7857509392505050565b600081815b8451811015610dbc57611ddb82868381518110611dce57611dce612956565b6020026020010151612012565b915080611de78161296c565b915050611daf565b611df9838361203e565b6001600160a01b0383163b15610b88576000548281035b611e236000868380600101945086611e58565b611e3757611e376368d2bf6b60e11b61174c565b818110611e10578160005414611e5157611e51600061174c565b5050505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e8d903390899088908890600401612985565b6020604051808303816000875af1925050508015611ec8575060408051601f3d908101601f19168201909252611ec5918101906129c2565b60015b611f1d573d808015611ef6576040519150601f19603f3d011682016040523d82523d6000602084013e611efb565b606091505b508051600003611f1557611f156368d2bf6b60e11b61174c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611f795772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611fa5576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611fc357662386f26fc10000830492506010015b6305f5e1008310611fdb576305f5e100830492506008015b6127108310611fef57612710830492506004015b60648310612001576064830492506002015b600a83106109245760010192915050565b600081831061202e57600082815260208490526040902061164b565b5060009182526020526040902090565b600080549082900361205a5761205a63b562e8dd60e01b61174c565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036120b8576120b8622e076360e81b61174c565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036120bd575060005550505050565b6001600160e01b0319811681146116fd57600080fd5b60006020828403121561212557600080fd5b813561164b816120fd565b80356001600160a01b03811681146114d157600080fd5b60006020828403121561215957600080fd5b61164b82612130565b60005b8381101561217d578181015183820152602001612165565b50506000910152565b6000815180845261219e816020860160208601612162565b601f01601f19169290920160200192915050565b60208152600061164b6020830184612186565b6000602082840312156121d757600080fd5b5035919050565b600080604083850312156121f157600080fd5b6121fa83612130565b946020939093013593505050565b60008060006060848603121561221d57600080fd5b61222684612130565b925061223460208501612130565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561227557612275612244565b604051601f8501601f19908116603f0116810190828211818310171561229d5761229d612244565b816040528093508581528686860111156122b657600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156122e257600080fd5b813567ffffffffffffffff8111156122f957600080fd5b8201601f8101841361230a57600080fd5b61109b8482356020840161225a565b60008083601f84011261232b57600080fd5b50813567ffffffffffffffff81111561234357600080fd5b6020830191508360208260051b850101111561235e57600080fd5b9250929050565b60008060006040848603121561237a57600080fd5b61238384612130565b9250602084013567ffffffffffffffff81111561239f57600080fd5b6123ab86828701612319565b9497909650939450505050565b600080602083850312156123cb57600080fd5b823567ffffffffffffffff8111156123e257600080fd5b6123ee85828601612319565b90969095509350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611c42576124668385516123fa565b9284019260809290920191600101612453565b6000806040838503121561248c57600080fd5b8235915061249c60208401612130565b90509250929050565b6020808252825182820181905260009190848201906040850190845b81811015611c42578351835292840192918401916001016124c1565b6000806000606084860312156124f257600080fd5b6124fb84612130565b95602085013595506040909401359392505050565b80151581146116fd57600080fd5b6000806040838503121561253157600080fd5b61253a83612130565b9150602083013561254a81612510565b809150509250929050565b6000806000806080858703121561256b57600080fd5b61257485612130565b935061258260208601612130565b925060408501359150606085013567ffffffffffffffff8111156125a557600080fd5b8501601f810187136125b657600080fd5b6125c58782356020840161225a565b91505092959194509250565b6000806000604084860312156125e657600080fd5b83359250602084013567ffffffffffffffff81111561239f57600080fd5b6080810161092482846123fa565b6000806040838503121561262557600080fd5b61262e83612130565b915061249c60208401612130565b600181811c9082168061265057607f821691505b60208210810361267057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561092457610924612676565b6000602082840312156126b157600080fd5b815161164b81612510565b601f821115610b8857600081815260208120601f850160051c810160208610156126e35750805b601f850160051c820191505b81811015612702578281556001016126ef565b505050505050565b815167ffffffffffffffff81111561272457612724612244565b61273881612732845461263c565b846126bc565b602080601f83116001811461276d57600084156127555750858301515b600019600386901b1c1916600185901b178555612702565b600085815260208120601f198616915b8281101561279c5788860151825594840194600190910190840161277d565b50858210156127ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252601b908201527f6e65656420746f206d696e74206174206c656173742031204e46540000000000604082015260600190565b8082018082111561092457610924612676565b6020808252601690820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b604082015260600190565b60208082526024908201527f6d6178206d696e7420616d6f756e74207065722073657373696f6e20657863656040820152631959195960e21b606082015260800190565b808202811582820484141761092457610924612676565b6000845160206128b28285838a01612162565b8551918401916128c58184848a01612162565b85549201916000906128d68161263c565b600182811680156128ee57600181146129035761292f565b60ff198416875282151583028701945061292f565b896000528560002060005b848110156129275781548982015290830190870161290e565b505082870194505b50929a9950505050505050505050565b60008161294e5761294e612676565b506000190190565b634e487b7160e01b600052603260045260246000fd5b60006001820161297e5761297e612676565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129b890830184612186565b9695505050505050565b6000602082840312156129d457600080fd5b815161164b816120fd56fea2646970667358221220cd61522165821f6d78a5880316de253ba1087d27bd8fd76d9ee1ef397a65b1bd64736f6c63430008110033697066733a2f2f516d50564c4b43344459364752706a3259454d5434664e4d6f4a6559326234785864545a5878394c725171464a662f68747470733a2f2f617175612d63686561702d6c6f62737465722d3430322e6d7970696e6174612e636c6f75642f697066732f516d59615378536d6e654c7844674259346266385a636d637433724e7771395a583757335733644d4268747a54563f5f676c3d312a31656d7a7239352a5f67612a4d54417a4d5449314e7a51334e6934784e6a59334e4451304d6a63312a5f67615f35524d505847313454452a4d5459334e7a49354f54497a4d4334784e5334784c6a45324e7a63794f546b304e5445754e5463754d433477
Deployed Bytecode
0x6080604052600436106102cd5760003560e01c80636eddb9e311610175578063a475b5dd116100dc578063c87b56dd11610095578063da3ef23f1161006f578063da3ef23f1461082f578063e985e9c51461084f578063f2c4ce1e14610898578063f2fde38b146108b857600080fd5b8063c87b56dd146107d9578063d1d19213146107f9578063d5abeb011461081957600080fd5b8063a475b5dd1461073c578063b88d4fde14610751578063ba41b0c614610764578063bd32fb6614610777578063c23dc68f14610797578063c6682862146107c457600080fd5b80638da5cb5b1161012e5780638da5cb5b146106935780638e1f9cfe146106b157806395d89b41146106c757806399755624146106dc57806399a2557a146106fc578063a22cb4651461071c57600080fd5b80636eddb9e3146105dc57806370a08231146105fc578063715018a61461061c5780637871e154146106315780638456cb59146106515780638462151c1461066657600080fd5b8063295e4c33116102345780635a23dd99116101ed5780636352211e116101c75780636352211e1461057457806365c4ad03146105945780636c0360eb146105a75780636d1b229d146105bc57600080fd5b80635a23dd99146105075780635b2a55e4146105275780635bbb21771461054757600080fd5b8063295e4c331461046357806337546c67146104785780633ccfd60b146104a557806342842e0e146104ba57806351830227146104cd57806355f804b3146104e757600080fd5b8063081c8c4411610286578063081c8c44146103dc578063095ea7b3146103f15780630c3f6acf1461040657806313093b1d1461041c57806318160ddd1461043257806323b872dd1461045057600080fd5b806301ffc9a7146102d957806306afd5921461030e57806306c933d81461033257806306fdde031461036257806307656e3314610384578063081812fc146103a457600080fd5b366102d457005b600080fd5b3480156102e557600080fd5b506102f96102f4366004612113565b6108d8565b60405190151581526020015b60405180910390f35b34801561031a57600080fd5b50610324600d5481565b604051908152602001610305565b34801561033e57600080fd5b506102f961034d366004612147565b60136020526000908152604090205460ff1681565b34801561036e57600080fd5b5061037761092a565b60405161030591906121b2565b34801561039057600080fd5b5061032461039f366004612147565b6109bc565b3480156103b057600080fd5b506103c46103bf3660046121c5565b6109f6565b6040516001600160a01b039091168152602001610305565b3480156103e857600080fd5b50610377610a31565b6104046103ff3660046121de565b610abf565b005b34801561041257600080fd5b5061032460125481565b34801561042857600080fd5b50610324600f5481565b34801561043e57600080fd5b50610324600154600054036000190190565b61040461045e366004612208565b610acf565b34801561046f57600080fd5b50610404610b8d565b34801561048457600080fd5b50610324610493366004612147565b60116020526000908152604090205481565b3480156104b157600080fd5b50610404610b9c565b6104046104c8366004612208565b610c2a565b3480156104d957600080fd5b506010546102f99060ff1681565b3480156104f357600080fd5b506104046105023660046122d0565b610cde565b34801561051357600080fd5b506102f9610522366004612365565b610cf2565b34801561053357600080fd5b506015546103c4906001600160a01b031681565b34801561055357600080fd5b506105676105623660046123b8565b610d78565b6040516103059190612437565b34801561058057600080fd5b506103c461058f3660046121c5565b610dc4565b6104046105a2366004612479565b610dcf565b3480156105b357600080fd5b50610377610f51565b3480156105c857600080fd5b506104046105d73660046121c5565b610f5e565b3480156105e857600080fd5b506104046105f73660046121c5565b610f99565b34801561060857600080fd5b50610324610617366004612147565b610fa6565b34801561062857600080fd5b50610404610fec565b34801561063d57600080fd5b5061040461064c366004612479565b610ffe565b34801561065d57600080fd5b5061040461106d565b34801561067257600080fd5b50610686610681366004612147565b61107c565b60405161030591906124a5565b34801561069f57600080fd5b506008546001600160a01b03166103c4565b3480156106bd57600080fd5b5061032460145481565b3480156106d357600080fd5b506103776110a3565b3480156106e857600080fd5b506104046106f7366004612147565b6110b2565b34801561070857600080fd5b506106866107173660046124dd565b6110dc565b34801561072857600080fd5b5061040461073736600461251e565b6110e9565b34801561074857600080fd5b50610404611155565b61040461075f366004612555565b61116c565b6104046107723660046125d1565b611227565b34801561078357600080fd5b506104046107923660046121c5565b611465565b3480156107a357600080fd5b506107b76107b23660046121c5565b611472565b6040516103059190612604565b3480156107d057600080fd5b506103776114d6565b3480156107e557600080fd5b506103776107f43660046121c5565b6114e3565b34801561080557600080fd5b506104046108143660046121c5565b611652565b34801561082557600080fd5b50610324600e5481565b34801561083b57600080fd5b5061040461084a3660046122d0565b61165f565b34801561085b57600080fd5b506102f961086a366004612612565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108a457600080fd5b506104046108b33660046122d0565b611673565b3480156108c457600080fd5b506104046108d3366004612147565b611687565b60006301ffc9a760e01b6001600160e01b03198316148061090957506380ac58cd60e01b6001600160e01b03198316145b806109245750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546109399061263c565b80601f01602080910402602001604051908101604052809291908181526020018280546109659061263c565b80156109b25780601f10610987576101008083540402835291602001916109b2565b820191906000526020600020905b81548152906001019060200180831161099557829003601f168201915b5050505050905090565b60006012546001036109ee576001600160a01b038216600090815260116020526040902054600f54610924919061268c565b506000919050565b6000610a0182611700565b610a1557610a156333d1c03960e21b61174c565b506000908152600660205260409020546001600160a01b031690565b600c8054610a3e9061263c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6a9061263c565b8015610ab75780601f10610a8c57610100808354040283529160200191610ab7565b820191906000526020600020905b815481529060010190602001808311610a9a57829003601f168201915b505050505081565b610acb82826001611756565b5050565b6daaeb6d7670e522a718067333cd4e3b15610b7d57604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610b35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b59919061269f565b610b7d57604051633b79c77360e21b81523360048201526024015b60405180910390fd5b610b888383836117f9565b505050565b610b9561195e565b6001601255565b610ba461195e565b610bac6119b8565b6000610bc06008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610c0a576040519150601f19603f3d011682016040523d82523d6000602084013e610c0f565b606091505b5050905080610c1d57600080fd5b50610c286001600955565b565b6daaeb6d7670e522a718067333cd4e3b15610cd357604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af1158015610c90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb4919061269f565b610cd357604051633b79c77360e21b8152336004820152602401610b74565b610b88838383611a11565b610ce661195e565b600a610acb828261270a565b6040516bffffffffffffffffffffffff19606085901b1660208201526000908190603401604051602081830303815290604052805190602001209050610d6f848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506014549150849050611a2c565b95945050505050565b60408051828152600583901b8082016020019092526060915b8015610dbc57601f1980820191860101356000610dad82611472565b8484016020015250610d919050565b509392505050565b600061092482611a42565b6000610de2600154600054036000190190565b905060008311610e045760405162461bcd60e51b8152600401610b74906127ca565b600e54610e118483612801565b1115610e2f5760405162461bcd60e51b8152600401610b7490612814565b600060125411610e7a5760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610b74565b6015546001600160a01b03163314610ec95760405162461bcd60e51b815260206004820152601260248201527113db9b1e48199bdc8818dc9bdcdcdb5a5b9d60721b6044820152606401610b74565b601254600103610f4757600f54831115610ef55760405162461bcd60e51b8152600401610b7490612844565b82600d54610f039190612888565b341015610f475760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610b74565b610b888284611ae3565b600a8054610a3e9061263c565b610f6661195e565b6107d081600e54610f77919061268c565b1015610f8257600080fd5b600081600e54610f92919061268c565b600e555050565b610fa161195e565b600f55565b60006001600160a01b038216610fc657610fc66323d3ad8160e21b61174c565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ff461195e565b610c286000611afd565b61100661195e565b600082116110265760405162461bcd60e51b8152600401610b74906127ca565b600e548261103b600154600054036000190190565b6110459190612801565b11156110635760405162461bcd60e51b8152600401610b7490612814565b610acb8183611ae3565b61107561195e565b6000601255565b6000546060906001908282821461109b57611098858484611b4f565b90505b949350505050565b6060600380546109399061263c565b6110ba61195e565b601580546001600160a01b0319166001600160a01b0392909216919091179055565b606061109b848484611b4f565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61115d61195e565b6010805460ff19166001179055565b6daaeb6d7670e522a718067333cd4e3b1561121557604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c6171134906044016020604051808303816000875af11580156111d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f6919061269f565b61121557604051633b79c77360e21b8152336004820152602401610b74565b61122184848484611c4e565b50505050565b600061123a600154600054036000190190565b90506000841161125c5760405162461bcd60e51b8152600401610b74906127ca565b600e546112698583612801565b11156112875760405162461bcd60e51b8152600401610b7490612814565b6008546001600160a01b03163314611427576000601254116112e45760405162461bcd60e51b81526020600482015260166024820152751d1a194818dbdb9d1c9858dd081a5cc81c185d5cd95960521b6044820152606401610b74565b60125460010361142757336000818152601160205260409020549061130a908585610cf2565b6113565760405162461bcd60e51b815260206004820152601760248201527f75736572206973206e6f742077686974656c69737465640000000000000000006044820152606401610b74565b600f548511156113785760405162461bcd60e51b8152600401610b7490612844565b600f546113858683612801565b11156113d35760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610b74565b84600d546113e19190612888565b3410156114255760405162461bcd60e51b8152602060048201526012602482015271696e73756666696369656e742066756e647360701b6044820152606401610b74565b505b6114313385611ae3565b60125460010361122157336000908152601160205260408120805486929061145a908490612801565b909155505050505050565b61146d61195e565b601455565b604080516080810182526000808252602082018190529181018290526060810191909152600182106114d1576000548210156114d1575b6000828152600460205260409020546114c857600019909101906114a9565b61092482611c89565b919050565b600b8054610a3e9061263c565b60606114ee82611700565b6115525760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b74565b60105460ff1615156000036115f357600c805461156e9061263c565b80601f016020809104026020016040519081016040528092919081815260200182805461159a9061263c565b80156115e75780601f106115bc576101008083540402835291602001916115e7565b820191906000526020600020905b8154815290600101906020018083116115ca57829003601f168201915b50505050509050919050565b60006115fd611d08565b9050600081511161161d576040518060200160405280600081525061164b565b8061162784611d17565b600b60405160200161163b9392919061289f565b6040516020818303038152906040525b9392505050565b61165a61195e565b600d55565b61166761195e565b600b610acb828261270a565b61167b61195e565b600c610acb828261270a565b61168f61195e565b6001600160a01b0381166116f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b74565b6116fd81611afd565b50565b6000816001116114d1576000548210156114d15760005b506000828152600460205260408120549081900361173f576117388361293f565b9250611717565b600160e01b161592915050565b8060005260046000fd5b600061176183610dc4565b90508180156117795750336001600160a01b03821614155b1561179c57611788813361086a565b61179c5761179c6367d9dca160e11b61174c565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b600061180482611a42565b6001600160a01b03948516949091508116841461182a5761182a62a1148160e81b61174c565b60008281526006602052604090208054338082146001600160a01b0388169091141761186e5761185a863361086a565b61186e5761186e632ce44b5f60e11b61174c565b801561187957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361190b576001840160008181526004602052604081205490036119095760005481146119095760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361195557611955633a954ecd60e21b61174c565b50505050505050565b6008546001600160a01b03163314610c285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b74565b600260095403611a0a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b74565b6002600955565b610b888383836040518060200160405280600081525061116c565b600082611a398584611daa565b14949350505050565b600081600111611ad3575060008181526004602052604081205490819003611ac0576000548210611a7d57611a7d636f96cda160e11b61174c565b5b50600019016000818152600460205260409020548015611a7e57600160e01b8116600003611aab57919050565b611abb636f96cda160e11b61174c565b611a7e565b600160e01b8116600003611ad357919050565b6114d1636f96cda160e11b61174c565b610acb828260405180602001604052806000815250611def565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060818310611b6857611b68631960ccad60e11b61174c565b6001831015611b7657600192505b600054808310611b84578092505b60606000611b9187610fa6565b85871090810291508115611c42578187870311611bae5786860391505b60405192506001820160051b83016040526000611bca88611472565b905060008160400151611bdb575080515b60005b611be78a611c89565b9250604083015160008114611bff5760009250611c24565b835115611c0b57835192505b8b831860601b611c24576001820191508a8260051b8801525b5060018a019950888a1480611c3857508481145b15611bde57855250505b50909695505050505050565b611c59848484610acf565b6001600160a01b0383163b1561122157611c7584848484611e58565b611221576112216368d2bf6b60e11b61174c565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461092490604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060600a80546109399061263c565b60606000611d2483611f3a565b600101905060008167ffffffffffffffff811115611d4457611d44612244565b6040519080825280601f01601f191660200182016040528015611d6e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611d7857509392505050565b600081815b8451811015610dbc57611ddb82868381518110611dce57611dce612956565b6020026020010151612012565b915080611de78161296c565b915050611daf565b611df9838361203e565b6001600160a01b0383163b15610b88576000548281035b611e236000868380600101945086611e58565b611e3757611e376368d2bf6b60e11b61174c565b818110611e10578160005414611e5157611e51600061174c565b5050505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e8d903390899088908890600401612985565b6020604051808303816000875af1925050508015611ec8575060408051601f3d908101601f19168201909252611ec5918101906129c2565b60015b611f1d573d808015611ef6576040519150601f19603f3d011682016040523d82523d6000602084013e611efb565b606091505b508051600003611f1557611f156368d2bf6b60e11b61174c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611f795772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611fa5576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611fc357662386f26fc10000830492506010015b6305f5e1008310611fdb576305f5e100830492506008015b6127108310611fef57612710830492506004015b60648310612001576064830492506002015b600a83106109245760010192915050565b600081831061202e57600082815260208490526040902061164b565b5060009182526020526040902090565b600080549082900361205a5761205a63b562e8dd60e01b61174c565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036120b8576120b8622e076360e81b61174c565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036120bd575060005550505050565b6001600160e01b0319811681146116fd57600080fd5b60006020828403121561212557600080fd5b813561164b816120fd565b80356001600160a01b03811681146114d157600080fd5b60006020828403121561215957600080fd5b61164b82612130565b60005b8381101561217d578181015183820152602001612165565b50506000910152565b6000815180845261219e816020860160208601612162565b601f01601f19169290920160200192915050565b60208152600061164b6020830184612186565b6000602082840312156121d757600080fd5b5035919050565b600080604083850312156121f157600080fd5b6121fa83612130565b946020939093013593505050565b60008060006060848603121561221d57600080fd5b61222684612130565b925061223460208501612130565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561227557612275612244565b604051601f8501601f19908116603f0116810190828211818310171561229d5761229d612244565b816040528093508581528686860111156122b657600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156122e257600080fd5b813567ffffffffffffffff8111156122f957600080fd5b8201601f8101841361230a57600080fd5b61109b8482356020840161225a565b60008083601f84011261232b57600080fd5b50813567ffffffffffffffff81111561234357600080fd5b6020830191508360208260051b850101111561235e57600080fd5b9250929050565b60008060006040848603121561237a57600080fd5b61238384612130565b9250602084013567ffffffffffffffff81111561239f57600080fd5b6123ab86828701612319565b9497909650939450505050565b600080602083850312156123cb57600080fd5b823567ffffffffffffffff8111156123e257600080fd5b6123ee85828601612319565b90969095509350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611c42576124668385516123fa565b9284019260809290920191600101612453565b6000806040838503121561248c57600080fd5b8235915061249c60208401612130565b90509250929050565b6020808252825182820181905260009190848201906040850190845b81811015611c42578351835292840192918401916001016124c1565b6000806000606084860312156124f257600080fd5b6124fb84612130565b95602085013595506040909401359392505050565b80151581146116fd57600080fd5b6000806040838503121561253157600080fd5b61253a83612130565b9150602083013561254a81612510565b809150509250929050565b6000806000806080858703121561256b57600080fd5b61257485612130565b935061258260208601612130565b925060408501359150606085013567ffffffffffffffff8111156125a557600080fd5b8501601f810187136125b657600080fd5b6125c58782356020840161225a565b91505092959194509250565b6000806000604084860312156125e657600080fd5b83359250602084013567ffffffffffffffff81111561239f57600080fd5b6080810161092482846123fa565b6000806040838503121561262557600080fd5b61262e83612130565b915061249c60208401612130565b600181811c9082168061265057607f821691505b60208210810361267057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561092457610924612676565b6000602082840312156126b157600080fd5b815161164b81612510565b601f821115610b8857600081815260208120601f850160051c810160208610156126e35750805b601f850160051c820191505b81811015612702578281556001016126ef565b505050505050565b815167ffffffffffffffff81111561272457612724612244565b61273881612732845461263c565b846126bc565b602080601f83116001811461276d57600084156127555750858301515b600019600386901b1c1916600185901b178555612702565b600085815260208120601f198616915b8281101561279c5788860151825594840194600190910190840161277d565b50858210156127ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020808252601b908201527f6e65656420746f206d696e74206174206c656173742031204e46540000000000604082015260600190565b8082018082111561092457610924612676565b6020808252601690820152751b585e08139195081b1a5b5a5d08195e18d95959195960521b604082015260600190565b60208082526024908201527f6d6178206d696e7420616d6f756e74207065722073657373696f6e20657863656040820152631959195960e21b606082015260800190565b808202811582820484141761092457610924612676565b6000845160206128b28285838a01612162565b8551918401916128c58184848a01612162565b85549201916000906128d68161263c565b600182811680156128ee57600181146129035761292f565b60ff198416875282151583028701945061292f565b896000528560002060005b848110156129275781548982015290830190870161290e565b505082870194505b50929a9950505050505050505050565b60008161294e5761294e612676565b506000190190565b634e487b7160e01b600052603260045260246000fd5b60006001820161297e5761297e612676565b5060010190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129b890830184612186565b9695505050505050565b6000602082840312156129d457600080fd5b815161164b816120fd56fea2646970667358221220cd61522165821f6d78a5880316de253ba1087d27bd8fd76d9ee1ef397a65b1bd64736f6c63430008110033
Deployed Bytecode Sourcemap
98115:7268:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22328:639;;;;;;;;;;-1:-1:-1;22328:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;22328:639:0;;;;;;;;98633:35;;;;;;;;;;;;;;;;;;;738:25:1;;;726:2;711:18;98633:35:0;592:177:1;98899:52:0;;;;;;;;;;-1:-1:-1;98899:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;23230:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;101998:217::-;;;;;;;;;;-1:-1:-1;101998:217:0;;;;;:::i;:::-;;:::i;30264:227::-;;;;;;;;;;-1:-1:-1;30264:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2248:32:1;;;2230:51;;2218:2;2203:18;30264:227:0;2084:203:1;98389:237:0;;;;;;;;;;;;;:::i;29981:124::-;;;;;;:::i;:::-;;:::i;:::-;;98859:31;;;;;;;;;;;;;;;;98713:34;;;;;;;;;;;;;;;;18972:323;;;;;;;;;;;;102436:1;19246:12;19033:7;19230:13;:28;-1:-1:-1;;19230:46:0;;18972:323;104691:184;;;;;;:::i;:::-;;:::i;104123:82::-;;;;;;;;;;;;;:::i;98793:57::-;;;;;;;;;;-1:-1:-1;98793:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;104437:160;;;;;;;;;;;;;:::i;104883:192::-;;;;;;:::i;:::-;;:::i;98756:28::-;;;;;;;;;;-1:-1:-1;98756:28:0;;;;;;;;103564:104;;;;;;;;;;-1:-1:-1;103564:104:0;;;;;:::i;:::-;;:::i;101715:275::-;;;;;;;;;;-1:-1:-1;101715:275:0;;;;;:::i;:::-;;:::i;99072:76::-;;;;;;;;;;-1:-1:-1;99072:76:0;;;;-1:-1:-1;;;;;99072:76:0;;;61498:1163;;;;;;;;;;-1:-1:-1;61498:1163:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;24632:152::-;;;;;;;;;;-1:-1:-1;24632:152:0;;;;;:::i;:::-;;:::i;100663:764::-;;;;;;:::i;:::-;;:::i;98258:80::-;;;;;;;;;;;;;:::i;103197:225::-;;;;;;;;;;-1:-1:-1;103197:225:0;;;;;:::i;:::-;;:::i;103430:126::-;;;;;;;;;;-1:-1:-1;103430:126:0;;;;;:::i;:::-;;:::i;20156:242::-;;;;;;;;;;-1:-1:-1;20156:242:0;;;;;:::i;:::-;;:::i;69872:103::-;;;;;;;;;;;;;:::i;101435:272::-;;;;;;;;;;-1:-1:-1;101435:272:0;;;;;:::i;:::-;;:::i;104046:69::-;;;;;;;;;;;;;:::i;63719:325::-;;;;;;;;;;-1:-1:-1;63719:325:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;69224:87::-;;;;;;;;;;-1:-1:-1;69297:6:0;;-1:-1:-1;;;;;69297:6:0;69224:87;;98960:103;;;;;;;;;;;;;;;;23406:104;;;;;;;;;;;;;:::i;99157:111::-;;;;;;;;;;-1:-1:-1;99157:111:0;;;;;:::i;:::-;;:::i;63049:223::-;;;;;;;;;;-1:-1:-1;63049:223:0;;;;;:::i;:::-;;:::i;30831:234::-;;;;;;;;;;-1:-1:-1;30831:234:0;;;;;:::i;:::-;;:::i;103120:69::-;;;;;;;;;;;;;:::i;105083:258::-;;;;;;:::i;:::-;;:::i;99333:1322::-;;;;;;:::i;:::-;;:::i;104307:122::-;;;;;;;;;;-1:-1:-1;104307:122:0;;;;;:::i;:::-;;:::i;60743:596::-;;;;;;;;;;-1:-1:-1;60743:596:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;98345:37::-;;;;;;;;;;;;;:::i;102454:658::-;;;;;;;;;;-1:-1:-1;102454:658:0;;;;;:::i;:::-;;:::i;104213:86::-;;;;;;;;;;-1:-1:-1;104213:86:0;;;;;:::i;:::-;;:::i;98675:31::-;;;;;;;;;;;;;;;;103676:128;;;;;;;;;;-1:-1:-1;103676:128:0;;;;;:::i;:::-;;:::i;31222:164::-;;;;;;;;;;-1:-1:-1;31222:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;31343:25:0;;;31319:4;31343:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31222:164;103812:126;;;;;;;;;;-1:-1:-1;103812:126:0;;;;;:::i;:::-;;:::i;70130:201::-;;;;;;;;;;-1:-1:-1;70130:201:0;;;;;:::i;:::-;;:::i;22328:639::-;22413:4;-1:-1:-1;;;;;;;;;22737:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;22814:25:0;;;22737:102;:179;;;-1:-1:-1;;;;;;;;;;22891:25:0;;;22737:179;22717:199;22328:639;-1:-1:-1;;22328:639:0:o;23230:100::-;23284:13;23317:5;23310:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23230:100;:::o;101998:217::-;102065:7;102089:12;;102105:1;102089:17;102085:104;;-1:-1:-1;;;;;102148:29:0;;;;;;:22;:29;;;;;;102130:15;;:47;;102148:29;102130:47;:::i;102085:104::-;-1:-1:-1;102206:1:0;;101998:217;-1:-1:-1;101998:217:0:o;30264:227::-;30340:7;30365:16;30373:7;30365;:16::i;:::-;30360:73;;30383:50;-1:-1:-1;;;30383:7:0;:50::i;:::-;-1:-1:-1;30453:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;30453:30:0;;30264:227::o;98389:237::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;29981:124::-;30070:27;30079:2;30083:7;30092:4;30070:8;:27::i;:::-;29981:124;;:::o;104691:184::-;2414:42;3542:43;:47;3538:225;;3611:67;;-1:-1:-1;;;3611:67:0;;3660:4;3611:67;;;11133:34:1;3667:10:0;11183:18:1;;;11176:43;2414:42:0;;3611:40;;11068:18:1;;3611:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3606:146;;3706:30;;-1:-1:-1;;;3706:30:0;;3725:10;3706:30;;;2230:51:1;2203:18;;3706:30:0;;;;;;;;3606:146;104830:37:::1;104849:4;104855:2;104859:7;104830:18;:37::i;:::-;104691:184:::0;;;:::o;104123:82::-;69110:13;:11;:13::i;:::-;104196:1:::1;104181:12;:16:::0;104123:82::o;104437:160::-;69110:13;:11;:13::i;:::-;80883:21:::1;:19;:21::i;:::-;104499:7:::2;104520;69297:6:::0;;-1:-1:-1;;;;;69297:6:0;;69224:87;104520:7:::2;-1:-1:-1::0;;;;;104512:21:0::2;104541;104512:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104498:69;;;104586:2;104578:11;;;::::0;::::2;;104487:110;80927:20:::1;80321:1:::0;81447:7;:22;81264:213;80927:20:::1;104437:160::o:0;104883:192::-;2414:42;3542:43;:47;3538:225;;3611:67;;-1:-1:-1;;;3611:67:0;;3660:4;3611:67;;;11133:34:1;3667:10:0;11183:18:1;;;11176:43;2414:42:0;;3611:40;;11068:18:1;;3611:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3606:146;;3706:30;;-1:-1:-1;;;3706:30:0;;3725:10;3706:30;;;2230:51:1;2203:18;;3706:30:0;2084:203:1;3606:146:0;105026:41:::1;105049:4;105055:2;105059:7;105026:22;:41::i;103564:104::-:0;69110:13;:11;:13::i;:::-;103639:7:::1;:21;103649:11:::0;103639:7;:21:::1;:::i;101715:275::-:0;101881:23;;-1:-1:-1;;14043:2:1;14039:15;;;14035:53;101881:23:0;;;14023:66:1;101834:4:0;;;;14105:12:1;;101881:23:0;;;;;;;;;;;;101871:34;;;;;;101856:49;;101923:59;101942:12;;101923:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;101956:19:0;;;-1:-1:-1;101977:4:0;;-1:-1:-1;101923:18:0;:59::i;:::-;101916:66;101715:275;-1:-1:-1;;;;;101715:275:0:o;61498:1163::-;61856:4;61850:11;;61909:21;;;62061:1;62057:9;;;62116:29;;;62136:4;62116:29;62103:43;;;61642:23;;62167:459;62174:6;;62167:459;;-1:-1:-1;;62260:12:0;;;;62314:23;;;62301:37;62197:15;62401:28;62301:37;62401:19;:28::i;:::-;62559:29;;;62579:4;62559:29;62552:48;-1:-1:-1;62167:459:0;;-1:-1:-1;62167:459:0;;-1:-1:-1;62643:10:0;61498:1163;-1:-1:-1;;;61498:1163:0:o;24632:152::-;24704:7;24747:27;24766:7;24747:18;:27::i;100663:764::-;100752:14;100769:13;102436:1;19246:12;19033:7;19230:13;:28;-1:-1:-1;;19230:46:0;;18972:323;100769:13;100752:30;;100815:1;100801:11;:15;100793:55;;;;-1:-1:-1;;;100793:55:0;;;;;;;:::i;:::-;100891:9;;100867:20;100876:11;100867:6;:20;:::i;:::-;:33;;100859:68;;;;-1:-1:-1;;;100859:68:0;;;;;;;:::i;:::-;100961:1;100946:12;;:16;100938:51;;;;-1:-1:-1;;;100938:51:0;;15167:2:1;100938:51:0;;;15149:21:1;15206:2;15186:18;;;15179:30;-1:-1:-1;;;15225:18:1;;;15218:52;15287:18;;100938:51:0;14965:346:1;100938:51:0;101022:16;;-1:-1:-1;;;;;101022:16:0;101008:10;:30;101000:61;;;;-1:-1:-1;;;101000:61:0;;15518:2:1;101000:61:0;;;15500:21:1;15557:2;15537:18;;;15530:30;-1:-1:-1;;;15576:18:1;;;15569:48;15634:18;;101000:61:0;15316:342:1;101000:61:0;101076:12;;101092:1;101076:17;101072:306;;101151:15;;101136:11;:30;;101110:128;;;;-1:-1:-1;;;101110:128:0;;;;;;;:::i;:::-;101301:11;101292:6;;:20;;;;:::i;:::-;101279:9;:33;;101253:113;;;;-1:-1:-1;;;101253:113:0;;16443:2:1;101253:113:0;;;16425:21:1;16482:2;16462:18;;;16455:30;-1:-1:-1;;;16501:18:1;;;16494:48;16559:18;;101253:113:0;16241:342:1;101253:113:0;101391:28;101401:4;101407:11;101391:9;:28::i;98258:80::-;;;;;;;:::i;103197:225::-;69110:13;:11;:13::i;:::-;103306:4:::1;103291:11;103279:9;;:23;;;;:::i;:::-;:31;;103270:41;;;::::0;::::1;;103329:17;103361:11;103349:9;;:23;;;;:::i;:::-;103390:9;:24:::0;-1:-1:-1;;103197:225:0:o;103430:126::-;69110:13;:11;:13::i;:::-;103513:15:::1;:35:::0;103430:126::o;20156:242::-;20228:7;-1:-1:-1;;;;;20252:19:0;;20248:69;;20273:44;-1:-1:-1;;;20273:7:0;:44::i;:::-;-1:-1:-1;;;;;;20335:25:0;;;;;:18;:25;;;;;;14315:13;20335:55;;20156:242::o;69872:103::-;69110:13;:11;:13::i;:::-;69937:30:::1;69964:1;69937:18;:30::i;101435:272::-:0;69110:13;:11;:13::i;:::-;101539:1:::1;101525:11;:15;101517:55;;;;-1:-1:-1::0;;;101517:55:0::1;;;;;;;:::i;:::-;101619:9;;101604:11;101588:13;102436:1:::0;19246:12;19033:7;19230:13;:28;-1:-1:-1;;19230:46:0;;18972:323;101588:13:::1;:27;;;;:::i;:::-;:40;;101580:75;;;;-1:-1:-1::0;;;101580:75:0::1;;;;;;;:::i;:::-;101666:33;101676:9;101687:11;101666:9;:33::i;104046:69::-:0;69110:13;:11;:13::i;:::-;104106:1:::1;104091:12;:16:::0;104046:69::o;63719:325::-;63826:13;18741;63797:16;;102436:1;;63797:16;63948:13;;;63944:66;;63974:36;63991:5;63998;64005:4;63974:16;:36::i;:::-;63963:47;;63944:66;64028:8;63719:325;-1:-1:-1;;;;63719:325:0:o;23406:104::-;23462:13;23495:7;23488:14;;;;;:::i;99157:111::-;69110:13;:11;:13::i;:::-;99233:16:::1;:27:::0;;-1:-1:-1;;;;;;99233:27:0::1;-1:-1:-1::0;;;;;99233:27:0;;;::::1;::::0;;;::::1;::::0;;99157:111::o;63049:223::-;63192:16;63228:36;63245:5;63252;63259:4;63228:16;:36::i;30831:234::-;55490:10;30926:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;30926:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;30926:60:0;;;;;;;;;;31002:55;;540:41:1;;;30926:49:0;;55490:10;31002:55;;513:18:1;31002:55:0;;;;;;;30831:234;;:::o;103120:69::-;69110:13;:11;:13::i;:::-;103166:8:::1;:15:::0;;-1:-1:-1;;103166:15:0::1;103177:4;103166:15;::::0;;103120:69::o;105083:258::-;2414:42;3542:43;:47;3538:225;;3611:67;;-1:-1:-1;;;3611:67:0;;3660:4;3611:67;;;11133:34:1;3667:10:0;11183:18:1;;;11176:43;2414:42:0;;3611:40;;11068:18:1;;3611:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3606:146;;3706:30;;-1:-1:-1;;;3706:30:0;;3725:10;3706:30;;;2230:51:1;2203:18;;3706:30:0;2084:203:1;3606:146:0;105286:47:::1;105309:4;105315:2;105319:7;105328:4;105286:22;:47::i;:::-;105083:258:::0;;;;:::o;99333:1322::-;99432:14;99449:13;102436:1;19246:12;19033:7;19230:13;:28;-1:-1:-1;;19230:46:0;;18972:323;99449:13;99432:30;;99495:1;99481:11;:15;99473:55;;;;-1:-1:-1;;;99473:55:0;;;;;;;:::i;:::-;99571:9;;99547:20;99556:11;99547:6;:20;:::i;:::-;:33;;99539:68;;;;-1:-1:-1;;;99539:68:0;;;;;;;:::i;:::-;69297:6;;-1:-1:-1;;;;;69297:6:0;99622:10;:21;99618:874;;99683:1;99668:12;;:16;99660:51;;;;-1:-1:-1;;;99660:51:0;;15167:2:1;99660:51:0;;;15149:21:1;15206:2;15186:18;;;15179:30;-1:-1:-1;;;15225:18:1;;;15218:52;15287:18;;99660:51:0;14965:346:1;99660:51:0;99730:12;;99746:1;99730:17;99726:754;;99818:10;99768:24;99795:34;;;:22;:34;;;;;;;99878:39;;99904:12;;99878:13;:39::i;:::-;99848:136;;;;-1:-1:-1;;;99848:136:0;;16790:2:1;99848:136:0;;;16772:21:1;16829:2;16809:18;;;16802:30;16868:25;16848:18;;;16841:53;16911:18;;99848:136:0;16588:347:1;99848:136:0;100055:15;;100040:11;:30;;100010:140;;;;-1:-1:-1;;;100010:140:0;;;;;;;:::i;:::-;100233:15;;100199:30;100218:11;100199:16;:30;:::i;:::-;:49;;100169:151;;;;-1:-1:-1;;;100169:151:0;;17142:2:1;100169:151:0;;;17124:21:1;17181:2;17161:18;;;17154:30;17220;17200:18;;;17193:58;17268:18;;100169:151:0;16940:352:1;100169:151:0;100391:11;100382:6;;:20;;;;:::i;:::-;100369:9;:33;;100339:125;;;;-1:-1:-1;;;100339:125:0;;16443:2:1;100339:125:0;;;16425:21:1;16482:2;16462:18;;;16455:30;-1:-1:-1;;;16501:18:1;;;16494:48;16559:18;;100339:125:0;16241:342:1;100339:125:0;99749:731;99726:754;100504:34;100514:10;100526:11;100504:9;:34::i;:::-;100553:12;;100569:1;100553:17;100549:99;;100610:10;100587:34;;;;:22;:34;;;;;:49;;100625:11;;100587:34;:49;;100625:11;;100587:49;:::i;:::-;;;;-1:-1:-1;;99421:1234:0;99333:1322;;;:::o;104307:122::-;69110:13;:11;:13::i;:::-;104388:19:::1;:33:::0;104307:122::o;60743:596::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102436:1:0;60950:7;:26;60946:375;;18714:7;18741:13;61001:7;:24;60997:309;;;61184:51;25660:4;25684:24;;;:17;:24;;;;;;61184:51;;-1:-1:-1;;61226:9:0;;;;61184:51;;;61265:21;61278:7;61265:12;:21::i;60997:309::-;60743:596;;;:::o;98345:37::-;;;;;;;:::i;102454:658::-;102546:13;102581:16;102589:7;102581;:16::i;:::-;102573:76;;;;-1:-1:-1;;;102573:76:0;;17499:2:1;102573:76:0;;;17481:21:1;17538:2;17518:18;;;17511:30;17577:34;17557:18;;;17550:62;-1:-1:-1;;;17628:18:1;;;17621:45;17683:19;;102573:76:0;17297:411:1;102573:76:0;102666:8;;;;:17;;:8;:17;102662:71;;102707:14;102700:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;102454:658;;;:::o;102662:71::-;102745:28;102776:10;:8;:10::i;:::-;102745:41;;102848:1;102823:14;102817:28;:32;:287;;;;;;;;;;;;;;;;;102941:14;102982:18;:7;:16;:18::i;:::-;103027:13;102898:165;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;102817:287;102797:307;102454:658;-1:-1:-1;;;102454:658:0:o;104213:86::-;69110:13;:11;:13::i;:::-;104276:6:::1;:15:::0;104213:86::o;103676:128::-;69110:13;:11;:13::i;:::-;103763::::1;:33;103779:17:::0;103763:13;:33:::1;:::i;103812:126::-:0;69110:13;:11;:13::i;:::-;103898:14:::1;:32;103915:15:::0;103898:14;:32:::1;:::i;70130:201::-:0;69110:13;:11;:13::i;:::-;-1:-1:-1;;;;;70219:22:0;::::1;70211:73;;;::::0;-1:-1:-1;;;70211:73:0;;19176:2:1;70211:73:0::1;::::0;::::1;19158:21:1::0;19215:2;19195:18;;;19188:30;19254:34;19234:18;;;19227:62;-1:-1:-1;;;19305:18:1;;;19298:36;19351:19;;70211:73:0::1;18974:402:1::0;70211:73:0::1;70295:28;70314:8;70295:18;:28::i;:::-;70130:201:::0;:::o;31644:368::-;31709:11;31756:7;102436:1;31737:26;31733:272;;31794:13;;31784:7;:23;31780:214;;;31828:14;31861:60;-1:-1:-1;31878:26:0;;;;:17;:26;;;;;;;31868:42;;;31861:60;;31912:9;;;:::i;:::-;;;31861:60;;;-1:-1:-1;;;31949:24:0;:29;;31644:368;-1:-1:-1;;31644:368:0:o;57422:165::-;57523:13;57517:4;57510:27;57564:4;57558;57551:18;48855:474;48984:13;49000:16;49008:7;49000;:16::i;:::-;48984:32;;49033:13;:45;;;;-1:-1:-1;55490:10:0;-1:-1:-1;;;;;49050:28:0;;;;49033:45;49029:201;;;49098:44;49115:5;55490:10;31222:164;:::i;49098:44::-;49093:137;;49163:51;-1:-1:-1;;;49163:7:0;:51::i;:::-;49242:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;49242:35:0;-1:-1:-1;;;;;49242:35:0;;;;;;;;;49293:28;;49242:24;;49293:28;;;;;;;48973:356;48855:474;;;:::o;33998:3523::-;34140:27;34170;34189:7;34170:18;:27::i;:::-;-1:-1:-1;;;;;34325:22:0;;;;34140:57;;-1:-1:-1;34385:45:0;;;;34381:95;;34432:44;-1:-1:-1;;;34432:7:0;:44::i;:::-;34490:27;33106:24;;;:15;:24;;;;;33334:26;;55490:10;32731:30;;;-1:-1:-1;;;;;32424:28:0;;32709:20;;;32706:56;34676:189;;34769:43;34786:4;55490:10;31222:164;:::i;34769:43::-;34764:101;;34814:51;-1:-1:-1;;;34814:7:0;:51::i;:::-;35014:15;35011:160;;;35154:1;35133:19;35126:30;35011:160;-1:-1:-1;;;;;35551:24:0;;;;;;;:18;:24;;;;;;35549:26;;-1:-1:-1;;35549:26:0;;;35620:22;;;;;;;;;35618:24;;-1:-1:-1;35618:24:0;;;29083:11;29058:23;29054:41;29041:63;-1:-1:-1;;;29041:63:0;35913:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;36208:47:0;;:52;;36204:627;;36313:1;36303:11;;36281:19;36436:30;;;:17;:30;;;;;;:35;;36432:384;;36574:13;;36559:11;:28;36555:242;;36721:30;;;;:17;:30;;;;;:52;;;36555:242;36262:569;36204:627;-1:-1:-1;;;;;36963:20:0;;37343:7;36963:20;37273:4;37215:25;36944:16;;37080:299;37404:8;37416:1;37404:13;37400:58;;37419:39;-1:-1:-1;;;37419:7:0;:39::i;:::-;34129:3392;;;;33998:3523;;;:::o;69389:132::-;69297:6;;-1:-1:-1;;;;;69297:6:0;55490:10;69453:23;69445:68;;;;-1:-1:-1;;;69445:68:0;;19724:2:1;69445:68:0;;;19706:21:1;;;19743:18;;;19736:30;19802:34;19782:18;;;19775:62;19854:18;;69445:68:0;19522:356:1;80963:293:0;80365:1;81097:7;;:19;81089:63;;;;-1:-1:-1;;;81089:63:0;;20085:2:1;81089:63:0;;;20067:21:1;20124:2;20104:18;;;20097:30;20163:33;20143:18;;;20136:61;20214:18;;81089:63:0;19883:355:1;81089:63:0;80365:1;81230:7;:18;80963:293::o;37617:193::-;37763:39;37780:4;37786:2;37790:7;37763:39;;;;;;;;;;;;:16;:39::i;71048:156::-;71139:4;71192;71163:25;71176:5;71183:4;71163:12;:25::i;:::-;:33;;71048:156;-1:-1:-1;;;;71048:156:0:o;26112:2012::-;26179:14;26229:7;102436:1;26210:26;26206:1853;;-1:-1:-1;26262:26:0;;;;:17;:26;;;;;;;26388:11;;;26384:1292;;26435:13;;26424:7;:24;26420:77;;26450:47;-1:-1:-1;;;26450:7:0;:47::i;:::-;27054:607;-1:-1:-1;;;27150:9:0;27132:28;;;;:17;:28;;;;;;27206:25;;27054:607;27206:25;-1:-1:-1;;;27258:6:0;:24;27286:1;27258:29;27254:48;;26112:2012;;;:::o;27254:48::-;27594:47;-1:-1:-1;;;27594:7:0;:47::i;:::-;27054:607;;26384:1292;-1:-1:-1;;;28003:6:0;:24;28031:1;28003:29;27999:48;;26112:2012;;;:::o;27999:48::-;28069:47;-1:-1:-1;;;28069:7:0;:47::i;47937:112::-;48014:27;48024:2;48028:8;48014:27;;;;;;;;;;;;:9;:27::i;70491:191::-;70584:6;;;-1:-1:-1;;;;;70601:17:0;;;-1:-1:-1;;;;;;70601:17:0;;;;;;;70634:40;;70584:6;;;70601:17;70584:6;;70634:40;;70565:16;;70634:40;70554:128;70491:191;:::o;64300:4349::-;64426:16;64493:4;64484:5;:13;64480:54;;64499:35;-1:-1:-1;;;64499:7:0;:35::i;:::-;102436:1;64612:5;:23;64608:87;;;102436:1;64656:23;;64608:87;64709:17;18741:13;64813:17;;;64809:74;;64858:9;64851:16;;64809:74;64897:25;64937;64965:16;64975:5;64965:9;:16::i;:::-;65015:12;;;65175:35;;;;-1:-1:-1;65243:22:0;;65239:3362;;65465:17;65456:5;65449:4;:12;:33;65445:114;;65534:5;65527:4;:12;65507:32;;65445:114;65681:4;65675:11;65663:23;;65934:1;65915:17;65911:25;65908:1;65904:33;65894:8;65890:48;65884:4;65877:62;66114:31;66148:26;66168:5;66148:19;:26::i;:::-;66114:60;;66193:25;66490:9;:16;;;66485:100;;-1:-1:-1;66551:14:0;;66485:100;66603:19;66793:1644;66831:19;66844:5;66831:12;:19::i;:::-;66819:31;;66937:4;66926:9;66922:20;66916:27;67034:1;67029:907;;;;68257:1;68236:22;;66909:1376;;67029:907;67312:9;67306:16;67303:123;;;67385:9;67379:16;67358:37;;67303:123;67717:5;67698:17;67694:29;67690:2;67686:38;67676:233;;67793:1;67780:11;67776:19;67761:34;;67872:5;67857:11;67854:1;67850:19;67840:8;67836:34;67829:49;67676:233;66909:1376;68331:1;68324:5;68320:13;68311:22;;68394:4;68385:5;:13;:49;;;;68417:17;68402:11;:32;68385:49;68383:52;66793:1644;;68538:29;;-1:-1:-1;;65239:3362:0;-1:-1:-1;68622:8:0;;64300:4349;-1:-1:-1;;;;;;64300:4349:0:o;38408:416::-;38583:31;38596:4;38602:2;38606:7;38583:12;:31::i;:::-;-1:-1:-1;;;;;38629:14:0;;;:19;38625:192;;38668:56;38699:4;38705:2;38709:7;38718:5;38668:30;:56::i;:::-;38663:154;;38745:56;-1:-1:-1;;;38745:7:0;:56::i;25235:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25363:24:0;;;;:17;:24;;;;;;25344:44;;-1:-1:-1;;;;;;;;;;;;;28333:41:0;;;;14974:3;28419:33;;;28385:68;;-1:-1:-1;;;28385:68:0;-1:-1:-1;;;28483:24:0;;:29;;-1:-1:-1;;;28464:48:0;;;;15495:3;28552:28;;;;-1:-1:-1;;;28523:58:0;-1:-1:-1;28223:366:0;102227:108;102287:13;102320:7;102313:14;;;;;:::i;95711:716::-;95767:13;95818:14;95835:17;95846:5;95835:10;:17::i;:::-;95855:1;95835:21;95818:38;;95871:20;95905:6;95894:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95894:18:0;-1:-1:-1;95871:41:0;-1:-1:-1;96036:28:0;;;96052:2;96036:28;96093:288;-1:-1:-1;;96125:5:0;-1:-1:-1;;;96262:2:0;96251:14;;96246:30;96125:5;96233:44;96323:2;96314:11;;;-1:-1:-1;96344:21:0;96093:288;96344:21;-1:-1:-1;96402:6:0;95711:716;-1:-1:-1;;;95711:716:0:o;71847:296::-;71930:7;71973:4;71930:7;71988:118;72012:5;:12;72008:1;:16;71988:118;;;72061:33;72071:12;72085:5;72091:1;72085:8;;;;;;;;:::i;:::-;;;;;;;72061:9;:33::i;:::-;72046:48;-1:-1:-1;72026:3:0;;;;:::i;:::-;;;;71988:118;;47145:708;47276:19;47282:2;47286:8;47276:5;:19::i;:::-;-1:-1:-1;;;;;47337:14:0;;;:19;47333:502;;47377:11;47391:13;47439:14;;;47472:242;47503:62;47542:1;47546:2;47550:7;;;;;;47559:5;47503:30;:62::i;:::-;47498:176;;47594:56;-1:-1:-1;;;47594:7:0;:56::i;:::-;47709:3;47701:5;:11;47472:242;;47796:3;47779:13;;:20;47775:44;;47801:18;47816:1;47801:7;:18::i;:::-;47358:477;;47145:708;;;:::o;40908:691::-;41092:88;;-1:-1:-1;;;41092:88:0;;41071:4;;-1:-1:-1;;;;;41092:45:0;;;;;:88;;55490:10;;41159:4;;41165:7;;41174:5;;41092:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41092:88:0;;;;;;;;-1:-1:-1;;41092:88:0;;;;;;;;;;;;:::i;:::-;;;41088:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41375:6;:13;41392:1;41375:18;41371:115;;41414:56;-1:-1:-1;;;41414:7:0;:56::i;:::-;41558:6;41552:13;41543:6;41539:2;41535:15;41528:38;41088:504;-1:-1:-1;;;;;;41251:64:0;-1:-1:-1;;;41251:64:0;;-1:-1:-1;40908:691:0;;;;;;:::o;92743:948::-;92796:7;;-1:-1:-1;;;92874:17:0;;92870:106;;-1:-1:-1;;;92912:17:0;;;-1:-1:-1;92958:2:0;92948:12;92870:106;93003:8;92994:5;:17;92990:106;;93041:8;93032:17;;;-1:-1:-1;93078:2:0;93068:12;92990:106;93123:8;93114:5;:17;93110:106;;93161:8;93152:17;;;-1:-1:-1;93198:2:0;93188:12;93110:106;93243:7;93234:5;:16;93230:103;;93280:7;93271:16;;;-1:-1:-1;93316:1:0;93306:11;93230:103;93360:7;93351:5;:16;93347:103;;93397:7;93388:16;;;-1:-1:-1;93433:1:0;93423:11;93347:103;93477:7;93468:5;:16;93464:103;;93514:7;93505:16;;;-1:-1:-1;93550:1:0;93540:11;93464:103;93594:7;93585:5;:16;93581:68;;93632:1;93622:11;93677:6;92743:948;-1:-1:-1;;92743:948:0:o;79051:149::-;79114:7;79145:1;79141;:5;:51;;79276:13;79370:15;;;79406:4;79399:15;;;79453:4;79437:21;;79141:51;;;-1:-1:-1;79276:13:0;79370:15;;;79406:4;79399:15;79453:4;79437:21;;;79051:149::o;42061:2305::-;42134:20;42157:13;;;42185;;;42181:53;;42200:34;-1:-1:-1;;;42200:7:0;:34::i;:::-;42747:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;28909:28:0;;29083:11;29058:23;29054:41;29527:1;29514:15;;29488:24;29484:46;29051:52;29041:63;;42747:173;;;43138:22;;;:18;:22;;;;;:71;;43176:32;43164:45;;43138:71;;;28909:28;43399:13;;;43395:54;;43414:35;-1:-1:-1;;;43414:7:0;:35::i;:::-;43480:23;;;:12;43565:676;43984:7;43940:8;43895:1;43829:25;43766:1;43701;43670:358;44236:3;44223:9;;;;;;:16;43565:676;;-1:-1:-1;44257:13:0;:19;-1:-1:-1;104691:184:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;774:173::-;842:20;;-1:-1:-1;;;;;891:31:1;;881:42;;871:70;;937:1;934;927:12;952:186;1011:6;1064:2;1052:9;1043:7;1039:23;1035:32;1032:52;;;1080:1;1077;1070:12;1032:52;1103:29;1122:9;1103:29;:::i;1143:250::-;1228:1;1238:113;1252:6;1249:1;1246:13;1238:113;;;1328:11;;;1322:18;1309:11;;;1302:39;1274:2;1267:10;1238:113;;;-1:-1:-1;;1385:1:1;1367:16;;1360:27;1143:250::o;1398:271::-;1440:3;1478:5;1472:12;1505:6;1500:3;1493:19;1521:76;1590:6;1583:4;1578:3;1574:14;1567:4;1560:5;1556:16;1521:76;:::i;:::-;1651:2;1630:15;-1:-1:-1;;1626:29:1;1617:39;;;;1658:4;1613:50;;1398:271;-1:-1:-1;;1398:271:1:o;1674:220::-;1823:2;1812:9;1805:21;1786:4;1843:45;1884:2;1873:9;1869:18;1861:6;1843:45;:::i;1899:180::-;1958:6;2011:2;1999:9;1990:7;1986:23;1982:32;1979:52;;;2027:1;2024;2017:12;1979:52;-1:-1:-1;2050:23:1;;1899:180;-1:-1:-1;1899:180:1:o;2292:254::-;2360:6;2368;2421:2;2409:9;2400:7;2396:23;2392:32;2389:52;;;2437:1;2434;2427:12;2389:52;2460:29;2479:9;2460:29;:::i;:::-;2450:39;2536:2;2521:18;;;;2508:32;;-1:-1:-1;;;2292:254:1:o;2551:328::-;2628:6;2636;2644;2697:2;2685:9;2676:7;2672:23;2668:32;2665:52;;;2713:1;2710;2703:12;2665:52;2736:29;2755:9;2736:29;:::i;:::-;2726:39;;2784:38;2818:2;2807:9;2803:18;2784:38;:::i;:::-;2774:48;;2869:2;2858:9;2854:18;2841:32;2831:42;;2551:328;;;;;:::o;2884:127::-;2945:10;2940:3;2936:20;2933:1;2926:31;2976:4;2973:1;2966:15;3000:4;2997:1;2990:15;3016:632;3081:5;3111:18;3152:2;3144:6;3141:14;3138:40;;;3158:18;;:::i;:::-;3233:2;3227:9;3201:2;3287:15;;-1:-1:-1;;3283:24:1;;;3309:2;3279:33;3275:42;3263:55;;;3333:18;;;3353:22;;;3330:46;3327:72;;;3379:18;;:::i;:::-;3419:10;3415:2;3408:22;3448:6;3439:15;;3478:6;3470;3463:22;3518:3;3509:6;3504:3;3500:16;3497:25;3494:45;;;3535:1;3532;3525:12;3494:45;3585:6;3580:3;3573:4;3565:6;3561:17;3548:44;3640:1;3633:4;3624:6;3616;3612:19;3608:30;3601:41;;;;3016:632;;;;;:::o;3653:451::-;3722:6;3775:2;3763:9;3754:7;3750:23;3746:32;3743:52;;;3791:1;3788;3781:12;3743:52;3831:9;3818:23;3864:18;3856:6;3853:30;3850:50;;;3896:1;3893;3886:12;3850:50;3919:22;;3972:4;3964:13;;3960:27;-1:-1:-1;3950:55:1;;4001:1;3998;3991:12;3950:55;4024:74;4090:7;4085:2;4072:16;4067:2;4063;4059:11;4024:74;:::i;4109:367::-;4172:8;4182:6;4236:3;4229:4;4221:6;4217:17;4213:27;4203:55;;4254:1;4251;4244:12;4203:55;-1:-1:-1;4277:20:1;;4320:18;4309:30;;4306:50;;;4352:1;4349;4342:12;4306:50;4389:4;4381:6;4377:17;4365:29;;4449:3;4442:4;4432:6;4429:1;4425:14;4417:6;4413:27;4409:38;4406:47;4403:67;;;4466:1;4463;4456:12;4403:67;4109:367;;;;;:::o;4481:511::-;4576:6;4584;4592;4645:2;4633:9;4624:7;4620:23;4616:32;4613:52;;;4661:1;4658;4651:12;4613:52;4684:29;4703:9;4684:29;:::i;:::-;4674:39;;4764:2;4753:9;4749:18;4736:32;4791:18;4783:6;4780:30;4777:50;;;4823:1;4820;4813:12;4777:50;4862:70;4924:7;4915:6;4904:9;4900:22;4862:70;:::i;:::-;4481:511;;4951:8;;-1:-1:-1;4836:96:1;;-1:-1:-1;;;;4481:511:1:o;4997:437::-;5083:6;5091;5144:2;5132:9;5123:7;5119:23;5115:32;5112:52;;;5160:1;5157;5150:12;5112:52;5200:9;5187:23;5233:18;5225:6;5222:30;5219:50;;;5265:1;5262;5255:12;5219:50;5304:70;5366:7;5357:6;5346:9;5342:22;5304:70;:::i;:::-;5393:8;;5278:96;;-1:-1:-1;4997:437:1;-1:-1:-1;;;;4997:437:1:o;5439:349::-;5523:12;;-1:-1:-1;;;;;5519:38:1;5507:51;;5611:4;5600:16;;;5594:23;5619:18;5590:48;5574:14;;;5567:72;5702:4;5691:16;;;5685:23;5678:31;5671:39;5655:14;;;5648:63;5764:4;5753:16;;;5747:23;5772:8;5743:38;5727:14;;5720:62;5439:349::o;5793:722::-;6026:2;6078:21;;;6148:13;;6051:18;;;6170:22;;;5997:4;;6026:2;6249:15;;;;6223:2;6208:18;;;5997:4;6292:197;6306:6;6303:1;6300:13;6292:197;;;6355:52;6403:3;6394:6;6388:13;6355:52;:::i;:::-;6464:15;;;;6436:4;6427:14;;;;;6328:1;6321:9;6292:197;;6520:254;6588:6;6596;6649:2;6637:9;6628:7;6624:23;6620:32;6617:52;;;6665:1;6662;6655:12;6617:52;6701:9;6688:23;6678:33;;6730:38;6764:2;6753:9;6749:18;6730:38;:::i;:::-;6720:48;;6520:254;;;;;:::o;6779:632::-;6950:2;7002:21;;;7072:13;;6975:18;;;7094:22;;;6921:4;;6950:2;7173:15;;;;7147:2;7132:18;;;6921:4;7216:169;7230:6;7227:1;7224:13;7216:169;;;7291:13;;7279:26;;7360:15;;;;7325:12;;;;7252:1;7245:9;7216:169;;7598:322;7675:6;7683;7691;7744:2;7732:9;7723:7;7719:23;7715:32;7712:52;;;7760:1;7757;7750:12;7712:52;7783:29;7802:9;7783:29;:::i;:::-;7773:39;7859:2;7844:18;;7831:32;;-1:-1:-1;7910:2:1;7895:18;;;7882:32;;7598:322;-1:-1:-1;;;7598:322:1:o;7925:118::-;8011:5;8004:13;7997:21;7990:5;7987:32;7977:60;;8033:1;8030;8023:12;8048:315;8113:6;8121;8174:2;8162:9;8153:7;8149:23;8145:32;8142:52;;;8190:1;8187;8180:12;8142:52;8213:29;8232:9;8213:29;:::i;:::-;8203:39;;8292:2;8281:9;8277:18;8264:32;8305:28;8327:5;8305:28;:::i;:::-;8352:5;8342:15;;;8048:315;;;;;:::o;8368:667::-;8463:6;8471;8479;8487;8540:3;8528:9;8519:7;8515:23;8511:33;8508:53;;;8557:1;8554;8547:12;8508:53;8580:29;8599:9;8580:29;:::i;:::-;8570:39;;8628:38;8662:2;8651:9;8647:18;8628:38;:::i;:::-;8618:48;;8713:2;8702:9;8698:18;8685:32;8675:42;;8768:2;8757:9;8753:18;8740:32;8795:18;8787:6;8784:30;8781:50;;;8827:1;8824;8817:12;8781:50;8850:22;;8903:4;8895:13;;8891:27;-1:-1:-1;8881:55:1;;8932:1;8929;8922:12;8881:55;8955:74;9021:7;9016:2;9003:16;8998:2;8994;8990:11;8955:74;:::i;:::-;8945:84;;;8368:667;;;;;;;:::o;9040:505::-;9135:6;9143;9151;9204:2;9192:9;9183:7;9179:23;9175:32;9172:52;;;9220:1;9217;9210:12;9172:52;9256:9;9243:23;9233:33;;9317:2;9306:9;9302:18;9289:32;9344:18;9336:6;9333:30;9330:50;;;9376:1;9373;9366:12;9735:266;9931:3;9916:19;;9944:51;9920:9;9977:6;9944:51;:::i;10006:260::-;10074:6;10082;10135:2;10123:9;10114:7;10110:23;10106:32;10103:52;;;10151:1;10148;10141:12;10103:52;10174:29;10193:9;10174:29;:::i;:::-;10164:39;;10222:38;10256:2;10245:9;10241:18;10222:38;:::i;10271:380::-;10350:1;10346:12;;;;10393;;;10414:61;;10468:4;10460:6;10456:17;10446:27;;10414:61;10521:2;10513:6;10510:14;10490:18;10487:38;10484:161;;10567:10;10562:3;10558:20;10555:1;10548:31;10602:4;10599:1;10592:15;10630:4;10627:1;10620:15;10484:161;;10271:380;;;:::o;10656:127::-;10717:10;10712:3;10708:20;10705:1;10698:31;10748:4;10745:1;10738:15;10772:4;10769:1;10762:15;10788:128;10855:9;;;10876:11;;;10873:37;;;10890:18;;:::i;11230:245::-;11297:6;11350:2;11338:9;11329:7;11325:23;11321:32;11318:52;;;11366:1;11363;11356:12;11318:52;11398:9;11392:16;11417:28;11439:5;11417:28;:::i;11816:545::-;11918:2;11913:3;11910:11;11907:448;;;11954:1;11979:5;11975:2;11968:17;12024:4;12020:2;12010:19;12094:2;12082:10;12078:19;12075:1;12071:27;12065:4;12061:38;12130:4;12118:10;12115:20;12112:47;;;-1:-1:-1;12153:4:1;12112:47;12208:2;12203:3;12199:12;12196:1;12192:20;12186:4;12182:31;12172:41;;12263:82;12281:2;12274:5;12271:13;12263:82;;;12326:17;;;12307:1;12296:13;12263:82;;;12267:3;;;11816:545;;;:::o;12537:1352::-;12663:3;12657:10;12690:18;12682:6;12679:30;12676:56;;;12712:18;;:::i;:::-;12741:97;12831:6;12791:38;12823:4;12817:11;12791:38;:::i;:::-;12785:4;12741:97;:::i;:::-;12893:4;;12957:2;12946:14;;12974:1;12969:663;;;;13676:1;13693:6;13690:89;;;-1:-1:-1;13745:19:1;;;13739:26;13690:89;-1:-1:-1;;12494:1:1;12490:11;;;12486:24;12482:29;12472:40;12518:1;12514:11;;;12469:57;13792:81;;12939:944;;12969:663;11763:1;11756:14;;;11800:4;11787:18;;-1:-1:-1;;13005:20:1;;;13123:236;13137:7;13134:1;13131:14;13123:236;;;13226:19;;;13220:26;13205:42;;13318:27;;;;13286:1;13274:14;;;;13153:19;;13123:236;;;13127:3;13387:6;13378:7;13375:19;13372:201;;;13448:19;;;13442:26;-1:-1:-1;;13531:1:1;13527:14;;;13543:3;13523:24;13519:37;13515:42;13500:58;13485:74;;13372:201;-1:-1:-1;;;;;13619:1:1;13603:14;;;13599:22;13586:36;;-1:-1:-1;12537:1352:1:o;14128:351::-;14330:2;14312:21;;;14369:2;14349:18;;;14342:30;14408:29;14403:2;14388:18;;14381:57;14470:2;14455:18;;14128:351::o;14484:125::-;14549:9;;;14570:10;;;14567:36;;;14583:18;;:::i;14614:346::-;14816:2;14798:21;;;14855:2;14835:18;;;14828:30;-1:-1:-1;;;14889:2:1;14874:18;;14867:52;14951:2;14936:18;;14614:346::o;15663:400::-;15865:2;15847:21;;;15904:2;15884:18;;;15877:30;15943:34;15938:2;15923:18;;15916:62;-1:-1:-1;;;16009:2:1;15994:18;;15987:34;16053:3;16038:19;;15663:400::o;16068:168::-;16141:9;;;16172;;16189:15;;;16183:22;;16169:37;16159:71;;16210:18;;:::i;17713:1256::-;17937:3;17975:6;17969:13;18001:4;18014:64;18071:6;18066:3;18061:2;18053:6;18049:15;18014:64;:::i;:::-;18141:13;;18100:16;;;;18163:68;18141:13;18100:16;18198:15;;;18163:68;:::i;:::-;18320:13;;18253:20;;;18293:1;;18358:36;18320:13;18358:36;:::i;:::-;18413:1;18430:18;;;18457:141;;;;18612:1;18607:337;;;;18423:521;;18457:141;-1:-1:-1;;18492:24:1;;18478:39;;18569:16;;18562:24;18548:39;;18537:51;;;-1:-1:-1;18457:141:1;;18607:337;18638:6;18635:1;18628:17;18686:2;18683:1;18673:16;18711:1;18725:169;18739:8;18736:1;18733:15;18725:169;;;18821:14;;18806:13;;;18799:37;18864:16;;;;18756:10;;18725:169;;;18729:3;;18925:8;18918:5;18914:20;18907:27;;18423:521;-1:-1:-1;18960:3:1;;17713:1256;-1:-1:-1;;;;;;;;;;17713:1256:1:o;19381:136::-;19420:3;19448:5;19438:39;;19457:18;;:::i;:::-;-1:-1:-1;;;19493:18:1;;19381:136::o;20375:127::-;20436:10;20431:3;20427:20;20424:1;20417:31;20467:4;20464:1;20457:15;20491:4;20488:1;20481:15;20507:135;20546:3;20567:17;;;20564:43;;20587:18;;:::i;:::-;-1:-1:-1;20634:1:1;20623:13;;20507:135::o;20647:489::-;-1:-1:-1;;;;;20916:15:1;;;20898:34;;20968:15;;20963:2;20948:18;;20941:43;21015:2;21000:18;;20993:34;;;21063:3;21058:2;21043:18;;21036:31;;;20841:4;;21084:46;;21110:19;;21102:6;21084:46;:::i;:::-;21076:54;20647:489;-1:-1:-1;;;;;;20647:489:1:o;21141:249::-;21210:6;21263:2;21251:9;21242:7;21238:23;21234:32;21231:52;;;21279:1;21276;21269:12;21231:52;21311:9;21305:16;21330:30;21354:5;21330:30;:::i
Swarm Source
ipfs://cd61522165821f6d78a5880316de253ba1087d27bd8fd76d9ee1ef397a65b1bd
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.