ETH Price: $3,415.96 (+2.10%)

Token

Mochi Mo (MM)
 

Overview

Max Total Supply

4,444 MM

Holders

1,601

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MM
0x1e6c9bAA9AE266bE4627eC540d75f90AA4C21867
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:
MochiMo

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 12 : MochiMo.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.16;

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

contract MochiMo is ERC721A, Ownable, PaymentSplitter {

    using ECDSA for bytes32;

    // Settings
    string public baseURI;
    uint256 private _teamLength;
    uint256 constant public MAX_SUPPLY = 4444;

    // Public settings
    uint256 constant public MAX_MINT_PUBLIC = 3;
    uint256 public mintPricePublic = 0.015 ether;   
    mapping(address => uint256) private _mintedAmountPublic;

    // Whitelist settings
    uint256 constant public MAX_MINT_WHITELIST = 2;
    uint256 constant public WHITELIST_SUPPLY = 3111;
    uint256 public mintPriceWhitelist = 0.009 ether;
    address private _signerAddressWhitelist;
    mapping(address => uint256) private _mintedAmountWhitelist;

    // VIP settings
    uint256 constant public MAX_MINT_VIP = 1;
    uint256 constant public VIP_SUPPLY = 222;
    address private _signerAddressVip;
    mapping(address => uint256) private _mintedAmountVip;

    // Team settings
    bool private teamSupplyMinted = false;
    uint256 public teamSupply = 30;

    // Sale config
    enum MintStatus {
        CLOSED,
        VIP,
        WHITELIST,
        PUBLIC
    }
    MintStatus public mintStatus = MintStatus.CLOSED;

    constructor(
        string memory _initialBaseURI,
        address signerAddressWhitelist_,
        address signerAddressVip_,
        address[] memory payments,
        uint256[] memory shares
    ) 
        ERC721A("Mochi Mo", "MM")
        PaymentSplitter(payments, shares)
    {
        baseURI = _initialBaseURI;
        _signerAddressWhitelist = signerAddressWhitelist_;
        _signerAddressVip = signerAddressVip_;
        _teamLength = payments.length;

        // Developer mint during smart contract creation
        _safeMint(msg.sender, 1);
    }

    modifier mintCompliance(uint256 amount) {
        require(tx.origin == msg.sender, "Only humans are allowed to mint!");
        require(amount > 0, "Can't mint zero!");
        require(totalSupply() + amount <= MAX_SUPPLY, "There are no more Mochi Mos available!");
        _;
    }

    // Metadata
    function setBaseURI(string memory _uri) external onlyOwner {
        baseURI = _uri;
    }

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

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    // Public metadata
    function setMintPricePublic(uint256 _newMintPricePublic) external onlyOwner {
        mintPricePublic = _newMintPricePublic;
    }

    // Whitelist metadata
    function setMintPriceWhitelist(uint256 _newMintPriceWhitelist) external onlyOwner {
        mintPriceWhitelist = _newMintPriceWhitelist;
    }

    function setSignerAddressWhitelist(address _newSignerAddressWhitelist) external onlyOwner {
        _signerAddressWhitelist = _newSignerAddressWhitelist;
    }

    // VIP metadata
    function setSignerAddressVip(address _newSignerAddressVip) external onlyOwner {
        _signerAddressVip = _newSignerAddressVip;
    }

    // Team metadata
    function setTeamSupply(uint256 _newTeamSupply) external onlyOwner {
        teamSupply = _newTeamSupply;
    }

    // Sale metadata
    function setMintStatus(uint256 _status) external onlyOwner {
        mintStatus = MintStatus(_status);
    }

    // Withdraw funds
    function releaseAll() external onlyOwner {
        for(uint i = 0; i < _teamLength; i++) {
            release(payable(payee(i)));
        }
    }

    // Mint
    function mintPublic(uint256 amount) external payable mintCompliance(amount) {
        require(mintStatus == MintStatus.PUBLIC, "Public sale is inactive!");
        require(_mintedAmountPublic[msg.sender] + amount <= MAX_MINT_PUBLIC, "Can't mint that many over public!");
        require(msg.value >= mintPricePublic * amount, "The ether value sent is not correct!");
        require(totalSupply() + amount <= MAX_SUPPLY - teamSupply, "Public sale is sold out!");
  
        _mintedAmountPublic[msg.sender] += amount;
        _safeMint(msg.sender, amount);
    }

    function mintWhitelist(uint256 amount, bytes calldata signature) external payable mintCompliance(amount) {
        require(mintStatus == MintStatus.WHITELIST, "Whitelist sale is inactive!");
        require(_mintedAmountWhitelist[msg.sender] + amount <= MAX_MINT_WHITELIST, "Can't mint that many over whitelist!");
        require(msg.value >= mintPriceWhitelist * amount, "The ether value sent is not correct!");
        require(totalSupply() + amount <= WHITELIST_SUPPLY + VIP_SUPPLY, "Whitelist sale is sold out!");

        require(_signerAddressWhitelist == keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                bytes32(uint256(uint160(msg.sender)))
            )
        ).recover(signature), "Not on whitelist!");

        _mintedAmountWhitelist[msg.sender] += amount;
        _safeMint(msg.sender, amount);
    }

    function mintVip(uint256 amount, bytes calldata signature) external mintCompliance(amount) {
        require(mintStatus == MintStatus.VIP, "VIP sale is inactive!");
        require(_mintedAmountVip[msg.sender] + amount <= MAX_MINT_VIP, "Can't mint that many over VIP!");
        require(totalSupply() + amount <= VIP_SUPPLY, "VIP sale is sold out!");

        require(_signerAddressVip == keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                bytes32(uint256(uint160(msg.sender)))
            )
        ).recover(signature), "Not a VIP!");

        _mintedAmountVip[msg.sender] += amount;
        _safeMint(msg.sender, amount);
    }

    function mintTeam(address _recipient) external mintCompliance(teamSupply) onlyOwner {
        require(!teamSupplyMinted, "The team supply was already minted!");
            
        _safeMint(_recipient, teamSupply);

        teamSupplyMinted = true;
    }
}

File 2 of 12 : 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 3 of 12 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

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

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

File 6 of 12 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

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

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

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

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

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

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

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

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

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

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

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

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

