ETH Price: $3,046.79 (+2.23%)
Gas: 1 Gwei

Token

Exovaders (EXO)
 

Overview

Max Total Supply

1,689 EXO

Holders

200

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 EXO
0x0Bb521bD6B2A0eb81A0750E0d78C50917323d958
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Exovaders is a collection of 5,500 Enhanced Apes born through the fusion of Genesis Ape Invaders and their Droid Invader companions.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Exovaders

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Exovaders.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

interface IDroidInvaders {
  function ownerOf(uint256 tokenId) external returns (address);

  function batchTransferFrom(
    address _from,
    address _to,
    uint256[] memory _tokenIds
  ) external;
}

interface INanoTechChips {
  function burn(address _from, uint256 _amount) external;
}

contract Exovaders is ERC721A, ERC721AQueryable, Ownable {
  uint256 public constant PRICE = 0.055 ether;
  uint256 public constant MAX_SUPPLY = 5500;
  uint256 public constant MAX_PUBLIC_SUPPLY = 3000;
  uint256 public constant MAX_MINT_PER_WALLET = 2;

  uint256 public fusionSupply = 0;
  uint256 public publicSupply = 0;

  string public tokenBaseUri = "ipfs://QmSWVgwjoHH9uTJdDLhKJh82WX3pJGetfur3PQufeTiWTn/?";

  bool public paused = true;
  bool public publicSale = false;
  bool public finalSale = false;

  address private verifier;

  mapping(uint256 => bool) public usedApe;
  mapping(address => uint256) public walletCount;

  IDroidInvaders private immutable droidInvaders;
  INanoTechChips private immutable nanoTechChips;

  constructor(address _droidInvadersContract, address _nanoTechChipsContract)
    ERC721A("Exovaders", "EXO")
  {
    droidInvaders = IDroidInvaders(_droidInvadersContract);
    nanoTechChips = INanoTechChips(_nanoTechChipsContract);
  }

  function mint(uint256 _quantity, bytes memory _signature) external payable {
    require(!paused, "Minting paused");

    address signer = _validateMint(msg.sender, _signature);

    require(signer == verifier, "Invalid signature");

    if (!finalSale) {
      require(
        publicSupply + _quantity <= MAX_PUBLIC_SUPPLY,
        "Excedes max supply"
      );

      publicSupply += _quantity;
    } else {
      require(totalSupply() + _quantity <= MAX_SUPPLY, "Excedes max supply");
    }

    if (!publicSale) {
      require(
        walletCount[msg.sender] + _quantity <= MAX_MINT_PER_WALLET,
        "Max mint per wallet reached"
      );

      walletCount[msg.sender] += _quantity;
    }

    require(_quantity * PRICE == msg.value, "Ether sent is not correct");

    _mint(msg.sender, _quantity);
  }

  function fusion(
    uint256 _apeId,
    uint256[] calldata _droidIds,
    bytes memory _signature
  ) external payable {
    require(!paused, "Fusion paused");
    require(totalSupply() < MAX_SUPPLY, "Excedes max supply");
    require(!usedApe[_apeId], "Ape already used");

    address signer = _validateFusion(msg.sender, _apeId, _droidIds, _signature);

    require(signer == verifier, "Invalid signature");

    for (uint256 i; i < _droidIds.length; ++i) {
      require(
        droidInvaders.ownerOf(_droidIds[i]) == msg.sender,
        "Not Droid owner"
      );
    }

    usedApe[_apeId] = true;

    nanoTechChips.burn(msg.sender, 1);

    droidInvaders.batchTransferFrom(msg.sender, 0x000000000000000000000000000000000000dEaD, _droidIds);

    _mint(msg.sender, 1);
  }

  function _validateMint(address _wallet, bytes memory _signature)
    internal
    pure
    returns (address)
  {
    return
      ECDSA.recover(
        ECDSA.toEthSignedMessageHash(keccak256(abi.encodePacked(_wallet))),
        _signature
      );
  }

  function _validateFusion(
    address _wallet,
    uint256 _apeId,
    uint256[] calldata _droidIds,
    bytes memory _signature
  ) internal pure returns (address) {
    return
      ECDSA.recover(
        ECDSA.toEthSignedMessageHash(
          keccak256(abi.encodePacked(_wallet, _apeId, _droidIds))
        ),
        _signature
      );
  }

  function _baseURI() internal view override returns (string memory) {
    return tokenBaseUri;
  }

  function usedApes(uint256[] calldata _apeIds)
    external
    view
    returns (bool[] memory)
  {
    bool[] memory areUsed = new bool[](_apeIds.length);

    for (uint256 i = 0; i < _apeIds.length; ++i) {
      areUsed[i] = usedApe[_apeIds[i]];
    }

    return areUsed;
  }

  function setBaseURI(string calldata _newBaseUri) external onlyOwner {
    tokenBaseUri = _newBaseUri;
  }

  function setVerifier(address _newVerifier) public onlyOwner {
    verifier = _newVerifier;
  }

  function flipSale() external onlyOwner {
    paused = !paused;
  }

  function flipPublicSale() external onlyOwner {
    publicSale = !publicSale;
  }

  function flipFinalSale() external onlyOwner {
    finalSale = !finalSale;
  }

  function collectInitial() external onlyOwner {
    require(totalSupply() == 0, "Already collected");

    _mint(msg.sender, 15);
  }

  function collectRemaining() external onlyOwner {
    require(totalSupply() < MAX_SUPPLY, "Excedes max supply");

    _mint(msg.sender, MAX_SUPPLY - totalSupply());
  }

  function withdraw() public onlyOwner {
    require(
      payable(owner()).send(address(this).balance),
      "Withdraw unsuccessful"
    );
  }
}

File 2 of 9 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 3 of 9 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

