ETH Price: $2,847.05 (+9.64%)
 

Overview

Max Total Supply

4,710 TODPORTAL01

Holders

643

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 TODPORTAL01
0xf56012e399945dac88c1c696bb03b3e688c9e582
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:
TODPortalsCollection01

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.10;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "erc721a/contracts/IERC721A.sol";

contract TODPortalsCollection01 is ERC721AQueryable, Ownable, PaymentSplitter, Pausable,  ReentrancyGuard {
    using Strings for uint256;
    string private _baseTokenURI;
    IERC721A public todNFT;

    //sale settings
    uint256 public cost = 0.00 ether;
    uint256 public maxSupply = 6000;
    uint256 public maxPublicSupply = 1000;
    uint256 public maxMint = 20;
    uint256 public claimRemainder = 0;
    uint256 public publicMinted;
    bool public publicSaleActive = false;
    bool public claimRemainderActive = false;

    //token claim mapping
    mapping(uint256 => bool) public claimedByTokenId;
    mapping(uint256 => bool) public claimedSecondByTokenId;

    //share settings
    address[] private addressList = [
    //founders wallet
    0xa449A4f67d74de0c4a11A8137AfF77838a277437,
    //dev wallet
    0xc3960f9ea17e0E960E8b1A2F870fe7A6a1954D41
    ];

    uint[] private shareList = [70, 30];

    constructor(
        address _setTodNFTContract
    ) ERC721A("TODPortalsCollection01", "TODPORTAL01") PaymentSplitter(addressList, shareList) {
        todNFT = IERC721A(_setTodNFTContract);
    }

    // public minting
    function mintWithTOD(uint256[] memory TODIds) public nonReentrant {
        require(publicSaleActive, "Public sale has not begun yet");
        require(TODIds.length > 0, "Can not mint 0" );
        for (uint256 i = 0; i < TODIds.length; ++i) {
            require(TODIds[i] >= 1 && TODIds[i] <= 5001, "Token ID invalid");
            require(todNFT.ownerOf(TODIds[i]) == msg.sender, "Not the owner of this ODDY");
            require(claimedByTokenId[TODIds[i]] == false, "You have already claimed for one of these tokens");
            claimedByTokenId[TODIds[i]] = true;
        }
        _mint(msg.sender, TODIds.length);
    }

    function publicMint(uint256 _mintAmount) public payable nonReentrant{
        uint256 s = totalSupply();
        require(publicSaleActive, "Public sale has not begun yet");
        require(_mintAmount > 0, "Can not mint 0" );
        require(_mintAmount <= maxMint, "Can not mint this many" );
        require(publicMinted + _mintAmount <= maxPublicSupply, "Can not go over public supply");
        require(cost * _mintAmount == msg.value, "Wrong amount");
        require(s + _mintAmount <= maxSupply, "Can not go over max supply" );
        publicMinted += _mintAmount;
        _mint(msg.sender, _mintAmount);
        delete s;
    }

    function mintRemainderWithTOD(uint256[] memory TODIds) public nonReentrant {
        uint256 s = totalSupply();
        uint256 claimMintTotal = TODIds.length * claimRemainder;
        require(claimRemainderActive, "Secondary claim not activated");
        require(TODIds.length > 0, "Can not mint 0" );
        require(s + claimMintTotal <= maxSupply, "Can not go over max supply" );
        for (uint256 i = 0; i < TODIds.length; ++i) {
            require(TODIds[i] >= 1 && TODIds[i] <= 5001, "Token ID invalid");
            require(todNFT.ownerOf(TODIds[i]) == msg.sender, "Not the owner of this ODDY");
            require(claimedSecondByTokenId[TODIds[i]] == false, "You have already claimed for one of these tokens");
            claimedSecondByTokenId[TODIds[i]] = true;
        }
        _mint(msg.sender, claimMintTotal);
        delete s;
    }

    //dev minting
    function gift(uint256[] calldata _mintAmount, address[] calldata recipient) external onlyOwner{
        for(uint i = 0; i < recipient.length; ++i){
            require(publicMinted + _mintAmount[i] <= maxPublicSupply, "Can not go over public supply");
            require(_mintAmount[i] > 0, "Can not mint 0");
            publicMinted += _mintAmount[i];
            _mint( recipient[i], _mintAmount[i]);
        }
    }

    // admin functionality
    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }
    function setMaxMint(uint256 _newmaxMint) public onlyOwner {
        maxMint = _newmaxMint;
    }
    function setMaxSupply(uint256 _newMaxSupply) public onlyOwner {
        maxSupply = _newMaxSupply;
    }
    function setMaxPublicSupply(uint256 _newMaxPublicSupply) public onlyOwner {
        maxPublicSupply = _newMaxPublicSupply;
    }
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }
    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }
    function setPublicSaleStatus(bool _status) public onlyOwner {
        publicSaleActive = _status;
    }
    function setClaimRemainderStatus(bool _status) public onlyOwner {
        claimRemainderActive = _status;
    }
    function setClaimRemainderAmount(uint256 _newClaimRemainder) public onlyOwner {
        claimRemainder = _newClaimRemainder;
    }
    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
        require(success);
    }
    function withdrawSplit() public onlyOwner {
        for (uint256 sh = 0; sh < addressList.length; sh++) {
            address payable wallet = payable(addressList[sh]);
            release(wallet);
        }
    }
}

