ETH Price: $2,475.77 (+0.81%)
 

Overview

Max Total Supply

1,000 CHIMERA

Holders

269

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
4 CHIMERA
0x6321F49B3a9182Be7cB57De40bbf8117E37668d2
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CHIMERATIVE

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

/*
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCD .CCC#! CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CHIMERATIVE MONSTERS CCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCC^  CCCCC  CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCC#  .CCCCC  .HCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCN   TCCCC.   ?CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
HHHHHHHHHHHHHHHHHH[   ?HHHH,    ?HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHH"!    _7WHHHN     THHH      THHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHH=                              (HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHD ..+e                            (HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHgHHHH^ .JHH^ ...,.                 /HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
IIIII#.JIIIIiJIIIIIII                 ,IIIIIIIIIIIIIII""""""""IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIb                  ?"IIII""!`                `7"IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIF                          ...gNNIIIINNg..        "IIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIb WIIPTIIII@                       ..IIIIIIIIIIIIIIIIIN,        ,WIIIIIIIIIIIIIIIIIIIIIIIjII
IIIIN, ?WB  ?I@  !!                      ..IIIIIIIIIIIIIIIIIIIIIIN,        -TIIIIIIIIIIIIIIIIIIIII II
MMMMMMMa..          ...                .uMMMMMMMMMMMMMMMMMMMMMMMMMMN,         7HMMMMMMMMMMMMMMMM= .MM
MMMMMMMMMMMNgggggMMMMMMMe             .MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMN,         .7MMMMMMMMMMM"! ..MMM
MMMMMMMMMMMMMMMMMMMMMMMMM;           +MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMe           _"HM#B"!  .gMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMA          dMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM,              ..MMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMF         JMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNg.,......gMMMMMMMMMMMMM
EEEEEEEEEEEEEEEEEEEEEEEEE!        .EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEE@        .EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEE]        .EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEE         dEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEE#         EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
RRRRRRRRRRRRRRRRRRRRRRR@        .RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRR@        .RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRR@        .RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRN         RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
RRRRRRRRRRRRRRRRRRRRRRRR         JRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
AAAAAAAAAAAAAAAAAAAAAAAA]        .AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAA         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAA,        -AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAN         dAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAp         AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAx        .AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA  AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAx        .WAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=  .AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAA,         ?AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA#   (AAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA          ?AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA^  .dAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN,          .WAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"   .AAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN.           ?WAAAAAAAAAAAAAAAAAAAAAAAAA^   .dAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN,.           ?TAAAAAAAAAAAAAAAAA#"`    .dAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAN..             _?"""""""=?       .&AAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAg(..                       .gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaa-.................AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
*/

pragma solidity ^0.8.9;
import "./standby.sol";

contract CHIMERATIVE is STANDBY {}

File 2 of 16 : standby.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "./token.sol";

contract STANDBY is TOKEN {
    bool public standbyStart;
    mapping(uint256 => bool) private _standbyStatus;
    mapping(uint256 => uint256) private _transactionCount;

    function _beforeTokenTransfers(
        address _from,
        address _to,
        uint256 _startTokenId,
        uint256 _quantity
    ) internal override(ERC721A) {
        for (uint256 i = 0; i < _quantity; i++) {
            uint256 tokenId = _startTokenId + i;
            if (_standbyStatus[tokenId]) {
                _standbyStatus[tokenId] = false;
            }

            if (msg.sender != _to) {
                _transactionCount[tokenId]++;
            }
        }

        super._beforeTokenTransfers(_from, _to, _startTokenId, _quantity);
    }

    function _toggleStandby(uint256 _tokenId) private {
        address owner = ownerOf(_tokenId);
        require(
            owner == msg.sender,
            "You can change the Chimera status only owners"
        );

        if (_standbyStatus[_tokenId]) {
            _standbyStatus[_tokenId] = false;
        } else {
            _standbyStatus[_tokenId] = true;
        }
    }

    function toggleStandby(uint256[] calldata _tokenIds) external {
        require(standbyStart, "This feature is not yet available.");

        uint256 n = _tokenIds.length;
        for (uint256 i = 0; i < n; ) {
            _toggleStandby(_tokenIds[i]);
            unchecked {
                i++;
            }
        }
    }

    function setStandbyStart(bool _state) public onlyOwner {
        standbyStart = _state;
    }

    function getStandbyStatus(uint256 _tokenId) external view returns (bool) {
        return _standbyStatus[_tokenId];
    }

    function getTransactionCount(uint256 _tokenId)
        external
        view
        returns (uint256)
    {
        return _transactionCount[_tokenId];
    }
}

File 3 of 16 : token.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";

contract TOKEN is ERC721AQueryable, ERC2981, Ownable, ReentrancyGuard {
    using Strings for uint256;

    string private _baseTokenURI;
    uint256 public maxSupply = 1000;
    uint256 public prePrice = 0.02 ether;
    uint256 public pubPrice = 0.04 ether;

    bool public preSaleStart;
    bool public pubSaleStart;
    bool public revealed;

    uint256 public mintLimit = 3;

    string public notRevealedURI =
        "https://utgddupxklcytipfc7pdc4dteiypkzrvnrxgser4lc5tmtqzafvq.arweave.net/pMwx0fdSxYmh5RfeMXBzIjD1ZjVsbmkSPFi7Nk4ZAWs";
    bytes32 public merkleRoot;

    address public royaltyAddress = 0xd2Cf1aa09dC1494E43a74cDa7Dc75c8d54E3099B;
    uint96 public royaltyFee = 1000;

    mapping(address => uint256) public claimed;
    mapping(uint256 => uint8) private _mintType;

    constructor() ERC721A("Chimerative monsters", "CHIMERA") {
        _setDefaultRoyalty(msg.sender, royaltyFee);

        _mintERC2309(0xd2Cf1aa09dC1494E43a74cDa7Dc75c8d54E3099B, 70);
        _mintERC2309(0x00E21fa5FDE28DE9217a112D35b51452FdC726e9, 30);
        _mintERC2309(0x253058B7F0fF2C6218dB7569cE1d399F7183E355, 20);
        _mintERC2309(0xed14275FeB016186482dD03cd7BE4E9E47EE6c07, 20);
        _mintERC2309(0x9290FF032035aAD6e84B7A63c2cf9BEE31dd1742, 1);
        _mintERC2309(0x3168ad7BEED95C5F58356Ca3c9aA961E57b1b48C, 1);
        _mintERC2309(0xd08162a6DF30f29DB70c2a393cDB42a0314A170a, 1);
        _mintERC2309(0x7eBEd76432dB76A8Dfe7221fA29f5D4f8Eb0a1E5, 1);
        _mintERC2309(0x292E4d6aB815F410819b4472100F08423BE378B8, 1);
        _mintERC2309(0x233C05a9De5C2c9975bD494CA725f415DD6956D2, 1);
        _mintERC2309(0xBAa98fe972144EF1DE53b801045CEc5A291cB30E, 1);
    }

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

    function pubMint(uint256 _quantity) public payable nonReentrant {
        uint256 supply = totalSupply();
        uint256 cost = pubPrice * _quantity;
        require(pubSaleStart, "Presale is active");
        _mintCheck(_quantity, supply, cost);

        claimed[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
        for (uint256 i = 0; i < _quantity; ) {
            uint256 tokenId = supply + i;
            _mintType[tokenId] = 1;
            unchecked {
                i++;
            }
        }
    }

    function preMint(uint256 _quantity, bytes32[] calldata _merkleProof)
        public
        payable
        nonReentrant
    {
        uint256 supply = totalSupply();
        uint256 cost = prePrice * _quantity;
        require(preSaleStart, "Presale is not active");
        _mintCheck(_quantity, supply, cost);

        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

        require(
            MerkleProof.verify(_merkleProof, merkleRoot, leaf),
            "Invalid Merkle Proof"
        );

        claimed[msg.sender] += _quantity;
        _safeMint(msg.sender, _quantity);
    }

    function _mintCheck(
        uint256 _quantity,
        uint256 _supply,
        uint256 _cost
    ) private view {
        require(_quantity > 0, "Mint quantity cannot be zero");
        require(_supply + _quantity <= maxSupply, "Max supply over");
        require(msg.value >= _cost, "Not enough funds");
        require(_quantity <= mintLimit, "Mint quantity over");
        require(
            claimed[msg.sender] + _quantity <= mintLimit,
            "Already claimed max"
        );
    }

    function ownerMint(address _address, uint256 _quantity) public onlyOwner {
        uint256 supply = totalSupply();
        require(_quantity > 0, "Mint quantity cannot be zero");
        require(supply + _quantity <= maxSupply, "Max supply over");
        _safeMint(_address, _quantity);

        for (uint256 i = 0; i < _quantity; ) {
            uint256 tokenId = supply + i;
            _mintType[tokenId] = 0;
            unchecked {
                i++;
            }
        }
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override(ERC721A)
        returns (string memory)
    {
        require(_exists(_tokenId), "URI query for nonexistent token");

        if (revealed) {
            string memory baseURI = _baseURI();
            return
                bytes(baseURI).length > 0
                    ? string(
                        abi.encodePacked(baseURI, _tokenId.toString(), ".json")
                    )
                    : "";
        } else {
            return notRevealedURI;
        }
    }

    function checkMintType(uint256 _tokenId) external view returns (uint8) {
        require(_exists(_tokenId), "nonexistent token");
        return _mintType[_tokenId];
    }

    // only owner
    function setNotRevealedURI(string memory _uri) public onlyOwner {
        notRevealedURI = _uri;
    }

    function setBaseURI(string calldata _uri) external onlyOwner {
        _baseTokenURI = _uri;
    }

    function setMaxSupply(uint256 _supply) public onlyOwner {
        maxSupply = _supply;
    }

    function setPrePrice(uint256 _price) public onlyOwner {
        prePrice = _price;
    }

    function setPubPrice(uint256 _price) public onlyOwner {
        pubPrice = _price;
    }

    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setPresale(bool _state) public onlyOwner {
        preSaleStart = _state;
    }

    function setPubsale(bool _state) public onlyOwner {
        pubSaleStart = _state;
    }

    function setMintLimit(uint256 _quantity) public onlyOwner {
        mintLimit = _quantity;
    }

    function setMintType(uint256 _tokenId, uint8 _type) public onlyOwner {
        _mintType[_tokenId] = _type;
    }

    function switchReveal() public onlyOwner {
        revealed = !revealed;
    }

    function withdrawRevenueShare() external onlyOwner {
        uint256 sendAmount = address(this).balance;

        address cre = payable(0x00E21fa5FDE28DE9217a112D35b51452FdC726e9);
        address dev = payable(0x253058B7F0fF2C6218dB7569cE1d399F7183E355);
        address mer = payable(0xed14275FeB016186482dD03cd7BE4E9E47EE6c07);

        bool success;

        (success, ) = cre.call{value: ((sendAmount * 6000) / 10000)}("");
        require(success, "Failed to withdraw Ether");

        (success, ) = dev.call{value: ((sendAmount * 2000) / 10000)}("");
        require(success, "Failed to withdraw Ether");

        (success, ) = mer.call{value: ((sendAmount * 2000) / 10000)}("");
        require(success, "Failed to withdraw Ether");
    }

    // Royality
    function setRoyaltyFee(uint96 _feeNumerator) external onlyOwner {
        royaltyFee = _feeNumerator;
        _setDefaultRoyalty(royaltyAddress, royaltyFee);
    }

    function setRoyaltyAddress(address _royaltyAddress) external onlyOwner {
        royaltyAddress = _royaltyAddress;
        _setDefaultRoyalty(royaltyAddress, royaltyFee);
    }

    function supportsInterface(bytes4 _interfaceId)
        public
        view
        virtual
        override(ERC721A, ERC2981)
        returns (bool)
    {
        // Supports the following `interfaceId`s:
        // - IERC165: 0x01ffc9a7
        // - IERC721: 0x80ac58cd
        // - IERC721Metadata: 0x5b5e139f
        // - IERC2981: 0x2a55205a
        return
            ERC721A.supportsInterface(_interfaceId) ||
            ERC2981.supportsInterface(_interfaceId);
    }
}

File 4 of 16 : 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 16 : 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 6 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 7 of 16 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 8 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 9 of 16 : 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 10 of 16 : 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;
    }
}