File 4 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 9 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        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 virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public 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 virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 6 of 9 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 7 of 9 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * 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;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @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;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 8 of 9 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 9 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_droidInvadersContract","type":"address"},{"internalType":"address","name":"_nanoTechChipsContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","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":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectInitial","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectRemaining","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipFinalSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_apeId","type":"uint256"},{"internalType":"uint256[]","name":"_droidIds","type":"uint256[]"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"fusion","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"fusionSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newVerifier","type":"address"}],"name":"setVerifier","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":[],"name":"tokenBaseUri","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"usedApe","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_apeIds","type":"uint256[]"}],"name":"usedApes","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405260006009556000600a556040518060600160405280603781526020016200525360379139600b90805190602001906200003f929190620002e3565b506001600c60006101000a81548160ff0219169083151502179055506000600c60016101000a81548160ff0219169083151502179055506000600c60026101000a81548160ff0219169083151502179055503480156200009e57600080fd5b506040516200528a3803806200528a8339818101604052810190620000c49190620003aa565b6040518060400160405280600981526020017f45786f76616465727300000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f45584f0000000000000000000000000000000000000000000000000000000000815250816002908051906020019062000148929190620002e3565b50806003908051906020019062000161929190620002e3565b50620001726200021060201b60201c565b60008190555050506200019a6200018e6200021560201b60201c565b6200021d60201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250505050620004a9565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002f19062000425565b90600052602060002090601f01602090048101928262000315576000855562000361565b82601f106200033057805160ff191683800117855562000361565b8280016001018555821562000361579182015b828111156200036057825182559160200191906001019062000343565b5b50905062000370919062000374565b5090565b5b808211156200038f57600081600090555060010162000375565b5090565b600081519050620003a4816200048f565b92915050565b60008060408385031215620003c457620003c36200048a565b5b6000620003d48582860162000393565b9250506020620003e78582860162000393565b9150509250929050565b6000620003fe8262000405565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200043e57607f821691505b602082108114156200045557620004546200045b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6200049a81620003f1565b8114620004a657600080fd5b50565b60805160601c60a05160601c614d77620004dc60003960006114e301526000818161138b01526115710152614d776000f3fe6080604052600436106102675760003560e01c806370a0823111610144578063a4d2bee2116100b6578063c23dc68f1161007a578063c23dc68f146108d9578063c87b56dd14610916578063db7fd40814610953578063de33dfbe1461096f578063e985e9c51461099a578063f2fde38b146109d757610267565b8063a4d2bee2146107f4578063a7e0122e14610831578063b19960e61461086e578063b88d4fde14610899578063b982f339146108c257610267565b8063880846051161010857806388084605146106f65780638d859f3e1461070d5780638da5cb5b1461073857806395d89b411461076357806399a2557a1461078e578063a22cb465146107cb57610267565b806370a0823114610611578063715018a61461064e5780637ba5e621146106655780637db5db331461067c5780638462151c146106b957610267565b806333bc1c5c116101dd57806355f804b3116101a157806355f804b31461050157806357afb8901461052a5780635bbb2177146105415780635c975abb1461057e5780635e84d723146105a95780636352211e146105d457610267565b806333bc1c5c146104515780633ccfd60b1461047c5780633d7828551461049357806342842e0e146104af5780635437988d146104d857610267565b80631680a1481161022f5780631680a1481461036557806318160ddd146103905780631ffc7524146103bb57806323b872dd146103d25780632a47f799146103fb57806332cb6b0c1461042657610267565b806301ffc9a71461026c57806305ff39f8146102a957806306fdde03146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613783565b610a00565b6040516102a091906141bd565b60405180910390f35b3480156102b557600080fd5b506102be610a92565b6040516102cb91906141bd565b60405180910390f35b3480156102e057600080fd5b506102e9610aa5565b6040516102f6919061421d565b60405180910390f35b34801561030b57600080fd5b506103266004803603810190610321919061382a565b610b37565b6040516103339190614087565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e91906136a3565b610bb6565b005b34801561037157600080fd5b5061037a610cfa565b604051610387919061421d565b60405180910390f35b34801561039c57600080fd5b506103a5610d88565b6040516103b2919061445a565b60405180910390f35b3480156103c757600080fd5b506103d0610d9f565b005b3480156103de57600080fd5b506103f960048036038101906103f4919061358d565b610dfe565b005b34801561040757600080fd5b50610410611123565b60405161041d919061445a565b60405180910390f35b34801561043257600080fd5b5061043b611129565b604051610448919061445a565b60405180910390f35b34801561045d57600080fd5b5061046661112f565b60405161047391906141bd565b60405180910390f35b34801561048857600080fd5b50610491611142565b005b6104ad60048036038101906104a89190613857565b6111c7565b005b3480156104bb57600080fd5b506104d660048036038101906104d1919061358d565b611614565b005b3480156104e457600080fd5b506104ff60048036038101906104fa91906134f3565b611634565b005b34801561050d57600080fd5b50610528600480360381019061052391906137dd565b611680565b005b34801561053657600080fd5b5061053f61169e565b005b34801561054d57600080fd5b5061056860048036038101906105639190613736565b611711565b6040516105759190614179565b60405180910390f35b34801561058a57600080fd5b506105936117d4565b6040516105a091906141bd565b60405180910390f35b3480156105b557600080fd5b506105be6117e7565b6040516105cb919061445a565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f6919061382a565b6117ed565b6040516106089190614087565b60405180910390f35b34801561061d57600080fd5b50610638600480360381019061063391906134f3565b6117ff565b604051610645919061445a565b60405180910390f35b34801561065a57600080fd5b506106636118b8565b005b34801561067157600080fd5b5061067a6118cc565b005b34801561068857600080fd5b506106a3600480360381019061069e9190613736565b611900565b6040516106b09190614157565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906134f3565b6119db565b6040516106ed919061419b565b60405180910390f35b34801561070257600080fd5b5061070b611b25565b005b34801561071957600080fd5b50610722611b59565b60405161072f919061445a565b60405180910390f35b34801561074457600080fd5b5061074d611b64565b60405161075a9190614087565b60405180910390f35b34801561076f57600080fd5b50610778611b8e565b604051610785919061421d565b60405180910390f35b34801561079a57600080fd5b506107b560048036038101906107b091906136e3565b611c20565b6040516107c2919061419b565b60405180910390f35b3480156107d757600080fd5b506107f260048036038101906107ed9190613663565b611e34565b005b34801561080057600080fd5b5061081b6004803603810190610816919061382a565b611fac565b60405161082891906141bd565b60405180910390f35b34801561083d57600080fd5b50610858600480360381019061085391906134f3565b611fcc565b604051610865919061445a565b60405180910390f35b34801561087a57600080fd5b50610883611fe4565b604051610890919061445a565b60405180910390f35b3480156108a557600080fd5b506108c060048036038101906108bb91906135e0565b611fe9565b005b3480156108ce57600080fd5b506108d761205c565b005b3480156108e557600080fd5b5061090060048036038101906108fb919061382a565b612090565b60405161090d919061443f565b60405180910390f35b34801561092257600080fd5b5061093d6004803603810190610938919061382a565b6120fa565b60405161094a919061421d565b60405180910390f35b61096d600480360381019061096891906138e7565b612199565b005b34801561097b57600080fd5b506109846124bf565b604051610991919061445a565b60405180910390f35b3480156109a657600080fd5b506109c160048036038101906109bc919061354d565b6124c5565b6040516109ce91906141bd565b60405180910390f35b3480156109e357600080fd5b506109fe60048036038101906109f991906134f3565b612559565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a5b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a8b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600c60029054906101000a900460ff1681565b606060028054610ab4906147aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae0906147aa565b8015610b2d5780601f10610b0257610100808354040283529160200191610b2d565b820191906000526020600020905b815481529060010190602001808311610b1057829003601f168201915b5050505050905090565b6000610b42826125dd565b610b78576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bc1826117ed565b90508073ffffffffffffffffffffffffffffffffffffffff16610be261263c565b73ffffffffffffffffffffffffffffffffffffffff1614610c4557610c0e81610c0961263c565b6124c5565b610c44576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600b8054610d07906147aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610d33906147aa565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b505050505081565b6000610d92612644565b6001546000540303905090565b610da7612649565b6000610db1610d88565b14610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de89061435f565b60405180910390fd5b610dfc33600f6126c7565b565b6000610e0982612884565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e70576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e7c84612952565b91509150610e928187610e8d61263c565b612979565b610ede57610ea786610ea261263c565b6124c5565b610edd576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610f45576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f5286868660016129bd565b8015610f5d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061102b856110078888876129c3565b7c0200000000000000000000000000000000000000000000000000000000176129eb565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156110b35760006001850190506000600460008381526020019081526020016000205414156110b15760005481146110b0578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461111b8686866001612a16565b505050505050565b610bb881565b61157c81565b600c60019054906101000a900460ff1681565b61114a612649565b611152611b64565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506111c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bc906143df565b60405180910390fd5b565b600c60009054906101000a900460ff1615611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e9061433f565b60405180910390fd5b61157c611222610d88565b10611262576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611259906143bf565b60405180910390fd5b600d600085815260200190815260200160002060009054906101000a900460ff16156112c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ba9061441f565b60405180910390fd5b60006112d23386868686612a1c565b9050600c60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b906142df565b60405180910390fd5b60005b848490508110156114b4573373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e8787858181106113d8576113d761491b565b5b905060200201356040518263ffffffff1660e01b81526004016113fb919061445a565b602060405180830381600087803b15801561141557600080fd5b505af1158015611429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144d9190613520565b73ffffffffffffffffffffffffffffffffffffffff16146114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a9061425f565b60405180910390fd5b806114ad9061480d565b9050611367565b506001600d600087815260200190815260200160002060006101000a81548160ff0219169083151502179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639dc29fac3360016040518363ffffffff1660e01b815260040161153d92919061412e565b600060405180830381600087803b15801561155757600080fd5b505af115801561156b573d6000803e3d6000fd5b505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f3993d113361dead87876040518563ffffffff1660e01b81526004016115d094939291906140a2565b600060405180830381600087803b1580156115ea57600080fd5b505af11580156115fe573d6000803e3d6000fd5b5050505061160d3360016126c7565b5050505050565b61162f83838360405180602001604052806000815250611fe9565b505050565b61163c612649565b80600c60036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611688612649565b8181600b9190611699929190613267565b505050565b6116a6612649565b61157c6116b1610d88565b106116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e8906143bf565b60405180910390fd5b61170f336116fd610d88565b61157c61170a9190614674565b6126c7565b565b6060600083839050905060008167ffffffffffffffff8111156117375761173661494a565b5b60405190808252806020026020018201604052801561177057816020015b61175d6132ed565b8152602001906001900390816117555790505b50905060005b8281146117c85761179f8686838181106117935761179261491b565b5b90506020020135612090565b8282815181106117b2576117b161491b565b5b6020026020010181905250806001019050611776565b50809250505092915050565b600c60009054906101000a900460ff1681565b600a5481565b60006117f882612884565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611867576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6118c0612649565b6118ca6000612a67565b565b6118d4612649565b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b606060008383905067ffffffffffffffff8111156119215761192061494a565b5b60405190808252806020026020018201604052801561194f5781602001602082028036833780820191505090505b50905060005b848490508110156119d057600d60008686848181106119775761197661491b565b5b90506020020135815260200190815260200160002060009054906101000a900460ff168282815181106119ad576119ac61491b565b5b602002602001019015159081151581525050806119c99061480d565b9050611955565b508091505092915050565b606060008060006119eb856117ff565b905060008167ffffffffffffffff811115611a0957611a0861494a565b5b604051908082528060200260200182016040528015611a375781602001602082028036833780820191505090505b509050611a426132ed565b6000611a4c612644565b90505b838614611b1757611a5f81612b2d565b9150816040015115611a7057611b0c565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611ab057816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611b0b5780838780600101985081518110611afe57611afd61491b565b5b6020026020010181815250505b5b806001019050611a4f565b508195505050505050919050565b611b2d612649565b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b66c3663566a5800081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611b9d906147aa565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc9906147aa565b8015611c165780601f10611beb57610100808354040283529160200191611c16565b820191906000526020600020905b815481529060010190602001808311611bf957829003601f168201915b5050505050905090565b6060818310611c5b576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611c66612b58565b9050611c70612644565b851015611c8257611c7f612644565b94505b80841115611c8e578093505b6000611c99876117ff565b905084861015611cbc576000868603905081811015611cb6578091505b50611cc1565b600090505b60008167ffffffffffffffff811115611cdd57611cdc61494a565b5b604051908082528060200260200182016040528015611d0b5781602001602082028036833780820191505090505b5090506000821415611d235780945050505050611e2d565b6000611d2e88612090565b905060008160400151611d4357816000015190505b60008990505b888114158015611d595750848714155b15611e1f57611d6781612b2d565b9250826040015115611d7857611e14565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611db857826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e135780848880600101995081518110611e0657611e0561491b565b5b6020026020010181815250505b5b806001019050611d49565b508583528296505050505050505b9392505050565b611e3c61263c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ea1576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611eae61263c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f5b61263c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fa091906141bd565b60405180910390a35050565b600d6020528060005260406000206000915054906101000a900460ff1681565b600e6020528060005260406000206000915090505481565b600281565b611ff4848484610dfe565b60008373ffffffffffffffffffffffffffffffffffffffff163b146120565761201f84848484612b61565b612055576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612064612649565b600c60029054906101000a900460ff1615600c60026101000a81548160ff021916908315150217905550565b6120986132ed565b6120a06132ed565b6120a8612644565b8310806120bc57506120b8612b58565b8310155b156120ca57809150506120f5565b6120d383612b2d565b90508060400151156120e857809150506120f5565b6120f183612cc1565b9150505b919050565b6060612105826125dd565b61213b576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612145612ce1565b90506000815114156121665760405180602001604052806000815250612191565b8061217084612d73565b60405160200161218192919061403d565b6040516020818303038152906040525b915050919050565b600c60009054906101000a900460ff16156121e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e09061429f565b60405180910390fd5b60006121f53383612dc3565b9050600c60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e906142df565b60405180910390fd5b600c60029054906101000a900460ff1661230b57610bb883600a546122ac91906145c4565b11156122ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e4906143bf565b60405180910390fd5b82600a60008282546122ff91906145c4565b92505081905550612363565b61157c83612317610d88565b61232191906145c4565b1115612362576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612359906143bf565b60405180910390fd5b5b600c60019054906101000a900460ff1661245c57600283600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123c491906145c4565b1115612405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fc9061431f565b60405180910390fd5b82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461245491906145c4565b925050819055505b3466c3663566a5800084612470919061461a565b146124b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a7906143ff565b60405180910390fd5b6124ba33846126c7565b505050565b60095481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612561612649565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c8906142bf565b60405180910390fd5b6125da81612a67565b50565b6000816125e8612644565b111580156125f7575060005482105b8015612635575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b612651612e05565b73ffffffffffffffffffffffffffffffffffffffff1661266f611b64565b73ffffffffffffffffffffffffffffffffffffffff16146126c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bc9061439f565b60405180910390fd5b565b6000805490506000821415612708576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61271560008483856129bd565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061278c8361277d60008660006129c3565b61278685612e0d565b176129eb565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461282d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506127f2565b506000821415612869576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061287f6000848385612a16565b505050565b60008082905080612893612644565b1161291b5760005481101561291a5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612918575b600081141561290e5760046000836001900393508381526020019081526020016000205490506128e3565b809250505061294d565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86129da868684612e1d565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612a5c612a5687878787604051602001612a3b9493929190614002565b60405160208183030381529060405280519060200120612e26565b83612e56565b905095945050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b356132ed565b612b516004600084815260200190815260200160002054612e7d565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b8761263c565b8786866040518563ffffffff1660e01b8152600401612ba994939291906140e2565b602060405180830381600087803b158015612bc357600080fd5b505af1925050508015612bf457506040513d601f19601f82011682018060405250810190612bf191906137b0565b60015b612c6e573d8060008114612c24576040519150601f19603f3d011682016040523d82523d6000602084013e612c29565b606091505b50600081511415612c66576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b612cc96132ed565b612cda612cd583612884565b612e7d565b9050919050565b6060600b8054612cf0906147aa565b80601f0160208091040260200160405190810160405280929190818152602001828054612d1c906147aa565b8015612d695780601f10612d3e57610100808354040283529160200191612d69565b820191906000526020600020905b815481529060010190602001808311612d4c57829003601f168201915b5050505050905090565b606060806040510190508060405280825b600115612daf57600183039250600a81066030018353600a8104905080612daa57612daf565b612d84565b508181036020830392508083525050919050565b6000612dfd612df784604051602001612ddc9190613fe7565b60405160208183030381529060405280519060200120612e26565b83612e56565b905092915050565b600033905090565b60006001821460e11b9050919050565b60009392505050565b600081604051602001612e399190614061565b604051602081830303815290604052805190602001209050919050565b6000806000612e658585612f33565b91509150612e7281612f85565b819250505092915050565b612e856132ed565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b600080604183511415612f755760008060006020860151925060408601519150606086015160001a9050612f698782858561315a565b94509450505050612f7e565b60006002915091505b9250929050565b60006004811115612f9957612f986148bd565b5b816004811115612fac57612fab6148bd565b5b1415612fb757613157565b60016004811115612fcb57612fca6148bd565b5b816004811115612fde57612fdd6148bd565b5b141561301f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130169061423f565b60405180910390fd5b60026004811115613033576130326148bd565b5b816004811115613046576130456148bd565b5b1415613087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307e9061427f565b60405180910390fd5b6003600481111561309b5761309a6148bd565b5b8160048111156130ae576130ad6148bd565b5b14156130ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e6906142ff565b60405180910390fd5b600480811115613102576131016148bd565b5b816004811115613115576131146148bd565b5b1415613156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314d9061437f565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561319557600060039150915061325e565b601b8560ff16141580156131ad5750601c8560ff1614155b156131bf57600060049150915061325e565b6000600187878787604051600081526020016040526040516131e494939291906141d8565b6020604051602081039080840390855afa158015613206573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156132555760006001925092505061325e565b80600092509250505b94509492505050565b828054613273906147aa565b90600052602060002090601f01602090048101928261329557600085556132dc565b82601f106132ae57803560ff19168380011785556132dc565b828001600101855582156132dc579182015b828111156132db5782358255916020019190600101906132c0565b5b5090506132e9919061333c565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561335557600081600090555060010161333d565b5090565b600061336c6133678461449a565b614475565b90508281526020810184848401111561338857613387614988565b5b613393848285614768565b509392505050565b6000813590506133aa81614ce5565b92915050565b6000815190506133bf81614ce5565b92915050565b60008083601f8401126133db576133da61497e565b5b8235905067ffffffffffffffff8111156133f8576133f7614979565b5b60208301915083602082028301111561341457613413614983565b5b9250929050565b60008135905061342a81614cfc565b92915050565b60008135905061343f81614d13565b92915050565b60008151905061345481614d13565b92915050565b600082601f83011261346f5761346e61497e565b5b813561347f848260208601613359565b91505092915050565b60008083601f84011261349e5761349d61497e565b5b8235905067ffffffffffffffff8111156134bb576134ba614979565b5b6020830191508360018202830111156134d7576134d6614983565b5b9250929050565b6000813590506134ed81614d2a565b92915050565b60006020828403121561350957613508614997565b5b60006135178482850161339b565b91505092915050565b60006020828403121561353657613535614997565b5b6000613544848285016133b0565b91505092915050565b6000806040838503121561356457613563614997565b5b60006135728582860161339b565b92505060206135838582860161339b565b9150509250929050565b6000806000606084860312156135a6576135a5614997565b5b60006135b48682870161339b565b93505060206135c58682870161339b565b92505060406135d6868287016134de565b9150509250925092565b600080600080608085870312156135fa576135f9614997565b5b60006136088782880161339b565b94505060206136198782880161339b565b935050604061362a878288016134de565b925050606085013567ffffffffffffffff81111561364b5761364a61498d565b5b6136578782880161345a565b91505092959194509250565b6000806040838503121561367a57613679614997565b5b60006136888582860161339b565b92505060206136998582860161341b565b9150509250929050565b600080604083850312156136ba576136b9614997565b5b60006136c88582860161339b565b92505060206136d9858286016134de565b9150509250929050565b6000806000606084860312156136fc576136fb614997565b5b600061370a8682870161339b565b935050602061371b868287016134de565b925050604061372c868287016134de565b9150509250925092565b6000806020838503121561374d5761374c614997565b5b600083013567ffffffffffffffff81111561376b5761376a61498d565b5b613777858286016133c5565b92509250509250929050565b60006020828403121561379957613798614997565b5b60006137a784828501613430565b91505092915050565b6000602082840312156137c6576137c5614997565b5b60006137d484828501613445565b91505092915050565b600080602083850312156137f4576137f3614997565b5b600083013567ffffffffffffffff8111156138125761381161498d565b5b61381e85828601613488565b92509250509250929050565b6000602082840312156138405761383f614997565b5b600061384e848285016134de565b91505092915050565b6000806000806060858703121561387157613870614997565b5b600061387f878288016134de565b945050602085013567ffffffffffffffff8111156138a05761389f61498d565b5b6138ac878288016133c5565b9350935050604085013567ffffffffffffffff8111156138cf576138ce61498d565b5b6138db8782880161345a565b91505092959194509250565b600080604083850312156138fe576138fd614997565b5b600061390c858286016134de565b925050602083013567ffffffffffffffff81111561392d5761392c61498d565b5b6139398582860161345a565b9150509250929050565b600061394f8383613b92565b60208301905092915050565b60006139678383613edb565b60808301905092915050565b600061397f8383613f94565b60208301905092915050565b613994816146a8565b82525050565b6139a3816146a8565b82525050565b6139ba6139b5826146a8565b614856565b82525050565b60006139cb826144fb565b6139d58185614559565b93506139e0836144cb565b8060005b83811015613a115781516139f88882613943565b9750613a0383614532565b9250506001810190506139e4565b5085935050505092915050565b6000613a2982614506565b613a33818561456a565b9350613a3e836144db565b8060005b83811015613a6f578151613a56888261395b565b9750613a618361453f565b925050600181019050613a42565b5085935050505092915050565b6000613a88838561457b565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115613abb57613aba614992565b5b602083029250613acc838584614768565b82840190509392505050565b6000613ae4838561458c565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115613b1757613b16614992565b5b602083029250613b28838584614768565b82840190509392505050565b6000613b3f82614511565b613b49818561457b565b9350613b54836144eb565b8060005b83811015613b85578151613b6c8882613973565b9750613b778361454c565b925050600181019050613b58565b5085935050505092915050565b613b9b816146ba565b82525050565b613baa816146ba565b82525050565b613bb9816146c6565b82525050565b613bd0613bcb826146c6565b614868565b82525050565b6000613be18261451c565b613beb8185614597565b9350613bfb818560208601614777565b613c048161499c565b840191505092915050565b613c1881614756565b82525050565b6000613c2982614527565b613c3381856145a8565b9350613c43818560208601614777565b613c4c8161499c565b840191505092915050565b6000613c6282614527565b613c6c81856145b9565b9350613c7c818560208601614777565b80840191505092915050565b6000613c956018836145a8565b9150613ca0826149ba565b602082019050919050565b6000613cb8600f836145a8565b9150613cc3826149e3565b602082019050919050565b6000613cdb601f836145a8565b9150613ce682614a0c565b602082019050919050565b6000613cfe601c836145b9565b9150613d0982614a35565b601c82019050919050565b6000613d21600e836145a8565b9150613d2c82614a5e565b602082019050919050565b6000613d446026836145a8565b9150613d4f82614a87565b604082019050919050565b6000613d676011836145a8565b9150613d7282614ad6565b602082019050919050565b6000613d8a6022836145a8565b9150613d9582614aff565b604082019050919050565b6000613dad601b836145a8565b9150613db882614b4e565b602082019050919050565b6000613dd0600d836145a8565b9150613ddb82614b77565b602082019050919050565b6000613df36011836145a8565b9150613dfe82614ba0565b602082019050919050565b6000613e166022836145a8565b9150613e2182614bc9565b604082019050919050565b6000613e396020836145a8565b9150613e4482614c18565b602082019050919050565b6000613e5c6012836145a8565b9150613e6782614c41565b602082019050919050565b6000613e7f6015836145a8565b9150613e8a82614c6a565b602082019050919050565b6000613ea26019836145a8565b9150613ead82614c93565b602082019050919050565b6000613ec56010836145a8565b9150613ed082614cbc565b602082019050919050565b608082016000820151613ef1600085018261398b565b506020820151613f046020850182613fc9565b506040820151613f176040850182613b92565b506060820151613f2a6060850182613f85565b50505050565b608082016000820151613f46600085018261398b565b506020820151613f596020850182613fc9565b506040820151613f6c6040850182613b92565b506060820151613f7f6060850182613f85565b50505050565b613f8e8161471c565b82525050565b613f9d8161472b565b82525050565b613fac8161472b565b82525050565b613fc3613fbe8261472b565b614884565b82525050565b613fd281614735565b82525050565b613fe181614749565b82525050565b6000613ff382846139a9565b60148201915081905092915050565b600061400e82876139a9565b60148201915061401e8286613fb2565b60208201915061402f828486613ad8565b915081905095945050505050565b60006140498285613c57565b91506140558284613c57565b91508190509392505050565b600061406c82613cf1565b91506140788284613bbf565b60208201915081905092915050565b600060208201905061409c600083018461399a565b92915050565b60006060820190506140b7600083018761399a565b6140c4602083018661399a565b81810360408301526140d7818486613a7c565b905095945050505050565b60006080820190506140f7600083018761399a565b614104602083018661399a565b6141116040830185613fa3565b81810360608301526141238184613bd6565b905095945050505050565b6000604082019050614143600083018561399a565b6141506020830184613c0f565b9392505050565b6000602082019050818103600083015261417181846139c0565b905092915050565b600060208201905081810360008301526141938184613a1e565b905092915050565b600060208201905081810360008301526141b58184613b34565b905092915050565b60006020820190506141d26000830184613ba1565b92915050565b60006080820190506141ed6000830187613bb0565b6141fa6020830186613fd8565b6142076040830185613bb0565b6142146060830184613bb0565b95945050505050565b600060208201905081810360008301526142378184613c1e565b905092915050565b6000602082019050818103600083015261425881613c88565b9050919050565b6000602082019050818103600083015261427881613cab565b9050919050565b6000602082019050818103600083015261429881613cce565b9050919050565b600060208201905081810360008301526142b881613d14565b9050919050565b600060208201905081810360008301526142d881613d37565b9050919050565b600060208201905081810360008301526142f881613d5a565b9050919050565b6000602082019050818103600083015261431881613d7d565b9050919050565b6000602082019050818103600083015261433881613da0565b9050919050565b6000602082019050818103600083015261435881613dc3565b9050919050565b6000602082019050818103600083015261437881613de6565b9050919050565b6000602082019050818103600083015261439881613e09565b9050919050565b600060208201905081810360008301526143b881613e2c565b9050919050565b600060208201905081810360008301526143d881613e4f565b9050919050565b600060208201905081810360008301526143f881613e72565b9050919050565b6000602082019050818103600083015261441881613e95565b9050919050565b6000602082019050818103600083015261443881613eb8565b9050919050565b60006080820190506144546000830184613f30565b92915050565b600060208201905061446f6000830184613fa3565b92915050565b600061447f614490565b905061448b82826147dc565b919050565b6000604051905090565b600067ffffffffffffffff8211156144b5576144b461494a565b5b6144be8261499c565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006145cf8261472b565b91506145da8361472b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561460f5761460e61488e565b5b828201905092915050565b60006146258261472b565b91506146308361472b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146695761466861488e565b5b828202905092915050565b600061467f8261472b565b915061468a8361472b565b92508282101561469d5761469c61488e565b5b828203905092915050565b60006146b3826146fc565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062ffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b60006147618261472b565b9050919050565b82818337600083830152505050565b60005b8381101561479557808201518184015260208101905061477a565b838111156147a4576000848401525b50505050565b600060028204905060018216806147c257607f821691505b602082108114156147d6576147d56148ec565b5b50919050565b6147e58261499c565b810181811067ffffffffffffffff821117156148045761480361494a565b5b80604052505050565b60006148188261472b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561484b5761484a61488e565b5b600182019050919050565b600061486182614872565b9050919050565b6000819050919050565b600061487d826149ad565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4e6f742044726f6964206f776e65720000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4d696e74696e6720706175736564000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d6178206d696e74207065722077616c6c657420726561636865640000000000600082015250565b7f467573696f6e2070617573656400000000000000000000000000000000000000600082015250565b7f416c726561647920636f6c6c6563746564000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45786365646573206d617820737570706c790000000000000000000000000000600082015250565b7f576974686472617720756e7375636365737366756c0000000000000000000000600082015250565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b7f41706520616c7265616479207573656400000000000000000000000000000000600082015250565b614cee816146a8565b8114614cf957600080fd5b50565b614d05816146ba565b8114614d1057600080fd5b50565b614d1c816146d0565b8114614d2757600080fd5b50565b614d338161472b565b8114614d3e57600080fd5b5056fea2646970667358221220634b41538a87f07f7e20afad374ac36323389c637ef2b73944c24296b4205f7864736f6c63430008070033697066733a2f2f516d53575667776a6f48483975544a64444c684b4a683832575833704a476574667572335051756665546957546e2f3f000000000000000000000000a9c454abac6fd0d177af04c92bfd0445c2a99eed0000000000000000000000009c1cd634f347d13209e43078c69f087fd145b4b6