File 2 of 15 : 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 3 of 15 : 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 4 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 5 of 15 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the
 * time of contract deployment and can't be updated thereafter.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Getter for the amount of payee's releasable Ether.
     */
    function releasable(address account) public view returns (uint256) {
        uint256 totalReceived = address(this).balance + totalReleased();
        return _pendingPayment(account, totalReceived, released(account));
    }

    /**
     * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an
     * IERC20 contract.
     */
    function releasable(IERC20 token, address account) public view returns (uint256) {
        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        return _pendingPayment(account, totalReceived, released(token, account));
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 payment = releasable(account);

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 payment = releasable(token, account);

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 6 of 15 : 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 7 of 15 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

/**
 * @title ERC721A Queryable
 * @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 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[] memory tokenIds) external view 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 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 pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view 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 8 of 15 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
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();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of 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 through `_extraData`.
        uint24 extraData;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

    // ==============================
    //            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);

    // ==============================
    //            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`.
     *
     * 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 calldata data
    ) external;

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

    /**
     * @dev Transfers `tokenId` token 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 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 9 of 15 : 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 10 of 15 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 12 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 13 of 15 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 14 of 15 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of an ERC721AQueryable compliant contract.
 */
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`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    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 pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 15 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
 * including the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at `_startTokenId()`
 * (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // 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 tokenId of the next token 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 => address) private _tokenApprovals;

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

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

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view 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 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 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 returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    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: 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.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view 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 {
        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;
    }

    /**
     * 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 ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

    /**
     * @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 See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    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 '';
    }

    /**
     * @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))
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    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 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 (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, 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 {
        _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 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 {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        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 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        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 Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * 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) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(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++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool 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))
                }
            }
        }
    }

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        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 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;
    }

    /**
     * @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 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 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 returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 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: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_setTodNFTContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":[],"name":"claimRemainder","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRemainderActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedByTokenId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedSecondByTokenId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","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":"_mintAmount","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"TODIds","type":"uint256[]"}],"name":"mintRemainderWithTOD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"TODIds","type":"uint256[]"}],"name":"mintWithTOD","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newClaimRemainder","type":"uint256"}],"name":"setClaimRemainderAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setClaimRemainderStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMint","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxPublicSupply","type":"uint256"}],"name":"setMaxPublicSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setPublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"todNFT","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdrawSplit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260006014556117706015556103e8601655601460175560006018556000601a60006101000a81548160ff0219169083151502179055506000601a60016101000a81548160ff021916908315150217905550604051806040016040528073a449a4f67d74de0c4a11a8137aff77838a27743773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173c3960f9ea17e0e960e8b1a2f870fe7a6a1954d4173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250601d906002620000fc9291906200078e565b506040518060400160405280604660ff168152602001601e60ff16815250601e9060026200012c9291906200081d565b503480156200013a57600080fd5b5060405162006b3b38038062006b3b83398181016040528101906200016091906200098e565b601d805480602002602001604051908101604052809291908181526020018280548015620001e457602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831162000199575b5050505050601e8054806020026020016040519081016040528092919081815260200182805480156200023757602002820191906000526020600020905b81548152602001906001019080831162000222575b50505050506040518060400160405280601681526020017f544f44506f7274616c73436f6c6c656374696f6e3031000000000000000000008152506040518060400160405280600b81526020017f544f44504f5254414c30310000000000000000000000000000000000000000008152508160029080519060200190620002c092919062000874565b508060039080519060200190620002d992919062000874565b50620002ea6200047d60201b60201c565b600081905550505062000312620003066200048660201b60201c565b6200048e60201b60201c565b805182511462000359576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003509062000a47565b60405180910390fd5b6000825111620003a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003979062000ab9565b60405180910390fd5b60005b82518110156200040f57620003f9838281518110620003c757620003c662000adb565b5b6020026020010151838381518110620003e557620003e462000adb565b5b60200260200101516200055460201b60201c565b8080620004069062000b43565b915050620003a3565b5050506000601060006101000a81548160ff021916908315150217905550600160118190555080601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000e44565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620005c7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005be9062000c07565b60405180910390fd5b600081116200060d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006049062000c79565b60405180910390fd5b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000692576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006899062000d11565b60405180910390fd5b600d829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060095462000749919062000d33565b6009819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200078292919062000db2565b60405180910390a15050565b8280548282559060005260206000209081019282156200080a579160200282015b82811115620008095782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620007af565b5b50905062000819919062000905565b5090565b82805482825590600052602060002090810192821562000861579160200282015b8281111562000860578251829060ff169055916020019190600101906200083e565b5b50905062000870919062000905565b5090565b828054620008829062000e0e565b90600052602060002090601f016020900481019282620008a65760008555620008f2565b82601f10620008c157805160ff1916838001178555620008f2565b82800160010185558215620008f2579182015b82811115620008f1578251825591602001919060010190620008d4565b5b50905062000901919062000905565b5090565b5b808211156200092057600081600090555060010162000906565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620009568262000929565b9050919050565b620009688162000949565b81146200097457600080fd5b50565b60008151905062000988816200095d565b92915050565b600060208284031215620009a757620009a662000924565b5b6000620009b78482850162000977565b91505092915050565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b600062000a2f603283620009c0565b915062000a3c82620009d1565b604082019050919050565b6000602082019050818103600083015262000a628162000a20565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b600062000aa1601a83620009c0565b915062000aae8262000a69565b602082019050919050565b6000602082019050818103600083015262000ad48162000a92565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b600062000b508262000b39565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000b865762000b8562000b0a565b5b600182019050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b600062000bef602c83620009c0565b915062000bfc8262000b91565b604082019050919050565b6000602082019050818103600083015262000c228162000be0565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b600062000c61601d83620009c0565b915062000c6e8262000c29565b602082019050919050565b6000602082019050818103600083015262000c948162000c52565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b600062000cf9602b83620009c0565b915062000d068262000c9b565b604082019050919050565b6000602082019050818103600083015262000d2c8162000cea565b9050919050565b600062000d408262000b39565b915062000d4d8362000b39565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000d855762000d8462000b0a565b5b828201905092915050565b62000d9b8162000949565b82525050565b62000dac8162000b39565b82525050565b600060408201905062000dc9600083018562000d90565b62000dd8602083018462000da1565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000e2757607f821691505b6020821081141562000e3e5762000e3d62000ddf565b5b50919050565b615ce78062000e546000396000f3fe6080604052600436106103855760003560e01c80637501f741116101d1578063a50e89ff11610102578063c87b56dd116100a0578063e33b7de31161006f578063e33b7de314610dad578063e5bcf06314610dd8578063e985e9c514610e01578063f2fde38b14610e3e576103cc565b8063c87b56dd14610ccb578063ce7c2ac214610d08578063d5abeb0114610d45578063d79779b214610d70576103cc565b8063bc8893b4116100dc578063bc8893b414610be9578063c23dc68f14610c14578063c2c3f89a14610c51578063c45ac05014610c8e576103cc565b8063a50e89ff14610b80578063b423fe6714610b97578063b88d4fde14610bc0576103cc565b806395d89b411161016f57806399a2557a1161014957806399a2557a14610ab2578063a22cb46514610aef578063a3f8eace14610b18578063a4f4f8af14610b55576103cc565b806395d89b4114610a2157806396ea3a4714610a4c5780639852595c14610a75576103cc565b8063896265b3116101ab578063896265b3146109535780638b83209b146109905780638c856841146109cd5780638da5cb5b146109f6576103cc565b80637501f741146108c0578063818cbd3b146108eb5780638462151c14610916576103cc565b80633a98ef39116102b657806355f804b31161025457806366182ffa1161022357806366182ffa1461081a5780636f8b44b01461084357806370a082311461086c578063715018a6146108a9576103cc565b806355f804b31461074c5780635bbb2177146107755780635c975abb146107b25780636352211e146107dd576103cc565b806342842e0e1161029057806342842e0e146106a857806344a0d68a146106d157806348b75044146106fa578063547520fe14610723576103cc565b80633a98ef39146106365780633ccfd60b14610661578063406072a91461066b576103cc565b8063191655871161032357806326a74d8e116102fd57806326a74d8e1461059b5780632d5a79a0146105c65780632db11544146105f1578063365ea8641461060d576103cc565b8063191655871461051e578063212abe5b1461054757806323b872dd14610572576103cc565b8063095ea7b31161035f578063095ea7b31461047657806313faede61461049f57806317a13dea146104ca57806318160ddd146104f3576103cc565b806301ffc9a7146103d157806306fdde031461040e578063081812fc14610439576103cc565b366103cc577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706103b3610e67565b346040516103c29291906140ad565b60405180910390a1005b600080fd5b3480156103dd57600080fd5b506103f860048036038101906103f39190614142565b610e6f565b604051610405919061418a565b60405180910390f35b34801561041a57600080fd5b50610423610f01565b604051610430919061423e565b60405180910390f35b34801561044557600080fd5b50610460600480360381019061045b919061428c565b610f93565b60405161046d91906142b9565b60405180910390f35b34801561048257600080fd5b5061049d60048036038101906104989190614300565b61100f565b005b3480156104ab57600080fd5b506104b4611150565b6040516104c19190614340565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec919061428c565b611156565b005b3480156104ff57600080fd5b50610508611168565b6040516105159190614340565b60405180910390f35b34801561052a57600080fd5b5061054560048036038101906105409190614399565b61117f565b005b34801561055357600080fd5b5061055c611308565b6040516105699190614340565b60405180910390f35b34801561057e57600080fd5b50610599600480360381019061059491906143c6565b61130e565b005b3480156105a757600080fd5b506105b0611633565b6040516105bd9190614340565b60405180910390f35b3480156105d257600080fd5b506105db611639565b6040516105e8919061418a565b60405180910390f35b61060b6004803603810190610606919061428c565b61164c565b005b34801561061957600080fd5b50610634600480360381019061062f9190614561565b6118a1565b005b34801561064257600080fd5b5061064b611c9a565b6040516106589190614340565b60405180910390f35b610669611ca4565b005b34801561067757600080fd5b50610692600480360381019061068d91906145e8565b611d25565b60405161069f9190614340565b60405180910390f35b3480156106b457600080fd5b506106cf60048036038101906106ca91906143c6565b611dac565b005b3480156106dd57600080fd5b506106f860048036038101906106f3919061428c565b611dcc565b005b34801561070657600080fd5b50610721600480360381019061071c91906145e8565b611dde565b005b34801561072f57600080fd5b5061074a6004803603810190610745919061428c565b611ffb565b005b34801561075857600080fd5b50610773600480360381019061076e9190614683565b61200d565b005b34801561078157600080fd5b5061079c60048036038101906107979190614561565b61202b565b6040516107a99190614833565b60405180910390f35b3480156107be57600080fd5b506107c76120ec565b6040516107d4919061418a565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff919061428c565b612103565b60405161081191906142b9565b60405180910390f35b34801561082657600080fd5b50610841600480360381019061083c9190614561565b612115565b005b34801561084f57600080fd5b5061086a6004803603810190610865919061428c565b61249a565b005b34801561087857600080fd5b50610893600480360381019061088e9190614855565b6124ac565b6040516108a09190614340565b60405180910390f35b3480156108b557600080fd5b506108be612565565b005b3480156108cc57600080fd5b506108d5612579565b6040516108e29190614340565b60405180910390f35b3480156108f757600080fd5b5061090061257f565b60405161090d91906148e1565b60405180910390f35b34801561092257600080fd5b5061093d60048036038101906109389190614855565b6125a5565b60405161094a91906149ba565b60405180910390f35b34801561095f57600080fd5b5061097a6004803603810190610975919061428c565b6126ef565b604051610987919061418a565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b2919061428c565b61270f565b6040516109c491906142b9565b60405180910390f35b3480156109d957600080fd5b506109f460048036038101906109ef9190614a08565b612757565b005b348015610a0257600080fd5b50610a0b61277c565b604051610a1891906142b9565b60405180910390f35b348015610a2d57600080fd5b50610a366127a6565b604051610a43919061423e565b60405180910390f35b348015610a5857600080fd5b50610a736004803603810190610a6e9190614ae1565b612838565b005b348015610a8157600080fd5b50610a9c6004803603810190610a979190614855565b6129a9565b604051610aa99190614340565b60405180910390f35b348015610abe57600080fd5b50610ad96004803603810190610ad49190614b62565b6129f2565b604051610ae691906149ba565b60405180910390f35b348015610afb57600080fd5b50610b166004803603810190610b119190614bb5565b612c06565b005b348015610b2457600080fd5b50610b3f6004803603810190610b3a9190614855565b612d7e565b604051610b4c9190614340565b60405180910390f35b348015610b6157600080fd5b50610b6a612db1565b604051610b779190614340565b60405180910390f35b348015610b8c57600080fd5b50610b95612db7565b005b348015610ba357600080fd5b50610bbe6004803603810190610bb99190614a08565b612e32565b005b348015610bcc57600080fd5b50610be76004803603810190610be29190614caa565b612e57565b005b348015610bf557600080fd5b50610bfe612eca565b604051610c0b919061418a565b60405180910390f35b348015610c2057600080fd5b50610c3b6004803603810190610c36919061428c565b612edd565b604051610c489190614d82565b60405180910390f35b348015610c5d57600080fd5b50610c786004803603810190610c73919061428c565b612f47565b604051610c85919061418a565b60405180910390f35b348015610c9a57600080fd5b50610cb56004803603810190610cb091906145e8565b612f67565b604051610cc29190614340565b60405180910390f35b348015610cd757600080fd5b50610cf26004803603810190610ced919061428c565b613016565b604051610cff919061423e565b60405180910390f35b348015610d1457600080fd5b50610d2f6004803603810190610d2a9190614855565b6130b5565b604051610d3c9190614340565b60405180910390f35b348015610d5157600080fd5b50610d5a6130fe565b604051610d679190614340565b60405180910390f35b348015610d7c57600080fd5b50610d976004803603810190610d929190614d9d565b613104565b604051610da49190614340565b60405180910390f35b348015610db957600080fd5b50610dc261314d565b604051610dcf9190614340565b60405180910390f35b348015610de457600080fd5b50610dff6004803603810190610dfa919061428c565b613157565b005b348015610e0d57600080fd5b50610e286004803603810190610e239190614dca565b613169565b604051610e35919061418a565b60405180910390f35b348015610e4a57600080fd5b50610e656004803603810190610e609190614855565b6131fd565b005b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610eca57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610efa5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610f1090614e39565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3c90614e39565b8015610f895780601f10610f5e57610100808354040283529160200191610f89565b820191906000526020600020905b815481529060010190602001808311610f6c57829003601f168201915b5050505050905090565b6000610f9e82613281565b610fd4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061101a82612103565b90508073ffffffffffffffffffffffffffffffffffffffff1661103b6132e0565b73ffffffffffffffffffffffffffffffffffffffff161461109e57611067816110626132e0565b613169565b61109d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60145481565b61115e6132e8565b8060188190555050565b6000611172613366565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f890614edd565b60405180910390fd5b600061120c82612d7e565b90506000811415611252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124990614f6f565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112a19190614fbe565b9250508190555080600a60008282546112ba9190614fbe565b925050819055506112cb828261336f565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05682826040516112fc929190615035565b60405180910390a15050565b60185481565b600061131982613463565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611380576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061138c84613531565b915091506113a2818761139d6132e0565b613553565b6113ee576113b7866113b26132e0565b613169565b6113ed576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611455576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114628686866001613597565b801561146d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061153b8561151788888761359d565b7c0200000000000000000000000000000000000000000000000000000000176135c5565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156115c35760006001850190506000600460008381526020019081526020016000205414156115c15760005481146115c0578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461162b86868660016135f0565b505050505050565b60165481565b601a60019054906101000a900460ff1681565b60026011541415611692576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611689906150aa565b60405180910390fd5b600260118190555060006116a4611168565b9050601a60009054906101000a900460ff166116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec90615116565b60405180910390fd5b60008211611738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172f90615182565b60405180910390fd5b60175482111561177d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611774906151ee565b60405180910390fd5b6016548260195461178e9190614fbe565b11156117cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c69061525a565b60405180910390fd5b34826014546117de919061527a565b1461181e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181590615320565b60405180910390fd5b601554828261182d9190614fbe565b111561186e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118659061538c565b60405180910390fd5b81601960008282546118809190614fbe565b9250508190555061189133836135f6565b6000905050600160118190555050565b600260115414156118e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118de906150aa565b60405180910390fd5b600260118190555060006118f9611168565b90506000601854835161190c919061527a565b9050601a60019054906101000a900460ff1661195d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611954906153f8565b60405180910390fd5b60008351116119a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199890615182565b60405180910390fd5b60155481836119b09190614fbe565b11156119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e89061538c565b60405180910390fd5b60005b8351811015611c7e576001848281518110611a1257611a11615418565b5b602002602001015110158015611a445750611389848281518110611a3957611a38615418565b5b602002602001015111155b611a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7a90615493565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e868481518110611aeb57611aea615418565b5b60200260200101516040518263ffffffff1660e01b8152600401611b0f9190614340565b602060405180830381865afa158015611b2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5091906154c8565b73ffffffffffffffffffffffffffffffffffffffff1614611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d90615541565b60405180910390fd5b60001515601c6000868481518110611bc157611bc0615418565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff16151514611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e906155d3565b60405180910390fd5b6001601c6000868481518110611c4057611c3f615418565b5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555080611c77906155f3565b90506119f4565b50611c8933826135f6565b600091505050600160118190555050565b6000600954905090565b611cac6132e8565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611cd29061566d565b60006040518083038185875af1925050503d8060008114611d0f576040519150601f19603f3d011682016040523d82523d6000602084013e611d14565b606091505b5050905080611d2257600080fd5b50565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611dc783838360405180602001604052806000815250612e57565b505050565b611dd46132e8565b8060148190555050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5790614edd565b60405180910390fd5b6000611e6c8383612f67565b90506000811415611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea990614f6f565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f3e9190614fbe565b9250508190555080600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f949190614fbe565b92505081905550611fa68383836137ca565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8383604051611fee9291906140ad565b60405180910390a2505050565b6120036132e8565b8060178190555050565b6120156132e8565b818160129190612026929190613f61565b505050565b606060008251905060008167ffffffffffffffff81111561204f5761204e61441e565b5b60405190808252806020026020018201604052801561208857816020015b612075613fe7565b81526020019060019003908161206d5790505b50905060005b8281146120e1576120b88582815181106120ab576120aa615418565b5b6020026020010151612edd565b8282815181106120cb576120ca615418565b5b602002602001018190525080600101905061208e565b508092505050919050565b6000601060009054906101000a900460ff16905090565b600061210e82613463565b9050919050565b6002601154141561215b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612152906150aa565b60405180910390fd5b6002601181905550601a60009054906101000a900460ff166121b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a990615116565b60405180910390fd5b60008151116121f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ed90615182565b60405180910390fd5b60005b815181101561248357600182828151811061221757612216615418565b5b602002602001015110158015612249575061138982828151811061223e5761223d615418565b5b602002602001015111155b612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f90615493565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8484815181106122f0576122ef615418565b5b60200260200101516040518263ffffffff1660e01b81526004016123149190614340565b602060405180830381865afa158015612331573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235591906154c8565b73ffffffffffffffffffffffffffffffffffffffff16146123ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a290615541565b60405180910390fd5b60001515601b60008484815181106123c6576123c5615418565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff1615151461242c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612423906155d3565b60405180910390fd5b6001601b600084848151811061244557612444615418565b5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055508061247c906155f3565b90506121f9565b5061248f3382516135f6565b600160118190555050565b6124a26132e8565b8060158190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612514576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61256d6132e8565b6125776000613850565b565b60175481565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008060006125b5856124ac565b905060008167ffffffffffffffff8111156125d3576125d261441e565b5b6040519080825280602002602001820160405280156126015781602001602082028036833780820191505090505b50905061260c613fe7565b6000612616613366565b90505b8386146126e15761262981613916565b915081604001511561263a576126d6565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461267a57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156126d557808387806001019850815181106126c8576126c7615418565b5b6020026020010181815250505b5b806001019050612619565b508195505050505050919050565b601b6020528060005260406000206000915054906101000a900460ff1681565b6000600d828154811061272557612724615418565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61275f6132e8565b80601a60016101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546127b590614e39565b80601f01602080910402602001604051908101604052809291908181526020018280546127e190614e39565b801561282e5780601f106128035761010080835404028352916020019161282e565b820191906000526020600020905b81548152906001019060200180831161281157829003601f168201915b5050505050905090565b6128406132e8565b60005b828290508110156129a25760165485858381811061286457612863615418565b5b905060200201356019546128789190614fbe565b11156128b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b09061525a565b60405180910390fd5b60008585838181106128ce576128cd615418565b5b9050602002013511612915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290c90615182565b60405180910390fd5b84848281811061292857612927615418565b5b90506020020135601960008282546129409190614fbe565b9250508190555061299183838381811061295d5761295c615418565b5b90506020020160208101906129729190614855565b86868481811061298557612984615418565b5b905060200201356135f6565b8061299b906155f3565b9050612843565b5050505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060818310612a2d576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612a38613941565b9050612a42613366565b851015612a5457612a51613366565b94505b80841115612a60578093505b6000612a6b876124ac565b905084861015612a8e576000868603905081811015612a88578091505b50612a93565b600090505b60008167ffffffffffffffff811115612aaf57612aae61441e565b5b604051908082528060200260200182016040528015612add5781602001602082028036833780820191505090505b5090506000821415612af55780945050505050612bff565b6000612b0088612edd565b905060008160400151612b1557816000015190505b60008990505b888114158015612b2b5750848714155b15612bf157612b3981613916565b9250826040015115612b4a57612be6565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614612b8a57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612be55780848880600101995081518110612bd857612bd7615418565b5b6020026020010181815250505b5b806001019050612b1b565b508583528296505050505050505b9392505050565b612c0e6132e0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c73576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612c806132e0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612d2d6132e0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d72919061418a565b60405180910390a35050565b600080612d8961314d565b47612d949190614fbe565b9050612da98382612da4866129a9565b61394a565b915050919050565b60195481565b612dbf6132e8565b60005b601d80549050811015612e2f576000601d8281548110612de557612de4615418565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050612e1b8161117f565b508080612e27906155f3565b915050612dc2565b50565b612e3a6132e8565b80601a60006101000a81548160ff02191690831515021790555050565b612e6284848461130e565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612ec457612e8d848484846139b8565b612ec3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b601a60009054906101000a900460ff1681565b612ee5613fe7565b612eed613fe7565b612ef5613366565b831080612f095750612f05613941565b8310155b15612f175780915050612f42565b612f2083613916565b9050806040015115612f355780915050612f42565b612f3e83613b09565b9150505b919050565b601c6020528060005260406000206000915054906101000a900460ff1681565b600080612f7384613104565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612fac91906142b9565b602060405180830381865afa158015612fc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fed9190615697565b612ff79190614fbe565b905061300d83826130088787611d25565b61394a565b91505092915050565b606061302182613281565b613057576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613061613b29565b905060008151141561308257604051806020016040528060008152506130ad565b8061308c84613bbb565b60405160200161309d929190615700565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60155481565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b61315f6132e8565b8060168190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6132056132e8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326c90615796565b60405180910390fd5b61327e81613850565b50565b60008161328c613366565b1115801561329b575060005482105b80156132d9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6132f0610e67565b73ffffffffffffffffffffffffffffffffffffffff1661330e61277c565b73ffffffffffffffffffffffffffffffffffffffff1614613364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335b90615802565b60405180910390fd5b565b60006001905090565b804710156133b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a99061586e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516133d89061566d565b60006040518083038185875af1925050503d8060008114613415576040519150601f19603f3d011682016040523d82523d6000602084013e61341a565b606091505b505090508061345e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345590615900565b60405180910390fd5b505050565b60008082905080613472613366565b116134fa576000548110156134f95760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156134f7575b60008114156134ed5760046000836001900393508381526020019081526020016000205490506134c2565b809250505061352c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86135b4868684613c15565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613663576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082141561369e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6136ab6000848385613597565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061372283613713600086600061359d565b61371c85613c1e565b176135c5565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613746578060008190555050506137c560008483856135f0565b505050565b61384b8363a9059cbb60e01b84846040516024016137e99291906140ad565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613c2e565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61391e613fe7565b61393a6004600084815260200190815260200160002054613cf5565b9050919050565b60008054905090565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561399b919061527a565b6139a5919061594f565b6139af9190615980565b90509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139de6132e0565b8786866040518563ffffffff1660e01b8152600401613a009493929190615a09565b6020604051808303816000875af1925050508015613a3c57506040513d601f19601f82011682018060405250810190613a399190615a6a565b60015b613ab6573d8060008114613a6c576040519150601f19603f3d011682016040523d82523d6000602084013e613a71565b606091505b50600081511415613aae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b613b11613fe7565b613b22613b1d83613463565b613cf5565b9050919050565b606060128054613b3890614e39565b80601f0160208091040260200160405190810160405280929190818152602001828054613b6490614e39565b8015613bb15780601f10613b8657610100808354040283529160200191613bb1565b820191906000526020600020905b815481529060010190602001808311613b9457829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015613c0157600183039250600a81066030018353600a81049050613be1565b508181036020830392508083525050919050565b60009392505050565b60006001821460e11b9050919050565b6000613c90826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613dab9092919063ffffffff16565b9050600081511115613cf05780806020019051810190613cb09190615aac565b613cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ce690615b4b565b60405180910390fd5b5b505050565b613cfd613fe7565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6060613dba8484600085613dc3565b90509392505050565b606082471015613e08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dff90615bdd565b60405180910390fd5b613e1185613ed7565b613e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e4790615c49565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613e799190615c9a565b60006040518083038185875af1925050503d8060008114613eb6576040519150601f19603f3d011682016040523d82523d6000602084013e613ebb565b606091505b5091509150613ecb828286613efa565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315613f0a57829050613f5a565b600083511115613f1d5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f51919061423e565b60405180910390fd5b9392505050565b828054613f6d90614e39565b90600052602060002090601f016020900481019282613f8f5760008555613fd6565b82601f10613fa857803560ff1916838001178555613fd6565b82800160010185558215613fd6579182015b82811115613fd5578235825591602001919060010190613fba565b5b509050613fe39190614036565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561404f576000816000905550600101614037565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061407e82614053565b9050919050565b61408e81614073565b82525050565b6000819050919050565b6140a781614094565b82525050565b60006040820190506140c26000830185614085565b6140cf602083018461409e565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61411f816140ea565b811461412a57600080fd5b50565b60008135905061413c81614116565b92915050565b600060208284031215614158576141576140e0565b5b60006141668482850161412d565b91505092915050565b60008115159050919050565b6141848161416f565b82525050565b600060208201905061419f600083018461417b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156141df5780820151818401526020810190506141c4565b838111156141ee576000848401525b50505050565b6000601f19601f8301169050919050565b6000614210826141a5565b61421a81856141b0565b935061422a8185602086016141c1565b614233816141f4565b840191505092915050565b600060208201905081810360008301526142588184614205565b905092915050565b61426981614094565b811461427457600080fd5b50565b60008135905061428681614260565b92915050565b6000602082840312156142a2576142a16140e0565b5b60006142b084828501614277565b91505092915050565b60006020820190506142ce6000830184614085565b92915050565b6142dd81614073565b81146142e857600080fd5b50565b6000813590506142fa816142d4565b92915050565b60008060408385031215614317576143166140e0565b5b6000614325858286016142eb565b925050602061433685828601614277565b9150509250929050565b6000602082019050614355600083018461409e565b92915050565b600061436682614053565b9050919050565b6143768161435b565b811461438157600080fd5b50565b6000813590506143938161436d565b92915050565b6000602082840312156143af576143ae6140e0565b5b60006143bd84828501614384565b91505092915050565b6000806000606084860312156143df576143de6140e0565b5b60006143ed868287016142eb565b93505060206143fe868287016142eb565b925050604061440f86828701614277565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614456826141f4565b810181811067ffffffffffffffff821117156144755761447461441e565b5b80604052505050565b60006144886140d6565b9050614494828261444d565b919050565b600067ffffffffffffffff8211156144b4576144b361441e565b5b602082029050602081019050919050565b600080fd5b60006144dd6144d884614499565b61447e565b90508083825260208201905060208402830185811115614500576144ff6144c5565b5b835b8181101561452957806145158882614277565b845260208401935050602081019050614502565b5050509392505050565b600082601f83011261454857614547614419565b5b81356145588482602086016144ca565b91505092915050565b600060208284031215614577576145766140e0565b5b600082013567ffffffffffffffff811115614595576145946140e5565b5b6145a184828501614533565b91505092915050565b60006145b582614073565b9050919050565b6145c5816145aa565b81146145d057600080fd5b50565b6000813590506145e2816145bc565b92915050565b600080604083850312156145ff576145fe6140e0565b5b600061460d858286016145d3565b925050602061461e858286016142eb565b9150509250929050565b600080fd5b60008083601f84011261464357614642614419565b5b8235905067ffffffffffffffff8111156146605761465f614628565b5b60208301915083600182028301111561467c5761467b6144c5565b5b9250929050565b6000806020838503121561469a576146996140e0565b5b600083013567ffffffffffffffff8111156146b8576146b76140e5565b5b6146c48582860161462d565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61470581614073565b82525050565b600067ffffffffffffffff82169050919050565b6147288161470b565b82525050565b6147378161416f565b82525050565b600062ffffff82169050919050565b6147558161473d565b82525050565b60808201600082015161477160008501826146fc565b506020820151614784602085018261471f565b506040820151614797604085018261472e565b5060608201516147aa606085018261474c565b50505050565b60006147bc838361475b565b60808301905092915050565b6000602082019050919050565b60006147e0826146d0565b6147ea81856146db565b93506147f5836146ec565b8060005b8381101561482657815161480d88826147b0565b9750614818836147c8565b9250506001810190506147f9565b5085935050505092915050565b6000602082019050818103600083015261484d81846147d5565b905092915050565b60006020828403121561486b5761486a6140e0565b5b6000614879848285016142eb565b91505092915050565b6000819050919050565b60006148a76148a261489d84614053565b614882565b614053565b9050919050565b60006148b98261488c565b9050919050565b60006148cb826148ae565b9050919050565b6148db816148c0565b82525050565b60006020820190506148f660008301846148d2565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61493181614094565b82525050565b60006149438383614928565b60208301905092915050565b6000602082019050919050565b6000614967826148fc565b6149718185614907565b935061497c83614918565b8060005b838110156149ad5781516149948882614937565b975061499f8361494f565b925050600181019050614980565b5085935050505092915050565b600060208201905081810360008301526149d4818461495c565b905092915050565b6149e58161416f565b81146149f057600080fd5b50565b600081359050614a02816149dc565b92915050565b600060208284031215614a1e57614a1d6140e0565b5b6000614a2c848285016149f3565b91505092915050565b60008083601f840112614a4b57614a4a614419565b5b8235905067ffffffffffffffff811115614a6857614a67614628565b5b602083019150836020820283011115614a8457614a836144c5565b5b9250929050565b60008083601f840112614aa157614aa0614419565b5b8235905067ffffffffffffffff811115614abe57614abd614628565b5b602083019150836020820283011115614ada57614ad96144c5565b5b9250929050565b60008060008060408587031215614afb57614afa6140e0565b5b600085013567ffffffffffffffff811115614b1957614b186140e5565b5b614b2587828801614a35565b9450945050602085013567ffffffffffffffff811115614b4857614b476140e5565b5b614b5487828801614a8b565b925092505092959194509250565b600080600060608486031215614b7b57614b7a6140e0565b5b6000614b89868287016142eb565b9350506020614b9a86828701614277565b9250506040614bab86828701614277565b9150509250925092565b60008060408385031215614bcc57614bcb6140e0565b5b6000614bda858286016142eb565b9250506020614beb858286016149f3565b9150509250929050565b600080fd5b600067ffffffffffffffff821115614c1557614c1461441e565b5b614c1e826141f4565b9050602081019050919050565b82818337600083830152505050565b6000614c4d614c4884614bfa565b61447e565b905082815260208101848484011115614c6957614c68614bf5565b5b614c74848285614c2b565b509392505050565b600082601f830112614c9157614c90614419565b5b8135614ca1848260208601614c3a565b91505092915050565b60008060008060808587031215614cc457614cc36140e0565b5b6000614cd2878288016142eb565b9450506020614ce3878288016142eb565b9350506040614cf487828801614277565b925050606085013567ffffffffffffffff811115614d1557614d146140e5565b5b614d2187828801614c7c565b91505092959194509250565b608082016000820151614d4360008501826146fc565b506020820151614d56602085018261471f565b506040820151614d69604085018261472e565b506060820151614d7c606085018261474c565b50505050565b6000608082019050614d976000830184614d2d565b92915050565b600060208284031215614db357614db26140e0565b5b6000614dc1848285016145d3565b91505092915050565b60008060408385031215614de157614de06140e0565b5b6000614def858286016142eb565b9250506020614e00858286016142eb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614e5157607f821691505b60208210811415614e6557614e64614e0a565b5b50919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000614ec76026836141b0565b9150614ed282614e6b565b604082019050919050565b60006020820190508181036000830152614ef681614eba565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000614f59602b836141b0565b9150614f6482614efd565b604082019050919050565b60006020820190508181036000830152614f8881614f4c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614fc982614094565b9150614fd483614094565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561500957615008614f8f565b5b828201905092915050565b600061501f826148ae565b9050919050565b61502f81615014565b82525050565b600060408201905061504a6000830185615026565b615057602083018461409e565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615094601f836141b0565b915061509f8261505e565b602082019050919050565b600060208201905081810360008301526150c381615087565b9050919050565b7f5075626c69632073616c6520686173206e6f7420626567756e20796574000000600082015250565b6000615100601d836141b0565b915061510b826150ca565b602082019050919050565b6000602082019050818103600083015261512f816150f3565b9050919050565b7f43616e206e6f74206d696e742030000000000000000000000000000000000000600082015250565b600061516c600e836141b0565b915061517782615136565b602082019050919050565b6000602082019050818103600083015261519b8161515f565b9050919050565b7f43616e206e6f74206d696e742074686973206d616e7900000000000000000000600082015250565b60006151d86016836141b0565b91506151e3826151a2565b602082019050919050565b60006020820190508181036000830152615207816151cb565b9050919050565b7f43616e206e6f7420676f206f766572207075626c696320737570706c79000000600082015250565b6000615244601d836141b0565b915061524f8261520e565b602082019050919050565b6000602082019050818103600083015261527381615237565b9050919050565b600061528582614094565b915061529083614094565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152c9576152c8614f8f565b5b828202905092915050565b7f57726f6e6720616d6f756e740000000000000000000000000000000000000000600082015250565b600061530a600c836141b0565b9150615315826152d4565b602082019050919050565b60006020820190508181036000830152615339816152fd565b9050919050565b7f43616e206e6f7420676f206f766572206d617820737570706c79000000000000600082015250565b6000615376601a836141b0565b915061538182615340565b602082019050919050565b600060208201905081810360008301526153a581615369565b9050919050565b7f5365636f6e6461727920636c61696d206e6f7420616374697661746564000000600082015250565b60006153e2601d836141b0565b91506153ed826153ac565b602082019050919050565b60006020820190508181036000830152615411816153d5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b600061547d6010836141b0565b915061548882615447565b602082019050919050565b600060208201905081810360008301526154ac81615470565b9050919050565b6000815190506154c2816142d4565b92915050565b6000602082840312156154de576154dd6140e0565b5b60006154ec848285016154b3565b91505092915050565b7f4e6f7420746865206f776e6572206f662074686973204f444459000000000000600082015250565b600061552b601a836141b0565b9150615536826154f5565b602082019050919050565b6000602082019050818103600083015261555a8161551e565b9050919050565b7f596f75206861766520616c726561647920636c61696d656420666f72206f6e6560008201527f206f6620746865736520746f6b656e7300000000000000000000000000000000602082015250565b60006155bd6030836141b0565b91506155c882615561565b604082019050919050565b600060208201905081810360008301526155ec816155b0565b9050919050565b60006155fe82614094565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561563157615630614f8f565b5b600182019050919050565b600081905092915050565b50565b600061565760008361563c565b915061566282615647565b600082019050919050565b60006156788261564a565b9150819050919050565b60008151905061569181614260565b92915050565b6000602082840312156156ad576156ac6140e0565b5b60006156bb84828501615682565b91505092915050565b600081905092915050565b60006156da826141a5565b6156e481856156c4565b93506156f48185602086016141c1565b80840191505092915050565b600061570c82856156cf565b915061571882846156cf565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006157806026836141b0565b915061578b82615724565b604082019050919050565b600060208201905081810360008301526157af81615773565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006157ec6020836141b0565b91506157f7826157b6565b602082019050919050565b6000602082019050818103600083015261581b816157df565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615858601d836141b0565b915061586382615822565b602082019050919050565b600060208201905081810360008301526158878161584b565b9050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006158ea603a836141b0565b91506158f58261588e565b604082019050919050565b60006020820190508181036000830152615919816158dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061595a82614094565b915061596583614094565b92508261597557615974615920565b5b828204905092915050565b600061598b82614094565b915061599683614094565b9250828210156159a9576159a8614f8f565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b60006159db826159b4565b6159e581856159bf565b93506159f58185602086016141c1565b6159fe816141f4565b840191505092915050565b6000608082019050615a1e6000830187614085565b615a2b6020830186614085565b615a38604083018561409e565b8181036060830152615a4a81846159d0565b905095945050505050565b600081519050615a6481614116565b92915050565b600060208284031215615a8057615a7f6140e0565b5b6000615a8e84828501615a55565b91505092915050565b600081519050615aa6816149dc565b92915050565b600060208284031215615ac257615ac16140e0565b5b6000615ad084828501615a97565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615b35602a836141b0565b9150615b4082615ad9565b604082019050919050565b60006020820190508181036000830152615b6481615b28565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615bc76026836141b0565b9150615bd282615b6b565b604082019050919050565b60006020820190508181036000830152615bf681615bba565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615c33601d836141b0565b9150615c3e82615bfd565b602082019050919050565b60006020820190508181036000830152615c6281615c26565b9050919050565b6000615c74826159b4565b615c7e818561563c565b9350615c8e8185602086016141c1565b80840191505092915050565b6000615ca68284615c69565b91508190509291505056fea2646970667358221220203ef7e4d0b4aa54de3f506f86b7d6e0831953a53107a337f0c5080a95786b1664736f6c634300080a003300000000000000000000000071eaa691b6e5d5e75a3ebb36d4f87cbfb23c87b0

Deployed Bytecode

0x6080604052600436106103855760003560e01c80637501f741116101d1578063a50e89ff11610102578063c87b56dd116100a0578063e33b7de31161006f578063e33b7de314610dad578063e5bcf06314610dd8578063e985e9c514610e01578063f2fde38b14610e3e576103cc565b8063c87b56dd14610ccb578063ce7c2ac214610d08578063d5abeb0114610d45578063d79779b214610d70576103cc565b8063bc8893b4116100dc578063bc8893b414610be9578063c23dc68f14610c14578063c2c3f89a14610c51578063c45ac05014610c8e576103cc565b8063a50e89ff14610b80578063b423fe6714610b97578063b88d4fde14610bc0576103cc565b806395d89b411161016f57806399a2557a1161014957806399a2557a14610ab2578063a22cb46514610aef578063a3f8eace14610b18578063a4f4f8af14610b55576103cc565b806395d89b4114610a2157806396ea3a4714610a4c5780639852595c14610a75576103cc565b8063896265b3116101ab578063896265b3146109535780638b83209b146109905780638c856841146109cd5780638da5cb5b146109f6576103cc565b80637501f741146108c0578063818cbd3b146108eb5780638462151c14610916576103cc565b80633a98ef39116102b657806355f804b31161025457806366182ffa1161022357806366182ffa1461081a5780636f8b44b01461084357806370a082311461086c578063715018a6146108a9576103cc565b806355f804b31461074c5780635bbb2177146107755780635c975abb146107b25780636352211e146107dd576103cc565b806342842e0e1161029057806342842e0e146106a857806344a0d68a146106d157806348b75044146106fa578063547520fe14610723576103cc565b80633a98ef39146106365780633ccfd60b14610661578063406072a91461066b576103cc565b8063191655871161032357806326a74d8e116102fd57806326a74d8e1461059b5780632d5a79a0146105c65780632db11544146105f1578063365ea8641461060d576103cc565b8063191655871461051e578063212abe5b1461054757806323b872dd14610572576103cc565b8063095ea7b31161035f578063095ea7b31461047657806313faede61461049f57806317a13dea146104ca57806318160ddd146104f3576103cc565b806301ffc9a7146103d157806306fdde031461040e578063081812fc14610439576103cc565b366103cc577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706103b3610e67565b346040516103c29291906140ad565b60405180910390a1005b600080fd5b3480156103dd57600080fd5b506103f860048036038101906103f39190614142565b610e6f565b604051610405919061418a565b60405180910390f35b34801561041a57600080fd5b50610423610f01565b604051610430919061423e565b60405180910390f35b34801561044557600080fd5b50610460600480360381019061045b919061428c565b610f93565b60405161046d91906142b9565b60405180910390f35b34801561048257600080fd5b5061049d60048036038101906104989190614300565b61100f565b005b3480156104ab57600080fd5b506104b4611150565b6040516104c19190614340565b60405180910390f35b3480156104d657600080fd5b506104f160048036038101906104ec919061428c565b611156565b005b3480156104ff57600080fd5b50610508611168565b6040516105159190614340565b60405180910390f35b34801561052a57600080fd5b5061054560048036038101906105409190614399565b61117f565b005b34801561055357600080fd5b5061055c611308565b6040516105699190614340565b60405180910390f35b34801561057e57600080fd5b50610599600480360381019061059491906143c6565b61130e565b005b3480156105a757600080fd5b506105b0611633565b6040516105bd9190614340565b60405180910390f35b3480156105d257600080fd5b506105db611639565b6040516105e8919061418a565b60405180910390f35b61060b6004803603810190610606919061428c565b61164c565b005b34801561061957600080fd5b50610634600480360381019061062f9190614561565b6118a1565b005b34801561064257600080fd5b5061064b611c9a565b6040516106589190614340565b60405180910390f35b610669611ca4565b005b34801561067757600080fd5b50610692600480360381019061068d91906145e8565b611d25565b60405161069f9190614340565b60405180910390f35b3480156106b457600080fd5b506106cf60048036038101906106ca91906143c6565b611dac565b005b3480156106dd57600080fd5b506106f860048036038101906106f3919061428c565b611dcc565b005b34801561070657600080fd5b50610721600480360381019061071c91906145e8565b611dde565b005b34801561072f57600080fd5b5061074a6004803603810190610745919061428c565b611ffb565b005b34801561075857600080fd5b50610773600480360381019061076e9190614683565b61200d565b005b34801561078157600080fd5b5061079c60048036038101906107979190614561565b61202b565b6040516107a99190614833565b60405180910390f35b3480156107be57600080fd5b506107c76120ec565b6040516107d4919061418a565b60405180910390f35b3480156107e957600080fd5b5061080460048036038101906107ff919061428c565b612103565b60405161081191906142b9565b60405180910390f35b34801561082657600080fd5b50610841600480360381019061083c9190614561565b612115565b005b34801561084f57600080fd5b5061086a6004803603810190610865919061428c565b61249a565b005b34801561087857600080fd5b50610893600480360381019061088e9190614855565b6124ac565b6040516108a09190614340565b60405180910390f35b3480156108b557600080fd5b506108be612565565b005b3480156108cc57600080fd5b506108d5612579565b6040516108e29190614340565b60405180910390f35b3480156108f757600080fd5b5061090061257f565b60405161090d91906148e1565b60405180910390f35b34801561092257600080fd5b5061093d60048036038101906109389190614855565b6125a5565b60405161094a91906149ba565b60405180910390f35b34801561095f57600080fd5b5061097a6004803603810190610975919061428c565b6126ef565b604051610987919061418a565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b2919061428c565b61270f565b6040516109c491906142b9565b60405180910390f35b3480156109d957600080fd5b506109f460048036038101906109ef9190614a08565b612757565b005b348015610a0257600080fd5b50610a0b61277c565b604051610a1891906142b9565b60405180910390f35b348015610a2d57600080fd5b50610a366127a6565b604051610a43919061423e565b60405180910390f35b348015610a5857600080fd5b50610a736004803603810190610a6e9190614ae1565b612838565b005b348015610a8157600080fd5b50610a9c6004803603810190610a979190614855565b6129a9565b604051610aa99190614340565b60405180910390f35b348015610abe57600080fd5b50610ad96004803603810190610ad49190614b62565b6129f2565b604051610ae691906149ba565b60405180910390f35b348015610afb57600080fd5b50610b166004803603810190610b119190614bb5565b612c06565b005b348015610b2457600080fd5b50610b3f6004803603810190610b3a9190614855565b612d7e565b604051610b4c9190614340565b60405180910390f35b348015610b6157600080fd5b50610b6a612db1565b604051610b779190614340565b60405180910390f35b348015610b8c57600080fd5b50610b95612db7565b005b348015610ba357600080fd5b50610bbe6004803603810190610bb99190614a08565b612e32565b005b348015610bcc57600080fd5b50610be76004803603810190610be29190614caa565b612e57565b005b348015610bf557600080fd5b50610bfe612eca565b604051610c0b919061418a565b60405180910390f35b348015610c2057600080fd5b50610c3b6004803603810190610c36919061428c565b612edd565b604051610c489190614d82565b60405180910390f35b348015610c5d57600080fd5b50610c786004803603810190610c73919061428c565b612f47565b604051610c85919061418a565b60405180910390f35b348015610c9a57600080fd5b50610cb56004803603810190610cb091906145e8565b612f67565b604051610cc29190614340565b60405180910390f35b348015610cd757600080fd5b50610cf26004803603810190610ced919061428c565b613016565b604051610cff919061423e565b60405180910390f35b348015610d1457600080fd5b50610d2f6004803603810190610d2a9190614855565b6130b5565b604051610d3c9190614340565b60405180910390f35b348015610d5157600080fd5b50610d5a6130fe565b604051610d679190614340565b60405180910390f35b348015610d7c57600080fd5b50610d976004803603810190610d929190614d9d565b613104565b604051610da49190614340565b60405180910390f35b348015610db957600080fd5b50610dc261314d565b604051610dcf9190614340565b60405180910390f35b348015610de457600080fd5b50610dff6004803603810190610dfa919061428c565b613157565b005b348015610e0d57600080fd5b50610e286004803603810190610e239190614dca565b613169565b604051610e35919061418a565b60405180910390f35b348015610e4a57600080fd5b50610e656004803603810190610e609190614855565b6131fd565b005b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610eca57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610efa5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610f1090614e39565b80601f0160208091040260200160405190810160405280929190818152602001828054610f3c90614e39565b8015610f895780601f10610f5e57610100808354040283529160200191610f89565b820191906000526020600020905b815481529060010190602001808311610f6c57829003601f168201915b5050505050905090565b6000610f9e82613281565b610fd4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061101a82612103565b90508073ffffffffffffffffffffffffffffffffffffffff1661103b6132e0565b73ffffffffffffffffffffffffffffffffffffffff161461109e57611067816110626132e0565b613169565b61109d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60145481565b61115e6132e8565b8060188190555050565b6000611172613366565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f890614edd565b60405180910390fd5b600061120c82612d7e565b90506000811415611252576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124990614f6f565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112a19190614fbe565b9250508190555080600a60008282546112ba9190614fbe565b925050819055506112cb828261336f565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05682826040516112fc929190615035565b60405180910390a15050565b60185481565b600061131982613463565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611380576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061138c84613531565b915091506113a2818761139d6132e0565b613553565b6113ee576113b7866113b26132e0565b613169565b6113ed576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611455576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114628686866001613597565b801561146d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061153b8561151788888761359d565b7c0200000000000000000000000000000000000000000000000000000000176135c5565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156115c35760006001850190506000600460008381526020019081526020016000205414156115c15760005481146115c0578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461162b86868660016135f0565b505050505050565b60165481565b601a60019054906101000a900460ff1681565b60026011541415611692576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611689906150aa565b60405180910390fd5b600260118190555060006116a4611168565b9050601a60009054906101000a900460ff166116f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ec90615116565b60405180910390fd5b60008211611738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172f90615182565b60405180910390fd5b60175482111561177d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611774906151ee565b60405180910390fd5b6016548260195461178e9190614fbe565b11156117cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c69061525a565b60405180910390fd5b34826014546117de919061527a565b1461181e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181590615320565b60405180910390fd5b601554828261182d9190614fbe565b111561186e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118659061538c565b60405180910390fd5b81601960008282546118809190614fbe565b9250508190555061189133836135f6565b6000905050600160118190555050565b600260115414156118e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118de906150aa565b60405180910390fd5b600260118190555060006118f9611168565b90506000601854835161190c919061527a565b9050601a60019054906101000a900460ff1661195d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611954906153f8565b60405180910390fd5b60008351116119a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199890615182565b60405180910390fd5b60155481836119b09190614fbe565b11156119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e89061538c565b60405180910390fd5b60005b8351811015611c7e576001848281518110611a1257611a11615418565b5b602002602001015110158015611a445750611389848281518110611a3957611a38615418565b5b602002602001015111155b611a83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7a90615493565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e868481518110611aeb57611aea615418565b5b60200260200101516040518263ffffffff1660e01b8152600401611b0f9190614340565b602060405180830381865afa158015611b2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5091906154c8565b73ffffffffffffffffffffffffffffffffffffffff1614611ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9d90615541565b60405180910390fd5b60001515601c6000868481518110611bc157611bc0615418565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff16151514611c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1e906155d3565b60405180910390fd5b6001601c6000868481518110611c4057611c3f615418565b5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555080611c77906155f3565b90506119f4565b50611c8933826135f6565b600091505050600160118190555050565b6000600954905090565b611cac6132e8565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611cd29061566d565b60006040518083038185875af1925050503d8060008114611d0f576040519150601f19603f3d011682016040523d82523d6000602084013e611d14565b606091505b5050905080611d2257600080fd5b50565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611dc783838360405180602001604052806000815250612e57565b505050565b611dd46132e8565b8060148190555050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5790614edd565b60405180910390fd5b6000611e6c8383612f67565b90506000811415611eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea990614f6f565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f3e9190614fbe565b9250508190555080600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f949190614fbe565b92505081905550611fa68383836137ca565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a8383604051611fee9291906140ad565b60405180910390a2505050565b6120036132e8565b8060178190555050565b6120156132e8565b818160129190612026929190613f61565b505050565b606060008251905060008167ffffffffffffffff81111561204f5761204e61441e565b5b60405190808252806020026020018201604052801561208857816020015b612075613fe7565b81526020019060019003908161206d5790505b50905060005b8281146120e1576120b88582815181106120ab576120aa615418565b5b6020026020010151612edd565b8282815181106120cb576120ca615418565b5b602002602001018190525080600101905061208e565b508092505050919050565b6000601060009054906101000a900460ff16905090565b600061210e82613463565b9050919050565b6002601154141561215b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612152906150aa565b60405180910390fd5b6002601181905550601a60009054906101000a900460ff166121b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a990615116565b60405180910390fd5b60008151116121f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ed90615182565b60405180910390fd5b60005b815181101561248357600182828151811061221757612216615418565b5b602002602001015110158015612249575061138982828151811061223e5761223d615418565b5b602002602001015111155b612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f90615493565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8484815181106122f0576122ef615418565b5b60200260200101516040518263ffffffff1660e01b81526004016123149190614340565b602060405180830381865afa158015612331573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235591906154c8565b73ffffffffffffffffffffffffffffffffffffffff16146123ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a290615541565b60405180910390fd5b60001515601b60008484815181106123c6576123c5615418565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff1615151461242c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612423906155d3565b60405180910390fd5b6001601b600084848151811061244557612444615418565b5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055508061247c906155f3565b90506121f9565b5061248f3382516135f6565b600160118190555050565b6124a26132e8565b8060158190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612514576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61256d6132e8565b6125776000613850565b565b60175481565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008060006125b5856124ac565b905060008167ffffffffffffffff8111156125d3576125d261441e565b5b6040519080825280602002602001820160405280156126015781602001602082028036833780820191505090505b50905061260c613fe7565b6000612616613366565b90505b8386146126e15761262981613916565b915081604001511561263a576126d6565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461267a57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156126d557808387806001019850815181106126c8576126c7615418565b5b6020026020010181815250505b5b806001019050612619565b508195505050505050919050565b601b6020528060005260406000206000915054906101000a900460ff1681565b6000600d828154811061272557612724615418565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b61275f6132e8565b80601a60016101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546127b590614e39565b80601f01602080910402602001604051908101604052809291908181526020018280546127e190614e39565b801561282e5780601f106128035761010080835404028352916020019161282e565b820191906000526020600020905b81548152906001019060200180831161281157829003601f168201915b5050505050905090565b6128406132e8565b60005b828290508110156129a25760165485858381811061286457612863615418565b5b905060200201356019546128789190614fbe565b11156128b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b09061525a565b60405180910390fd5b60008585838181106128ce576128cd615418565b5b9050602002013511612915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290c90615182565b60405180910390fd5b84848281811061292857612927615418565b5b90506020020135601960008282546129409190614fbe565b9250508190555061299183838381811061295d5761295c615418565b5b90506020020160208101906129729190614855565b86868481811061298557612984615418565b5b905060200201356135f6565b8061299b906155f3565b9050612843565b5050505050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060818310612a2d576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612a38613941565b9050612a42613366565b851015612a5457612a51613366565b94505b80841115612a60578093505b6000612a6b876124ac565b905084861015612a8e576000868603905081811015612a88578091505b50612a93565b600090505b60008167ffffffffffffffff811115612aaf57612aae61441e565b5b604051908082528060200260200182016040528015612add5781602001602082028036833780820191505090505b5090506000821415612af55780945050505050612bff565b6000612b0088612edd565b905060008160400151612b1557816000015190505b60008990505b888114158015612b2b5750848714155b15612bf157612b3981613916565b9250826040015115612b4a57612be6565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614612b8a57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612be55780848880600101995081518110612bd857612bd7615418565b5b6020026020010181815250505b5b806001019050612b1b565b508583528296505050505050505b9392505050565b612c0e6132e0565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c73576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612c806132e0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612d2d6132e0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612d72919061418a565b60405180910390a35050565b600080612d8961314d565b47612d949190614fbe565b9050612da98382612da4866129a9565b61394a565b915050919050565b60195481565b612dbf6132e8565b60005b601d80549050811015612e2f576000601d8281548110612de557612de4615418565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050612e1b8161117f565b508080612e27906155f3565b915050612dc2565b50565b612e3a6132e8565b80601a60006101000a81548160ff02191690831515021790555050565b612e6284848461130e565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612ec457612e8d848484846139b8565b612ec3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b601a60009054906101000a900460ff1681565b612ee5613fe7565b612eed613fe7565b612ef5613366565b831080612f095750612f05613941565b8310155b15612f175780915050612f42565b612f2083613916565b9050806040015115612f355780915050612f42565b612f3e83613b09565b9150505b919050565b601c6020528060005260406000206000915054906101000a900460ff1681565b600080612f7384613104565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612fac91906142b9565b602060405180830381865afa158015612fc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fed9190615697565b612ff79190614fbe565b905061300d83826130088787611d25565b61394a565b91505092915050565b606061302182613281565b613057576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000613061613b29565b905060008151141561308257604051806020016040528060008152506130ad565b8061308c84613bbb565b60405160200161309d929190615700565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60155481565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b61315f6132e8565b8060168190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6132056132e8565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161326c90615796565b60405180910390fd5b61327e81613850565b50565b60008161328c613366565b1115801561329b575060005482105b80156132d9575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6132f0610e67565b73ffffffffffffffffffffffffffffffffffffffff1661330e61277c565b73ffffffffffffffffffffffffffffffffffffffff1614613364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335b90615802565b60405180910390fd5b565b60006001905090565b804710156133b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a99061586e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516133d89061566d565b60006040518083038185875af1925050503d8060008114613415576040519150601f19603f3d011682016040523d82523d6000602084013e61341a565b606091505b505090508061345e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345590615900565b60405180910390fd5b505050565b60008082905080613472613366565b116134fa576000548110156134f95760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156134f7575b60008114156134ed5760046000836001900393508381526020019081526020016000205490506134c2565b809250505061352c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86135b4868684613c15565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613663576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082141561369e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6136ab6000848385613597565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061372283613713600086600061359d565b61371c85613c1e565b176135c5565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613746578060008190555050506137c560008483856135f0565b505050565b61384b8363a9059cbb60e01b84846040516024016137e99291906140ad565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613c2e565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61391e613fe7565b61393a6004600084815260200190815260200160002054613cf5565b9050919050565b60008054905090565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561399b919061527a565b6139a5919061594f565b6139af9190615980565b90509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139de6132e0565b8786866040518563ffffffff1660e01b8152600401613a009493929190615a09565b6020604051808303816000875af1925050508015613a3c57506040513d601f19601f82011682018060405250810190613a399190615a6a565b60015b613ab6573d8060008114613a6c576040519150601f19603f3d011682016040523d82523d6000602084013e613a71565b606091505b50600081511415613aae576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b613b11613fe7565b613b22613b1d83613463565b613cf5565b9050919050565b606060128054613b3890614e39565b80601f0160208091040260200160405190810160405280929190818152602001828054613b6490614e39565b8015613bb15780601f10613b8657610100808354040283529160200191613bb1565b820191906000526020600020905b815481529060010190602001808311613b9457829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015613c0157600183039250600a81066030018353600a81049050613be1565b508181036020830392508083525050919050565b60009392505050565b60006001821460e11b9050919050565b6000613c90826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613dab9092919063ffffffff16565b9050600081511115613cf05780806020019051810190613cb09190615aac565b613cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ce690615b4b565b60405180910390fd5b5b505050565b613cfd613fe7565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6060613dba8484600085613dc3565b90509392505050565b606082471015613e08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dff90615bdd565b60405180910390fd5b613e1185613ed7565b613e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e4790615c49565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613e799190615c9a565b60006040518083038185875af1925050503d8060008114613eb6576040519150601f19603f3d011682016040523d82523d6000602084013e613ebb565b606091505b5091509150613ecb828286613efa565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315613f0a57829050613f5a565b600083511115613f1d5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f51919061423e565b60405180910390fd5b9392505050565b828054613f6d90614e39565b90600052602060002090601f016020900481019282613f8f5760008555613fd6565b82601f10613fa857803560ff1916838001178555613fd6565b82800160010185558215613fd6579182015b82811115613fd5578235825591602001919060010190613fba565b5b509050613fe39190614036565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561404f576000816000905550600101614037565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061407e82614053565b9050919050565b61408e81614073565b82525050565b6000819050919050565b6140a781614094565b82525050565b60006040820190506140c26000830185614085565b6140cf602083018461409e565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61411f816140ea565b811461412a57600080fd5b50565b60008135905061413c81614116565b92915050565b600060208284031215614158576141576140e0565b5b60006141668482850161412d565b91505092915050565b60008115159050919050565b6141848161416f565b82525050565b600060208201905061419f600083018461417b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156141df5780820151818401526020810190506141c4565b838111156141ee576000848401525b50505050565b6000601f19601f8301169050919050565b6000614210826141a5565b61421a81856141b0565b935061422a8185602086016141c1565b614233816141f4565b840191505092915050565b600060208201905081810360008301526142588184614205565b905092915050565b61426981614094565b811461427457600080fd5b50565b60008135905061428681614260565b92915050565b6000602082840312156142a2576142a16140e0565b5b60006142b084828501614277565b91505092915050565b60006020820190506142ce6000830184614085565b92915050565b6142dd81614073565b81146142e857600080fd5b50565b6000813590506142fa816142d4565b92915050565b60008060408385031215614317576143166140e0565b5b6000614325858286016142eb565b925050602061433685828601614277565b9150509250929050565b6000602082019050614355600083018461409e565b92915050565b600061436682614053565b9050919050565b6143768161435b565b811461438157600080fd5b50565b6000813590506143938161436d565b92915050565b6000602082840312156143af576143ae6140e0565b5b60006143bd84828501614384565b91505092915050565b6000806000606084860312156143df576143de6140e0565b5b60006143ed868287016142eb565b93505060206143fe868287016142eb565b925050604061440f86828701614277565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614456826141f4565b810181811067ffffffffffffffff821117156144755761447461441e565b5b80604052505050565b60006144886140d6565b9050614494828261444d565b919050565b600067ffffffffffffffff8211156144b4576144b361441e565b5b602082029050602081019050919050565b600080fd5b60006144dd6144d884614499565b61447e565b90508083825260208201905060208402830185811115614500576144ff6144c5565b5b835b8181101561452957806145158882614277565b845260208401935050602081019050614502565b5050509392505050565b600082601f83011261454857614547614419565b5b81356145588482602086016144ca565b91505092915050565b600060208284031215614577576145766140e0565b5b600082013567ffffffffffffffff811115614595576145946140e5565b5b6145a184828501614533565b91505092915050565b60006145b582614073565b9050919050565b6145c5816145aa565b81146145d057600080fd5b50565b6000813590506145e2816145bc565b92915050565b600080604083850312156145ff576145fe6140e0565b5b600061460d858286016145d3565b925050602061461e858286016142eb565b9150509250929050565b600080fd5b60008083601f84011261464357614642614419565b5b8235905067ffffffffffffffff8111156146605761465f614628565b5b60208301915083600182028301111561467c5761467b6144c5565b5b9250929050565b6000806020838503121561469a576146996140e0565b5b600083013567ffffffffffffffff8111156146b8576146b76140e5565b5b6146c48582860161462d565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61470581614073565b82525050565b600067ffffffffffffffff82169050919050565b6147288161470b565b82525050565b6147378161416f565b82525050565b600062ffffff82169050919050565b6147558161473d565b82525050565b60808201600082015161477160008501826146fc565b506020820151614784602085018261471f565b506040820151614797604085018261472e565b5060608201516147aa606085018261474c565b50505050565b60006147bc838361475b565b60808301905092915050565b6000602082019050919050565b60006147e0826146d0565b6147ea81856146db565b93506147f5836146ec565b8060005b8381101561482657815161480d88826147b0565b9750614818836147c8565b9250506001810190506147f9565b5085935050505092915050565b6000602082019050818103600083015261484d81846147d5565b905092915050565b60006020828403121561486b5761486a6140e0565b5b6000614879848285016142eb565b91505092915050565b6000819050919050565b60006148a76148a261489d84614053565b614882565b614053565b9050919050565b60006148b98261488c565b9050919050565b60006148cb826148ae565b9050919050565b6148db816148c0565b82525050565b60006020820190506148f660008301846148d2565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61493181614094565b82525050565b60006149438383614928565b60208301905092915050565b6000602082019050919050565b6000614967826148fc565b6149718185614907565b935061497c83614918565b8060005b838110156149ad5781516149948882614937565b975061499f8361494f565b925050600181019050614980565b5085935050505092915050565b600060208201905081810360008301526149d4818461495c565b905092915050565b6149e58161416f565b81146149f057600080fd5b50565b600081359050614a02816149dc565b92915050565b600060208284031215614a1e57614a1d6140e0565b5b6000614a2c848285016149f3565b91505092915050565b60008083601f840112614a4b57614a4a614419565b5b8235905067ffffffffffffffff811115614a6857614a67614628565b5b602083019150836020820283011115614a8457614a836144c5565b5b9250929050565b60008083601f840112614aa157614aa0614419565b5b8235905067ffffffffffffffff811115614abe57614abd614628565b5b602083019150836020820283011115614ada57614ad96144c5565b5b9250929050565b60008060008060408587031215614afb57614afa6140e0565b5b600085013567ffffffffffffffff811115614b1957614b186140e5565b5b614b2587828801614a35565b9450945050602085013567ffffffffffffffff811115614b4857614b476140e5565b5b614b5487828801614a8b565b925092505092959194509250565b600080600060608486031215614b7b57614b7a6140e0565b5b6000614b89868287016142eb565b9350506020614b9a86828701614277565b9250506040614bab86828701614277565b9150509250925092565b60008060408385031215614bcc57614bcb6140e0565b5b6000614bda858286016142eb565b9250506020614beb858286016149f3565b9150509250929050565b600080fd5b600067ffffffffffffffff821115614c1557614c1461441e565b5b614c1e826141f4565b9050602081019050919050565b82818337600083830152505050565b6000614c4d614c4884614bfa565b61447e565b905082815260208101848484011115614c6957614c68614bf5565b5b614c74848285614c2b565b509392505050565b600082601f830112614c9157614c90614419565b5b8135614ca1848260208601614c3a565b91505092915050565b60008060008060808587031215614cc457614cc36140e0565b5b6000614cd2878288016142eb565b9450506020614ce3878288016142eb565b9350506040614cf487828801614277565b925050606085013567ffffffffffffffff811115614d1557614d146140e5565b5b614d2187828801614c7c565b91505092959194509250565b608082016000820151614d4360008501826146fc565b506020820151614d56602085018261471f565b506040820151614d69604085018261472e565b506060820151614d7c606085018261474c565b50505050565b6000608082019050614d976000830184614d2d565b92915050565b600060208284031215614db357614db26140e0565b5b6000614dc1848285016145d3565b91505092915050565b60008060408385031215614de157614de06140e0565b5b6000614def858286016142eb565b9250506020614e00858286016142eb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614e5157607f821691505b60208210811415614e6557614e64614e0a565b5b50919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000614ec76026836141b0565b9150614ed282614e6b565b604082019050919050565b60006020820190508181036000830152614ef681614eba565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000614f59602b836141b0565b9150614f6482614efd565b604082019050919050565b60006020820190508181036000830152614f8881614f4c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614fc982614094565b9150614fd483614094565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561500957615008614f8f565b5b828201905092915050565b600061501f826148ae565b9050919050565b61502f81615014565b82525050565b600060408201905061504a6000830185615026565b615057602083018461409e565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615094601f836141b0565b915061509f8261505e565b602082019050919050565b600060208201905081810360008301526150c381615087565b9050919050565b7f5075626c69632073616c6520686173206e6f7420626567756e20796574000000600082015250565b6000615100601d836141b0565b915061510b826150ca565b602082019050919050565b6000602082019050818103600083015261512f816150f3565b9050919050565b7f43616e206e6f74206d696e742030000000000000000000000000000000000000600082015250565b600061516c600e836141b0565b915061517782615136565b602082019050919050565b6000602082019050818103600083015261519b8161515f565b9050919050565b7f43616e206e6f74206d696e742074686973206d616e7900000000000000000000600082015250565b60006151d86016836141b0565b91506151e3826151a2565b602082019050919050565b60006020820190508181036000830152615207816151cb565b9050919050565b7f43616e206e6f7420676f206f766572207075626c696320737570706c79000000600082015250565b6000615244601d836141b0565b915061524f8261520e565b602082019050919050565b6000602082019050818103600083015261527381615237565b9050919050565b600061528582614094565b915061529083614094565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156152c9576152c8614f8f565b5b828202905092915050565b7f57726f6e6720616d6f756e740000000000000000000000000000000000000000600082015250565b600061530a600c836141b0565b9150615315826152d4565b602082019050919050565b60006020820190508181036000830152615339816152fd565b9050919050565b7f43616e206e6f7420676f206f766572206d617820737570706c79000000000000600082015250565b6000615376601a836141b0565b915061538182615340565b602082019050919050565b600060208201905081810360008301526153a581615369565b9050919050565b7f5365636f6e6461727920636c61696d206e6f7420616374697661746564000000600082015250565b60006153e2601d836141b0565b91506153ed826153ac565b602082019050919050565b60006020820190508181036000830152615411816153d5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f546f6b656e20494420696e76616c696400000000000000000000000000000000600082015250565b600061547d6010836141b0565b915061548882615447565b602082019050919050565b600060208201905081810360008301526154ac81615470565b9050919050565b6000815190506154c2816142d4565b92915050565b6000602082840312156154de576154dd6140e0565b5b60006154ec848285016154b3565b91505092915050565b7f4e6f7420746865206f776e6572206f662074686973204f444459000000000000600082015250565b600061552b601a836141b0565b9150615536826154f5565b602082019050919050565b6000602082019050818103600083015261555a8161551e565b9050919050565b7f596f75206861766520616c726561647920636c61696d656420666f72206f6e6560008201527f206f6620746865736520746f6b656e7300000000000000000000000000000000602082015250565b60006155bd6030836141b0565b91506155c882615561565b604082019050919050565b600060208201905081810360008301526155ec816155b0565b9050919050565b60006155fe82614094565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561563157615630614f8f565b5b600182019050919050565b600081905092915050565b50565b600061565760008361563c565b915061566282615647565b600082019050919050565b60006156788261564a565b9150819050919050565b60008151905061569181614260565b92915050565b6000602082840312156156ad576156ac6140e0565b5b60006156bb84828501615682565b91505092915050565b600081905092915050565b60006156da826141a5565b6156e481856156c4565b93506156f48185602086016141c1565b80840191505092915050565b600061570c82856156cf565b915061571882846156cf565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006157806026836141b0565b915061578b82615724565b604082019050919050565b600060208201905081810360008301526157af81615773565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006157ec6020836141b0565b91506157f7826157b6565b602082019050919050565b6000602082019050818103600083015261581b816157df565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615858601d836141b0565b915061586382615822565b602082019050919050565b600060208201905081810360008301526158878161584b565b9050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006158ea603a836141b0565b91506158f58261588e565b604082019050919050565b60006020820190508181036000830152615919816158dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061595a82614094565b915061596583614094565b92508261597557615974615920565b5b828204905092915050565b600061598b82614094565b915061599683614094565b9250828210156159a9576159a8614f8f565b5b828203905092915050565b600081519050919050565b600082825260208201905092915050565b60006159db826159b4565b6159e581856159bf565b93506159f58185602086016141c1565b6159fe816141f4565b840191505092915050565b6000608082019050615a1e6000830187614085565b615a2b6020830186614085565b615a38604083018561409e565b8181036060830152615a4a81846159d0565b905095945050505050565b600081519050615a6481614116565b92915050565b600060208284031215615a8057615a7f6140e0565b5b6000615a8e84828501615a55565b91505092915050565b600081519050615aa6816149dc565b92915050565b600060208284031215615ac257615ac16140e0565b5b6000615ad084828501615a97565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615b35602a836141b0565b9150615b4082615ad9565b604082019050919050565b60006020820190508181036000830152615b6481615b28565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615bc76026836141b0565b9150615bd282615b6b565b604082019050919050565b60006020820190508181036000830152615bf681615bba565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615c33601d836141b0565b9150615c3e82615bfd565b602082019050919050565b60006020820190508181036000830152615c6281615c26565b9050919050565b6000615c74826159b4565b615c7e818561563c565b9350615c8e8185602086016141c1565b80840191505092915050565b6000615ca68284615c69565b91508190509291505056fea2646970667358221220203ef7e4d0b4aa54de3f506f86b7d6e0831953a53107a337f0c5080a95786b1664736f6c634300080a0033

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

00000000000000000000000071eaa691b6e5d5e75a3ebb36d4f87cbfb23c87b0

-----Decoded View---------------
Arg [0] : _setTodNFTContract (address): 0x71EAa691b6e5D5E75a3ebb36D4f87CBfb23C87b0

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000071eaa691b6e5d5e75a3ebb36d4f87cbfb23c87b0


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.