File 11 of 16 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 12 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 13 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 14 of 16 : 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 15 of 16 : 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 16 of 16 : 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);
}

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

Contract Security Audit

Contract ABI

[{"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":[{"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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"checkMintType","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getStandbyStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTransactionCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"prePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"pubMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pubPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pubSaleStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFee","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint8","name":"_type","type":"uint8"}],"name":"setMintType","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPubPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPubsale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"}],"name":"setRoyaltyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setStandbyStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"standbyStart","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"switchReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"toggleStandby","outputs":[],"stateMutability":"nonpayable","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":[],"name":"withdrawRevenueShare","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526103e8600d5566470de4df820000600e55668e1bc9bf040000600f5560036011556040518060a0016040528060748152602001620067e2607491396012908051906020019062000056929190620009e3565b5073d2cf1aa09dc1494e43a74cda7dc75c8d54e3099b601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506103e86014806101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550348015620000eb57600080fd5b506040518060400160405280601481526020017f4368696d65726174697665206d6f6e73746572730000000000000000000000008152506040518060400160405280600781526020017f4348494d45524100000000000000000000000000000000000000000000000000815250816002908051906020019062000170929190620009e3565b50806003908051906020019062000189929190620009e3565b506200019a620003a660201b60201c565b6000819055505050620001c2620001b6620003ab60201b60201c565b620003b360201b60201c565b6001600b81905550620001f43360148054906101000a90046bffffffffffffffffffffffff166200047960201b60201c565b6200021b73d2cf1aa09dc1494e43a74cda7dc75c8d54e3099b60466200061d60201b60201c565b6200024172e21fa5fde28de9217a112d35b51452fdc726e9601e6200061d60201b60201c565b6200026873253058b7f0ff2c6218db7569ce1d399f7183e35560146200061d60201b60201c565b6200028f73ed14275feb016186482dd03cd7be4e9e47ee6c0760146200061d60201b60201c565b620002b6739290ff032035aad6e84b7a63c2cf9bee31dd174260016200061d60201b60201c565b620002dd733168ad7beed95c5f58356ca3c9aa961e57b1b48c60016200061d60201b60201c565b6200030473d08162a6df30f29db70c2a393cdb42a0314a170a60016200061d60201b60201c565b6200032b737ebed76432db76a8dfe7221fa29f5d4f8eb0a1e560016200061d60201b60201c565b6200035273292e4d6ab815f410819b4472100f08423be378b860016200061d60201b60201c565b6200037973233c05a9de5c2c9975bd494ca725f415dd6956d260016200061d60201b60201c565b620003a073baa98fe972144ef1de53b801045cec5a291cb30e60016200061d60201b60201c565b62000d25565b600090565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004896200085060201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115620004ea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004e19062000b1a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200055d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005549062000b8c565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156200068b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415620006c7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61138882111562000704576040517f3db1f9af00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200071960008483856200085a60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550620007a8836200078a60008660006200096360201b60201c565b6200079b856200099360201b60201c565b17620009a360201b60201c565b60046000838152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16827fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d60018686010360405162000825919062000bc9565b60405180910390a48181016000819055506200084b6000848385620009ce60201b60201c565b505050565b6000612710905090565b60005b8181101562000943576000818462000876919062000c15565b90506018600082815260200190815260200160002060009054906101000a900460ff1615620008cc5760006018600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146200092c57601960008281526020019081526020016000206000815480929190620009269062000c72565b91905055505b5080806200093a9062000c72565b9150506200085d565b506200095d84848484620009d460201b62002c2c1760201c565b50505050565b60008060e883901c905060e862000982868684620009da60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b50505050565b60009392505050565b828054620009f19062000cef565b90600052602060002090601f01602090048101928262000a15576000855562000a61565b82601f1062000a3057805160ff191683800117855562000a61565b8280016001018555821562000a61579182015b8281111562000a6057825182559160200191906001019062000a43565b5b50905062000a70919062000a74565b5090565b5b8082111562000a8f57600081600090555060010162000a75565b5090565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000b02602a8362000a93565b915062000b0f8262000aa4565b604082019050919050565b6000602082019050818103600083015262000b358162000af3565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000b7460198362000a93565b915062000b818262000b3c565b602082019050919050565b6000602082019050818103600083015262000ba78162000b65565b9050919050565b6000819050919050565b62000bc38162000bae565b82525050565b600060208201905062000be0600083018462000bb8565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000c228262000bae565b915062000c2f8362000bae565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000c675762000c6662000be6565b5b828201905092915050565b600062000c7f8262000bae565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000cb55762000cb462000be6565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000d0857607f821691505b6020821081141562000d1f5762000d1e62000cc0565b5b50919050565b615aad8062000d356000396000f3fe6080604052600436106103765760003560e01c80638da5cb5b116101d1578063c54e73e311610102578063dcd5994e116100a0578063f2c4ce1e1161006f578063f2c4ce1e14610cf5578063f2fde38b14610d1e578063fd3fde2b14610d47578063fd56b42a14610d7057610376565b8063dcd5994e14610c4d578063e567cad614610c76578063e985e9c514610ca1578063ec5a2d4514610cde57610376565b8063c884ef83116100dc578063c884ef8314610b91578063c8db919214610bce578063cfd9480b14610bf7578063d5abeb0114610c2257610376565b8063c54e73e314610b02578063c835990e14610b2b578063c87b56dd14610b5457610376565b8063ad2f852a1161016f578063bddb7be711610149578063bddb7be714610a53578063c1d9df8d14610a7e578063c23dc68f14610a9a578063c3e2400314610ad757610376565b8063ad2f852a146109d4578063b88d4fde146109ff578063b8997a9714610a2857610376565b806399a2557a116101ab57806399a2557a1461092e5780639e6a1d7d1461096b578063a22cb46514610994578063aa38cd32146109bd57610376565b80638da5cb5b146108ad57806395d89b41146108d8578063996517cf1461090357610376565b806342842e0e116102ab5780636352211e11610249578063715018a611610223578063715018a614610805578063722503801461081c5780637cb64759146108475780638462151c1461087057610376565b80636352211e146107625780636f8b44b01461079f57806370a08231146107c857610376565b8063518302271161028557806351830227146106b557806355f804b3146106e05780635a546223146107095780635bbb21771461072557610376565b806342842e0e1461062657806344b021a31461064f578063484b973c1461068c57610376565b80631ad4de59116103185780632eb4a7ab116102f25780632eb4a7ab14610558578063317ddea31461058357806331faafb4146105c05780633de5d0de146105e957610376565b80631ad4de59146104c857806323b872dd146104f15780632a55205a1461051a57610376565b8063081812fc11610354578063081812fc1461040c578063095ea7b3146104495780630d5624b31461047257806318160ddd1461049d57610376565b806301ffc9a71461037b57806306d254da146103b857806306fdde03146103e1575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d9190613fb7565b610d99565b6040516103af9190613fff565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da9190614078565b610dbb565b005b3480156103ed57600080fd5b506103f6610e4b565b604051610403919061413e565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190614196565b610edd565b60405161044091906141d2565b60405180910390f35b34801561045557600080fd5b50610470600480360381019061046b91906141ed565b610f5c565b005b34801561047e57600080fd5b506104876110a0565b6040516104949190613fff565b60405180910390f35b3480156104a957600080fd5b506104b26110b3565b6040516104bf919061423c565b60405180910390f35b3480156104d457600080fd5b506104ef60048036038101906104ea9190614283565b6110ca565b005b3480156104fd57600080fd5b50610518600480360381019061051391906142b0565b6110ef565b005b34801561052657600080fd5b50610541600480360381019061053c9190614303565b611414565b60405161054f929190614343565b60405180910390f35b34801561056457600080fd5b5061056d6115ff565b60405161057a9190614385565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a59190614196565b611605565b6040516105b791906143bc565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e2919061441b565b611677565b005b3480156105f557600080fd5b50610610600480360381019061060b9190614196565b6116f6565b60405161061d919061423c565b60405180910390f35b34801561063257600080fd5b5061064d600480360381019061064891906142b0565b611713565b005b34801561065b57600080fd5b5061067660048036038101906106719190614196565b611733565b6040516106839190613fff565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae91906141ed565b61175d565b005b3480156106c157600080fd5b506106ca61186a565b6040516106d79190613fff565b60405180910390f35b3480156106ec57600080fd5b50610707600480360381019061070291906144ad565b61187d565b005b610723600480360381019061071e9190614550565b61189b565b005b34801561073157600080fd5b5061074c60048036038101906107479190614606565b611a89565b60405161075991906147b6565b60405180910390f35b34801561076e57600080fd5b5061078960048036038101906107849190614196565b611b4c565b60405161079691906141d2565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c19190614196565b611b5e565b005b3480156107d457600080fd5b506107ef60048036038101906107ea9190614078565b611b70565b6040516107fc919061423c565b60405180910390f35b34801561081157600080fd5b5061081a611c29565b005b34801561082857600080fd5b50610831611c3d565b60405161083e919061413e565b60405180910390f35b34801561085357600080fd5b5061086e60048036038101906108699190614804565b611ccb565b005b34801561087c57600080fd5b5061089760048036038101906108929190614078565b611cdd565b6040516108a491906148ef565b60405180910390f35b3480156108b957600080fd5b506108c2611e27565b6040516108cf91906141d2565b60405180910390f35b3480156108e457600080fd5b506108ed611e51565b6040516108fa919061413e565b60405180910390f35b34801561090f57600080fd5b50610918611ee3565b604051610925919061423c565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190614911565b611ee9565b60405161096291906148ef565b60405180910390f35b34801561097757600080fd5b50610992600480360381019061098d9190614196565b6120fd565b005b3480156109a057600080fd5b506109bb60048036038101906109b69190614964565b61210f565b005b3480156109c957600080fd5b506109d2612287565b005b3480156109e057600080fd5b506109e9612539565b6040516109f691906141d2565b60405180910390f35b348015610a0b57600080fd5b50610a266004803603810190610a219190614ad4565b61255f565b005b348015610a3457600080fd5b50610a3d6125d2565b604051610a4a9190614b66565b60405180910390f35b348015610a5f57600080fd5b50610a686125ee565b604051610a75919061423c565b60405180910390f35b610a986004803603810190610a939190614196565b6125f4565b005b348015610aa657600080fd5b50610ac16004803603810190610abc9190614196565b61277e565b604051610ace9190614bd6565b60405180910390f35b348015610ae357600080fd5b50610aec6127e8565b604051610af99190613fff565b60405180910390f35b348015610b0e57600080fd5b50610b296004803603810190610b249190614283565b6127fb565b005b348015610b3757600080fd5b50610b526004803603810190610b4d9190614196565b612820565b005b348015610b6057600080fd5b50610b7b6004803603810190610b769190614196565b612832565b604051610b88919061413e565b60405180910390f35b348015610b9d57600080fd5b50610bb86004803603810190610bb39190614078565b612981565b604051610bc5919061423c565b60405180910390f35b348015610bda57600080fd5b50610bf56004803603810190610bf09190614606565b612999565b005b348015610c0357600080fd5b50610c0c612a30565b604051610c199190613fff565b60405180910390f35b348015610c2e57600080fd5b50610c37612a43565b604051610c44919061423c565b60405180910390f35b348015610c5957600080fd5b50610c746004803603810190610c6f9190614196565b612a49565b005b348015610c8257600080fd5b50610c8b612a5b565b604051610c98919061423c565b60405180910390f35b348015610cad57600080fd5b50610cc86004803603810190610cc39190614bf1565b612a61565b604051610cd59190613fff565b60405180910390f35b348015610cea57600080fd5b50610cf3612af5565b005b348015610d0157600080fd5b50610d1c6004803603810190610d179190614cd2565b612b29565b005b348015610d2a57600080fd5b50610d456004803603810190610d409190614078565b612b4b565b005b348015610d5357600080fd5b50610d6e6004803603810190610d699190614283565b612bcf565b005b348015610d7c57600080fd5b50610d976004803603810190610d929190614d47565b612bf4565b005b6000610da482612c32565b80610db45750610db382612cc4565b5b9050919050565b610dc3612d3e565b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610e48601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660148054906101000a90046bffffffffffffffffffffffff16612dbc565b50565b606060028054610e5a90614db6565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8690614db6565b8015610ed35780601f10610ea857610100808354040283529160200191610ed3565b820191906000526020600020905b815481529060010190602001808311610eb657829003601f168201915b5050505050905090565b6000610ee882612f52565b610f1e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f6782611b4c565b90508073ffffffffffffffffffffffffffffffffffffffff16610f88612fb1565b73ffffffffffffffffffffffffffffffffffffffff1614610feb57610fb481610faf612fb1565b612a61565b610fea576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601060009054906101000a900460ff1681565b60006110bd612fb9565b6001546000540303905090565b6110d2612d3e565b80601060016101000a81548160ff02191690831515021790555050565b60006110fa82612fbe565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611161576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061116d8461308c565b91509150611183818761117e612fb1565b6130b3565b6111cf5761119886611193612fb1565b612a61565b6111ce576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611236576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61124386868660016130f7565b801561124e57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061131c856112f88888876131e9565b7c020000000000000000000000000000000000000000000000000000000017613211565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156113a45760006001850190506000600460008381526020019081526020016000205414156113a25760005481146113a1578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461140c868686600161323c565b505050505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156115aa5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006115b4613242565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866115e09190614e17565b6115ea9190614ea0565b90508160000151819350935050509250929050565b60135481565b600061161082612f52565b61164f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164690614f1d565b60405180910390fd5b6016600083815260200190815260200160002060009054906101000a900460ff169050919050565b61167f612d3e565b806014806101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506116f3601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660148054906101000a90046bffffffffffffffffffffffff16612dbc565b50565b600060196000838152602001908152602001600020549050919050565b61172e8383836040518060200160405280600081525061255f565b505050565b60006018600083815260200190815260200160002060009054906101000a900460ff169050919050565b611765612d3e565b600061176f6110b3565b9050600082116117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90614f89565b60405180910390fd5b600d5482826117c39190614fa9565b1115611804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb9061504b565b60405180910390fd5b61180e838361324c565b60005b8281101561186457600081836118279190614fa9565b905060006016600083815260200190815260200160002060006101000a81548160ff021916908360ff160217905550818060010192505050611811565b50505050565b601060029054906101000a900460ff1681565b611885612d3e565b8181600c9190611896929190613dd3565b505050565b6002600b5414156118e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d8906150b7565b60405180910390fd5b6002600b8190555060006118f36110b3565b9050600084600e546119059190614e17565b9050601060009054906101000a900460ff16611956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194d90615123565b60405180910390fd5b61196185838361326a565b600033604051602001611974919061518b565b6040516020818303038152906040528051906020012090506119da858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060135483613419565b611a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a10906151f2565b60405180910390fd5b85601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a689190614fa9565b92505081905550611a79338761324c565b5050506001600b81905550505050565b6060600083839050905060008167ffffffffffffffff811115611aaf57611aae6149a9565b5b604051908082528060200260200182016040528015611ae857816020015b611ad5613e59565b815260200190600190039081611acd5790505b50905060005b828114611b4057611b17868683818110611b0b57611b0a615212565b5b9050602002013561277e565b828281518110611b2a57611b29615212565b5b6020026020010181905250806001019050611aee565b50809250505092915050565b6000611b5782612fbe565b9050919050565b611b66612d3e565b80600d8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bd8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c31612d3e565b611c3b6000613430565b565b60128054611c4a90614db6565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7690614db6565b8015611cc35780601f10611c9857610100808354040283529160200191611cc3565b820191906000526020600020905b815481529060010190602001808311611ca657829003601f168201915b505050505081565b611cd3612d3e565b8060138190555050565b60606000806000611ced85611b70565b905060008167ffffffffffffffff811115611d0b57611d0a6149a9565b5b604051908082528060200260200182016040528015611d395781602001602082028036833780820191505090505b509050611d44613e59565b6000611d4e612fb9565b90505b838614611e1957611d61816134f6565b9150816040015115611d7257611e0e565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611db257816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611e0d5780838780600101985081518110611e0057611dff615212565b5b6020026020010181815250505b5b806001019050611d51565b508195505050505050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611e6090614db6565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8c90614db6565b8015611ed95780601f10611eae57610100808354040283529160200191611ed9565b820191906000526020600020905b815481529060010190602001808311611ebc57829003601f168201915b5050505050905090565b60115481565b6060818310611f24576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611f2f613521565b9050611f39612fb9565b851015611f4b57611f48612fb9565b94505b80841115611f57578093505b6000611f6287611b70565b905084861015611f85576000868603905081811015611f7f578091505b50611f8a565b600090505b60008167ffffffffffffffff811115611fa657611fa56149a9565b5b604051908082528060200260200182016040528015611fd45781602001602082028036833780820191505090505b5090506000821415611fec57809450505050506120f6565b6000611ff78861277e565b90506000816040015161200c57816000015190505b60008990505b8881141580156120225750848714155b156120e857612030816134f6565b9250826040015115612041576120dd565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461208157826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120dc57808488806001019950815181106120cf576120ce615212565b5b6020026020010181815250505b5b806001019050612012565b508583528296505050505050505b9392505050565b612105612d3e565b8060118190555050565b612117612fb1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561217c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612189612fb1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612236612fb1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161227b9190613fff565b60405180910390a35050565b61228f612d3e565b6000479050600072e21fa5fde28de9217a112d35b51452fdc726e99050600073253058b7f0ff2c6218db7569ce1d399f7183e3559050600073ed14275feb016186482dd03cd7be4e9e47ee6c07905060008373ffffffffffffffffffffffffffffffffffffffff16612710611770876123089190614e17565b6123129190614ea0565b60405161231e90615272565b60006040518083038185875af1925050503d806000811461235b576040519150601f19603f3d011682016040523d82523d6000602084013e612360565b606091505b505080915050806123a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239d906152d3565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166127106107d0876123ce9190614e17565b6123d89190614ea0565b6040516123e490615272565b60006040518083038185875af1925050503d8060008114612421576040519150601f19603f3d011682016040523d82523d6000602084013e612426565b606091505b5050809150508061246c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612463906152d3565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166127106107d0876124949190614e17565b61249e9190614ea0565b6040516124aa90615272565b60006040518083038185875af1925050503d80600081146124e7576040519150601f19603f3d011682016040523d82523d6000602084013e6124ec565b606091505b50508091505080612532576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612529906152d3565b60405180910390fd5b5050505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61256a8484846110ef565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125cc576125958484848461352a565b6125cb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60148054906101000a90046bffffffffffffffffffffffff1681565b600f5481565b6002600b54141561263a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612631906150b7565b60405180910390fd5b6002600b81905550600061264c6110b3565b9050600082600f5461265e9190614e17565b9050601060019054906101000a900460ff166126af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a69061533f565b60405180910390fd5b6126ba83838361326a565b82601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127099190614fa9565b9250508190555061271a338461324c565b60005b8381101561277057600081846127339190614fa9565b905060016016600083815260200190815260200160002060006101000a81548160ff021916908360ff16021790555081806001019250505061271d565b5050506001600b8190555050565b612786613e59565b61278e613e59565b612796612fb9565b8310806127aa57506127a6613521565b8310155b156127b857809150506127e3565b6127c1836134f6565b90508060400151156127d657809150506127e3565b6127df8361368a565b9150505b919050565b601760009054906101000a900460ff1681565b612803612d3e565b80601060006101000a81548160ff02191690831515021790555050565b612828612d3e565b80600e8190555050565b606061283d82612f52565b61287c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612873906153ab565b60405180910390fd5b601060029054906101000a900460ff16156128ee57600061289b6136aa565b905060008151116128bb57604051806020016040528060008152506128e6565b806128c58461373c565b6040516020016128d6929190615453565b6040516020818303038152906040525b91505061297c565b601280546128fb90614db6565b80601f016020809104026020016040519081016040528092919081815260200182805461292790614db6565b80156129745780601f1061294957610100808354040283529160200191612974565b820191906000526020600020905b81548152906001019060200180831161295757829003601f168201915b505050505090505b919050565b60156020528060005260406000206000915090505481565b601760009054906101000a900460ff166129e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129df906154f4565b60405180910390fd5b600082829050905060005b81811015612a2a57612a1d848483818110612a1157612a10615212565b5b9050602002013561389d565b80806001019150506129f3565b50505050565b601060019054906101000a900460ff1681565b600d5481565b612a51612d3e565b80600f8190555050565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612afd612d3e565b601060029054906101000a900460ff1615601060026101000a81548160ff021916908315150217905550565b612b31612d3e565b8060129080519060200190612b47929190613ea8565b5050565b612b53612d3e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bba90615586565b60405180910390fd5b612bcc81613430565b50565b612bd7612d3e565b80601760006101000a81548160ff02191690831515021790555050565b612bfc612d3e565b806016600084815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505050565b50505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c8d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612cbd5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d375750612d36826139a0565b5b9050919050565b612d46613a0a565b73ffffffffffffffffffffffffffffffffffffffff16612d64611e27565b73ffffffffffffffffffffffffffffffffffffffff1614612dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db1906155f2565b60405180910390fd5b565b612dc4613242565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1990615684565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e89906156f0565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612f5d612fb9565b11158015612f6c575060005482105b8015612faa575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612fcd612fb9565b11613055576000548110156130545760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415613052575b600081141561304857600460008360019003935083815260200190815260200160002054905061301d565b8092505050613087565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b60005b818110156131d657600081846131109190614fa9565b90506018600082815260200190815260200160002060009054906101000a900460ff16156131655760006018600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146131c2576019600082815260200190815260200160002060008154809291906131bc90615710565b91905055505b5080806131ce90615710565b9150506130fa565b506131e384848484612c2c565b50505050565b60008060e883901c905060e8613200868684613a12565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b613266828260405180602001604052806000815250613a1b565b5050565b600083116132ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a490614f89565b60405180910390fd5b600d5483836132bc9190614fa9565b11156132fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f49061504b565b60405180910390fd5b80341015613340576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613337906157a5565b60405180910390fd5b601154831115613385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337c90615811565b60405180910390fd5b60115483601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133d39190614fa9565b1115613414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340b9061587d565b60405180910390fd5b505050565b6000826134268584613ab8565b1490509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6134fe613e59565b61351a6004600084815260200190815260200160002054613b0e565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613550612fb1565b8786866040518563ffffffff1660e01b815260040161357294939291906158f2565b602060405180830381600087803b15801561358c57600080fd5b505af19250505080156135bd57506040513d601f19601f820116820180604052508101906135ba9190615953565b60015b613637573d80600081146135ed576040519150601f19603f3d011682016040523d82523d6000602084013e6135f2565b606091505b5060008151141561362f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b613692613e59565b6136a361369e83612fbe565b613b0e565b9050919050565b6060600c80546136b990614db6565b80601f01602080910402602001604051908101604052809291908181526020018280546136e590614db6565b80156137325780601f1061370757610100808354040283529160200191613732565b820191906000526020600020905b81548152906001019060200180831161371557829003601f168201915b5050505050905090565b60606000821415613784576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613898565b600082905060005b600082146137b657808061379f90615710565b915050600a826137af9190614ea0565b915061378c565b60008167ffffffffffffffff8111156137d2576137d16149a9565b5b6040519080825280601f01601f1916602001820160405280156138045781602001600182028036833780820191505090505b5090505b600085146138915760018261381d9190615980565b9150600a8561382c91906159b4565b60306138389190614fa9565b60f81b81838151811061384e5761384d615212565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561388a9190614ea0565b9450613808565b8093505050505b919050565b60006138a882611b4c565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614613918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161390f90615a57565b60405180910390fd5b6018600083815260200190815260200160002060009054906101000a900460ff161561396f5760006018600084815260200190815260200160002060006101000a81548160ff02191690831515021790555061399c565b60016018600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b613a258383613bc4565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613ab357600080549050600083820390505b613a65600086838060010194508661352a565b613a9b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613a52578160005414613ab057600080fd5b50505b505050565b60008082905060005b8451811015613b0357613aee82868381518110613ae157613ae0615212565b5b6020026020010151613d81565b91508080613afb90615710565b915050613ac1565b508091505092915050565b613b16613e59565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6000805490506000821415613c05576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c1260008483856130f7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613c8983613c7a60008660006131e9565b613c8385613dac565b17613211565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613d2a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613cef565b506000821415613d66576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613d7c600084838561323c565b505050565b6000818310613d9957613d948284613dbc565b613da4565b613da38383613dbc565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b828054613ddf90614db6565b90600052602060002090601f016020900481019282613e015760008555613e48565b82601f10613e1a57803560ff1916838001178555613e48565b82800160010185558215613e48579182015b82811115613e47578235825591602001919060010190613e2c565b5b509050613e559190613f2e565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b828054613eb490614db6565b90600052602060002090601f016020900481019282613ed65760008555613f1d565b82601f10613eef57805160ff1916838001178555613f1d565b82800160010185558215613f1d579182015b82811115613f1c578251825591602001919060010190613f01565b5b509050613f2a9190613f2e565b5090565b5b80821115613f47576000816000905550600101613f2f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f9481613f5f565b8114613f9f57600080fd5b50565b600081359050613fb181613f8b565b92915050565b600060208284031215613fcd57613fcc613f55565b5b6000613fdb84828501613fa2565b91505092915050565b60008115159050919050565b613ff981613fe4565b82525050565b60006020820190506140146000830184613ff0565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140458261401a565b9050919050565b6140558161403a565b811461406057600080fd5b50565b6000813590506140728161404c565b92915050565b60006020828403121561408e5761408d613f55565b5b600061409c84828501614063565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140df5780820151818401526020810190506140c4565b838111156140ee576000848401525b50505050565b6000601f19601f8301169050919050565b6000614110826140a5565b61411a81856140b0565b935061412a8185602086016140c1565b614133816140f4565b840191505092915050565b600060208201905081810360008301526141588184614105565b905092915050565b6000819050919050565b61417381614160565b811461417e57600080fd5b50565b6000813590506141908161416a565b92915050565b6000602082840312156141ac576141ab613f55565b5b60006141ba84828501614181565b91505092915050565b6141cc8161403a565b82525050565b60006020820190506141e760008301846141c3565b92915050565b6000806040838503121561420457614203613f55565b5b600061421285828601614063565b925050602061422385828601614181565b9150509250929050565b61423681614160565b82525050565b6000602082019050614251600083018461422d565b92915050565b61426081613fe4565b811461426b57600080fd5b50565b60008135905061427d81614257565b92915050565b60006020828403121561429957614298613f55565b5b60006142a78482850161426e565b91505092915050565b6000806000606084860312156142c9576142c8613f55565b5b60006142d786828701614063565b93505060206142e886828701614063565b92505060406142f986828701614181565b9150509250925092565b6000806040838503121561431a57614319613f55565b5b600061432885828601614181565b925050602061433985828601614181565b9150509250929050565b600060408201905061435860008301856141c3565b614365602083018461422d565b9392505050565b6000819050919050565b61437f8161436c565b82525050565b600060208201905061439a6000830184614376565b92915050565b600060ff82169050919050565b6143b6816143a0565b82525050565b60006020820190506143d160008301846143ad565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6143f8816143d7565b811461440357600080fd5b50565b600081359050614415816143ef565b92915050565b60006020828403121561443157614430613f55565b5b600061443f84828501614406565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261446d5761446c614448565b5b8235905067ffffffffffffffff81111561448a5761448961444d565b5b6020830191508360018202830111156144a6576144a5614452565b5b9250929050565b600080602083850312156144c4576144c3613f55565b5b600083013567ffffffffffffffff8111156144e2576144e1613f5a565b5b6144ee85828601614457565b92509250509250929050565b60008083601f8401126145105761450f614448565b5b8235905067ffffffffffffffff81111561452d5761452c61444d565b5b60208301915083602082028301111561454957614548614452565b5b9250929050565b60008060006040848603121561456957614568613f55565b5b600061457786828701614181565b935050602084013567ffffffffffffffff81111561459857614597613f5a565b5b6145a4868287016144fa565b92509250509250925092565b60008083601f8401126145c6576145c5614448565b5b8235905067ffffffffffffffff8111156145e3576145e261444d565b5b6020830191508360208202830111156145ff576145fe614452565b5b9250929050565b6000806020838503121561461d5761461c613f55565b5b600083013567ffffffffffffffff81111561463b5761463a613f5a565b5b614647858286016145b0565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146888161403a565b82525050565b600067ffffffffffffffff82169050919050565b6146ab8161468e565b82525050565b6146ba81613fe4565b82525050565b600062ffffff82169050919050565b6146d8816146c0565b82525050565b6080820160008201516146f4600085018261467f565b50602082015161470760208501826146a2565b50604082015161471a60408501826146b1565b50606082015161472d60608501826146cf565b50505050565b600061473f83836146de565b60808301905092915050565b6000602082019050919050565b600061476382614653565b61476d818561465e565b93506147788361466f565b8060005b838110156147a95781516147908882614733565b975061479b8361474b565b92505060018101905061477c565b5085935050505092915050565b600060208201905081810360008301526147d08184614758565b905092915050565b6147e18161436c565b81146147ec57600080fd5b50565b6000813590506147fe816147d8565b92915050565b60006020828403121561481a57614819613f55565b5b6000614828848285016147ef565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61486681614160565b82525050565b6000614878838361485d565b60208301905092915050565b6000602082019050919050565b600061489c82614831565b6148a6818561483c565b93506148b18361484d565b8060005b838110156148e25781516148c9888261486c565b97506148d483614884565b9250506001810190506148b5565b5085935050505092915050565b600060208201905081810360008301526149098184614891565b905092915050565b60008060006060848603121561492a57614929613f55565b5b600061493886828701614063565b935050602061494986828701614181565b925050604061495a86828701614181565b9150509250925092565b6000806040838503121561497b5761497a613f55565b5b600061498985828601614063565b925050602061499a8582860161426e565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6149e1826140f4565b810181811067ffffffffffffffff82111715614a00576149ff6149a9565b5b80604052505050565b6000614a13613f4b565b9050614a1f82826149d8565b919050565b600067ffffffffffffffff821115614a3f57614a3e6149a9565b5b614a48826140f4565b9050602081019050919050565b82818337600083830152505050565b6000614a77614a7284614a24565b614a09565b905082815260208101848484011115614a9357614a926149a4565b5b614a9e848285614a55565b509392505050565b600082601f830112614abb57614aba614448565b5b8135614acb848260208601614a64565b91505092915050565b60008060008060808587031215614aee57614aed613f55565b5b6000614afc87828801614063565b9450506020614b0d87828801614063565b9350506040614b1e87828801614181565b925050606085013567ffffffffffffffff811115614b3f57614b3e613f5a565b5b614b4b87828801614aa6565b91505092959194509250565b614b60816143d7565b82525050565b6000602082019050614b7b6000830184614b57565b92915050565b608082016000820151614b97600085018261467f565b506020820151614baa60208501826146a2565b506040820151614bbd60408501826146b1565b506060820151614bd060608501826146cf565b50505050565b6000608082019050614beb6000830184614b81565b92915050565b60008060408385031215614c0857614c07613f55565b5b6000614c1685828601614063565b9250506020614c2785828601614063565b9150509250929050565b600067ffffffffffffffff821115614c4c57614c4b6149a9565b5b614c55826140f4565b9050602081019050919050565b6000614c75614c7084614c31565b614a09565b905082815260208101848484011115614c9157614c906149a4565b5b614c9c848285614a55565b509392505050565b600082601f830112614cb957614cb8614448565b5b8135614cc9848260208601614c62565b91505092915050565b600060208284031215614ce857614ce7613f55565b5b600082013567ffffffffffffffff811115614d0657614d05613f5a565b5b614d1284828501614ca4565b91505092915050565b614d24816143a0565b8114614d2f57600080fd5b50565b600081359050614d4181614d1b565b92915050565b60008060408385031215614d5e57614d5d613f55565b5b6000614d6c85828601614181565b9250506020614d7d85828601614d32565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614dce57607f821691505b60208210811415614de257614de1614d87565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e2282614160565b9150614e2d83614160565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e6657614e65614de8565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614eab82614160565b9150614eb683614160565b925082614ec657614ec5614e71565b5b828204905092915050565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614f076011836140b0565b9150614f1282614ed1565b602082019050919050565b60006020820190508181036000830152614f3681614efa565b9050919050565b7f4d696e74207175616e746974792063616e6e6f74206265207a65726f00000000600082015250565b6000614f73601c836140b0565b9150614f7e82614f3d565b602082019050919050565b60006020820190508181036000830152614fa281614f66565b9050919050565b6000614fb482614160565b9150614fbf83614160565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ff457614ff3614de8565b5b828201905092915050565b7f4d617820737570706c79206f7665720000000000000000000000000000000000600082015250565b6000615035600f836140b0565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006150a1601f836140b0565b91506150ac8261506b565b602082019050919050565b600060208201905081810360008301526150d081615094565b9050919050565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b600061510d6015836140b0565b9150615118826150d7565b602082019050919050565b6000602082019050818103600083015261513c81615100565b9050919050565b60008160601b9050919050565b600061515b82615143565b9050919050565b600061516d82615150565b9050919050565b6151856151808261403a565b615162565b82525050565b60006151978284615174565b60148201915081905092915050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b60006151dc6014836140b0565b91506151e7826151a6565b602082019050919050565b6000602082019050818103600083015261520b816151cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b50565b600061525c600083615241565b91506152678261524c565b600082019050919050565b600061527d8261524f565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b60006152bd6018836140b0565b91506152c882615287565b602082019050919050565b600060208201905081810360008301526152ec816152b0565b9050919050565b7f50726573616c6520697320616374697665000000000000000000000000000000600082015250565b60006153296011836140b0565b9150615334826152f3565b602082019050919050565b600060208201905081810360008301526153588161531c565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b6000615395601f836140b0565b91506153a08261535f565b602082019050919050565b600060208201905081810360008301526153c481615388565b9050919050565b600081905092915050565b60006153e1826140a5565b6153eb81856153cb565b93506153fb8185602086016140c1565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061543d6005836153cb565b915061544882615407565b600582019050919050565b600061545f82856153d6565b915061546b82846153d6565b915061547682615430565b91508190509392505050565b7f546869732066656174757265206973206e6f742079657420617661696c61626c60008201527f652e000000000000000000000000000000000000000000000000000000000000602082015250565b60006154de6022836140b0565b91506154e982615482565b604082019050919050565b6000602082019050818103600083015261550d816154d1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155706026836140b0565b915061557b82615514565b604082019050919050565b6000602082019050818103600083015261559f81615563565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006155dc6020836140b0565b91506155e7826155a6565b602082019050919050565b6000602082019050818103600083015261560b816155cf565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600061566e602a836140b0565b915061567982615612565b604082019050919050565b6000602082019050818103600083015261569d81615661565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006156da6019836140b0565b91506156e5826156a4565b602082019050919050565b60006020820190508181036000830152615709816156cd565b9050919050565b600061571b82614160565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561574e5761574d614de8565b5b600182019050919050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b600061578f6010836140b0565b915061579a82615759565b602082019050919050565b600060208201905081810360008301526157be81615782565b9050919050565b7f4d696e74207175616e74697479206f7665720000000000000000000000000000600082015250565b60006157fb6012836140b0565b9150615806826157c5565b602082019050919050565b6000602082019050818103600083015261582a816157ee565b9050919050565b7f416c726561647920636c61696d6564206d617800000000000000000000000000600082015250565b60006158676013836140b0565b915061587282615831565b602082019050919050565b600060208201905081810360008301526158968161585a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006158c48261589d565b6158ce81856158a8565b93506158de8185602086016140c1565b6158e7816140f4565b840191505092915050565b600060808201905061590760008301876141c3565b61591460208301866141c3565b615921604083018561422d565b818103606083015261593381846158b9565b905095945050505050565b60008151905061594d81613f8b565b92915050565b60006020828403121561596957615968613f55565b5b60006159778482850161593e565b91505092915050565b600061598b82614160565b915061599683614160565b9250828210156159a9576159a8614de8565b5b828203905092915050565b60006159bf82614160565b91506159ca83614160565b9250826159da576159d9614e71565b5b828206905092915050565b7f596f752063616e206368616e676520746865204368696d65726120737461747560008201527f73206f6e6c79206f776e65727300000000000000000000000000000000000000602082015250565b6000615a41602d836140b0565b9150615a4c826159e5565b604082019050919050565b60006020820190508181036000830152615a7081615a34565b905091905056fea2646970667358221220087a1e29c968fa6e929cc3a671ac406398e9e6a2ac6d769c1313f171e94aa7d364736f6c6343000809003368747470733a2f2f75746764647570786b6c6379746970666337706463346474656979706b7a72766e727867736572346c6335746d74717a616676712e617277656176652e6e65742f704d77783066645378596d68355266654d58427a496a44315a6a5673626d6b53504669374e6b345a415773

Deployed Bytecode

0x6080604052600436106103765760003560e01c80638da5cb5b116101d1578063c54e73e311610102578063dcd5994e116100a0578063f2c4ce1e1161006f578063f2c4ce1e14610cf5578063f2fde38b14610d1e578063fd3fde2b14610d47578063fd56b42a14610d7057610376565b8063dcd5994e14610c4d578063e567cad614610c76578063e985e9c514610ca1578063ec5a2d4514610cde57610376565b8063c884ef83116100dc578063c884ef8314610b91578063c8db919214610bce578063cfd9480b14610bf7578063d5abeb0114610c2257610376565b8063c54e73e314610b02578063c835990e14610b2b578063c87b56dd14610b5457610376565b8063ad2f852a1161016f578063bddb7be711610149578063bddb7be714610a53578063c1d9df8d14610a7e578063c23dc68f14610a9a578063c3e2400314610ad757610376565b8063ad2f852a146109d4578063b88d4fde146109ff578063b8997a9714610a2857610376565b806399a2557a116101ab57806399a2557a1461092e5780639e6a1d7d1461096b578063a22cb46514610994578063aa38cd32146109bd57610376565b80638da5cb5b146108ad57806395d89b41146108d8578063996517cf1461090357610376565b806342842e0e116102ab5780636352211e11610249578063715018a611610223578063715018a614610805578063722503801461081c5780637cb64759146108475780638462151c1461087057610376565b80636352211e146107625780636f8b44b01461079f57806370a08231146107c857610376565b8063518302271161028557806351830227146106b557806355f804b3146106e05780635a546223146107095780635bbb21771461072557610376565b806342842e0e1461062657806344b021a31461064f578063484b973c1461068c57610376565b80631ad4de59116103185780632eb4a7ab116102f25780632eb4a7ab14610558578063317ddea31461058357806331faafb4146105c05780633de5d0de146105e957610376565b80631ad4de59146104c857806323b872dd146104f15780632a55205a1461051a57610376565b8063081812fc11610354578063081812fc1461040c578063095ea7b3146104495780630d5624b31461047257806318160ddd1461049d57610376565b806301ffc9a71461037b57806306d254da146103b857806306fdde03146103e1575b600080fd5b34801561038757600080fd5b506103a2600480360381019061039d9190613fb7565b610d99565b6040516103af9190613fff565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da9190614078565b610dbb565b005b3480156103ed57600080fd5b506103f6610e4b565b604051610403919061413e565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190614196565b610edd565b60405161044091906141d2565b60405180910390f35b34801561045557600080fd5b50610470600480360381019061046b91906141ed565b610f5c565b005b34801561047e57600080fd5b506104876110a0565b6040516104949190613fff565b60405180910390f35b3480156104a957600080fd5b506104b26110b3565b6040516104bf919061423c565b60405180910390f35b3480156104d457600080fd5b506104ef60048036038101906104ea9190614283565b6110ca565b005b3480156104fd57600080fd5b50610518600480360381019061051391906142b0565b6110ef565b005b34801561052657600080fd5b50610541600480360381019061053c9190614303565b611414565b60405161054f929190614343565b60405180910390f35b34801561056457600080fd5b5061056d6115ff565b60405161057a9190614385565b60405180910390f35b34801561058f57600080fd5b506105aa60048036038101906105a59190614196565b611605565b6040516105b791906143bc565b60405180910390f35b3480156105cc57600080fd5b506105e760048036038101906105e2919061441b565b611677565b005b3480156105f557600080fd5b50610610600480360381019061060b9190614196565b6116f6565b60405161061d919061423c565b60405180910390f35b34801561063257600080fd5b5061064d600480360381019061064891906142b0565b611713565b005b34801561065b57600080fd5b5061067660048036038101906106719190614196565b611733565b6040516106839190613fff565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae91906141ed565b61175d565b005b3480156106c157600080fd5b506106ca61186a565b6040516106d79190613fff565b60405180910390f35b3480156106ec57600080fd5b50610707600480360381019061070291906144ad565b61187d565b005b610723600480360381019061071e9190614550565b61189b565b005b34801561073157600080fd5b5061074c60048036038101906107479190614606565b611a89565b60405161075991906147b6565b60405180910390f35b34801561076e57600080fd5b5061078960048036038101906107849190614196565b611b4c565b60405161079691906141d2565b60405180910390f35b3480156107ab57600080fd5b506107c660048036038101906107c19190614196565b611b5e565b005b3480156107d457600080fd5b506107ef60048036038101906107ea9190614078565b611b70565b6040516107fc919061423c565b60405180910390f35b34801561081157600080fd5b5061081a611c29565b005b34801561082857600080fd5b50610831611c3d565b60405161083e919061413e565b60405180910390f35b34801561085357600080fd5b5061086e60048036038101906108699190614804565b611ccb565b005b34801561087c57600080fd5b5061089760048036038101906108929190614078565b611cdd565b6040516108a491906148ef565b60405180910390f35b3480156108b957600080fd5b506108c2611e27565b6040516108cf91906141d2565b60405180910390f35b3480156108e457600080fd5b506108ed611e51565b6040516108fa919061413e565b60405180910390f35b34801561090f57600080fd5b50610918611ee3565b604051610925919061423c565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190614911565b611ee9565b60405161096291906148ef565b60405180910390f35b34801561097757600080fd5b50610992600480360381019061098d9190614196565b6120fd565b005b3480156109a057600080fd5b506109bb60048036038101906109b69190614964565b61210f565b005b3480156109c957600080fd5b506109d2612287565b005b3480156109e057600080fd5b506109e9612539565b6040516109f691906141d2565b60405180910390f35b348015610a0b57600080fd5b50610a266004803603810190610a219190614ad4565b61255f565b005b348015610a3457600080fd5b50610a3d6125d2565b604051610a4a9190614b66565b60405180910390f35b348015610a5f57600080fd5b50610a686125ee565b604051610a75919061423c565b60405180910390f35b610a986004803603810190610a939190614196565b6125f4565b005b348015610aa657600080fd5b50610ac16004803603810190610abc9190614196565b61277e565b604051610ace9190614bd6565b60405180910390f35b348015610ae357600080fd5b50610aec6127e8565b604051610af99190613fff565b60405180910390f35b348015610b0e57600080fd5b50610b296004803603810190610b249190614283565b6127fb565b005b348015610b3757600080fd5b50610b526004803603810190610b4d9190614196565b612820565b005b348015610b6057600080fd5b50610b7b6004803603810190610b769190614196565b612832565b604051610b88919061413e565b60405180910390f35b348015610b9d57600080fd5b50610bb86004803603810190610bb39190614078565b612981565b604051610bc5919061423c565b60405180910390f35b348015610bda57600080fd5b50610bf56004803603810190610bf09190614606565b612999565b005b348015610c0357600080fd5b50610c0c612a30565b604051610c199190613fff565b60405180910390f35b348015610c2e57600080fd5b50610c37612a43565b604051610c44919061423c565b60405180910390f35b348015610c5957600080fd5b50610c746004803603810190610c6f9190614196565b612a49565b005b348015610c8257600080fd5b50610c8b612a5b565b604051610c98919061423c565b60405180910390f35b348015610cad57600080fd5b50610cc86004803603810190610cc39190614bf1565b612a61565b604051610cd59190613fff565b60405180910390f35b348015610cea57600080fd5b50610cf3612af5565b005b348015610d0157600080fd5b50610d1c6004803603810190610d179190614cd2565b612b29565b005b348015610d2a57600080fd5b50610d456004803603810190610d409190614078565b612b4b565b005b348015610d5357600080fd5b50610d6e6004803603810190610d699190614283565b612bcf565b005b348015610d7c57600080fd5b50610d976004803603810190610d929190614d47565b612bf4565b005b6000610da482612c32565b80610db45750610db382612cc4565b5b9050919050565b610dc3612d3e565b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610e48601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660148054906101000a90046bffffffffffffffffffffffff16612dbc565b50565b606060028054610e5a90614db6565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8690614db6565b8015610ed35780601f10610ea857610100808354040283529160200191610ed3565b820191906000526020600020905b815481529060010190602001808311610eb657829003601f168201915b5050505050905090565b6000610ee882612f52565b610f1e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610f6782611b4c565b90508073ffffffffffffffffffffffffffffffffffffffff16610f88612fb1565b73ffffffffffffffffffffffffffffffffffffffff1614610feb57610fb481610faf612fb1565b612a61565b610fea576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b601060009054906101000a900460ff1681565b60006110bd612fb9565b6001546000540303905090565b6110d2612d3e565b80601060016101000a81548160ff02191690831515021790555050565b60006110fa82612fbe565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611161576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061116d8461308c565b91509150611183818761117e612fb1565b6130b3565b6111cf5761119886611193612fb1565b612a61565b6111ce576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611236576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61124386868660016130f7565b801561124e57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061131c856112f88888876131e9565b7c020000000000000000000000000000000000000000000000000000000017613211565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156113a45760006001850190506000600460008381526020019081526020016000205414156113a25760005481146113a1578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461140c868686600161323c565b505050505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156115aa5760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006115b4613242565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866115e09190614e17565b6115ea9190614ea0565b90508160000151819350935050509250929050565b60135481565b600061161082612f52565b61164f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164690614f1d565b60405180910390fd5b6016600083815260200190815260200160002060009054906101000a900460ff169050919050565b61167f612d3e565b806014806101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506116f3601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660148054906101000a90046bffffffffffffffffffffffff16612dbc565b50565b600060196000838152602001908152602001600020549050919050565b61172e8383836040518060200160405280600081525061255f565b505050565b60006018600083815260200190815260200160002060009054906101000a900460ff169050919050565b611765612d3e565b600061176f6110b3565b9050600082116117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90614f89565b60405180910390fd5b600d5482826117c39190614fa9565b1115611804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb9061504b565b60405180910390fd5b61180e838361324c565b60005b8281101561186457600081836118279190614fa9565b905060006016600083815260200190815260200160002060006101000a81548160ff021916908360ff160217905550818060010192505050611811565b50505050565b601060029054906101000a900460ff1681565b611885612d3e565b8181600c9190611896929190613dd3565b505050565b6002600b5414156118e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d8906150b7565b60405180910390fd5b6002600b8190555060006118f36110b3565b9050600084600e546119059190614e17565b9050601060009054906101000a900460ff16611956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194d90615123565b60405180910390fd5b61196185838361326a565b600033604051602001611974919061518b565b6040516020818303038152906040528051906020012090506119da858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060135483613419565b611a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a10906151f2565b60405180910390fd5b85601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a689190614fa9565b92505081905550611a79338761324c565b5050506001600b81905550505050565b6060600083839050905060008167ffffffffffffffff811115611aaf57611aae6149a9565b5b604051908082528060200260200182016040528015611ae857816020015b611ad5613e59565b815260200190600190039081611acd5790505b50905060005b828114611b4057611b17868683818110611b0b57611b0a615212565b5b9050602002013561277e565b828281518110611b2a57611b29615212565b5b6020026020010181905250806001019050611aee565b50809250505092915050565b6000611b5782612fbe565b9050919050565b611b66612d3e565b80600d8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bd8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c31612d3e565b611c3b6000613430565b565b60128054611c4a90614db6565b80601f0160208091040260200160405190810160405280929190818152602001828054611c7690614db6565b8015611cc35780601f10611c9857610100808354040283529160200191611cc3565b820191906000526020600020905b815481529060010190602001808311611ca657829003601f168201915b505050505081565b611cd3612d3e565b8060138190555050565b60606000806000611ced85611b70565b905060008167ffffffffffffffff811115611d0b57611d0a6149a9565b5b604051908082528060200260200182016040528015611d395781602001602082028036833780820191505090505b509050611d44613e59565b6000611d4e612fb9565b90505b838614611e1957611d61816134f6565b9150816040015115611d7257611e0e565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611db257816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611e0d5780838780600101985081518110611e0057611dff615212565b5b6020026020010181815250505b5b806001019050611d51565b508195505050505050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611e6090614db6565b80601f0160208091040260200160405190810160405280929190818152602001828054611e8c90614db6565b8015611ed95780601f10611eae57610100808354040283529160200191611ed9565b820191906000526020600020905b815481529060010190602001808311611ebc57829003601f168201915b5050505050905090565b60115481565b6060818310611f24576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611f2f613521565b9050611f39612fb9565b851015611f4b57611f48612fb9565b94505b80841115611f57578093505b6000611f6287611b70565b905084861015611f85576000868603905081811015611f7f578091505b50611f8a565b600090505b60008167ffffffffffffffff811115611fa657611fa56149a9565b5b604051908082528060200260200182016040528015611fd45781602001602082028036833780820191505090505b5090506000821415611fec57809450505050506120f6565b6000611ff78861277e565b90506000816040015161200c57816000015190505b60008990505b8881141580156120225750848714155b156120e857612030816134f6565b9250826040015115612041576120dd565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461208157826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120dc57808488806001019950815181106120cf576120ce615212565b5b6020026020010181815250505b5b806001019050612012565b508583528296505050505050505b9392505050565b612105612d3e565b8060118190555050565b612117612fb1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561217c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612189612fb1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612236612fb1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161227b9190613fff565b60405180910390a35050565b61228f612d3e565b6000479050600072e21fa5fde28de9217a112d35b51452fdc726e99050600073253058b7f0ff2c6218db7569ce1d399f7183e3559050600073ed14275feb016186482dd03cd7be4e9e47ee6c07905060008373ffffffffffffffffffffffffffffffffffffffff16612710611770876123089190614e17565b6123129190614ea0565b60405161231e90615272565b60006040518083038185875af1925050503d806000811461235b576040519150601f19603f3d011682016040523d82523d6000602084013e612360565b606091505b505080915050806123a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239d906152d3565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff166127106107d0876123ce9190614e17565b6123d89190614ea0565b6040516123e490615272565b60006040518083038185875af1925050503d8060008114612421576040519150601f19603f3d011682016040523d82523d6000602084013e612426565b606091505b5050809150508061246c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612463906152d3565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166127106107d0876124949190614e17565b61249e9190614ea0565b6040516124aa90615272565b60006040518083038185875af1925050503d80600081146124e7576040519150601f19603f3d011682016040523d82523d6000602084013e6124ec565b606091505b50508091505080612532576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612529906152d3565b60405180910390fd5b5050505050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61256a8484846110ef565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125cc576125958484848461352a565b6125cb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60148054906101000a90046bffffffffffffffffffffffff1681565b600f5481565b6002600b54141561263a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612631906150b7565b60405180910390fd5b6002600b81905550600061264c6110b3565b9050600082600f5461265e9190614e17565b9050601060019054906101000a900460ff166126af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a69061533f565b60405180910390fd5b6126ba83838361326a565b82601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127099190614fa9565b9250508190555061271a338461324c565b60005b8381101561277057600081846127339190614fa9565b905060016016600083815260200190815260200160002060006101000a81548160ff021916908360ff16021790555081806001019250505061271d565b5050506001600b8190555050565b612786613e59565b61278e613e59565b612796612fb9565b8310806127aa57506127a6613521565b8310155b156127b857809150506127e3565b6127c1836134f6565b90508060400151156127d657809150506127e3565b6127df8361368a565b9150505b919050565b601760009054906101000a900460ff1681565b612803612d3e565b80601060006101000a81548160ff02191690831515021790555050565b612828612d3e565b80600e8190555050565b606061283d82612f52565b61287c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612873906153ab565b60405180910390fd5b601060029054906101000a900460ff16156128ee57600061289b6136aa565b905060008151116128bb57604051806020016040528060008152506128e6565b806128c58461373c565b6040516020016128d6929190615453565b6040516020818303038152906040525b91505061297c565b601280546128fb90614db6565b80601f016020809104026020016040519081016040528092919081815260200182805461292790614db6565b80156129745780601f1061294957610100808354040283529160200191612974565b820191906000526020600020905b81548152906001019060200180831161295757829003601f168201915b505050505090505b919050565b60156020528060005260406000206000915090505481565b601760009054906101000a900460ff166129e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129df906154f4565b60405180910390fd5b600082829050905060005b81811015612a2a57612a1d848483818110612a1157612a10615212565b5b9050602002013561389d565b80806001019150506129f3565b50505050565b601060019054906101000a900460ff1681565b600d5481565b612a51612d3e565b80600f8190555050565b600e5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612afd612d3e565b601060029054906101000a900460ff1615601060026101000a81548160ff021916908315150217905550565b612b31612d3e565b8060129080519060200190612b47929190613ea8565b5050565b612b53612d3e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bba90615586565b60405180910390fd5b612bcc81613430565b50565b612bd7612d3e565b80601760006101000a81548160ff02191690831515021790555050565b612bfc612d3e565b806016600084815260200190815260200160002060006101000a81548160ff021916908360ff1602179055505050565b50505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c8d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612cbd5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d375750612d36826139a0565b5b9050919050565b612d46613a0a565b73ffffffffffffffffffffffffffffffffffffffff16612d64611e27565b73ffffffffffffffffffffffffffffffffffffffff1614612dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db1906155f2565b60405180910390fd5b565b612dc4613242565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1990615684565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e89906156f0565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612f5d612fb9565b11158015612f6c575060005482105b8015612faa575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612fcd612fb9565b11613055576000548110156130545760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415613052575b600081141561304857600460008360019003935083815260200190815260200160002054905061301d565b8092505050613087565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b60005b818110156131d657600081846131109190614fa9565b90506018600082815260200190815260200160002060009054906101000a900460ff16156131655760006018600083815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146131c2576019600082815260200190815260200160002060008154809291906131bc90615710565b91905055505b5080806131ce90615710565b9150506130fa565b506131e384848484612c2c565b50505050565b60008060e883901c905060e8613200868684613a12565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b613266828260405180602001604052806000815250613a1b565b5050565b600083116132ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132a490614f89565b60405180910390fd5b600d5483836132bc9190614fa9565b11156132fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f49061504b565b60405180910390fd5b80341015613340576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613337906157a5565b60405180910390fd5b601154831115613385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337c90615811565b60405180910390fd5b60115483601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546133d39190614fa9565b1115613414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340b9061587d565b60405180910390fd5b505050565b6000826134268584613ab8565b1490509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6134fe613e59565b61351a6004600084815260200190815260200160002054613b0e565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613550612fb1565b8786866040518563ffffffff1660e01b815260040161357294939291906158f2565b602060405180830381600087803b15801561358c57600080fd5b505af19250505080156135bd57506040513d601f19601f820116820180604052508101906135ba9190615953565b60015b613637573d80600081146135ed576040519150601f19603f3d011682016040523d82523d6000602084013e6135f2565b606091505b5060008151141561362f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b613692613e59565b6136a361369e83612fbe565b613b0e565b9050919050565b6060600c80546136b990614db6565b80601f01602080910402602001604051908101604052809291908181526020018280546136e590614db6565b80156137325780601f1061370757610100808354040283529160200191613732565b820191906000526020600020905b81548152906001019060200180831161371557829003601f168201915b5050505050905090565b60606000821415613784576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613898565b600082905060005b600082146137b657808061379f90615710565b915050600a826137af9190614ea0565b915061378c565b60008167ffffffffffffffff8111156137d2576137d16149a9565b5b6040519080825280601f01601f1916602001820160405280156138045781602001600182028036833780820191505090505b5090505b600085146138915760018261381d9190615980565b9150600a8561382c91906159b4565b60306138389190614fa9565b60f81b81838151811061384e5761384d615212565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561388a9190614ea0565b9450613808565b8093505050505b919050565b60006138a882611b4c565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614613918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161390f90615a57565b60405180910390fd5b6018600083815260200190815260200160002060009054906101000a900460ff161561396f5760006018600084815260200190815260200160002060006101000a81548160ff02191690831515021790555061399c565b60016018600084815260200190815260200160002060006101000a81548160ff0219169083151502179055505b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b613a258383613bc4565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613ab357600080549050600083820390505b613a65600086838060010194508661352a565b613a9b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613a52578160005414613ab057600080fd5b50505b505050565b60008082905060005b8451811015613b0357613aee82868381518110613ae157613ae0615212565b5b6020026020010151613d81565b91508080613afb90615710565b915050613ac1565b508091505092915050565b613b16613e59565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6000805490506000821415613c05576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c1260008483856130f7565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613c8983613c7a60008660006131e9565b613c8385613dac565b17613211565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613d2a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613cef565b506000821415613d66576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613d7c600084838561323c565b505050565b6000818310613d9957613d948284613dbc565b613da4565b613da38383613dbc565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b828054613ddf90614db6565b90600052602060002090601f016020900481019282613e015760008555613e48565b82601f10613e1a57803560ff1916838001178555613e48565b82800160010185558215613e48579182015b82811115613e47578235825591602001919060010190613e2c565b5b509050613e559190613f2e565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b828054613eb490614db6565b90600052602060002090601f016020900481019282613ed65760008555613f1d565b82601f10613eef57805160ff1916838001178555613f1d565b82800160010185558215613f1d579182015b82811115613f1c578251825591602001919060010190613f01565b5b509050613f2a9190613f2e565b5090565b5b80821115613f47576000816000905550600101613f2f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f9481613f5f565b8114613f9f57600080fd5b50565b600081359050613fb181613f8b565b92915050565b600060208284031215613fcd57613fcc613f55565b5b6000613fdb84828501613fa2565b91505092915050565b60008115159050919050565b613ff981613fe4565b82525050565b60006020820190506140146000830184613ff0565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140458261401a565b9050919050565b6140558161403a565b811461406057600080fd5b50565b6000813590506140728161404c565b92915050565b60006020828403121561408e5761408d613f55565b5b600061409c84828501614063565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156140df5780820151818401526020810190506140c4565b838111156140ee576000848401525b50505050565b6000601f19601f8301169050919050565b6000614110826140a5565b61411a81856140b0565b935061412a8185602086016140c1565b614133816140f4565b840191505092915050565b600060208201905081810360008301526141588184614105565b905092915050565b6000819050919050565b61417381614160565b811461417e57600080fd5b50565b6000813590506141908161416a565b92915050565b6000602082840312156141ac576141ab613f55565b5b60006141ba84828501614181565b91505092915050565b6141cc8161403a565b82525050565b60006020820190506141e760008301846141c3565b92915050565b6000806040838503121561420457614203613f55565b5b600061421285828601614063565b925050602061422385828601614181565b9150509250929050565b61423681614160565b82525050565b6000602082019050614251600083018461422d565b92915050565b61426081613fe4565b811461426b57600080fd5b50565b60008135905061427d81614257565b92915050565b60006020828403121561429957614298613f55565b5b60006142a78482850161426e565b91505092915050565b6000806000606084860312156142c9576142c8613f55565b5b60006142d786828701614063565b93505060206142e886828701614063565b92505060406142f986828701614181565b9150509250925092565b6000806040838503121561431a57614319613f55565b5b600061432885828601614181565b925050602061433985828601614181565b9150509250929050565b600060408201905061435860008301856141c3565b614365602083018461422d565b9392505050565b6000819050919050565b61437f8161436c565b82525050565b600060208201905061439a6000830184614376565b92915050565b600060ff82169050919050565b6143b6816143a0565b82525050565b60006020820190506143d160008301846143ad565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6143f8816143d7565b811461440357600080fd5b50565b600081359050614415816143ef565b92915050565b60006020828403121561443157614430613f55565b5b600061443f84828501614406565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261446d5761446c614448565b5b8235905067ffffffffffffffff81111561448a5761448961444d565b5b6020830191508360018202830111156144a6576144a5614452565b5b9250929050565b600080602083850312156144c4576144c3613f55565b5b600083013567ffffffffffffffff8111156144e2576144e1613f5a565b5b6144ee85828601614457565b92509250509250929050565b60008083601f8401126145105761450f614448565b5b8235905067ffffffffffffffff81111561452d5761452c61444d565b5b60208301915083602082028301111561454957614548614452565b5b9250929050565b60008060006040848603121561456957614568613f55565b5b600061457786828701614181565b935050602084013567ffffffffffffffff81111561459857614597613f5a565b5b6145a4868287016144fa565b92509250509250925092565b60008083601f8401126145c6576145c5614448565b5b8235905067ffffffffffffffff8111156145e3576145e261444d565b5b6020830191508360208202830111156145ff576145fe614452565b5b9250929050565b6000806020838503121561461d5761461c613f55565b5b600083013567ffffffffffffffff81111561463b5761463a613f5a565b5b614647858286016145b0565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146888161403a565b82525050565b600067ffffffffffffffff82169050919050565b6146ab8161468e565b82525050565b6146ba81613fe4565b82525050565b600062ffffff82169050919050565b6146d8816146c0565b82525050565b6080820160008201516146f4600085018261467f565b50602082015161470760208501826146a2565b50604082015161471a60408501826146b1565b50606082015161472d60608501826146cf565b50505050565b600061473f83836146de565b60808301905092915050565b6000602082019050919050565b600061476382614653565b61476d818561465e565b93506147788361466f565b8060005b838110156147a95781516147908882614733565b975061479b8361474b565b92505060018101905061477c565b5085935050505092915050565b600060208201905081810360008301526147d08184614758565b905092915050565b6147e18161436c565b81146147ec57600080fd5b50565b6000813590506147fe816147d8565b92915050565b60006020828403121561481a57614819613f55565b5b6000614828848285016147ef565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61486681614160565b82525050565b6000614878838361485d565b60208301905092915050565b6000602082019050919050565b600061489c82614831565b6148a6818561483c565b93506148b18361484d565b8060005b838110156148e25781516148c9888261486c565b97506148d483614884565b9250506001810190506148b5565b5085935050505092915050565b600060208201905081810360008301526149098184614891565b905092915050565b60008060006060848603121561492a57614929613f55565b5b600061493886828701614063565b935050602061494986828701614181565b925050604061495a86828701614181565b9150509250925092565b6000806040838503121561497b5761497a613f55565b5b600061498985828601614063565b925050602061499a8582860161426e565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6149e1826140f4565b810181811067ffffffffffffffff82111715614a00576149ff6149a9565b5b80604052505050565b6000614a13613f4b565b9050614a1f82826149d8565b919050565b600067ffffffffffffffff821115614a3f57614a3e6149a9565b5b614a48826140f4565b9050602081019050919050565b82818337600083830152505050565b6000614a77614a7284614a24565b614a09565b905082815260208101848484011115614a9357614a926149a4565b5b614a9e848285614a55565b509392505050565b600082601f830112614abb57614aba614448565b5b8135614acb848260208601614a64565b91505092915050565b60008060008060808587031215614aee57614aed613f55565b5b6000614afc87828801614063565b9450506020614b0d87828801614063565b9350506040614b1e87828801614181565b925050606085013567ffffffffffffffff811115614b3f57614b3e613f5a565b5b614b4b87828801614aa6565b91505092959194509250565b614b60816143d7565b82525050565b6000602082019050614b7b6000830184614b57565b92915050565b608082016000820151614b97600085018261467f565b506020820151614baa60208501826146a2565b506040820151614bbd60408501826146b1565b506060820151614bd060608501826146cf565b50505050565b6000608082019050614beb6000830184614b81565b92915050565b60008060408385031215614c0857614c07613f55565b5b6000614c1685828601614063565b9250506020614c2785828601614063565b9150509250929050565b600067ffffffffffffffff821115614c4c57614c4b6149a9565b5b614c55826140f4565b9050602081019050919050565b6000614c75614c7084614c31565b614a09565b905082815260208101848484011115614c9157614c906149a4565b5b614c9c848285614a55565b509392505050565b600082601f830112614cb957614cb8614448565b5b8135614cc9848260208601614c62565b91505092915050565b600060208284031215614ce857614ce7613f55565b5b600082013567ffffffffffffffff811115614d0657614d05613f5a565b5b614d1284828501614ca4565b91505092915050565b614d24816143a0565b8114614d2f57600080fd5b50565b600081359050614d4181614d1b565b92915050565b60008060408385031215614d5e57614d5d613f55565b5b6000614d6c85828601614181565b9250506020614d7d85828601614d32565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614dce57607f821691505b60208210811415614de257614de1614d87565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614e2282614160565b9150614e2d83614160565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e6657614e65614de8565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614eab82614160565b9150614eb683614160565b925082614ec657614ec5614e71565b5b828204905092915050565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614f076011836140b0565b9150614f1282614ed1565b602082019050919050565b60006020820190508181036000830152614f3681614efa565b9050919050565b7f4d696e74207175616e746974792063616e6e6f74206265207a65726f00000000600082015250565b6000614f73601c836140b0565b9150614f7e82614f3d565b602082019050919050565b60006020820190508181036000830152614fa281614f66565b9050919050565b6000614fb482614160565b9150614fbf83614160565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ff457614ff3614de8565b5b828201905092915050565b7f4d617820737570706c79206f7665720000000000000000000000000000000000600082015250565b6000615035600f836140b0565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006150a1601f836140b0565b91506150ac8261506b565b602082019050919050565b600060208201905081810360008301526150d081615094565b9050919050565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b600061510d6015836140b0565b9150615118826150d7565b602082019050919050565b6000602082019050818103600083015261513c81615100565b9050919050565b60008160601b9050919050565b600061515b82615143565b9050919050565b600061516d82615150565b9050919050565b6151856151808261403a565b615162565b82525050565b60006151978284615174565b60148201915081905092915050565b7f496e76616c6964204d65726b6c652050726f6f66000000000000000000000000600082015250565b60006151dc6014836140b0565b91506151e7826151a6565b602082019050919050565b6000602082019050818103600083015261520b816151cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b50565b600061525c600083615241565b91506152678261524c565b600082019050919050565b600061527d8261524f565b9150819050919050565b7f4661696c656420746f2077697468647261772045746865720000000000000000600082015250565b60006152bd6018836140b0565b91506152c882615287565b602082019050919050565b600060208201905081810360008301526152ec816152b0565b9050919050565b7f50726573616c6520697320616374697665000000000000000000000000000000600082015250565b60006153296011836140b0565b9150615334826152f3565b602082019050919050565b600060208201905081810360008301526153588161531c565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b6000615395601f836140b0565b91506153a08261535f565b602082019050919050565b600060208201905081810360008301526153c481615388565b9050919050565b600081905092915050565b60006153e1826140a5565b6153eb81856153cb565b93506153fb8185602086016140c1565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061543d6005836153cb565b915061544882615407565b600582019050919050565b600061545f82856153d6565b915061546b82846153d6565b915061547682615430565b91508190509392505050565b7f546869732066656174757265206973206e6f742079657420617661696c61626c60008201527f652e000000000000000000000000000000000000000000000000000000000000602082015250565b60006154de6022836140b0565b91506154e982615482565b604082019050919050565b6000602082019050818103600083015261550d816154d1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155706026836140b0565b915061557b82615514565b604082019050919050565b6000602082019050818103600083015261559f81615563565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006155dc6020836140b0565b91506155e7826155a6565b602082019050919050565b6000602082019050818103600083015261560b816155cf565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600061566e602a836140b0565b915061567982615612565b604082019050919050565b6000602082019050818103600083015261569d81615661565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006156da6019836140b0565b91506156e5826156a4565b602082019050919050565b60006020820190508181036000830152615709816156cd565b9050919050565b600061571b82614160565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561574e5761574d614de8565b5b600182019050919050565b7f4e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b600061578f6010836140b0565b915061579a82615759565b602082019050919050565b600060208201905081810360008301526157be81615782565b9050919050565b7f4d696e74207175616e74697479206f7665720000000000000000000000000000600082015250565b60006157fb6012836140b0565b9150615806826157c5565b602082019050919050565b6000602082019050818103600083015261582a816157ee565b9050919050565b7f416c726561647920636c61696d6564206d617800000000000000000000000000600082015250565b60006158676013836140b0565b915061587282615831565b602082019050919050565b600060208201905081810360008301526158968161585a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006158c48261589d565b6158ce81856158a8565b93506158de8185602086016140c1565b6158e7816140f4565b840191505092915050565b600060808201905061590760008301876141c3565b61591460208301866141c3565b615921604083018561422d565b818103606083015261593381846158b9565b905095945050505050565b60008151905061594d81613f8b565b92915050565b60006020828403121561596957615968613f55565b5b60006159778482850161593e565b91505092915050565b600061598b82614160565b915061599683614160565b9250828210156159a9576159a8614de8565b5b828203905092915050565b60006159bf82614160565b91506159ca83614160565b9250826159da576159d9614e71565b5b828206905092915050565b7f596f752063616e206368616e676520746865204368696d65726120737461747560008201527f73206f6e6c79206f776e65727300000000000000000000000000000000000000602082015250565b6000615a41602d836140b0565b9150615a4c826159e5565b604082019050919050565b60006020820190508181036000830152615a7081615a34565b905091905056fea2646970667358221220087a1e29c968fa6e929cc3a671ac406398e9e6a2ac6d769c1313f171e94aa7d364736f6c63430008090033

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.