Deployed Bytecode

0x6080604052600436106102675760003560e01c806370a0823111610144578063a4d2bee2116100b6578063c23dc68f1161007a578063c23dc68f146108d9578063c87b56dd14610916578063db7fd40814610953578063de33dfbe1461096f578063e985e9c51461099a578063f2fde38b146109d757610267565b8063a4d2bee2146107f4578063a7e0122e14610831578063b19960e61461086e578063b88d4fde14610899578063b982f339146108c257610267565b8063880846051161010857806388084605146106f65780638d859f3e1461070d5780638da5cb5b1461073857806395d89b411461076357806399a2557a1461078e578063a22cb465146107cb57610267565b806370a0823114610611578063715018a61461064e5780637ba5e621146106655780637db5db331461067c5780638462151c146106b957610267565b806333bc1c5c116101dd57806355f804b3116101a157806355f804b31461050157806357afb8901461052a5780635bbb2177146105415780635c975abb1461057e5780635e84d723146105a95780636352211e146105d457610267565b806333bc1c5c146104515780633ccfd60b1461047c5780633d7828551461049357806342842e0e146104af5780635437988d146104d857610267565b80631680a1481161022f5780631680a1481461036557806318160ddd146103905780631ffc7524146103bb57806323b872dd146103d25780632a47f799146103fb57806332cb6b0c1461042657610267565b806301ffc9a71461026c57806305ff39f8146102a957806306fdde03146102d4578063081812fc146102ff578063095ea7b31461033c575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613783565b610a00565b6040516102a091906141bd565b60405180910390f35b3480156102b557600080fd5b506102be610a92565b6040516102cb91906141bd565b60405180910390f35b3480156102e057600080fd5b506102e9610aa5565b6040516102f6919061421d565b60405180910390f35b34801561030b57600080fd5b506103266004803603810190610321919061382a565b610b37565b6040516103339190614087565b60405180910390f35b34801561034857600080fd5b50610363600480360381019061035e91906136a3565b610bb6565b005b34801561037157600080fd5b5061037a610cfa565b604051610387919061421d565b60405180910390f35b34801561039c57600080fd5b506103a5610d88565b6040516103b2919061445a565b60405180910390f35b3480156103c757600080fd5b506103d0610d9f565b005b3480156103de57600080fd5b506103f960048036038101906103f4919061358d565b610dfe565b005b34801561040757600080fd5b50610410611123565b60405161041d919061445a565b60405180910390f35b34801561043257600080fd5b5061043b611129565b604051610448919061445a565b60405180910390f35b34801561045d57600080fd5b5061046661112f565b60405161047391906141bd565b60405180910390f35b34801561048857600080fd5b50610491611142565b005b6104ad60048036038101906104a89190613857565b6111c7565b005b3480156104bb57600080fd5b506104d660048036038101906104d1919061358d565b611614565b005b3480156104e457600080fd5b506104ff60048036038101906104fa91906134f3565b611634565b005b34801561050d57600080fd5b50610528600480360381019061052391906137dd565b611680565b005b34801561053657600080fd5b5061053f61169e565b005b34801561054d57600080fd5b5061056860048036038101906105639190613736565b611711565b6040516105759190614179565b60405180910390f35b34801561058a57600080fd5b506105936117d4565b6040516105a091906141bd565b60405180910390f35b3480156105b557600080fd5b506105be6117e7565b6040516105cb919061445a565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f6919061382a565b6117ed565b6040516106089190614087565b60405180910390f35b34801561061d57600080fd5b50610638600480360381019061063391906134f3565b6117ff565b604051610645919061445a565b60405180910390f35b34801561065a57600080fd5b506106636118b8565b005b34801561067157600080fd5b5061067a6118cc565b005b34801561068857600080fd5b506106a3600480360381019061069e9190613736565b611900565b6040516106b09190614157565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906134f3565b6119db565b6040516106ed919061419b565b60405180910390f35b34801561070257600080fd5b5061070b611b25565b005b34801561071957600080fd5b50610722611b59565b60405161072f919061445a565b60405180910390f35b34801561074457600080fd5b5061074d611b64565b60405161075a9190614087565b60405180910390f35b34801561076f57600080fd5b50610778611b8e565b604051610785919061421d565b60405180910390f35b34801561079a57600080fd5b506107b560048036038101906107b091906136e3565b611c20565b6040516107c2919061419b565b60405180910390f35b3480156107d757600080fd5b506107f260048036038101906107ed9190613663565b611e34565b005b34801561080057600080fd5b5061081b6004803603810190610816919061382a565b611fac565b60405161082891906141bd565b60405180910390f35b34801561083d57600080fd5b50610858600480360381019061085391906134f3565b611fcc565b604051610865919061445a565b60405180910390f35b34801561087a57600080fd5b50610883611fe4565b604051610890919061445a565b60405180910390f35b3480156108a557600080fd5b506108c060048036038101906108bb91906135e0565b611fe9565b005b3480156108ce57600080fd5b506108d761205c565b005b3480156108e557600080fd5b5061090060048036038101906108fb919061382a565b612090565b60405161090d919061443f565b60405180910390f35b34801561092257600080fd5b5061093d6004803603810190610938919061382a565b6120fa565b60405161094a919061421d565b60405180910390f35b61096d600480360381019061096891906138e7565b612199565b005b34801561097b57600080fd5b506109846124bf565b604051610991919061445a565b60405180910390f35b3480156109a657600080fd5b506109c160048036038101906109bc919061354d565b6124c5565b6040516109ce91906141bd565b60405180910390f35b3480156109e357600080fd5b506109fe60048036038101906109f991906134f3565b612559565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a5b57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a8b5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600c60029054906101000a900460ff1681565b606060028054610ab4906147aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae0906147aa565b8015610b2d5780601f10610b0257610100808354040283529160200191610b2d565b820191906000526020600020905b815481529060010190602001808311610b1057829003601f168201915b5050505050905090565b6000610b42826125dd565b610b78576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bc1826117ed565b90508073ffffffffffffffffffffffffffffffffffffffff16610be261263c565b73ffffffffffffffffffffffffffffffffffffffff1614610c4557610c0e81610c0961263c565b6124c5565b610c44576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600b8054610d07906147aa565b80601f0160208091040260200160405190810160405280929190818152602001828054610d33906147aa565b8015610d805780601f10610d5557610100808354040283529160200191610d80565b820191906000526020600020905b815481529060010190602001808311610d6357829003601f168201915b505050505081565b6000610d92612644565b6001546000540303905090565b610da7612649565b6000610db1610d88565b14610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de89061435f565b60405180910390fd5b610dfc33600f6126c7565b565b6000610e0982612884565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e70576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e7c84612952565b91509150610e928187610e8d61263c565b612979565b610ede57610ea786610ea261263c565b6124c5565b610edd576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610f45576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f5286868660016129bd565b8015610f5d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061102b856110078888876129c3565b7c0200000000000000000000000000000000000000000000000000000000176129eb565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156110b35760006001850190506000600460008381526020019081526020016000205414156110b15760005481146110b0578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461111b8686866001612a16565b505050505050565b610bb881565b61157c81565b600c60019054906101000a900460ff1681565b61114a612649565b611152611b64565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050506111c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bc906143df565b60405180910390fd5b565b600c60009054906101000a900460ff1615611217576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120e9061433f565b60405180910390fd5b61157c611222610d88565b10611262576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611259906143bf565b60405180910390fd5b600d600085815260200190815260200160002060009054906101000a900460ff16156112c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ba9061441f565b60405180910390fd5b60006112d23386868686612a1c565b9050600c60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b906142df565b60405180910390fd5b60005b848490508110156114b4573373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000a9c454abac6fd0d177af04c92bfd0445c2a99eed73ffffffffffffffffffffffffffffffffffffffff16636352211e8787858181106113d8576113d761491b565b5b905060200201356040518263ffffffff1660e01b81526004016113fb919061445a565b602060405180830381600087803b15801561141557600080fd5b505af1158015611429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144d9190613520565b73ffffffffffffffffffffffffffffffffffffffff16146114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a9061425f565b60405180910390fd5b806114ad9061480d565b9050611367565b506001600d600087815260200190815260200160002060006101000a81548160ff0219169083151502179055507f0000000000000000000000009c1cd634f347d13209e43078c69f087fd145b4b673ffffffffffffffffffffffffffffffffffffffff16639dc29fac3360016040518363ffffffff1660e01b815260040161153d92919061412e565b600060405180830381600087803b15801561155757600080fd5b505af115801561156b573d6000803e3d6000fd5b505050507f000000000000000000000000a9c454abac6fd0d177af04c92bfd0445c2a99eed73ffffffffffffffffffffffffffffffffffffffff1663f3993d113361dead87876040518563ffffffff1660e01b81526004016115d094939291906140a2565b600060405180830381600087803b1580156115ea57600080fd5b505af11580156115fe573d6000803e3d6000fd5b5050505061160d3360016126c7565b5050505050565b61162f83838360405180602001604052806000815250611fe9565b505050565b61163c612649565b80600c60036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611688612649565b8181600b9190611699929190613267565b505050565b6116a6612649565b61157c6116b1610d88565b106116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e8906143bf565b60405180910390fd5b61170f336116fd610d88565b61157c61170a9190614674565b6126c7565b565b6060600083839050905060008167ffffffffffffffff8111156117375761173661494a565b5b60405190808252806020026020018201604052801561177057816020015b61175d6132ed565b8152602001906001900390816117555790505b50905060005b8281146117c85761179f8686838181106117935761179261491b565b5b90506020020135612090565b8282815181106117b2576117b161491b565b5b6020026020010181905250806001019050611776565b50809250505092915050565b600c60009054906101000a900460ff1681565b600a5481565b60006117f882612884565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611867576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6118c0612649565b6118ca6000612a67565b565b6118d4612649565b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b606060008383905067ffffffffffffffff8111156119215761192061494a565b5b60405190808252806020026020018201604052801561194f5781602001602082028036833780820191505090505b50905060005b848490508110156119d057600d60008686848181106119775761197661491b565b5b90506020020135815260200190815260200160002060009054906101000a900460ff168282815181106119ad576119ac61491b565b5b602002602001019015159081151581525050806119c99061480d565b9050611955565b508091505092915050565b606060008060006119eb856117ff565b905060008167ffffffffffffffff811115611a0957611a0861494a565b5b604051908082528060200260200182016040528015611a375781602001602082028036833780820191505090505b509050611a426132ed565b6000611a4c612644565b90505b838614611b1757611a5f81612b2d565b9150816040015115611a7057611b0c565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611ab057816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611b0b5780838780600101985081518110611afe57611afd61491b565b5b6020026020010181815250505b5b806001019050611a4f565b508195505050505050919050565b611b2d612649565b600c60019054906101000a900460ff1615600c60016101000a81548160ff021916908315150217905550565b66c3663566a5800081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611b9d906147aa565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc9906147aa565b8015611c165780601f10611beb57610100808354040283529160200191611c16565b820191906000526020600020905b815481529060010190602001808311611bf957829003601f168201915b5050505050905090565b6060818310611c5b576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611c66612b58565b9050611c70612644565b851015611c8257611c7f612644565b94505b80841115611c8e578093505b6000611c99876117ff565b905084861015611cbc576000868603905081811015611cb6578091505b50611cc1565b600090505b60008167ffffffffffffffff811115611cdd57611cdc61494a565b5b604051908082528060200260200182016040528015611d0b5781602001602082028036833780820191505090505b5090506000821415611d235780945050505050611e2d565b6000611d2e88612090565b905060008160400151611d4357816000015190505b60008990505b888114158015611d595750848714155b15611e1f57611d6781612b2d565b9250826040015115611d7857611e14565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611db857826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e135780848880600101995081518110611e0657611e0561491b565b5b6020026020010181815250505b5b806001019050611d49565b508583528296505050505050505b9392505050565b611e3c61263c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ea1576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611eae61263c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f5b61263c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fa091906141bd565b60405180910390a35050565b600d6020528060005260406000206000915054906101000a900460ff1681565b600e6020528060005260406000206000915090505481565b600281565b611ff4848484610dfe565b60008373ffffffffffffffffffffffffffffffffffffffff163b146120565761201f84848484612b61565b612055576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612064612649565b600c60029054906101000a900460ff1615600c60026101000a81548160ff021916908315150217905550565b6120986132ed565b6120a06132ed565b6120a8612644565b8310806120bc57506120b8612b58565b8310155b156120ca57809150506120f5565b6120d383612b2d565b90508060400151156120e857809150506120f5565b6120f183612cc1565b9150505b919050565b6060612105826125dd565b61213b576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612145612ce1565b90506000815114156121665760405180602001604052806000815250612191565b8061217084612d73565b60405160200161218192919061403d565b6040516020818303038152906040525b915050919050565b600c60009054906101000a900460ff16156121e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e09061429f565b60405180910390fd5b60006121f53383612dc3565b9050600c60039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e906142df565b60405180910390fd5b600c60029054906101000a900460ff1661230b57610bb883600a546122ac91906145c4565b11156122ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e4906143bf565b60405180910390fd5b82600a60008282546122ff91906145c4565b92505081905550612363565b61157c83612317610d88565b61232191906145c4565b1115612362576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612359906143bf565b60405180910390fd5b5b600c60019054906101000a900460ff1661245c57600283600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123c491906145c4565b1115612405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fc9061431f565b60405180910390fd5b82600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461245491906145c4565b925050819055505b3466c3663566a5800084612470919061461a565b146124b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a7906143ff565b60405180910390fd5b6124ba33846126c7565b505050565b60095481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612561612649565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125c8906142bf565b60405180910390fd5b6125da81612a67565b50565b6000816125e8612644565b111580156125f7575060005482105b8015612635575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b612651612e05565b73ffffffffffffffffffffffffffffffffffffffff1661266f611b64565b73ffffffffffffffffffffffffffffffffffffffff16146126c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bc9061439f565b60405180910390fd5b565b6000805490506000821415612708576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61271560008483856129bd565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061278c8361277d60008660006129c3565b61278685612e0d565b176129eb565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461282d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506127f2565b506000821415612869576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061287f6000848385612a16565b505050565b60008082905080612893612644565b1161291b5760005481101561291a5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612918575b600081141561290e5760046000836001900393508381526020019081526020016000205490506128e3565b809250505061294d565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86129da868684612e1d565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612a5c612a5687878787604051602001612a3b9493929190614002565b60405160208183030381529060405280519060200120612e26565b83612e56565b905095945050505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b356132ed565b612b516004600084815260200190815260200160002054612e7d565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b8761263c565b8786866040518563ffffffff1660e01b8152600401612ba994939291906140e2565b602060405180830381600087803b158015612bc357600080fd5b505af1925050508015612bf457506040513d601f19601f82011682018060405250810190612bf191906137b0565b60015b612c6e573d8060008114612c24576040519150601f19603f3d011682016040523d82523d6000602084013e612c29565b606091505b50600081511415612c66576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b612cc96132ed565b612cda612cd583612884565b612e7d565b9050919050565b6060600b8054612cf0906147aa565b80601f0160208091040260200160405190810160405280929190818152602001828054612d1c906147aa565b8015612d695780601f10612d3e57610100808354040283529160200191612d69565b820191906000526020600020905b815481529060010190602001808311612d4c57829003601f168201915b5050505050905090565b606060806040510190508060405280825b600115612daf57600183039250600a81066030018353600a8104905080612daa57612daf565b612d84565b508181036020830392508083525050919050565b6000612dfd612df784604051602001612ddc9190613fe7565b60405160208183030381529060405280519060200120612e26565b83612e56565b905092915050565b600033905090565b60006001821460e11b9050919050565b60009392505050565b600081604051602001612e399190614061565b604051602081830303815290604052805190602001209050919050565b6000806000612e658585612f33565b91509150612e7281612f85565b819250505092915050565b612e856132ed565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b600080604183511415612f755760008060006020860151925060408601519150606086015160001a9050612f698782858561315a565b94509450505050612f7e565b60006002915091505b9250929050565b60006004811115612f9957612f986148bd565b5b816004811115612fac57612fab6148bd565b5b1415612fb757613157565b60016004811115612fcb57612fca6148bd565b5b816004811115612fde57612fdd6148bd565b5b141561301f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130169061423f565b60405180910390fd5b60026004811115613033576130326148bd565b5b816004811115613046576130456148bd565b5b1415613087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307e9061427f565b60405180910390fd5b6003600481111561309b5761309a6148bd565b5b8160048111156130ae576130ad6148bd565b5b14156130ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e6906142ff565b60405180910390fd5b600480811115613102576131016148bd565b5b816004811115613115576131146148bd565b5b1415613156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314d9061437f565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561319557600060039150915061325e565b601b8560ff16141580156131ad5750601c8560ff1614155b156131bf57600060049150915061325e565b6000600187878787604051600081526020016040526040516131e494939291906141d8565b6020604051602081039080840390855afa158015613206573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156132555760006001925092505061325e565b80600092509250505b94509492505050565b828054613273906147aa565b90600052602060002090601f01602090048101928261329557600085556132dc565b82601f106132ae57803560ff19168380011785556132dc565b828001600101855582156132dc579182015b828111156132db5782358255916020019190600101906132c0565b5b5090506132e9919061333c565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561335557600081600090555060010161333d565b5090565b600061336c6133678461449a565b614475565b90508281526020810184848401111561338857613387614988565b5b613393848285614768565b509392505050565b6000813590506133aa81614ce5565b92915050565b6000815190506133bf81614ce5565b92915050565b60008083601f8401126133db576133da61497e565b5b8235905067ffffffffffffffff8111156133f8576133f7614979565b5b60208301915083602082028301111561341457613413614983565b5b9250929050565b60008135905061342a81614cfc565b92915050565b60008135905061343f81614d13565b92915050565b60008151905061345481614d13565b92915050565b600082601f83011261346f5761346e61497e565b5b813561347f848260208601613359565b91505092915050565b60008083601f84011261349e5761349d61497e565b5b8235905067ffffffffffffffff8111156134bb576134ba614979565b5b6020830191508360018202830111156134d7576134d6614983565b5b9250929050565b6000813590506134ed81614d2a565b92915050565b60006020828403121561350957613508614997565b5b60006135178482850161339b565b91505092915050565b60006020828403121561353657613535614997565b5b6000613544848285016133b0565b91505092915050565b6000806040838503121561356457613563614997565b5b60006135728582860161339b565b92505060206135838582860161339b565b9150509250929050565b6000806000606084860312156135a6576135a5614997565b5b60006135b48682870161339b565b93505060206135c58682870161339b565b92505060406135d6868287016134de565b9150509250925092565b600080600080608085870312156135fa576135f9614997565b5b60006136088782880161339b565b94505060206136198782880161339b565b935050604061362a878288016134de565b925050606085013567ffffffffffffffff81111561364b5761364a61498d565b5b6136578782880161345a565b91505092959194509250565b6000806040838503121561367a57613679614997565b5b60006136888582860161339b565b92505060206136998582860161341b565b9150509250929050565b600080604083850312156136ba576136b9614997565b5b60006136c88582860161339b565b92505060206136d9858286016134de565b9150509250929050565b6000806000606084860312156136fc576136fb614997565b5b600061370a8682870161339b565b935050602061371b868287016134de565b925050604061372c868287016134de565b9150509250925092565b6000806020838503121561374d5761374c614997565b5b600083013567ffffffffffffffff81111561376b5761376a61498d565b5b613777858286016133c5565b92509250509250929050565b60006020828403121561379957613798614997565b5b60006137a784828501613430565b91505092915050565b6000602082840312156137c6576137c5614997565b5b60006137d484828501613445565b91505092915050565b600080602083850312156137f4576137f3614997565b5b600083013567ffffffffffffffff8111156138125761381161498d565b5b61381e85828601613488565b92509250509250929050565b6000602082840312156138405761383f614997565b5b600061384e848285016134de565b91505092915050565b6000806000806060858703121561387157613870614997565b5b600061387f878288016134de565b945050602085013567ffffffffffffffff8111156138a05761389f61498d565b5b6138ac878288016133c5565b9350935050604085013567ffffffffffffffff8111156138cf576138ce61498d565b5b6138db8782880161345a565b91505092959194509250565b600080604083850312156138fe576138fd614997565b5b600061390c858286016134de565b925050602083013567ffffffffffffffff81111561392d5761392c61498d565b5b6139398582860161345a565b9150509250929050565b600061394f8383613b92565b60208301905092915050565b60006139678383613edb565b60808301905092915050565b600061397f8383613f94565b60208301905092915050565b613994816146a8565b82525050565b6139a3816146a8565b82525050565b6139ba6139b5826146a8565b614856565b82525050565b60006139cb826144fb565b6139d58185614559565b93506139e0836144cb565b8060005b83811015613a115781516139f88882613943565b9750613a0383614532565b9250506001810190506139e4565b5085935050505092915050565b6000613a2982614506565b613a33818561456a565b9350613a3e836144db565b8060005b83811015613a6f578151613a56888261395b565b9750613a618361453f565b925050600181019050613a42565b5085935050505092915050565b6000613a88838561457b565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115613abb57613aba614992565b5b602083029250613acc838584614768565b82840190509392505050565b6000613ae4838561458c565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115613b1757613b16614992565b5b602083029250613b28838584614768565b82840190509392505050565b6000613b3f82614511565b613b49818561457b565b9350613b54836144eb565b8060005b83811015613b85578151613b6c8882613973565b9750613b778361454c565b925050600181019050613b58565b5085935050505092915050565b613b9b816146ba565b82525050565b613baa816146ba565b82525050565b613bb9816146c6565b82525050565b613bd0613bcb826146c6565b614868565b82525050565b6000613be18261451c565b613beb8185614597565b9350613bfb818560208601614777565b613c048161499c565b840191505092915050565b613c1881614756565b82525050565b6000613c2982614527565b613c3381856145a8565b9350613c43818560208601614777565b613c4c8161499c565b840191505092915050565b6000613c6282614527565b613c6c81856145b9565b9350613c7c818560208601614777565b80840191505092915050565b6000613c956018836145a8565b9150613ca0826149ba565b602082019050919050565b6000613cb8600f836145a8565b9150613cc3826149e3565b602082019050919050565b6000613cdb601f836145a8565b9150613ce682614a0c565b602082019050919050565b6000613cfe601c836145b9565b9150613d0982614a35565b601c82019050919050565b6000613d21600e836145a8565b9150613d2c82614a5e565b602082019050919050565b6000613d446026836145a8565b9150613d4f82614a87565b604082019050919050565b6000613d676011836145a8565b9150613d7282614ad6565b602082019050919050565b6000613d8a6022836145a8565b9150613d9582614aff565b604082019050919050565b6000613dad601b836145a8565b9150613db882614b4e565b602082019050919050565b6000613dd0600d836145a8565b9150613ddb82614b77565b602082019050919050565b6000613df36011836145a8565b9150613dfe82614ba0565b602082019050919050565b6000613e166022836145a8565b9150613e2182614bc9565b604082019050919050565b6000613e396020836145a8565b9150613e4482614c18565b602082019050919050565b6000613e5c6012836145a8565b9150613e6782614c41565b602082019050919050565b6000613e7f6015836145a8565b9150613e8a82614c6a565b602082019050919050565b6000613ea26019836145a8565b9150613ead82614c93565b602082019050919050565b6000613ec56010836145a8565b9150613ed082614cbc565b602082019050919050565b608082016000820151613ef1600085018261398b565b506020820151613f046020850182613fc9565b506040820151613f176040850182613b92565b506060820151613f2a6060850182613f85565b50505050565b608082016000820151613f46600085018261398b565b506020820151613f596020850182613fc9565b506040820151613f6c6040850182613b92565b506060820151613f7f6060850182613f85565b50505050565b613f8e8161471c565b82525050565b613f9d8161472b565b82525050565b613fac8161472b565b82525050565b613fc3613fbe8261472b565b614884565b82525050565b613fd281614735565b82525050565b613fe181614749565b82525050565b6000613ff382846139a9565b60148201915081905092915050565b600061400e82876139a9565b60148201915061401e8286613fb2565b60208201915061402f828486613ad8565b915081905095945050505050565b60006140498285613c57565b91506140558284613c57565b91508190509392505050565b600061406c82613cf1565b91506140788284613bbf565b60208201915081905092915050565b600060208201905061409c600083018461399a565b92915050565b60006060820190506140b7600083018761399a565b6140c4602083018661399a565b81810360408301526140d7818486613a7c565b905095945050505050565b60006080820190506140f7600083018761399a565b614104602083018661399a565b6141116040830185613fa3565b81810360608301526141238184613bd6565b905095945050505050565b6000604082019050614143600083018561399a565b6141506020830184613c0f565b9392505050565b6000602082019050818103600083015261417181846139c0565b905092915050565b600060208201905081810360008301526141938184613a1e565b905092915050565b600060208201905081810360008301526141b58184613b34565b905092915050565b60006020820190506141d26000830184613ba1565b92915050565b60006080820190506141ed6000830187613bb0565b6141fa6020830186613fd8565b6142076040830185613bb0565b6142146060830184613bb0565b95945050505050565b600060208201905081810360008301526142378184613c1e565b905092915050565b6000602082019050818103600083015261425881613c88565b9050919050565b6000602082019050818103600083015261427881613cab565b9050919050565b6000602082019050818103600083015261429881613cce565b9050919050565b600060208201905081810360008301526142b881613d14565b9050919050565b600060208201905081810360008301526142d881613d37565b9050919050565b600060208201905081810360008301526142f881613d5a565b9050919050565b6000602082019050818103600083015261431881613d7d565b9050919050565b6000602082019050818103600083015261433881613da0565b9050919050565b6000602082019050818103600083015261435881613dc3565b9050919050565b6000602082019050818103600083015261437881613de6565b9050919050565b6000602082019050818103600083015261439881613e09565b9050919050565b600060208201905081810360008301526143b881613e2c565b9050919050565b600060208201905081810360008301526143d881613e4f565b9050919050565b600060208201905081810360008301526143f881613e72565b9050919050565b6000602082019050818103600083015261441881613e95565b9050919050565b6000602082019050818103600083015261443881613eb8565b9050919050565b60006080820190506144546000830184613f30565b92915050565b600060208201905061446f6000830184613fa3565b92915050565b600061447f614490565b905061448b82826147dc565b919050565b6000604051905090565b600067ffffffffffffffff8211156144b5576144b461494a565b5b6144be8261499c565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006145cf8261472b565b91506145da8361472b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561460f5761460e61488e565b5b828201905092915050565b60006146258261472b565b91506146308361472b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146695761466861488e565b5b828202905092915050565b600061467f8261472b565b915061468a8361472b565b92508282101561469d5761469c61488e565b5b828203905092915050565b60006146b3826146fc565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062ffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b600060ff82169050919050565b60006147618261472b565b9050919050565b82818337600083830152505050565b60005b8381101561479557808201518184015260208101905061477a565b838111156147a4576000848401525b50505050565b600060028204905060018216806147c257607f821691505b602082108114156147d6576147d56148ec565b5b50919050565b6147e58261499c565b810181811067ffffffffffffffff821117156148045761480361494a565b5b80604052505050565b60006148188261472b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561484b5761484a61488e565b5b600182019050919050565b600061486182614872565b9050919050565b6000819050919050565b600061487d826149ad565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4e6f742044726f6964206f776e65720000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4d696e74696e6720706175736564000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d6178206d696e74207065722077616c6c657420726561636865640000000000600082015250565b7f467573696f6e2070617573656400000000000000000000000000000000000000600082015250565b7f416c726561647920636f6c6c6563746564000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45786365646573206d617820737570706c790000000000000000000000000000600082015250565b7f576974686472617720756e7375636365737366756c0000000000000000000000600082015250565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b7f41706520616c7265616479207573656400000000000000000000000000000000600082015250565b614cee816146a8565b8114614cf957600080fd5b50565b614d05816146ba565b8114614d1057600080fd5b50565b614d1c816146d0565b8114614d2757600080fd5b50565b614d338161472b565b8114614d3e57600080fd5b5056fea2646970667358221220634b41538a87f07f7e20afad374ac36323389c637ef2b73944c24296b4205f7864736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000a9c454abac6fd0d177af04c92bfd0445c2a99eed0000000000000000000000009c1cd634f347d13209e43078c69f087fd145b4b6

-----Decoded View---------------
Arg [0] : _droidInvadersContract (address): 0xA9C454aBaC6fd0D177AF04c92bfD0445C2A99Eed
Arg [1] : _nanoTechChipsContract (address): 0x9c1CD634f347d13209E43078C69f087Fd145B4b6

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a9c454abac6fd0d177af04c92bfd0445c2a99eed
Arg [1] : 0000000000000000000000009c1cd634f347d13209e43078c69f087fd145b4b6


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.