File 7 of 12 : 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 8 of 12 : 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 9 of 12 : 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 10 of 12 : 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 12 : 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 12 of 12 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initialBaseURI","type":"string"},{"internalType":"address","name":"signerAddressWhitelist_","type":"address"},{"internalType":"address","name":"signerAddressVip_","type":"address"},{"internalType":"address[]","name":"payments","type":"address[]"},{"internalType":"uint256[]","name":"shares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","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"},{"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"},{"inputs":[],"name":"MAX_MINT_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_VIP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_WHITELIST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VIP_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPriceWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStatus","outputs":[{"internalType":"enum MochiMo.MintStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"mintTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintVip","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"releaseAll","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintPricePublic","type":"uint256"}],"name":"setMintPricePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintPriceWhitelist","type":"uint256"}],"name":"setMintPriceWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_status","type":"uint256"}],"name":"setMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSignerAddressVip","type":"address"}],"name":"setSignerAddressVip","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSignerAddressWhitelist","type":"address"}],"name":"setSignerAddressWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTeamSupply","type":"uint256"}],"name":"setTeamSupply","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":"teamSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405266354a6ba7a18000601255661ff973cafa80006014556000601960006101000a81548160ff021916908315150217905550601e601a556000601b60006101000a81548160ff0219169083600381111562000063576200006262000ad6565b5b02179055503480156200007557600080fd5b50604051620074a9380380620074a983398181016040528101906200009b919062000ee9565b81816040518060400160405280600881526020017f4d6f636869204d6f0000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4d4d00000000000000000000000000000000000000000000000000000000000081525081600290816200011a91906200120f565b5080600390816200012c91906200120f565b506200013d6200031f60201b60201c565b600081905550505062000165620001596200032860201b60201c565b6200033060201b60201c565b8051825114620001ac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001a3906200137d565b60405180910390fd5b6000825111620001f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ea90620013ef565b60405180910390fd5b60005b825181101562000262576200024c8382815181106200021a576200021962001411565b5b602002602001015183838151811062000238576200023762001411565b5b6020026020010151620003f660201b60201c565b808062000259906200146f565b915050620001f6565b50505084601090816200027691906200120f565b5083601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508151601181905550620003143360016200062f60201b60201c565b505050505062001828565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000468576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200045f9062001532565b60405180910390fd5b60008111620004ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004a590620015a4565b60405180910390fd5b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000533576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200052a906200163c565b60405180910390fd5b600d829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600954620005ea91906200165e565b6009819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac828260405162000623929190620016bb565b60405180910390a15050565b620006518282604051806020016040528060008152506200065560201b60201c565b5050565b6200066783836200070660201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b146200070157600080549050600083820390505b620006b06000868380600101945086620008ed60201b60201c565b620006e7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811062000695578160005414620006fe57600080fd5b50505b505050565b6000805490506000820362000747576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200075c600084838562000a4e60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550620007eb83620007cd600086600062000a5460201b60201c565b620007de8562000a8460201b60201c565b1762000a9460201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146200088e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905062000851565b5060008203620008ca576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050620008e8600084838562000abf60201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200091b62000ac560201b60201c565b8786866040518563ffffffff1660e01b81526004016200093f949392919062001745565b6020604051808303816000875af19250505080156200097e57506040513d601f19601f820116820180604052508101906200097b9190620017f6565b60015b620009fb573d8060008114620009b1576040519150601f19603f3d011682016040523d82523d6000602084013e620009b6565b606091505b506000815103620009f3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b60008060e883901c905060e862000a7386868462000acd60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60009392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000b6e8262000b23565b810181811067ffffffffffffffff8211171562000b905762000b8f62000b34565b5b80604052505050565b600062000ba562000b05565b905062000bb3828262000b63565b919050565b600067ffffffffffffffff82111562000bd65762000bd562000b34565b5b62000be18262000b23565b9050602081019050919050565b60005b8381101562000c0e57808201518184015260208101905062000bf1565b60008484015250505050565b600062000c3162000c2b8462000bb8565b62000b99565b90508281526020810184848401111562000c505762000c4f62000b1e565b5b62000c5d84828562000bee565b509392505050565b600082601f83011262000c7d5762000c7c62000b19565b5b815162000c8f84826020860162000c1a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000cc58262000c98565b9050919050565b62000cd78162000cb8565b811462000ce357600080fd5b50565b60008151905062000cf78162000ccc565b92915050565b600067ffffffffffffffff82111562000d1b5762000d1a62000b34565b5b602082029050602081019050919050565b600080fd5b600062000d4862000d428462000cfd565b62000b99565b9050808382526020820190506020840283018581111562000d6e5762000d6d62000d2c565b5b835b8181101562000d9b578062000d86888262000ce6565b84526020840193505060208101905062000d70565b5050509392505050565b600082601f83011262000dbd5762000dbc62000b19565b5b815162000dcf84826020860162000d31565b91505092915050565b600067ffffffffffffffff82111562000df65762000df562000b34565b5b602082029050602081019050919050565b6000819050919050565b62000e1c8162000e07565b811462000e2857600080fd5b50565b60008151905062000e3c8162000e11565b92915050565b600062000e5962000e538462000dd8565b62000b99565b9050808382526020820190506020840283018581111562000e7f5762000e7e62000d2c565b5b835b8181101562000eac578062000e97888262000e2b565b84526020840193505060208101905062000e81565b5050509392505050565b600082601f83011262000ece5762000ecd62000b19565b5b815162000ee084826020860162000e42565b91505092915050565b600080600080600060a0868803121562000f085762000f0762000b0f565b5b600086015167ffffffffffffffff81111562000f295762000f2862000b14565b5b62000f378882890162000c65565b955050602062000f4a8882890162000ce6565b945050604062000f5d8882890162000ce6565b935050606086015167ffffffffffffffff81111562000f815762000f8062000b14565b5b62000f8f8882890162000da5565b925050608086015167ffffffffffffffff81111562000fb35762000fb262000b14565b5b62000fc18882890162000eb6565b9150509295509295909350565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200102157607f821691505b60208210810362001037576200103662000fd9565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620010a17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262001062565b620010ad868362001062565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620010f0620010ea620010e48462000e07565b620010c5565b62000e07565b9050919050565b6000819050919050565b6200110c83620010cf565b620011246200111b82620010f7565b8484546200106f565b825550505050565b600090565b6200113b6200112c565b6200114881848462001101565b505050565b5b8181101562001170576200116460008262001131565b6001810190506200114e565b5050565b601f821115620011bf5762001189816200103d565b620011948462001052565b81016020851015620011a4578190505b620011bc620011b38562001052565b8301826200114d565b50505b505050565b600082821c905092915050565b6000620011e460001984600802620011c4565b1980831691505092915050565b6000620011ff8383620011d1565b9150826002028217905092915050565b6200121a8262000fce565b67ffffffffffffffff81111562001236576200123562000b34565b5b62001242825462001008565b6200124f82828562001174565b600060209050601f83116001811462001287576000841562001272578287015190505b6200127e8582620011f1565b865550620012ee565b601f19841662001297866200103d565b60005b82811015620012c1578489015182556001820191506020850194506020810190506200129a565b86831015620012e15784890151620012dd601f891682620011d1565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b600062001365603283620012f6565b9150620013728262001307565b604082019050919050565b60006020820190508181036000830152620013988162001356565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b6000620013d7601a83620012f6565b9150620013e4826200139f565b602082019050919050565b600060208201905081810360008301526200140a81620013c8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200147c8262000e07565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203620014b157620014b062001440565b5b600182019050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b60006200151a602c83620012f6565b91506200152782620014bc565b604082019050919050565b600060208201905081810360008301526200154d816200150b565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b60006200158c601d83620012f6565b9150620015998262001554565b602082019050919050565b60006020820190508181036000830152620015bf816200157d565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b600062001624602b83620012f6565b91506200163182620015c6565b604082019050919050565b60006020820190508181036000830152620016578162001615565b9050919050565b60006200166b8262000e07565b9150620016788362000e07565b925082820190508082111562001693576200169262001440565b5b92915050565b620016a48162000cb8565b82525050565b620016b58162000e07565b82525050565b6000604082019050620016d2600083018562001699565b620016e16020830184620016aa565b9392505050565b600081519050919050565b600082825260208201905092915050565b60006200171182620016e8565b6200171d8185620016f3565b93506200172f81856020860162000bee565b6200173a8162000b23565b840191505092915050565b60006080820190506200175c600083018762001699565b6200176b602083018662001699565b6200177a6040830185620016aa565b81810360608301526200178e818462001704565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620017d08162001799565b8114620017dc57600080fd5b50565b600081519050620017f081620017c5565b92915050565b6000602082840312156200180f576200180e62000b0f565b5b60006200181f84828501620017df565b91505092915050565b615c7180620018386000396000f3fe6080604052600436106102e85760003560e01c806370a0823111610190578063b88d4fde116100dc578063e33b7de311610095578063efd0cbf91161006f578063efd0cbf914610b7c578063f1bc02fc14610b98578063f2fde38b14610bc1578063f8f103dd14610bea5761032f565b8063e33b7de314610ae9578063e985e9c514610b14578063ee24c66014610b515761032f565b8063b88d4fde146109ae578063c45ac050146109ca578063c87b56dd14610a07578063ce7c2ac214610a44578063d79779b214610a81578063dbe65bfa14610abe5761032f565b806395d89b41116101495780639f41554a116101235780639f41554a14610901578063a22cb4651461091d578063a3f8eace14610946578063a73ce01f146109835761032f565b806395d89b411461086e5780639852595c146108995780639da3f8fd146108d65761032f565b806370a0823114610760578063715018a61461079d578063887fee31146107b45780638b83209b146107dd5780638da5cb5b1461081a57806395a3ca2e146108455761032f565b8063406072a91161024f5780635be7fde8116102085780636c0360eb116101e25780636c0360eb146106b85780636da48e22146106e35780636e56539b1461070c5780636f1e24f0146107375761032f565b80635be7fde81461063957806363172ac1146106505780636352211e1461067b5761032f565b8063406072a91461053a57806342842e0e14610577578063446ff4be1461059357806348b75044146105bc57806355f804b3146105e557806358941a4d1461060e5761032f565b80631c18a062116102a15780631c18a06214610449578063236bdfeb1461047457806323b872dd1461049d5780632cfac6ec146104b957806332cb6b0c146104e45780633a98ef391461050f5761032f565b806301ffc9a71461033457806306fdde0314610371578063081812fc1461039c578063095ea7b3146103d957806318160ddd146103f557806319165587146104205761032f565b3661032f577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610316610c13565b34604051610325929190613cb0565b60405180910390a1005b600080fd5b34801561034057600080fd5b5061035b60048036038101906103569190613d45565b610c1b565b6040516103689190613d8d565b60405180910390f35b34801561037d57600080fd5b50610386610cad565b6040516103939190613e38565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be9190613e86565b610d3f565b6040516103d09190613eb3565b60405180910390f35b6103f360048036038101906103ee9190613efa565b610dbe565b005b34801561040157600080fd5b5061040a610f02565b6040516104179190613f3a565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190613f93565b610f19565b005b34801561045557600080fd5b5061045e6110a1565b60405161046b9190613f3a565b60405180910390f35b34801561048057600080fd5b5061049b60048036038101906104969190613fc0565b6110a7565b005b6104b760048036038101906104b29190613fed565b6110f3565b005b3480156104c557600080fd5b506104ce611415565b6040516104db9190613f3a565b60405180910390f35b3480156104f057600080fd5b506104f961141b565b6040516105069190613f3a565b60405180910390f35b34801561051b57600080fd5b50610524611421565b6040516105319190613f3a565b60405180910390f35b34801561054657600080fd5b50610561600480360381019061055c919061407e565b61142b565b60405161056e9190613f3a565b60405180910390f35b610591600480360381019061058c9190613fed565b6114b2565b005b34801561059f57600080fd5b506105ba60048036038101906105b59190613e86565b6114d2565b005b3480156105c857600080fd5b506105e360048036038101906105de919061407e565b6114e4565b005b3480156105f157600080fd5b5061060c600480360381019061060791906141f3565b611700565b005b34801561061a57600080fd5b5061062361171b565b6040516106309190613f3a565b60405180910390f35b34801561064557600080fd5b5061064e611720565b005b34801561065c57600080fd5b5061066561175c565b6040516106729190613f3a565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d9190613e86565b611761565b6040516106af9190613eb3565b60405180910390f35b3480156106c457600080fd5b506106cd611773565b6040516106da9190613e38565b60405180910390f35b3480156106ef57600080fd5b5061070a6004803603810190610705919061429c565b611801565b005b34801561071857600080fd5b50610721611bef565b60405161072e9190613f3a565b60405180910390f35b34801561074357600080fd5b5061075e60048036038101906107599190613e86565b611bf5565b005b34801561076c57600080fd5b5061078760048036038101906107829190613fc0565b611c07565b6040516107949190613f3a565b60405180910390f35b3480156107a957600080fd5b506107b2611cbf565b005b3480156107c057600080fd5b506107db60048036038101906107d69190613e86565b611cd3565b005b3480156107e957600080fd5b5061080460048036038101906107ff9190613e86565b611d1a565b6040516108119190613eb3565b60405180910390f35b34801561082657600080fd5b5061082f611d62565b60405161083c9190613eb3565b60405180910390f35b34801561085157600080fd5b5061086c60048036038101906108679190613fc0565b611d8c565b005b34801561087a57600080fd5b50610883611f1a565b6040516108909190613e38565b60405180910390f35b3480156108a557600080fd5b506108c060048036038101906108bb9190613fc0565b611fac565b6040516108cd9190613f3a565b60405180910390f35b3480156108e257600080fd5b506108eb611ff5565b6040516108f89190614373565b60405180910390f35b61091b6004803603810190610916919061429c565b612008565b005b34801561092957600080fd5b50610944600480360381019061093f91906143ba565b612453565b005b34801561095257600080fd5b5061096d60048036038101906109689190613fc0565b61255e565b60405161097a9190613f3a565b60405180910390f35b34801561098f57600080fd5b50610998612591565b6040516109a59190613f3a565b60405180910390f35b6109c860048036038101906109c3919061449b565b612596565b005b3480156109d657600080fd5b506109f160048036038101906109ec919061407e565b612609565b6040516109fe9190613f3a565b60405180910390f35b348015610a1357600080fd5b50610a2e6004803603810190610a299190613e86565b6126b8565b604051610a3b9190613e38565b60405180910390f35b348015610a5057600080fd5b50610a6b6004803603810190610a669190613fc0565b612756565b604051610a789190613f3a565b60405180910390f35b348015610a8d57600080fd5b50610aa86004803603810190610aa3919061451e565b61279f565b604051610ab59190613f3a565b60405180910390f35b348015610aca57600080fd5b50610ad36127e8565b604051610ae09190613f3a565b60405180910390f35b348015610af557600080fd5b50610afe6127ee565b604051610b0b9190613f3a565b60405180910390f35b348015610b2057600080fd5b50610b3b6004803603810190610b36919061454b565b6127f8565b604051610b489190613d8d565b60405180910390f35b348015610b5d57600080fd5b50610b6661288c565b604051610b739190613f3a565b60405180910390f35b610b966004803603810190610b919190613e86565b612891565b005b348015610ba457600080fd5b50610bbf6004803603810190610bba9190613fc0565b612bb5565b005b348015610bcd57600080fd5b50610be86004803603810190610be39190613fc0565b612c01565b005b348015610bf657600080fd5b50610c116004803603810190610c0c9190613e86565b612c84565b005b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ca65750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610cbc906145ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce8906145ba565b8015610d355780601f10610d0a57610100808354040283529160200191610d35565b820191906000526020600020905b815481529060010190602001808311610d1857829003601f168201915b5050505050905090565b6000610d4a82612c96565b610d80576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dc982611761565b90508073ffffffffffffffffffffffffffffffffffffffff16610dea612cf5565b73ffffffffffffffffffffffffffffffffffffffff1614610e4d57610e1681610e11612cf5565b6127f8565b610e4c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610f0c612cfd565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f929061465d565b60405180910390fd5b6000610fa68261255e565b905060008103610feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe2906146ef565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461103a919061473e565b9250508190555080600a6000828254611053919061473e565b925050819055506110648282612d06565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05682826040516110959291906147d1565b60405180910390a15050565b60125481565b6110af612dfa565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006110fe82612e78565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611165576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061117184612f44565b915091506111878187611182612cf5565b612f6b565b6111d35761119c86611197612cf5565b6127f8565b6111d2576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611239576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112468686866001612faf565b801561125157600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061131f856112fb888887612fb5565b7c020000000000000000000000000000000000000000000000000000000017612fdd565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113a557600060018501905060006004600083815260200190815260200160002054036113a35760005481146113a2578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461140d8686866001613008565b505050505050565b601a5481565b61115c81565b6000600954905090565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6114cd83838360405180602001604052806000815250612596565b505050565b6114da612dfa565b8060128190555050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d9061465d565b60405180910390fd5b60006115728383612609565b9050600081036115b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ae906146ef565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611643919061473e565b9250508190555080600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611699919061473e565b925050819055506116ab83838361300e565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a83836040516116f3929190613cb0565b60405180910390a2505050565b611708612dfa565b8060109081611717919061499c565b5050565b600281565b611728612dfa565b60005b6011548110156117595761174661174182611d1a565b610f19565b808061175190614a6e565b91505061172b565b50565b600381565b600061176c82612e78565b9050919050565b60108054611780906145ba565b80601f01602080910402602001604051908101604052809291908181526020018280546117ac906145ba565b80156117f95780601f106117ce576101008083540402835291602001916117f9565b820191906000526020600020905b8154815290600101906020018083116117dc57829003601f168201915b505050505081565b823373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186790614b02565b60405180910390fd5b600081116118b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118aa90614b6e565b60405180910390fd5b61115c816118bf610f02565b6118c9919061473e565b111561190a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190190614c00565b60405180910390fd5b6001600381111561191e5761191d6142fc565b5b601b60009054906101000a900460ff1660038111156119405761193f6142fc565b5b14611980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197790614c6c565b60405180910390fd5b600184601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119cd919061473e565b1115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0590614cd8565b60405180910390fd5b60de84611a19610f02565b611a23919061473e565b1115611a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5b90614d44565b60405180910390fd5b611afa83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050503373ffffffffffffffffffffffffffffffffffffffff1660001b604051602001611ad69190614de6565b6040516020818303038152906040528051906020012061309490919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8090614e58565b60405180910390fd5b83601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bd8919061473e565b92505081905550611be933856130bb565b50505050565b610c2781565b611bfd612dfa565b8060148190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c6e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611cc7612dfa565b611cd160006130d9565b565b611cdb612dfa565b806003811115611cee57611ced6142fc565b5b601b60006101000a81548160ff02191690836003811115611d1257611d116142fc565b5b021790555050565b6000600d8281548110611d3057611d2f614e78565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601a543373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df490614b02565b60405180910390fd5b60008111611e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3790614b6e565b60405180910390fd5b61115c81611e4c610f02565b611e56919061473e565b1115611e97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8e90614c00565b60405180910390fd5b611e9f612dfa565b601960009054906101000a900460ff1615611eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee690614f19565b60405180910390fd5b611efb82601a546130bb565b6001601960006101000a81548160ff0219169083151502179055505050565b606060038054611f29906145ba565b80601f0160208091040260200160405190810160405280929190818152602001828054611f55906145ba565b8015611fa25780601f10611f7757610100808354040283529160200191611fa2565b820191906000526020600020905b815481529060010190602001808311611f8557829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601b60009054906101000a900460ff1681565b823373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612077576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206e90614b02565b60405180910390fd5b600081116120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b190614b6e565b60405180910390fd5b61115c816120c6610f02565b6120d0919061473e565b1115612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210890614c00565b60405180910390fd5b60026003811115612125576121246142fc565b5b601b60009054906101000a900460ff166003811115612147576121466142fc565b5b14612187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217e90614f85565b60405180910390fd5b600284601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121d4919061473e565b1115612215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220c90615017565b60405180910390fd5b836014546122239190615037565b341015612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c90615103565b60405180910390fd5b60de610c27612274919061473e565b8461227d610f02565b612287919061473e565b11156122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf9061516f565b60405180910390fd5b61235e83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050503373ffffffffffffffffffffffffffffffffffffffff1660001b60405160200161233a9190614de6565b6040516020818303038152906040528051906020012061309490919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146123ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e4906151db565b60405180910390fd5b83601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461243c919061473e565b9250508190555061244d33856130bb565b50505050565b8060076000612460612cf5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661250d612cf5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125529190613d8d565b60405180910390a35050565b6000806125696127ee565b47612574919061473e565b9050612589838261258486611fac565b61319f565b915050919050565b60de81565b6125a18484846110f3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612603576125cc8484848461320d565b612602576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000806126158461279f565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161264e9190613eb3565b602060405180830381865afa15801561266b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268f9190615210565b612699919061473e565b90506126af83826126aa878761142b565b61319f565b91505092915050565b60606126c382612c96565b6126f9576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061270361335d565b90506000815103612723576040518060200160405280600081525061274e565b8061272d846133ef565b60405160200161273e92919061526e565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60145481565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600181565b803373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f790614b02565b60405180910390fd5b60008111612943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293a90614b6e565b60405180910390fd5b61115c8161294f610f02565b612959919061473e565b111561299a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299190614c00565b60405180910390fd5b6003808111156129ad576129ac6142fc565b5b601b60009054906101000a900460ff1660038111156129cf576129ce6142fc565b5b14612a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a06906152de565b60405180910390fd5b600382601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a5c919061473e565b1115612a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9490615370565b60405180910390fd5b81601254612aab9190615037565b341015612aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae490615103565b60405180910390fd5b601a5461115c612afd9190615390565b82612b06610f02565b612b10919061473e565b1115612b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4890615410565b60405180910390fd5b81601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ba0919061473e565b92505081905550612bb133836130bb565b5050565b612bbd612dfa565b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612c09612dfa565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6f906154a2565b60405180910390fd5b612c81816130d9565b50565b612c8c612dfa565b80601a8190555050565b600081612ca1612cfd565b11158015612cb0575060005482105b8015612cee575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b80471015612d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d409061550e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612d6f9061555f565b60006040518083038185875af1925050503d8060008114612dac576040519150601f19603f3d011682016040523d82523d6000602084013e612db1565b606091505b5050905080612df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dec906155e6565b60405180910390fd5b505050565b612e02610c13565b73ffffffffffffffffffffffffffffffffffffffff16612e20611d62565b73ffffffffffffffffffffffffffffffffffffffff1614612e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6d90615652565b60405180910390fd5b565b60008082905080612e87612cfd565b11612f0d57600054811015612f0c5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612f0a575b60008103612f00576004600083600190039350838152602001908152602001600020549050612ed6565b8092505050612f3f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612fcc86868461343f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61308f8363a9059cbb60e01b848460405160240161302d929190613cb0565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613448565b505050565b60008060006130a3858561350f565b915091506130b081613560565b819250505092915050565b6130d582826040518060200160405280600081525061372c565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054856131f09190615037565b6131fa91906156a1565b6132049190615390565b90509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613233612cf5565b8786866040518563ffffffff1660e01b81526004016132559493929190615727565b6020604051808303816000875af192505050801561329157506040513d601f19601f8201168201806040525081019061328e9190615788565b60015b61330a573d80600081146132c1576040519150601f19603f3d011682016040523d82523d6000602084013e6132c6565b606091505b506000815103613302576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606010805461336c906145ba565b80601f0160208091040260200160405190810160405280929190818152602001828054613398906145ba565b80156133e55780601f106133ba576101008083540402835291602001916133e5565b820191906000526020600020905b8154815290600101906020018083116133c857829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561342a57600184039350600a81066030018453600a8104905080613408575b50828103602084039350808452505050919050565b60009392505050565b60006134aa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137c99092919063ffffffff16565b905060008151111561350a57808060200190518101906134ca91906157ca565b613509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350090615869565b60405180910390fd5b5b505050565b60008060418351036135505760008060006020860151925060408601519150606086015160001a9050613544878285856137e1565b94509450505050613559565b60006002915091505b9250929050565b60006004811115613574576135736142fc565b5b816004811115613587576135866142fc565b5b031561372957600160048111156135a1576135a06142fc565b5b8160048111156135b4576135b36142fc565b5b036135f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135eb906158d5565b60405180910390fd5b60026004811115613608576136076142fc565b5b81600481111561361b5761361a6142fc565b5b0361365b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365290615941565b60405180910390fd5b6003600481111561366f5761366e6142fc565b5b816004811115613682576136816142fc565b5b036136c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b9906159d3565b60405180910390fd5b6004808111156136d5576136d46142fc565b5b8160048111156136e8576136e76142fc565b5b03613728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371f90615a65565b60405180910390fd5b5b50565b61373683836138ed565b60008373ffffffffffffffffffffffffffffffffffffffff163b146137c457600080549050600083820390505b613776600086838060010194508661320d565b6137ac576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106137635781600054146137c157600080fd5b50505b505050565b60606137d88484600085613aa8565b90509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561381c5760006003915091506138e4565b601b8560ff16141580156138345750601c8560ff1614155b156138465760006004915091506138e4565b60006001878787876040516000815260200160405260405161386b9493929190615ab0565b6020604051602081039080840390855afa15801561388d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036138db576000600192509250506138e4565b80600092509250505b94509492505050565b6000805490506000820361392d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61393a6000848385612faf565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506139b1836139a26000866000612fb5565b6139ab85613bbc565b17612fdd565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613a5257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613a17565b5060008203613a8d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613aa36000848385613008565b505050565b606082471015613aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ae490615b67565b60405180910390fd5b613af685613bcc565b613b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b2c90615bd3565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b5e9190615c24565b60006040518083038185875af1925050503d8060008114613b9b576040519150601f19603f3d011682016040523d82523d6000602084013e613ba0565b606091505b5091509150613bb0828286613bef565b92505050949350505050565b60006001821460e11b9050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315613bff57829050613c4f565b600083511115613c125782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c469190613e38565b60405180910390fd5b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c8182613c56565b9050919050565b613c9181613c76565b82525050565b6000819050919050565b613caa81613c97565b82525050565b6000604082019050613cc56000830185613c88565b613cd26020830184613ca1565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d2281613ced565b8114613d2d57600080fd5b50565b600081359050613d3f81613d19565b92915050565b600060208284031215613d5b57613d5a613ce3565b5b6000613d6984828501613d30565b91505092915050565b60008115159050919050565b613d8781613d72565b82525050565b6000602082019050613da26000830184613d7e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613de2578082015181840152602081019050613dc7565b60008484015250505050565b6000601f19601f8301169050919050565b6000613e0a82613da8565b613e148185613db3565b9350613e24818560208601613dc4565b613e2d81613dee565b840191505092915050565b60006020820190508181036000830152613e528184613dff565b905092915050565b613e6381613c97565b8114613e6e57600080fd5b50565b600081359050613e8081613e5a565b92915050565b600060208284031215613e9c57613e9b613ce3565b5b6000613eaa84828501613e71565b91505092915050565b6000602082019050613ec86000830184613c88565b92915050565b613ed781613c76565b8114613ee257600080fd5b50565b600081359050613ef481613ece565b92915050565b60008060408385031215613f1157613f10613ce3565b5b6000613f1f85828601613ee5565b9250506020613f3085828601613e71565b9150509250929050565b6000602082019050613f4f6000830184613ca1565b92915050565b6000613f6082613c56565b9050919050565b613f7081613f55565b8114613f7b57600080fd5b50565b600081359050613f8d81613f67565b92915050565b600060208284031215613fa957613fa8613ce3565b5b6000613fb784828501613f7e565b91505092915050565b600060208284031215613fd657613fd5613ce3565b5b6000613fe484828501613ee5565b91505092915050565b60008060006060848603121561400657614005613ce3565b5b600061401486828701613ee5565b935050602061402586828701613ee5565b925050604061403686828701613e71565b9150509250925092565b600061404b82613c76565b9050919050565b61405b81614040565b811461406657600080fd5b50565b60008135905061407881614052565b92915050565b6000806040838503121561409557614094613ce3565b5b60006140a385828601614069565b92505060206140b485828601613ee5565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61410082613dee565b810181811067ffffffffffffffff8211171561411f5761411e6140c8565b5b80604052505050565b6000614132613cd9565b905061413e82826140f7565b919050565b600067ffffffffffffffff82111561415e5761415d6140c8565b5b61416782613dee565b9050602081019050919050565b82818337600083830152505050565b600061419661419184614143565b614128565b9050828152602081018484840111156141b2576141b16140c3565b5b6141bd848285614174565b509392505050565b600082601f8301126141da576141d96140be565b5b81356141ea848260208601614183565b91505092915050565b60006020828403121561420957614208613ce3565b5b600082013567ffffffffffffffff81111561422757614226613ce8565b5b614233848285016141c5565b91505092915050565b600080fd5b600080fd5b60008083601f84011261425c5761425b6140be565b5b8235905067ffffffffffffffff8111156142795761427861423c565b5b60208301915083600182028301111561429557614294614241565b5b9250929050565b6000806000604084860312156142b5576142b4613ce3565b5b60006142c386828701613e71565b935050602084013567ffffffffffffffff8111156142e4576142e3613ce8565b5b6142f086828701614246565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061433c5761433b6142fc565b5b50565b600081905061434d8261432b565b919050565b600061435d8261433f565b9050919050565b61436d81614352565b82525050565b60006020820190506143886000830184614364565b92915050565b61439781613d72565b81146143a257600080fd5b50565b6000813590506143b48161438e565b92915050565b600080604083850312156143d1576143d0613ce3565b5b60006143df85828601613ee5565b92505060206143f0858286016143a5565b9150509250929050565b600067ffffffffffffffff821115614415576144146140c8565b5b61441e82613dee565b9050602081019050919050565b600061443e614439846143fa565b614128565b90508281526020810184848401111561445a576144596140c3565b5b614465848285614174565b509392505050565b600082601f830112614482576144816140be565b5b813561449284826020860161442b565b91505092915050565b600080600080608085870312156144b5576144b4613ce3565b5b60006144c387828801613ee5565b94505060206144d487828801613ee5565b93505060406144e587828801613e71565b925050606085013567ffffffffffffffff81111561450657614505613ce8565b5b6145128782880161446d565b91505092959194509250565b60006020828403121561453457614533613ce3565b5b600061454284828501614069565b91505092915050565b6000806040838503121561456257614561613ce3565b5b600061457085828601613ee5565b925050602061458185828601613ee5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145d257607f821691505b6020821081036145e5576145e461458b565b5b50919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000614647602683613db3565b9150614652826145eb565b604082019050919050565b600060208201905081810360008301526146768161463a565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b60006146d9602b83613db3565b91506146e48261467d565b604082019050919050565b60006020820190508181036000830152614708816146cc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061474982613c97565b915061475483613c97565b925082820190508082111561476c5761476b61470f565b5b92915050565b6000819050919050565b600061479761479261478d84613c56565b614772565b613c56565b9050919050565b60006147a98261477c565b9050919050565b60006147bb8261479e565b9050919050565b6147cb816147b0565b82525050565b60006040820190506147e660008301856147c2565b6147f36020830184613ca1565b9392505050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261485c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261481f565b614866868361481f565b95508019841693508086168417925050509392505050565b600061489961489461488f84613c97565b614772565b613c97565b9050919050565b6000819050919050565b6148b38361487e565b6148c76148bf826148a0565b84845461482c565b825550505050565b600090565b6148dc6148cf565b6148e78184846148aa565b505050565b5b8181101561490b576149006000826148d4565b6001810190506148ed565b5050565b601f82111561495057614921816147fa565b61492a8461480f565b81016020851015614939578190505b61494d6149458561480f565b8301826148ec565b50505b505050565b600082821c905092915050565b600061497360001984600802614955565b1980831691505092915050565b600061498c8383614962565b9150826002028217905092915050565b6149a582613da8565b67ffffffffffffffff8111156149be576149bd6140c8565b5b6149c882546145ba565b6149d382828561490f565b600060209050601f831160018114614a0657600084156149f4578287015190505b6149fe8582614980565b865550614a66565b601f198416614a14866147fa565b60005b82811015614a3c57848901518255600182019150602085019450602081019050614a17565b86831015614a595784890151614a55601f891682614962565b8355505b6001600288020188555050505b505050505050565b6000614a7982613c97565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614aab57614aaa61470f565b5b600182019050919050565b7f4f6e6c792068756d616e732061726520616c6c6f77656420746f206d696e7421600082015250565b6000614aec602083613db3565b9150614af782614ab6565b602082019050919050565b60006020820190508181036000830152614b1b81614adf565b9050919050565b7f43616e2774206d696e74207a65726f2100000000000000000000000000000000600082015250565b6000614b58601083613db3565b9150614b6382614b22565b602082019050919050565b60006020820190508181036000830152614b8781614b4b565b9050919050565b7f546865726520617265206e6f206d6f7265204d6f636869204d6f73206176616960008201527f6c61626c65210000000000000000000000000000000000000000000000000000602082015250565b6000614bea602683613db3565b9150614bf582614b8e565b604082019050919050565b60006020820190508181036000830152614c1981614bdd565b9050919050565b7f5649502073616c6520697320696e616374697665210000000000000000000000600082015250565b6000614c56601583613db3565b9150614c6182614c20565b602082019050919050565b60006020820190508181036000830152614c8581614c49565b9050919050565b7f43616e2774206d696e742074686174206d616e79206f76657220564950210000600082015250565b6000614cc2601e83613db3565b9150614ccd82614c8c565b602082019050919050565b60006020820190508181036000830152614cf181614cb5565b9050919050565b7f5649502073616c6520697320736f6c64206f7574210000000000000000000000600082015250565b6000614d2e601583613db3565b9150614d3982614cf8565b602082019050919050565b60006020820190508181036000830152614d5d81614d21565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614da5601c83614d64565b9150614db082614d6f565b601c82019050919050565b6000819050919050565b6000819050919050565b614de0614ddb82614dbb565b614dc5565b82525050565b6000614df182614d98565b9150614dfd8284614dcf565b60208201915081905092915050565b7f4e6f742061205649502100000000000000000000000000000000000000000000600082015250565b6000614e42600a83613db3565b9150614e4d82614e0c565b602082019050919050565b60006020820190508181036000830152614e7181614e35565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f546865207465616d20737570706c792077617320616c7265616479206d696e7460008201527f6564210000000000000000000000000000000000000000000000000000000000602082015250565b6000614f03602383613db3565b9150614f0e82614ea7565b604082019050919050565b60006020820190508181036000830152614f3281614ef6565b9050919050565b7f57686974656c6973742073616c6520697320696e616374697665210000000000600082015250565b6000614f6f601b83613db3565b9150614f7a82614f39565b602082019050919050565b60006020820190508181036000830152614f9e81614f62565b9050919050565b7f43616e2774206d696e742074686174206d616e79206f7665722077686974656c60008201527f6973742100000000000000000000000000000000000000000000000000000000602082015250565b6000615001602483613db3565b915061500c82614fa5565b604082019050919050565b6000602082019050818103600083015261503081614ff4565b9050919050565b600061504282613c97565b915061504d83613c97565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150865761508561470f565b5b828202905092915050565b7f5468652065746865722076616c75652073656e74206973206e6f7420636f727260008201527f6563742100000000000000000000000000000000000000000000000000000000602082015250565b60006150ed602483613db3565b91506150f882615091565b604082019050919050565b6000602082019050818103600083015261511c816150e0565b9050919050565b7f57686974656c6973742073616c6520697320736f6c64206f7574210000000000600082015250565b6000615159601b83613db3565b915061516482615123565b602082019050919050565b600060208201905081810360008301526151888161514c565b9050919050565b7f4e6f74206f6e2077686974656c69737421000000000000000000000000000000600082015250565b60006151c5601183613db3565b91506151d08261518f565b602082019050919050565b600060208201905081810360008301526151f4816151b8565b9050919050565b60008151905061520a81613e5a565b92915050565b60006020828403121561522657615225613ce3565b5b6000615234848285016151fb565b91505092915050565b600061524882613da8565b6152528185614d64565b9350615262818560208601613dc4565b80840191505092915050565b600061527a828561523d565b9150615286828461523d565b91508190509392505050565b7f5075626c69632073616c6520697320696e616374697665210000000000000000600082015250565b60006152c8601883613db3565b91506152d382615292565b602082019050919050565b600060208201905081810360008301526152f7816152bb565b9050919050565b7f43616e2774206d696e742074686174206d616e79206f766572207075626c696360008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b600061535a602183613db3565b9150615365826152fe565b604082019050919050565b600060208201905081810360008301526153898161534d565b9050919050565b600061539b82613c97565b91506153a683613c97565b92508282039050818111156153be576153bd61470f565b5b92915050565b7f5075626c69632073616c6520697320736f6c64206f7574210000000000000000600082015250565b60006153fa601883613db3565b9150615405826153c4565b602082019050919050565b60006020820190508181036000830152615429816153ed565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061548c602683613db3565b915061549782615430565b604082019050919050565b600060208201905081810360008301526154bb8161547f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006154f8601d83613db3565b9150615503826154c2565b602082019050919050565b60006020820190508181036000830152615527816154eb565b9050919050565b600081905092915050565b50565b600061554960008361552e565b915061555482615539565b600082019050919050565b600061556a8261553c565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006155d0603a83613db3565b91506155db82615574565b604082019050919050565b600060208201905081810360008301526155ff816155c3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061563c602083613db3565b915061564782615606565b602082019050919050565b6000602082019050818103600083015261566b8161562f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006156ac82613c97565b91506156b783613c97565b9250826156c7576156c6615672565b5b828204905092915050565b600081519050919050565b600082825260208201905092915050565b60006156f9826156d2565b61570381856156dd565b9350615713818560208601613dc4565b61571c81613dee565b840191505092915050565b600060808201905061573c6000830187613c88565b6157496020830186613c88565b6157566040830185613ca1565b818103606083015261576881846156ee565b905095945050505050565b60008151905061578281613d19565b92915050565b60006020828403121561579e5761579d613ce3565b5b60006157ac84828501615773565b91505092915050565b6000815190506157c48161438e565b92915050565b6000602082840312156157e0576157df613ce3565b5b60006157ee848285016157b5565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615853602a83613db3565b915061585e826157f7565b604082019050919050565b6000602082019050818103600083015261588281615846565b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006158bf601883613db3565b91506158ca82615889565b602082019050919050565b600060208201905081810360008301526158ee816158b2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061592b601f83613db3565b9150615936826158f5565b602082019050919050565b6000602082019050818103600083015261595a8161591e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006159bd602283613db3565b91506159c882615961565b604082019050919050565b600060208201905081810360008301526159ec816159b0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a4f602283613db3565b9150615a5a826159f3565b604082019050919050565b60006020820190508181036000830152615a7e81615a42565b9050919050565b615a8e81614dbb565b82525050565b600060ff82169050919050565b615aaa81615a94565b82525050565b6000608082019050615ac56000830187615a85565b615ad26020830186615aa1565b615adf6040830185615a85565b615aec6060830184615a85565b95945050505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615b51602683613db3565b9150615b5c82615af5565b604082019050919050565b60006020820190508181036000830152615b8081615b44565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615bbd601d83613db3565b9150615bc882615b87565b602082019050919050565b60006020820190508181036000830152615bec81615bb0565b9050919050565b6000615bfe826156d2565b615c08818561552e565b9350615c18818560208601613dc4565b80840191505092915050565b6000615c308284615bf3565b91508190509291505056fea264697066735822122013d83a692cfb0fde0b1530e1282c9d57eb3b718cb0d91f439d4c935148c680fb64736f6c6343000810003300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000ff18116c641d8759dfe8a22b5209b099b0a95a03000000000000000000000000ee9dd4797438b1d926e044c20bb8bbf8e495b85a00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f697066732e696f2f697066732f6261667962656968746971377a7972347736726c766d787332756f786b6971347033367a3537727234616f77756d76786d7236727a67616c7465692f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000033dd43c55c0329d8cac4003c6e15cb1635f796620000000000000000000000001e6c9baa9ae266be4627ec540d75f90aa4c2186700000000000000000000000078e46f462d12731e7138e162487ea7b24120582500000000000000000000000080a1f8935d0c880b7f718d611dabe90a4bc20d7f00000000000000000000000063149154b0647b849e49c108226656741832cbd700000000000000000000000011bbbef2bd9846f70482db5eb5cf216ad70d1042000000000000000000000000d915b8d5fef84c55f085233d5e4916e5fcb28901000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000a600000000000000000000000000000000000000000000000000000000000000a600000000000000000000000000000000000000000000000000000000000000a60000000000000000000000000000000000000000000000000000000000000098000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064

Deployed Bytecode

0x6080604052600436106102e85760003560e01c806370a0823111610190578063b88d4fde116100dc578063e33b7de311610095578063efd0cbf91161006f578063efd0cbf914610b7c578063f1bc02fc14610b98578063f2fde38b14610bc1578063f8f103dd14610bea5761032f565b8063e33b7de314610ae9578063e985e9c514610b14578063ee24c66014610b515761032f565b8063b88d4fde146109ae578063c45ac050146109ca578063c87b56dd14610a07578063ce7c2ac214610a44578063d79779b214610a81578063dbe65bfa14610abe5761032f565b806395d89b41116101495780639f41554a116101235780639f41554a14610901578063a22cb4651461091d578063a3f8eace14610946578063a73ce01f146109835761032f565b806395d89b411461086e5780639852595c146108995780639da3f8fd146108d65761032f565b806370a0823114610760578063715018a61461079d578063887fee31146107b45780638b83209b146107dd5780638da5cb5b1461081a57806395a3ca2e146108455761032f565b8063406072a91161024f5780635be7fde8116102085780636c0360eb116101e25780636c0360eb146106b85780636da48e22146106e35780636e56539b1461070c5780636f1e24f0146107375761032f565b80635be7fde81461063957806363172ac1146106505780636352211e1461067b5761032f565b8063406072a91461053a57806342842e0e14610577578063446ff4be1461059357806348b75044146105bc57806355f804b3146105e557806358941a4d1461060e5761032f565b80631c18a062116102a15780631c18a06214610449578063236bdfeb1461047457806323b872dd1461049d5780632cfac6ec146104b957806332cb6b0c146104e45780633a98ef391461050f5761032f565b806301ffc9a71461033457806306fdde0314610371578063081812fc1461039c578063095ea7b3146103d957806318160ddd146103f557806319165587146104205761032f565b3661032f577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770610316610c13565b34604051610325929190613cb0565b60405180910390a1005b600080fd5b34801561034057600080fd5b5061035b60048036038101906103569190613d45565b610c1b565b6040516103689190613d8d565b60405180910390f35b34801561037d57600080fd5b50610386610cad565b6040516103939190613e38565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be9190613e86565b610d3f565b6040516103d09190613eb3565b60405180910390f35b6103f360048036038101906103ee9190613efa565b610dbe565b005b34801561040157600080fd5b5061040a610f02565b6040516104179190613f3a565b60405180910390f35b34801561042c57600080fd5b5061044760048036038101906104429190613f93565b610f19565b005b34801561045557600080fd5b5061045e6110a1565b60405161046b9190613f3a565b60405180910390f35b34801561048057600080fd5b5061049b60048036038101906104969190613fc0565b6110a7565b005b6104b760048036038101906104b29190613fed565b6110f3565b005b3480156104c557600080fd5b506104ce611415565b6040516104db9190613f3a565b60405180910390f35b3480156104f057600080fd5b506104f961141b565b6040516105069190613f3a565b60405180910390f35b34801561051b57600080fd5b50610524611421565b6040516105319190613f3a565b60405180910390f35b34801561054657600080fd5b50610561600480360381019061055c919061407e565b61142b565b60405161056e9190613f3a565b60405180910390f35b610591600480360381019061058c9190613fed565b6114b2565b005b34801561059f57600080fd5b506105ba60048036038101906105b59190613e86565b6114d2565b005b3480156105c857600080fd5b506105e360048036038101906105de919061407e565b6114e4565b005b3480156105f157600080fd5b5061060c600480360381019061060791906141f3565b611700565b005b34801561061a57600080fd5b5061062361171b565b6040516106309190613f3a565b60405180910390f35b34801561064557600080fd5b5061064e611720565b005b34801561065c57600080fd5b5061066561175c565b6040516106729190613f3a565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d9190613e86565b611761565b6040516106af9190613eb3565b60405180910390f35b3480156106c457600080fd5b506106cd611773565b6040516106da9190613e38565b60405180910390f35b3480156106ef57600080fd5b5061070a6004803603810190610705919061429c565b611801565b005b34801561071857600080fd5b50610721611bef565b60405161072e9190613f3a565b60405180910390f35b34801561074357600080fd5b5061075e60048036038101906107599190613e86565b611bf5565b005b34801561076c57600080fd5b5061078760048036038101906107829190613fc0565b611c07565b6040516107949190613f3a565b60405180910390f35b3480156107a957600080fd5b506107b2611cbf565b005b3480156107c057600080fd5b506107db60048036038101906107d69190613e86565b611cd3565b005b3480156107e957600080fd5b5061080460048036038101906107ff9190613e86565b611d1a565b6040516108119190613eb3565b60405180910390f35b34801561082657600080fd5b5061082f611d62565b60405161083c9190613eb3565b60405180910390f35b34801561085157600080fd5b5061086c60048036038101906108679190613fc0565b611d8c565b005b34801561087a57600080fd5b50610883611f1a565b6040516108909190613e38565b60405180910390f35b3480156108a557600080fd5b506108c060048036038101906108bb9190613fc0565b611fac565b6040516108cd9190613f3a565b60405180910390f35b3480156108e257600080fd5b506108eb611ff5565b6040516108f89190614373565b60405180910390f35b61091b6004803603810190610916919061429c565b612008565b005b34801561092957600080fd5b50610944600480360381019061093f91906143ba565b612453565b005b34801561095257600080fd5b5061096d60048036038101906109689190613fc0565b61255e565b60405161097a9190613f3a565b60405180910390f35b34801561098f57600080fd5b50610998612591565b6040516109a59190613f3a565b60405180910390f35b6109c860048036038101906109c3919061449b565b612596565b005b3480156109d657600080fd5b506109f160048036038101906109ec919061407e565b612609565b6040516109fe9190613f3a565b60405180910390f35b348015610a1357600080fd5b50610a2e6004803603810190610a299190613e86565b6126b8565b604051610a3b9190613e38565b60405180910390f35b348015610a5057600080fd5b50610a6b6004803603810190610a669190613fc0565b612756565b604051610a789190613f3a565b60405180910390f35b348015610a8d57600080fd5b50610aa86004803603810190610aa3919061451e565b61279f565b604051610ab59190613f3a565b60405180910390f35b348015610aca57600080fd5b50610ad36127e8565b604051610ae09190613f3a565b60405180910390f35b348015610af557600080fd5b50610afe6127ee565b604051610b0b9190613f3a565b60405180910390f35b348015610b2057600080fd5b50610b3b6004803603810190610b36919061454b565b6127f8565b604051610b489190613d8d565b60405180910390f35b348015610b5d57600080fd5b50610b6661288c565b604051610b739190613f3a565b60405180910390f35b610b966004803603810190610b919190613e86565b612891565b005b348015610ba457600080fd5b50610bbf6004803603810190610bba9190613fc0565b612bb5565b005b348015610bcd57600080fd5b50610be86004803603810190610be39190613fc0565b612c01565b005b348015610bf657600080fd5b50610c116004803603810190610c0c9190613e86565b612c84565b005b600033905090565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7657506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ca65750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610cbc906145ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce8906145ba565b8015610d355780601f10610d0a57610100808354040283529160200191610d35565b820191906000526020600020905b815481529060010190602001808311610d1857829003601f168201915b5050505050905090565b6000610d4a82612c96565b610d80576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dc982611761565b90508073ffffffffffffffffffffffffffffffffffffffff16610dea612cf5565b73ffffffffffffffffffffffffffffffffffffffff1614610e4d57610e1681610e11612cf5565b6127f8565b610e4c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610f0c612cfd565b6001546000540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610f9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f929061465d565b60405180910390fd5b6000610fa68261255e565b905060008103610feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe2906146ef565b60405180910390fd5b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461103a919061473e565b9250508190555080600a6000828254611053919061473e565b925050819055506110648282612d06565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05682826040516110959291906147d1565b60405180910390a15050565b60125481565b6110af612dfa565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006110fe82612e78565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611165576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061117184612f44565b915091506111878187611182612cf5565b612f6b565b6111d35761119c86611197612cf5565b6127f8565b6111d2576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611239576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112468686866001612faf565b801561125157600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061131f856112fb888887612fb5565b7c020000000000000000000000000000000000000000000000000000000017612fdd565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036113a557600060018501905060006004600083815260200190815260200160002054036113a35760005481146113a2578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461140d8686866001613008565b505050505050565b601a5481565b61115c81565b6000600954905090565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6114cd83838360405180602001604052806000815250612596565b505050565b6114da612dfa565b8060128190555050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d9061465d565b60405180910390fd5b60006115728383612609565b9050600081036115b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ae906146ef565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611643919061473e565b9250508190555080600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611699919061473e565b925050819055506116ab83838361300e565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a83836040516116f3929190613cb0565b60405180910390a2505050565b611708612dfa565b8060109081611717919061499c565b5050565b600281565b611728612dfa565b60005b6011548110156117595761174661174182611d1a565b610f19565b808061175190614a6e565b91505061172b565b50565b600381565b600061176c82612e78565b9050919050565b60108054611780906145ba565b80601f01602080910402602001604051908101604052809291908181526020018280546117ac906145ba565b80156117f95780601f106117ce576101008083540402835291602001916117f9565b820191906000526020600020905b8154815290600101906020018083116117dc57829003601f168201915b505050505081565b823373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186790614b02565b60405180910390fd5b600081116118b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118aa90614b6e565b60405180910390fd5b61115c816118bf610f02565b6118c9919061473e565b111561190a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190190614c00565b60405180910390fd5b6001600381111561191e5761191d6142fc565b5b601b60009054906101000a900460ff1660038111156119405761193f6142fc565b5b14611980576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197790614c6c565b60405180910390fd5b600184601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546119cd919061473e565b1115611a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0590614cd8565b60405180910390fd5b60de84611a19610f02565b611a23919061473e565b1115611a64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5b90614d44565b60405180910390fd5b611afa83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050503373ffffffffffffffffffffffffffffffffffffffff1660001b604051602001611ad69190614de6565b6040516020818303038152906040528051906020012061309490919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8090614e58565b60405180910390fd5b83601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bd8919061473e565b92505081905550611be933856130bb565b50505050565b610c2781565b611bfd612dfa565b8060148190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c6e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611cc7612dfa565b611cd160006130d9565b565b611cdb612dfa565b806003811115611cee57611ced6142fc565b5b601b60006101000a81548160ff02191690836003811115611d1257611d116142fc565b5b021790555050565b6000600d8281548110611d3057611d2f614e78565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601a543373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df490614b02565b60405180910390fd5b60008111611e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3790614b6e565b60405180910390fd5b61115c81611e4c610f02565b611e56919061473e565b1115611e97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8e90614c00565b60405180910390fd5b611e9f612dfa565b601960009054906101000a900460ff1615611eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee690614f19565b60405180910390fd5b611efb82601a546130bb565b6001601960006101000a81548160ff0219169083151502179055505050565b606060038054611f29906145ba565b80601f0160208091040260200160405190810160405280929190818152602001828054611f55906145ba565b8015611fa25780601f10611f7757610100808354040283529160200191611fa2565b820191906000526020600020905b815481529060010190602001808311611f8557829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601b60009054906101000a900460ff1681565b823373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612077576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206e90614b02565b60405180910390fd5b600081116120ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b190614b6e565b60405180910390fd5b61115c816120c6610f02565b6120d0919061473e565b1115612111576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210890614c00565b60405180910390fd5b60026003811115612125576121246142fc565b5b601b60009054906101000a900460ff166003811115612147576121466142fc565b5b14612187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217e90614f85565b60405180910390fd5b600284601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546121d4919061473e565b1115612215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220c90615017565b60405180910390fd5b836014546122239190615037565b341015612265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225c90615103565b60405180910390fd5b60de610c27612274919061473e565b8461227d610f02565b612287919061473e565b11156122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf9061516f565b60405180910390fd5b61235e83838080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050503373ffffffffffffffffffffffffffffffffffffffff1660001b60405160200161233a9190614de6565b6040516020818303038152906040528051906020012061309490919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146123ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e4906151db565b60405180910390fd5b83601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461243c919061473e565b9250508190555061244d33856130bb565b50505050565b8060076000612460612cf5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661250d612cf5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125529190613d8d565b60405180910390a35050565b6000806125696127ee565b47612574919061473e565b9050612589838261258486611fac565b61319f565b915050919050565b60de81565b6125a18484846110f3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612603576125cc8484848461320d565b612602576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6000806126158461279f565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161264e9190613eb3565b602060405180830381865afa15801561266b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061268f9190615210565b612699919061473e565b90506126af83826126aa878761142b565b61319f565b91505092915050565b60606126c382612c96565b6126f9576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061270361335d565b90506000815103612723576040518060200160405280600081525061274e565b8061272d846133ef565b60405160200161273e92919061526e565b6040516020818303038152906040525b915050919050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60145481565b6000600a54905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600181565b803373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f790614b02565b60405180910390fd5b60008111612943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293a90614b6e565b60405180910390fd5b61115c8161294f610f02565b612959919061473e565b111561299a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299190614c00565b60405180910390fd5b6003808111156129ad576129ac6142fc565b5b601b60009054906101000a900460ff1660038111156129cf576129ce6142fc565b5b14612a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a06906152de565b60405180910390fd5b600382601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612a5c919061473e565b1115612a9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9490615370565b60405180910390fd5b81601254612aab9190615037565b341015612aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae490615103565b60405180910390fd5b601a5461115c612afd9190615390565b82612b06610f02565b612b10919061473e565b1115612b51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4890615410565b60405180910390fd5b81601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ba0919061473e565b92505081905550612bb133836130bb565b5050565b612bbd612dfa565b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612c09612dfa565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6f906154a2565b60405180910390fd5b612c81816130d9565b50565b612c8c612dfa565b80601a8190555050565b600081612ca1612cfd565b11158015612cb0575060005482105b8015612cee575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b80471015612d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d409061550e565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612d6f9061555f565b60006040518083038185875af1925050503d8060008114612dac576040519150601f19603f3d011682016040523d82523d6000602084013e612db1565b606091505b5050905080612df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dec906155e6565b60405180910390fd5b505050565b612e02610c13565b73ffffffffffffffffffffffffffffffffffffffff16612e20611d62565b73ffffffffffffffffffffffffffffffffffffffff1614612e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6d90615652565b60405180910390fd5b565b60008082905080612e87612cfd565b11612f0d57600054811015612f0c5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612f0a575b60008103612f00576004600083600190039350838152602001908152602001600020549050612ed6565b8092505050612f3f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612fcc86868461343f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61308f8363a9059cbb60e01b848460405160240161302d929190613cb0565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613448565b505050565b60008060006130a3858561350f565b915091506130b081613560565b819250505092915050565b6130d582826040518060200160405280600081525061372c565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054856131f09190615037565b6131fa91906156a1565b6132049190615390565b90509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613233612cf5565b8786866040518563ffffffff1660e01b81526004016132559493929190615727565b6020604051808303816000875af192505050801561329157506040513d601f19601f8201168201806040525081019061328e9190615788565b60015b61330a573d80600081146132c1576040519150601f19603f3d011682016040523d82523d6000602084013e6132c6565b606091505b506000815103613302576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606010805461336c906145ba565b80601f0160208091040260200160405190810160405280929190818152602001828054613398906145ba565b80156133e55780601f106133ba576101008083540402835291602001916133e5565b820191906000526020600020905b8154815290600101906020018083116133c857829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b60011561342a57600184039350600a81066030018453600a8104905080613408575b50828103602084039350808452505050919050565b60009392505050565b60006134aa826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137c99092919063ffffffff16565b905060008151111561350a57808060200190518101906134ca91906157ca565b613509576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350090615869565b60405180910390fd5b5b505050565b60008060418351036135505760008060006020860151925060408601519150606086015160001a9050613544878285856137e1565b94509450505050613559565b60006002915091505b9250929050565b60006004811115613574576135736142fc565b5b816004811115613587576135866142fc565b5b031561372957600160048111156135a1576135a06142fc565b5b8160048111156135b4576135b36142fc565b5b036135f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135eb906158d5565b60405180910390fd5b60026004811115613608576136076142fc565b5b81600481111561361b5761361a6142fc565b5b0361365b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365290615941565b60405180910390fd5b6003600481111561366f5761366e6142fc565b5b816004811115613682576136816142fc565b5b036136c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b9906159d3565b60405180910390fd5b6004808111156136d5576136d46142fc565b5b8160048111156136e8576136e76142fc565b5b03613728576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371f90615a65565b60405180910390fd5b5b50565b61373683836138ed565b60008373ffffffffffffffffffffffffffffffffffffffff163b146137c457600080549050600083820390505b613776600086838060010194508661320d565b6137ac576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106137635781600054146137c157600080fd5b50505b505050565b60606137d88484600085613aa8565b90509392505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561381c5760006003915091506138e4565b601b8560ff16141580156138345750601c8560ff1614155b156138465760006004915091506138e4565b60006001878787876040516000815260200160405260405161386b9493929190615ab0565b6020604051602081039080840390855afa15801561388d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036138db576000600192509250506138e4565b80600092509250505b94509492505050565b6000805490506000820361392d576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61393a6000848385612faf565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506139b1836139a26000866000612fb5565b6139ab85613bbc565b17612fdd565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114613a5257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613a17565b5060008203613a8d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050613aa36000848385613008565b505050565b606082471015613aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ae490615b67565b60405180910390fd5b613af685613bcc565b613b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b2c90615bd3565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b5e9190615c24565b60006040518083038185875af1925050503d8060008114613b9b576040519150601f19603f3d011682016040523d82523d6000602084013e613ba0565b606091505b5091509150613bb0828286613bef565b92505050949350505050565b60006001821460e11b9050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60608315613bff57829050613c4f565b600083511115613c125782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c469190613e38565b60405180910390fd5b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c8182613c56565b9050919050565b613c9181613c76565b82525050565b6000819050919050565b613caa81613c97565b82525050565b6000604082019050613cc56000830185613c88565b613cd26020830184613ca1565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613d2281613ced565b8114613d2d57600080fd5b50565b600081359050613d3f81613d19565b92915050565b600060208284031215613d5b57613d5a613ce3565b5b6000613d6984828501613d30565b91505092915050565b60008115159050919050565b613d8781613d72565b82525050565b6000602082019050613da26000830184613d7e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613de2578082015181840152602081019050613dc7565b60008484015250505050565b6000601f19601f8301169050919050565b6000613e0a82613da8565b613e148185613db3565b9350613e24818560208601613dc4565b613e2d81613dee565b840191505092915050565b60006020820190508181036000830152613e528184613dff565b905092915050565b613e6381613c97565b8114613e6e57600080fd5b50565b600081359050613e8081613e5a565b92915050565b600060208284031215613e9c57613e9b613ce3565b5b6000613eaa84828501613e71565b91505092915050565b6000602082019050613ec86000830184613c88565b92915050565b613ed781613c76565b8114613ee257600080fd5b50565b600081359050613ef481613ece565b92915050565b60008060408385031215613f1157613f10613ce3565b5b6000613f1f85828601613ee5565b9250506020613f3085828601613e71565b9150509250929050565b6000602082019050613f4f6000830184613ca1565b92915050565b6000613f6082613c56565b9050919050565b613f7081613f55565b8114613f7b57600080fd5b50565b600081359050613f8d81613f67565b92915050565b600060208284031215613fa957613fa8613ce3565b5b6000613fb784828501613f7e565b91505092915050565b600060208284031215613fd657613fd5613ce3565b5b6000613fe484828501613ee5565b91505092915050565b60008060006060848603121561400657614005613ce3565b5b600061401486828701613ee5565b935050602061402586828701613ee5565b925050604061403686828701613e71565b9150509250925092565b600061404b82613c76565b9050919050565b61405b81614040565b811461406657600080fd5b50565b60008135905061407881614052565b92915050565b6000806040838503121561409557614094613ce3565b5b60006140a385828601614069565b92505060206140b485828601613ee5565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61410082613dee565b810181811067ffffffffffffffff8211171561411f5761411e6140c8565b5b80604052505050565b6000614132613cd9565b905061413e82826140f7565b919050565b600067ffffffffffffffff82111561415e5761415d6140c8565b5b61416782613dee565b9050602081019050919050565b82818337600083830152505050565b600061419661419184614143565b614128565b9050828152602081018484840111156141b2576141b16140c3565b5b6141bd848285614174565b509392505050565b600082601f8301126141da576141d96140be565b5b81356141ea848260208601614183565b91505092915050565b60006020828403121561420957614208613ce3565b5b600082013567ffffffffffffffff81111561422757614226613ce8565b5b614233848285016141c5565b91505092915050565b600080fd5b600080fd5b60008083601f84011261425c5761425b6140be565b5b8235905067ffffffffffffffff8111156142795761427861423c565b5b60208301915083600182028301111561429557614294614241565b5b9250929050565b6000806000604084860312156142b5576142b4613ce3565b5b60006142c386828701613e71565b935050602084013567ffffffffffffffff8111156142e4576142e3613ce8565b5b6142f086828701614246565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811061433c5761433b6142fc565b5b50565b600081905061434d8261432b565b919050565b600061435d8261433f565b9050919050565b61436d81614352565b82525050565b60006020820190506143886000830184614364565b92915050565b61439781613d72565b81146143a257600080fd5b50565b6000813590506143b48161438e565b92915050565b600080604083850312156143d1576143d0613ce3565b5b60006143df85828601613ee5565b92505060206143f0858286016143a5565b9150509250929050565b600067ffffffffffffffff821115614415576144146140c8565b5b61441e82613dee565b9050602081019050919050565b600061443e614439846143fa565b614128565b90508281526020810184848401111561445a576144596140c3565b5b614465848285614174565b509392505050565b600082601f830112614482576144816140be565b5b813561449284826020860161442b565b91505092915050565b600080600080608085870312156144b5576144b4613ce3565b5b60006144c387828801613ee5565b94505060206144d487828801613ee5565b93505060406144e587828801613e71565b925050606085013567ffffffffffffffff81111561450657614505613ce8565b5b6145128782880161446d565b91505092959194509250565b60006020828403121561453457614533613ce3565b5b600061454284828501614069565b91505092915050565b6000806040838503121561456257614561613ce3565b5b600061457085828601613ee5565b925050602061458185828601613ee5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145d257607f821691505b6020821081036145e5576145e461458b565b5b50919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000614647602683613db3565b9150614652826145eb565b604082019050919050565b600060208201905081810360008301526146768161463a565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b60006146d9602b83613db3565b91506146e48261467d565b604082019050919050565b60006020820190508181036000830152614708816146cc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061474982613c97565b915061475483613c97565b925082820190508082111561476c5761476b61470f565b5b92915050565b6000819050919050565b600061479761479261478d84613c56565b614772565b613c56565b9050919050565b60006147a98261477c565b9050919050565b60006147bb8261479e565b9050919050565b6147cb816147b0565b82525050565b60006040820190506147e660008301856147c2565b6147f36020830184613ca1565b9392505050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261485c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261481f565b614866868361481f565b95508019841693508086168417925050509392505050565b600061489961489461488f84613c97565b614772565b613c97565b9050919050565b6000819050919050565b6148b38361487e565b6148c76148bf826148a0565b84845461482c565b825550505050565b600090565b6148dc6148cf565b6148e78184846148aa565b505050565b5b8181101561490b576149006000826148d4565b6001810190506148ed565b5050565b601f82111561495057614921816147fa565b61492a8461480f565b81016020851015614939578190505b61494d6149458561480f565b8301826148ec565b50505b505050565b600082821c905092915050565b600061497360001984600802614955565b1980831691505092915050565b600061498c8383614962565b9150826002028217905092915050565b6149a582613da8565b67ffffffffffffffff8111156149be576149bd6140c8565b5b6149c882546145ba565b6149d382828561490f565b600060209050601f831160018114614a0657600084156149f4578287015190505b6149fe8582614980565b865550614a66565b601f198416614a14866147fa565b60005b82811015614a3c57848901518255600182019150602085019450602081019050614a17565b86831015614a595784890151614a55601f891682614962565b8355505b6001600288020188555050505b505050505050565b6000614a7982613c97565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614aab57614aaa61470f565b5b600182019050919050565b7f4f6e6c792068756d616e732061726520616c6c6f77656420746f206d696e7421600082015250565b6000614aec602083613db3565b9150614af782614ab6565b602082019050919050565b60006020820190508181036000830152614b1b81614adf565b9050919050565b7f43616e2774206d696e74207a65726f2100000000000000000000000000000000600082015250565b6000614b58601083613db3565b9150614b6382614b22565b602082019050919050565b60006020820190508181036000830152614b8781614b4b565b9050919050565b7f546865726520617265206e6f206d6f7265204d6f636869204d6f73206176616960008201527f6c61626c65210000000000000000000000000000000000000000000000000000602082015250565b6000614bea602683613db3565b9150614bf582614b8e565b604082019050919050565b60006020820190508181036000830152614c1981614bdd565b9050919050565b7f5649502073616c6520697320696e616374697665210000000000000000000000600082015250565b6000614c56601583613db3565b9150614c6182614c20565b602082019050919050565b60006020820190508181036000830152614c8581614c49565b9050919050565b7f43616e2774206d696e742074686174206d616e79206f76657220564950210000600082015250565b6000614cc2601e83613db3565b9150614ccd82614c8c565b602082019050919050565b60006020820190508181036000830152614cf181614cb5565b9050919050565b7f5649502073616c6520697320736f6c64206f7574210000000000000000000000600082015250565b6000614d2e601583613db3565b9150614d3982614cf8565b602082019050919050565b60006020820190508181036000830152614d5d81614d21565b9050919050565b600081905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614da5601c83614d64565b9150614db082614d6f565b601c82019050919050565b6000819050919050565b6000819050919050565b614de0614ddb82614dbb565b614dc5565b82525050565b6000614df182614d98565b9150614dfd8284614dcf565b60208201915081905092915050565b7f4e6f742061205649502100000000000000000000000000000000000000000000600082015250565b6000614e42600a83613db3565b9150614e4d82614e0c565b602082019050919050565b60006020820190508181036000830152614e7181614e35565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f546865207465616d20737570706c792077617320616c7265616479206d696e7460008201527f6564210000000000000000000000000000000000000000000000000000000000602082015250565b6000614f03602383613db3565b9150614f0e82614ea7565b604082019050919050565b60006020820190508181036000830152614f3281614ef6565b9050919050565b7f57686974656c6973742073616c6520697320696e616374697665210000000000600082015250565b6000614f6f601b83613db3565b9150614f7a82614f39565b602082019050919050565b60006020820190508181036000830152614f9e81614f62565b9050919050565b7f43616e2774206d696e742074686174206d616e79206f7665722077686974656c60008201527f6973742100000000000000000000000000000000000000000000000000000000602082015250565b6000615001602483613db3565b915061500c82614fa5565b604082019050919050565b6000602082019050818103600083015261503081614ff4565b9050919050565b600061504282613c97565b915061504d83613c97565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150865761508561470f565b5b828202905092915050565b7f5468652065746865722076616c75652073656e74206973206e6f7420636f727260008201527f6563742100000000000000000000000000000000000000000000000000000000602082015250565b60006150ed602483613db3565b91506150f882615091565b604082019050919050565b6000602082019050818103600083015261511c816150e0565b9050919050565b7f57686974656c6973742073616c6520697320736f6c64206f7574210000000000600082015250565b6000615159601b83613db3565b915061516482615123565b602082019050919050565b600060208201905081810360008301526151888161514c565b9050919050565b7f4e6f74206f6e2077686974656c69737421000000000000000000000000000000600082015250565b60006151c5601183613db3565b91506151d08261518f565b602082019050919050565b600060208201905081810360008301526151f4816151b8565b9050919050565b60008151905061520a81613e5a565b92915050565b60006020828403121561522657615225613ce3565b5b6000615234848285016151fb565b91505092915050565b600061524882613da8565b6152528185614d64565b9350615262818560208601613dc4565b80840191505092915050565b600061527a828561523d565b9150615286828461523d565b91508190509392505050565b7f5075626c69632073616c6520697320696e616374697665210000000000000000600082015250565b60006152c8601883613db3565b91506152d382615292565b602082019050919050565b600060208201905081810360008301526152f7816152bb565b9050919050565b7f43616e2774206d696e742074686174206d616e79206f766572207075626c696360008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b600061535a602183613db3565b9150615365826152fe565b604082019050919050565b600060208201905081810360008301526153898161534d565b9050919050565b600061539b82613c97565b91506153a683613c97565b92508282039050818111156153be576153bd61470f565b5b92915050565b7f5075626c69632073616c6520697320736f6c64206f7574210000000000000000600082015250565b60006153fa601883613db3565b9150615405826153c4565b602082019050919050565b60006020820190508181036000830152615429816153ed565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061548c602683613db3565b915061549782615430565b604082019050919050565b600060208201905081810360008301526154bb8161547f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006154f8601d83613db3565b9150615503826154c2565b602082019050919050565b60006020820190508181036000830152615527816154eb565b9050919050565b600081905092915050565b50565b600061554960008361552e565b915061555482615539565b600082019050919050565b600061556a8261553c565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006155d0603a83613db3565b91506155db82615574565b604082019050919050565b600060208201905081810360008301526155ff816155c3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061563c602083613db3565b915061564782615606565b602082019050919050565b6000602082019050818103600083015261566b8161562f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006156ac82613c97565b91506156b783613c97565b9250826156c7576156c6615672565b5b828204905092915050565b600081519050919050565b600082825260208201905092915050565b60006156f9826156d2565b61570381856156dd565b9350615713818560208601613dc4565b61571c81613dee565b840191505092915050565b600060808201905061573c6000830187613c88565b6157496020830186613c88565b6157566040830185613ca1565b818103606083015261576881846156ee565b905095945050505050565b60008151905061578281613d19565b92915050565b60006020828403121561579e5761579d613ce3565b5b60006157ac84828501615773565b91505092915050565b6000815190506157c48161438e565b92915050565b6000602082840312156157e0576157df613ce3565b5b60006157ee848285016157b5565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615853602a83613db3565b915061585e826157f7565b604082019050919050565b6000602082019050818103600083015261588281615846565b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006158bf601883613db3565b91506158ca82615889565b602082019050919050565b600060208201905081810360008301526158ee816158b2565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061592b601f83613db3565b9150615936826158f5565b602082019050919050565b6000602082019050818103600083015261595a8161591e565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006159bd602283613db3565b91506159c882615961565b604082019050919050565b600060208201905081810360008301526159ec816159b0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a4f602283613db3565b9150615a5a826159f3565b604082019050919050565b60006020820190508181036000830152615a7e81615a42565b9050919050565b615a8e81614dbb565b82525050565b600060ff82169050919050565b615aaa81615a94565b82525050565b6000608082019050615ac56000830187615a85565b615ad26020830186615aa1565b615adf6040830185615a85565b615aec6060830184615a85565b95945050505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615b51602683613db3565b9150615b5c82615af5565b604082019050919050565b60006020820190508181036000830152615b8081615b44565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615bbd601d83613db3565b9150615bc882615b87565b602082019050919050565b60006020820190508181036000830152615bec81615bb0565b9050919050565b6000615bfe826156d2565b615c08818561552e565b9350615c18818560208601613dc4565b80840191505092915050565b6000615c308284615bf3565b91508190509291505056fea264697066735822122013d83a692cfb0fde0b1530e1282c9d57eb3b718cb0d91f439d4c935148c680fb64736f6c63430008100033

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

00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000ff18116c641d8759dfe8a22b5209b099b0a95a03000000000000000000000000ee9dd4797438b1d926e044c20bb8bbf8e495b85a00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f697066732e696f2f697066732f6261667962656968746971377a7972347736726c766d787332756f786b6971347033367a3537727234616f77756d76786d7236727a67616c7465692f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000000000000033dd43c55c0329d8cac4003c6e15cb1635f796620000000000000000000000001e6c9baa9ae266be4627ec540d75f90aa4c2186700000000000000000000000078e46f462d12731e7138e162487ea7b24120582500000000000000000000000080a1f8935d0c880b7f718d611dabe90a4bc20d7f00000000000000000000000063149154b0647b849e49c108226656741832cbd700000000000000000000000011bbbef2bd9846f70482db5eb5cf216ad70d1042000000000000000000000000d915b8d5fef84c55f085233d5e4916e5fcb28901000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000a600000000000000000000000000000000000000000000000000000000000000a600000000000000000000000000000000000000000000000000000000000000a60000000000000000000000000000000000000000000000000000000000000098000000000000000000000000000000000000000000000000000000000000009600000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000064

-----Decoded View---------------
Arg [0] : _initialBaseURI (string): https://ipfs.io/ipfs/bafybeihtiq7zyr4w6rlvmxs2uoxkiq4p36z57rr4aowumvxmr6rzgaltei/
Arg [1] : signerAddressWhitelist_ (address): 0xfF18116c641D8759DFE8A22b5209b099b0A95a03
Arg [2] : signerAddressVip_ (address): 0xEe9dd4797438B1D926E044C20BB8BbF8e495B85A
Arg [3] : payments (address[]): 0x33Dd43c55c0329d8cAc4003c6E15CB1635F79662,0x1e6c9bAA9AE266bE4627eC540d75f90AA4C21867,0x78e46f462d12731e7138E162487eA7b241205825,0x80a1f8935d0C880b7f718d611DaBE90a4BC20d7F,0x63149154B0647B849E49c108226656741832CBd7,0x11bbbeF2BD9846f70482db5eB5CF216ad70D1042,0xD915B8D5feF84C55f085233d5E4916e5fCb28901
Arg [4] : shares (uint256[]): 166,166,166,152,150,100,100

-----Encoded View---------------
25 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 000000000000000000000000ff18116c641d8759dfe8a22b5209b099b0a95a03
Arg [2] : 000000000000000000000000ee9dd4797438b1d926e044c20bb8bbf8e495b85a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [6] : 68747470733a2f2f697066732e696f2f697066732f6261667962656968746971
Arg [7] : 377a7972347736726c766d787332756f786b6971347033367a3537727234616f
Arg [8] : 77756d76786d7236727a67616c7465692f000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [10] : 00000000000000000000000033dd43c55c0329d8cac4003c6e15cb1635f79662
Arg [11] : 0000000000000000000000001e6c9baa9ae266be4627ec540d75f90aa4c21867
Arg [12] : 00000000000000000000000078e46f462d12731e7138e162487ea7b241205825
Arg [13] : 00000000000000000000000080a1f8935d0c880b7f718d611dabe90a4bc20d7f
Arg [14] : 00000000000000000000000063149154b0647b849e49c108226656741832cbd7
Arg [15] : 00000000000000000000000011bbbef2bd9846f70482db5eb5cf216ad70d1042
Arg [16] : 000000000000000000000000d915b8d5fef84c55f085233d5e4916e5fcb28901
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [18] : 00000000000000000000000000000000000000000000000000000000000000a6
Arg [19] : 00000000000000000000000000000000000000000000000000000000000000a6
Arg [20] : 00000000000000000000000000000000000000000000000000000000000000a6
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000098
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000064


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.