ETH Price: $3,400.96 (+1.84%)

Token

Bluetracker - Token (BtT)
 

Overview

Max Total Supply

176 BtT

Holders

168

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 BtT
0x8b3527699f0405c2ad702eb8949499b1fe33eb6b
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:
BlueTrackerERC721A

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : BlueTrackerERC721A.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./ERC721A.sol";

/*

______ _          _____              _             
| ___ \ |        |_   _|            | |            
| |_/ / |_   _  ___| |_ __ __ _  ___| | _____ _ __ 
| ___ \ | | | |/ _ \ | '__/ _` |/ __| |/ / _ \ '__|
| |_/ / | |_| |  __/ | | | (_| | (__|   <  __/ |   
\____/|_|\__,_|\___\_/_|  \__,_|\___|_|\_\___|_|   

                                                                
*/
/// @title Bluetracker NFT contract.
contract BlueTrackerERC721A is Ownable, ERC721A, PaymentSplitter {

    using Strings for uint;

    enum Step {
        Before,
        PublicSale,
        SoldOut
    }

    // Private
    string private _baseTokenUri;
    uint private teamLength;
    uint private maxPublic =  220;
    uint private maxGift = 113;
    uint private currentGift = 0;

    // Public
    uint public maxSupply = maxPublic + maxGift;
    Step public sellingStep;
    uint public publicSalePrice = 0.06 ether;
    uint public constant MAX_PER_WALLET_PUBLIC = 1;
    mapping(address => uint) public publicAddresses;

    //Constructor of the collection
    constructor(string memory baseTokenUri, address[] memory _team, uint[] memory _teamShares) 
    ERC721A("Bluetracker - Token", "BtT")
    PaymentSplitter(_team, _teamShares) {
        _baseTokenUri = baseTokenUri;
        teamLength = _team.length;
    }

    /**
    * @notice Ensure that the transaction comes from a user and not a contract
    */
    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    /**
    * @notice Publicly mint a _quantity of NFT to the _account
    **/
    function publicSaleMint() external payable callerIsUser {
        require(sellingStep == Step.PublicSale, "Public sale not activated or soldout");
        require(msg.value == publicSalePrice, "Funds given do not match requested price");
        require(publicAddresses[msg.sender] + 1 <= MAX_PER_WALLET_PUBLIC, "Max amount already reached for public");
        require(totalSupply() + 1 - currentGift <= maxPublic, "Reached max supply");
        publicAddresses[msg.sender] += 1;
        _safeMint(msg.sender, 1);
        if(totalSupply() - currentGift >= maxPublic) {
            sellingStep = Step.SoldOut;
        }
    }

    /**
    * @notice Gift a _quantity of NFT to the _account
    **/
    function gift(address[] calldata _to, uint[] calldata _quantity, uint totalQuantity) external onlyOwner {
        require(sellingStep > Step.Before, "Gift can happen only during public or soldout space");
        require(currentGift + totalQuantity <= maxGift, "Max supply for gift exceed");
        uint receiverLength = _to.length;
        require(receiverLength == _quantity.length, "Different amount of parameters send between receiver and quantity");
        for(uint i = 0; i < receiverLength; i++)
        {
            _safeMint(_to[i], _quantity[i]);
        }
        currentGift += totalQuantity;
    }

    /**
    * @notice Define the base revealed for the NFT
    */
    function setbaseTokenUri(string memory baseTokenUri) external onlyOwner {
        _baseTokenUri = baseTokenUri;
    }

    /** 
    * @notice Change the supply for the public
    *
    * @param newPublicSupply The new public supply
    */
    function setMaxPublicSupply(uint newPublicSupply) external onlyOwner {
        maxPublic = newPublicSupply;
        maxSupply = maxPublic + maxGift;
    }

    /** 
    * @notice Change the supply for the gifts
    *
    * @param newGiftSupply The new gift supply
    */
    function setMaxGiftSupply(uint newGiftSupply) external onlyOwner {
        maxGift = newGiftSupply;
        maxSupply = maxPublic + maxGift;
    }

    /**
    * @notice Change the public price
    *
    * @param newPriceValue The new public price
    */
    function setPublicPrice(uint newPriceValue) external onlyOwner {
        publicSalePrice = newPriceValue;
    }

    /**
    * @notice Change the current step to the new _step
    *
    * @param newStep The new step for the contract
    */
    function setStep(uint newStep) external onlyOwner {
        sellingStep = Step(newStep);
    }

    /**
    * @notice Allows to get the complete URI of a specific NFT by his ID
    *
    * @param _nftId The id of the NFT
    *
    * @return The token URI of the NFT which has _nftId Id
    **/
    function tokenURI(uint _nftId) public view virtual override returns (string memory) {
        require(_exists(_nftId), "This NFT doesn't exist.");
        return string(abi.encodePacked(_baseTokenUri, _nftId.toString(), ".json"));
    }

    /**
    * @notice Pay everyone in the team
    */
    function releaseAll() external onlyOwner {
        for(uint i = 0 ; i < teamLength ; i++) {
            release(payable(payee(i)));
        }
    }

    receive() override external payable {
        revert('Only if you mint');
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 3 of 17 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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");

        // _totalReleased is the sum of all values in _released.
        // If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow.
        _totalReleased += payment;
        unchecked {
            _released[account] += 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");

        // _erc20TotalReleased[token] is the sum of all values in _erc20Released[token].
        // If "_erc20TotalReleased[token] += payment" does not overflow, then "_erc20Released[token][account] += payment"
        // cannot overflow.
        _erc20TotalReleased[token] += payment;
        unchecked {
            _erc20Released[token][account] += 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 4 of 17 : 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 5 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 6 of 17 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 7 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 8 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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);
}

File 9 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

File 10 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 12 of 17 : 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 13 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 15 of 17 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 16 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

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

File 17 of 17 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _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 _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

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

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

    /**
     * Sets the auxillary 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 {
        _addressData[owner].aux = aux;
    }

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

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

    /**
     * @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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

    /**
     * @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.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is 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 {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
                isApprovedForAll(prevOwnership.addr, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // 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 {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseTokenUri","type":"string"},{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256[]","name":"_teamShares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":"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_PER_WALLET_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_quantity","type":"uint256[]"},{"internalType":"uint256","name":"totalQuantity","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"","type":"address"}],"name":"publicAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum BlueTrackerERC721A.Step","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newGiftSupply","type":"uint256"}],"name":"setMaxGiftSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPublicSupply","type":"uint256"}],"name":"setMaxPublicSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceValue","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStep","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenUri","type":"string"}],"name":"setbaseTokenUri","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":[{"internalType":"uint256","name":"_nftId","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260dc6012556071601355600060145560135460125462000025919062000b7a565b60155566d529ae9e8600006017553480156200004057600080fd5b50604051620060813803806200608183398181016040528101906200006691906200084f565b81816040518060400160405280601381526020017f426c7565747261636b6572202d20546f6b656e000000000000000000000000008152506040518060400160405280600381526020017f4274540000000000000000000000000000000000000000000000000000000000815250620000f4620000e8620002b060201b60201c565b620002b860201b60201c565b81600390805190602001906200010c929190620005bb565b50806004908051906020019062000125929190620005bb565b50620001366200037c60201b60201c565b6001819055505050805182511462000185576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017c9062000a24565b60405180910390fd5b6000825111620001cc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001c39062000a68565b60405180910390fd5b60005b825181101562000283576200026d83828151811062000217577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811062000259577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200038160201b60201c565b80806200027a9062000cb7565b915050620001cf565b50505082601090805190602001906200029e929190620005bb565b50815160118190555050505062000f16565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003f4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003eb9062000a02565b60405180910390fd5b600081116200043a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004319062000a8a565b60405180910390fd5b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620004bf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004b69062000a46565b60405180910390fd5b600d829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060095462000576919062000b7a565b6009819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620005af929190620009d5565b60405180910390a15050565b828054620005c99062000c4b565b90600052602060002090601f016020900481019282620005ed576000855562000639565b82601f106200060857805160ff191683800117855562000639565b8280016001018555821562000639579182015b82811115620006385782518255916020019190600101906200061b565b5b5090506200064891906200064c565b5090565b5b80821115620006675760008160009055506001016200064d565b5090565b6000620006826200067c8462000ad5565b62000aac565b90508083825260208201905082856020860282011115620006a257600080fd5b60005b85811015620006d65781620006bb88826200079a565b845260208401935060208301925050600181019050620006a5565b5050509392505050565b6000620006f7620006f18462000b04565b62000aac565b905080838252602082019050828560208602820111156200071757600080fd5b60005b858110156200074b578162000730888262000838565b8452602084019350602083019250506001810190506200071a565b5050509392505050565b60006200076c620007668462000b33565b62000aac565b9050828152602081018484840111156200078557600080fd5b6200079284828562000c15565b509392505050565b600081519050620007ab8162000ee2565b92915050565b600082601f830112620007c357600080fd5b8151620007d58482602086016200066b565b91505092915050565b600082601f830112620007f057600080fd5b815162000802848260208601620006e0565b91505092915050565b600082601f8301126200081d57600080fd5b81516200082f84826020860162000755565b91505092915050565b600081519050620008498162000efc565b92915050565b6000806000606084860312156200086557600080fd5b600084015167ffffffffffffffff8111156200088057600080fd5b6200088e868287016200080b565b935050602084015167ffffffffffffffff811115620008ac57600080fd5b620008ba86828701620007b1565b925050604084015167ffffffffffffffff811115620008d857600080fd5b620008e686828701620007de565b9150509250925092565b620008fb8162000bd7565b82525050565b600062000910602c8362000b69565b91506200091d8262000da3565b604082019050919050565b60006200093760328362000b69565b9150620009448262000df2565b604082019050919050565b60006200095e602b8362000b69565b91506200096b8262000e41565b604082019050919050565b600062000985601a8362000b69565b9150620009928262000e90565b602082019050919050565b6000620009ac601d8362000b69565b9150620009b98262000eb9565b602082019050919050565b620009cf8162000c0b565b82525050565b6000604082019050620009ec6000830185620008f0565b620009fb6020830184620009c4565b9392505050565b6000602082019050818103600083015262000a1d8162000901565b9050919050565b6000602082019050818103600083015262000a3f8162000928565b9050919050565b6000602082019050818103600083015262000a61816200094f565b9050919050565b6000602082019050818103600083015262000a838162000976565b9050919050565b6000602082019050818103600083015262000aa5816200099d565b9050919050565b600062000ab862000acb565b905062000ac6828262000c81565b919050565b6000604051905090565b600067ffffffffffffffff82111562000af35762000af262000d63565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000b225762000b2162000d63565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000b515762000b5062000d63565b5b62000b5c8262000d92565b9050602081019050919050565b600082825260208201905092915050565b600062000b878262000c0b565b915062000b948362000c0b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000bcc5762000bcb62000d05565b5b828201905092915050565b600062000be48262000beb565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000c3557808201518184015260208101905062000c18565b8381111562000c45576000848401525b50505050565b6000600282049050600182168062000c6457607f821691505b6020821081141562000c7b5762000c7a62000d34565b5b50919050565b62000c8c8262000d92565b810181811067ffffffffffffffff8211171562000cae5762000cad62000d63565b5b80604052505050565b600062000cc48262000c0b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000cfa5762000cf962000d05565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000eed8162000bd7565b811462000ef957600080fd5b50565b62000f078162000c0b565b811462000f1357600080fd5b50565b61515b8062000f266000396000f3fe60806040526004361061024a5760003560e01c80638b83209b11610139578063c87b56dd116100b6578063d79779b21161007a578063d79779b2146108e9578063e33b7de314610926578063e5bcf06314610951578063e985e9c51461097a578063f2fde38b146109b7578063f8dcbddb146109e05761028a565b8063c87b56dd1461080f578063cbccefb21461084c578063ce7c2ac214610877578063d2eb86ee146108b4578063d5abeb01146108be5761028a565b8063a22cb465116100fd578063a22cb4651461071a578063a3f8eace14610743578063b88d4fde14610780578063c45ac050146107a9578063c6275255146107e65761028a565b80638b83209b1461061f5780638da5cb5b1461065c57806395d89b41146106875780639852595c146106b25780639b6860c8146106ef5761028a565b8063406072a9116101c757806364affb401161018b57806364affb401461053a57806370a0823114610565578063715018a6146105a257806380090c04146105b9578063882ae248146105f65761028a565b8063406072a91461045757806342842e0e1461049457806348b75044146104bd5780635be7fde8146104e65780636352211e146104fd5761028a565b8063095ea7b31161020e578063095ea7b31461038657806318160ddd146103af57806319165587146103da57806323b872dd146104035780633a98ef391461042c5761028a565b806301ffc9a71461028f57806306fdde03146102cc578063081812fc146102f7578063087b5c36146103345780630943d0741461035d5761028a565b3661028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028190614651565b60405180910390fd5b600080fd5b34801561029b57600080fd5b506102b660048036038101906102b19190613cfe565b610a09565b6040516102c391906143d9565b60405180910390f35b3480156102d857600080fd5b506102e1610aeb565b6040516102ee919061440f565b60405180910390f35b34801561030357600080fd5b5061031e60048036038101906103199190613df6565b610b7d565b60405161032b9190614320565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613df6565b610bf9565b005b34801561036957600080fd5b50610384600480360381019061037f9190613db5565b610c21565b005b34801561039257600080fd5b506103ad60048036038101906103a89190613c10565b610c43565b005b3480156103bb57600080fd5b506103c4610d4e565b6040516103d19190614691565b60405180910390f35b3480156103e657600080fd5b5061040160048036038101906103fc9190613aa5565b610d65565b005b34801561040f57600080fd5b5061042a60048036038101906104259190613b0a565b610ee5565b005b34801561043857600080fd5b50610441610ef5565b60405161044e9190614691565b60405180910390f35b34801561046357600080fd5b5061047e60048036038101906104799190613d79565b610eff565b60405161048b9190614691565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b69190613b0a565b610f86565b005b3480156104c957600080fd5b506104e460048036038101906104df9190613d79565b610fa6565b005b3480156104f257600080fd5b506104fb6111ba565b005b34801561050957600080fd5b50610524600480360381019061051f9190613df6565b6111f6565b6040516105319190614320565b60405180910390f35b34801561054657600080fd5b5061054f61120c565b60405161055c9190614691565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190613a7c565b611211565b6040516105999190614691565b60405180910390f35b3480156105ae57600080fd5b506105b76112e1565b005b3480156105c557600080fd5b506105e060048036038101906105db9190613a7c565b6112f5565b6040516105ed9190614691565b60405180910390f35b34801561060257600080fd5b5061061d60048036038101906106189190613c4c565b61130d565b005b34801561062b57600080fd5b5061064660048036038101906106419190613df6565b61154c565b6040516106539190614320565b60405180910390f35b34801561066857600080fd5b506106716115ba565b60405161067e9190614320565b60405180910390f35b34801561069357600080fd5b5061069c6115e3565b6040516106a9919061440f565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d49190613a7c565b611675565b6040516106e69190614691565b60405180910390f35b3480156106fb57600080fd5b506107046116be565b6040516107119190614691565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190613bd4565b6116c4565b005b34801561074f57600080fd5b5061076a60048036038101906107659190613a7c565b61183c565b6040516107779190614691565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190613b59565b61186f565b005b3480156107b557600080fd5b506107d060048036038101906107cb9190613d79565b6118eb565b6040516107dd9190614691565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190613df6565b6119a9565b005b34801561081b57600080fd5b5061083660048036038101906108319190613df6565b6119bb565b604051610843919061440f565b60405180910390f35b34801561085857600080fd5b50610861611a37565b60405161086e91906143f4565b60405180910390f35b34801561088357600080fd5b5061089e60048036038101906108999190613a7c565b611a4a565b6040516108ab9190614691565b60405180910390f35b6108bc611a93565b005b3480156108ca57600080fd5b506108d3611dcd565b6040516108e09190614691565b60405180910390f35b3480156108f557600080fd5b50610910600480360381019061090b9190613d50565b611dd3565b60405161091d9190614691565b60405180910390f35b34801561093257600080fd5b5061093b611e1c565b6040516109489190614691565b60405180910390f35b34801561095d57600080fd5b5061097860048036038101906109739190613df6565b611e26565b005b34801561098657600080fd5b506109a1600480360381019061099c9190613ace565b611e4e565b6040516109ae91906143d9565b60405180910390f35b3480156109c357600080fd5b506109de60048036038101906109d99190613a7c565b611ee2565b005b3480156109ec57600080fd5b50610a076004803603810190610a029190613df6565b611f66565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ad457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ae45750610ae382611ff9565b5b9050919050565b606060038054610afa906149e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610b26906149e0565b8015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b5050505050905090565b6000610b8882612063565b610bbe576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610c016120b1565b80601381905550601354601254610c189190614796565b60158190555050565b610c296120b1565b8060109080519060200190610c3f929190613775565b5050565b6000610c4e826111f6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cb6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cd561212f565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d075750610d0581610d0061212f565b611e4e565b155b15610d3e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d49838383612137565b505050565b6000610d586121e9565b6002546001540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde906144b1565b60405180910390fd5b6000610df28261183c565b90506000811415610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f90614551565b60405180910390fd5b80600a6000828254610e4a9190614796565b9250508190555080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550610ea882826121ee565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568282604051610ed992919061433b565b60405180910390a15050565b610ef08383836122e2565b505050565b6000600954905090565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610fa18383836040518060200160405280600081525061186f565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101f906144b1565b60405180910390fd5b600061103483836118eb565b9050600081141561107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190614551565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110c99190614796565b9250508190555080600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506111658383836127d3565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a83836040516111ad9291906143b0565b60405180910390a2505050565b6111c26120b1565b60005b6011548110156111f3576111e06111db8261154c565b610d65565b80806111eb90614a43565b9150506111c5565b50565b600061120182612859565b600001519050919050565b600181565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611279576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6112e96120b1565b6112f36000612ae8565b565b60186020528060005260406000206000915090505481565b6113156120b1565b6000600281111561134f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660009054906101000a900460ff166002811115611397577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b116113d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ce90614591565b60405180910390fd5b601354816014546113e89190614796565b1115611429576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611420906145f1565b60405180910390fd5b6000858590509050838390508114611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d90614451565b60405180910390fd5b60005b8181101561152a576115178787838181106114bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906114d29190613a7c565b86868481811061150b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135612bac565b808061152290614a43565b915050611479565b50816014600082825461153d9190614796565b92505081905550505050505050565b6000600d8281548110611588577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546115f2906149e0565b80601f016020809104026020016040519081016040528092919081815260200182805461161e906149e0565b801561166b5780601f106116405761010080835404028352916020019161166b565b820191906000526020600020905b81548152906001019060200180831161164e57829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60175481565b6116cc61212f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611731576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806008600061173e61212f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117eb61212f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161183091906143d9565b60405180910390a35050565b600080611847611e1c565b476118529190614796565b9050611867838261186286611675565b612bca565b915050919050565b61187a8484846122e2565b6118998373ffffffffffffffffffffffffffffffffffffffff16612c38565b80156118ae57506118ac84848484612c5b565b155b156118e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000806118f784611dd3565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016119309190614320565b60206040518083038186803b15801561194857600080fd5b505afa15801561195c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119809190613e1f565b61198a9190614796565b90506119a0838261199b8787610eff565b612bca565b91505092915050565b6119b16120b1565b8060178190555050565b60606119c682612063565b611a05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fc90614491565b60405180910390fd5b6010611a1083612dbb565b604051602001611a219291906142dc565b6040516020818303038152906040529050919050565b601660009054906101000a900460ff1681565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af890614571565b60405180910390fd5b60016002811115611b3b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660009054906101000a900460ff166002811115611b83577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bba906145d1565b60405180910390fd5b6017543414611c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfe90614611565b60405180910390fd5b600180601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c549190614796565b1115611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c90614431565b60405180910390fd5b6012546014546001611ca5610d4e565b611caf9190614796565b611cb99190614877565b1115611cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf1906144d1565b60405180910390fd5b6001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d4a9190614796565b92505081905550611d5c336001612bac565b601254601454611d6a610d4e565b611d749190614877565b10611dcb576002601660006101000a81548160ff02191690836002811115611dc5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b565b60155481565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b611e2e6120b1565b80601281905550601354601254611e459190614796565b60158190555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611eea6120b1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5190614471565b60405180910390fd5b611f6381612ae8565b50565b611f6e6120b1565b806002811115611fa7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660006101000a81548160ff02191690836002811115611ff1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161206e6121e9565b1115801561207d575060015482105b80156120aa575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b6120b961212f565b73ffffffffffffffffffffffffffffffffffffffff166120d76115ba565b73ffffffffffffffffffffffffffffffffffffffff161461212d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612124906145b1565b60405180910390fd5b565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b80471015612231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222890614511565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516122579061430b565b60006040518083038185875af1925050503d8060008114612294576040519150601f19603f3d011682016040523d82523d6000602084013e612299565b606091505b50509050806122dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d4906144f1565b60405180910390fd5b505050565b60006122ed82612859565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661231461212f565b73ffffffffffffffffffffffffffffffffffffffff1614806123475750612346826000015161234161212f565b611e4e565b5b8061238c575061235561212f565b73ffffffffffffffffffffffffffffffffffffffff1661237484610b7d565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806123c5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461242e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612495576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124a28585856001612edf565b6124b26000848460000151612137565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612763576001548110156127625782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127cc8585856001612ee5565b5050505050565b6128548363a9059cbb60e01b84846040516024016127f29291906143b0565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612eeb565b505050565b6128616137fb565b60008290508061286f6121e9565b1115801561287e575060015481105b15612ab1576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612aaf57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612993578092505050612ae3565b5b600115612aae57818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612aa9578092505050612ae3565b612994565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612bc6828260405180602001604052806000815250612fb2565b5050565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612c1b919061481d565b612c2591906147ec565b612c2f9190614877565b90509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c8161212f565b8786866040518563ffffffff1660e01b8152600401612ca39493929190614364565b602060405180830381600087803b158015612cbd57600080fd5b505af1925050508015612cee57506040513d601f19601f82011682018060405250810190612ceb9190613d27565b60015b612d68573d8060008114612d1e576040519150601f19603f3d011682016040523d82523d6000602084013e612d23565b606091505b50600081511415612d60576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060006001612dca84612fc4565b01905060008167ffffffffffffffff811115612e0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e415781602001600182028036833780820191505090505b509050600082602001820190505b600115612ed4578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ebe577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0494506000851415612ecf57612ed4565b612e4f565b819350505050919050565b50505050565b50505050565b6000612f4d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166131fb9092919063ffffffff16565b9050600081511115612fad5780806020019051810190612f6d9190613cd5565b612fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa390614671565b60405180910390fd5b5b505050565b612fbf8383836001613213565b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613048577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161303e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506040810190505b6d04ee2d6d415b85acef810000000083106130ab576d04ee2d6d415b85acef810000000083816130a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506020810190505b662386f26fc10000831061310057662386f26fc1000083816130f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506010810190505b6305f5e100831061314f576305f5e1008381613145577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506008810190505b612710831061319a576127108381613190577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506004810190505b606483106131e357606483816131d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506002810190505b600a83106131f2576001810190505b80915050919050565b606061320a84846000856135e2565b90509392505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613281576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156132bc576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132c96000868387612edf565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561349357506134928773ffffffffffffffffffffffffffffffffffffffff16612c38565b5b15613559575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135086000888480600101955088612c5b565b61353e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561349957826001541461355457600080fd5b6135c5565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561355a575b8160018190555050506135db6000868387612ee5565b5050505050565b606082471015613627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361e90614531565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161365091906142c5565b60006040518083038185875af1925050503d806000811461368d576040519150601f19603f3d011682016040523d82523d6000602084013e613692565b606091505b50915091506136a3878383876136af565b92505050949350505050565b606083156137125760008351141561370a576136ca85612c38565b613709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370090614631565b60405180910390fd5b5b82905061371d565b61371c8383613725565b5b949350505050565b6000825111156137385781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376c919061440f565b60405180910390fd5b828054613781906149e0565b90600052602060002090601f0160209004810192826137a357600085556137ea565b82601f106137bc57805160ff19168380011785556137ea565b828001600101855582156137ea579182015b828111156137e95782518255916020019190600101906137ce565b5b5090506137f7919061383e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561385757600081600090555060010161383f565b5090565b600061386e613869846146d1565b6146ac565b90508281526020810184848401111561388657600080fd5b61389184828561499e565b509392505050565b60006138ac6138a784614702565b6146ac565b9050828152602081018484840111156138c457600080fd5b6138cf84828561499e565b509392505050565b6000813590506138e68161509b565b92915050565b6000813590506138fb816150b2565b92915050565b60008083601f84011261391357600080fd5b8235905067ffffffffffffffff81111561392c57600080fd5b60208301915083602082028301111561394457600080fd5b9250929050565b60008083601f84011261395d57600080fd5b8235905067ffffffffffffffff81111561397657600080fd5b60208301915083602082028301111561398e57600080fd5b9250929050565b6000813590506139a4816150c9565b92915050565b6000815190506139b9816150c9565b92915050565b6000813590506139ce816150e0565b92915050565b6000815190506139e3816150e0565b92915050565b600082601f8301126139fa57600080fd5b8135613a0a84826020860161385b565b91505092915050565b600081359050613a22816150f7565b92915050565b600082601f830112613a3957600080fd5b8135613a49848260208601613899565b91505092915050565b600081359050613a618161510e565b92915050565b600081519050613a768161510e565b92915050565b600060208284031215613a8e57600080fd5b6000613a9c848285016138d7565b91505092915050565b600060208284031215613ab757600080fd5b6000613ac5848285016138ec565b91505092915050565b60008060408385031215613ae157600080fd5b6000613aef858286016138d7565b9250506020613b00858286016138d7565b9150509250929050565b600080600060608486031215613b1f57600080fd5b6000613b2d868287016138d7565b9350506020613b3e868287016138d7565b9250506040613b4f86828701613a52565b9150509250925092565b60008060008060808587031215613b6f57600080fd5b6000613b7d878288016138d7565b9450506020613b8e878288016138d7565b9350506040613b9f87828801613a52565b925050606085013567ffffffffffffffff811115613bbc57600080fd5b613bc8878288016139e9565b91505092959194509250565b60008060408385031215613be757600080fd5b6000613bf5858286016138d7565b9250506020613c0685828601613995565b9150509250929050565b60008060408385031215613c2357600080fd5b6000613c31858286016138d7565b9250506020613c4285828601613a52565b9150509250929050565b600080600080600060608688031215613c6457600080fd5b600086013567ffffffffffffffff811115613c7e57600080fd5b613c8a88828901613901565b9550955050602086013567ffffffffffffffff811115613ca957600080fd5b613cb58882890161394b565b93509350506040613cc888828901613a52565b9150509295509295909350565b600060208284031215613ce757600080fd5b6000613cf5848285016139aa565b91505092915050565b600060208284031215613d1057600080fd5b6000613d1e848285016139bf565b91505092915050565b600060208284031215613d3957600080fd5b6000613d47848285016139d4565b91505092915050565b600060208284031215613d6257600080fd5b6000613d7084828501613a13565b91505092915050565b60008060408385031215613d8c57600080fd5b6000613d9a85828601613a13565b9250506020613dab858286016138d7565b9150509250929050565b600060208284031215613dc757600080fd5b600082013567ffffffffffffffff811115613de157600080fd5b613ded84828501613a28565b91505092915050565b600060208284031215613e0857600080fd5b6000613e1684828501613a52565b91505092915050565b600060208284031215613e3157600080fd5b6000613e3f84828501613a67565b91505092915050565b613e5181614956565b82525050565b613e60816148ab565b82525050565b613e6f816148cf565b82525050565b6000613e8082614748565b613e8a818561475e565b9350613e9a8185602086016149ad565b613ea381614b77565b840191505092915050565b6000613eb982614748565b613ec3818561476f565b9350613ed38185602086016149ad565b80840191505092915050565b613ee881614968565b82525050565b6000613ef982614753565b613f03818561477a565b9350613f138185602086016149ad565b613f1c81614b77565b840191505092915050565b6000613f3282614753565b613f3c818561478b565b9350613f4c8185602086016149ad565b80840191505092915050565b60008154613f65816149e0565b613f6f818661478b565b94506001821660008114613f8a5760018114613f9b57613fce565b60ff19831686528186019350613fce565b613fa485614733565b60005b83811015613fc657815481890152600182019150602081019050613fa7565b838801955050505b50505092915050565b6000613fe460258361477a565b9150613fef82614b88565b604082019050919050565b600061400760418361477a565b915061401282614bd7565b606082019050919050565b600061402a60268361477a565b915061403582614c4c565b604082019050919050565b600061404d60178361477a565b915061405882614c9b565b602082019050919050565b600061407060268361477a565b915061407b82614cc4565b604082019050919050565b600061409360128361477a565b915061409e82614d13565b602082019050919050565b60006140b6603a8361477a565b91506140c182614d3c565b604082019050919050565b60006140d9601d8361477a565b91506140e482614d8b565b602082019050919050565b60006140fc60268361477a565b915061410782614db4565b604082019050919050565b600061411f602b8361477a565b915061412a82614e03565b604082019050919050565b6000614142601e8361477a565b915061414d82614e52565b602082019050919050565b600061416560338361477a565b915061417082614e7b565b604082019050919050565b600061418860058361478b565b915061419382614eca565b600582019050919050565b60006141ab60208361477a565b91506141b682614ef3565b602082019050919050565b60006141ce60248361477a565b91506141d982614f1c565b604082019050919050565b60006141f1601a8361477a565b91506141fc82614f6b565b602082019050919050565b600061421460288361477a565b915061421f82614f94565b604082019050919050565b600061423760008361476f565b915061424282614fe3565b600082019050919050565b600061425a601d8361477a565b915061426582614fe6565b602082019050919050565b600061427d60108361477a565b91506142888261500f565b602082019050919050565b60006142a0602a8361477a565b91506142ab82615038565b604082019050919050565b6142bf8161494c565b82525050565b60006142d18284613eae565b915081905092915050565b60006142e88285613f58565b91506142f48284613f27565b91506142ff8261417b565b91508190509392505050565b60006143168261422a565b9150819050919050565b60006020820190506143356000830184613e57565b92915050565b60006040820190506143506000830185613e48565b61435d60208301846142b6565b9392505050565b60006080820190506143796000830187613e57565b6143866020830186613e57565b61439360408301856142b6565b81810360608301526143a58184613e75565b905095945050505050565b60006040820190506143c56000830185613e57565b6143d260208301846142b6565b9392505050565b60006020820190506143ee6000830184613e66565b92915050565b60006020820190506144096000830184613edf565b92915050565b600060208201905081810360008301526144298184613eee565b905092915050565b6000602082019050818103600083015261444a81613fd7565b9050919050565b6000602082019050818103600083015261446a81613ffa565b9050919050565b6000602082019050818103600083015261448a8161401d565b9050919050565b600060208201905081810360008301526144aa81614040565b9050919050565b600060208201905081810360008301526144ca81614063565b9050919050565b600060208201905081810360008301526144ea81614086565b9050919050565b6000602082019050818103600083015261450a816140a9565b9050919050565b6000602082019050818103600083015261452a816140cc565b9050919050565b6000602082019050818103600083015261454a816140ef565b9050919050565b6000602082019050818103600083015261456a81614112565b9050919050565b6000602082019050818103600083015261458a81614135565b9050919050565b600060208201905081810360008301526145aa81614158565b9050919050565b600060208201905081810360008301526145ca8161419e565b9050919050565b600060208201905081810360008301526145ea816141c1565b9050919050565b6000602082019050818103600083015261460a816141e4565b9050919050565b6000602082019050818103600083015261462a81614207565b9050919050565b6000602082019050818103600083015261464a8161424d565b9050919050565b6000602082019050818103600083015261466a81614270565b9050919050565b6000602082019050818103600083015261468a81614293565b9050919050565b60006020820190506146a660008301846142b6565b92915050565b60006146b66146c7565b90506146c28282614a12565b919050565b6000604051905090565b600067ffffffffffffffff8211156146ec576146eb614b48565b5b6146f582614b77565b9050602081019050919050565b600067ffffffffffffffff82111561471d5761471c614b48565b5b61472682614b77565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006147a18261494c565b91506147ac8361494c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147e1576147e0614a8c565b5b828201905092915050565b60006147f78261494c565b91506148028361494c565b92508261481257614811614abb565b5b828204905092915050565b60006148288261494c565b91506148338361494c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561486c5761486b614a8c565b5b828202905092915050565b60006148828261494c565b915061488d8361494c565b9250828210156148a05761489f614a8c565b5b828203905092915050565b60006148b68261492c565b9050919050565b60006148c88261492c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614912826148ab565b9050919050565b600081905061492782615087565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006149618261497a565b9050919050565b600061497382614919565b9050919050565b60006149858261498c565b9050919050565b60006149978261492c565b9050919050565b82818337600083830152505050565b60005b838110156149cb5780820151818401526020810190506149b0565b838111156149da576000848401525b50505050565b600060028204905060018216806149f857607f821691505b60208210811415614a0c57614a0b614b19565b5b50919050565b614a1b82614b77565b810181811067ffffffffffffffff82111715614a3a57614a39614b48565b5b80604052505050565b6000614a4e8261494c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a8157614a80614a8c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d617820616d6f756e7420616c7265616479207265616368656420666f72207060008201527f75626c6963000000000000000000000000000000000000000000000000000000602082015250565b7f446966666572656e7420616d6f756e74206f6620706172616d6574657273207360008201527f656e64206265747765656e20726563656976657220616e64207175616e74697460208201527f7900000000000000000000000000000000000000000000000000000000000000604082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f54686973204e465420646f65736e27742065786973742e000000000000000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f52656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f476966742063616e2068617070656e206f6e6c7920647572696e67207075626c60008201527f6963206f7220736f6c646f757420737061636500000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5075626c69632073616c65206e6f7420616374697661746564206f7220736f6c60008201527f646f757400000000000000000000000000000000000000000000000000000000602082015250565b7f4d617820737570706c7920666f72206769667420657863656564000000000000600082015250565b7f46756e647320676976656e20646f206e6f74206d61746368207265717565737460008201527f6564207072696365000000000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f4f6e6c7920696620796f75206d696e7400000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6003811061509857615097614aea565b5b50565b6150a4816148ab565b81146150af57600080fd5b50565b6150bb816148bd565b81146150c657600080fd5b50565b6150d2816148cf565b81146150dd57600080fd5b50565b6150e9816148db565b81146150f457600080fd5b50565b61510081614907565b811461510b57600080fd5b50565b6151178161494c565b811461512257600080fd5b5056fea2646970667358221220413e4c6c5825e92c255e619cff8a8c096e7799be10b4a15c1a5fb0a714a90b5a64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696461766971347a68717277646865366668777779333577616a346f646a6f7777793371716c6a7a727079713672336271337537612f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000c8d09d0bb742896383570ffba5631f5047cb0b800000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064

Deployed Bytecode

0x60806040526004361061024a5760003560e01c80638b83209b11610139578063c87b56dd116100b6578063d79779b21161007a578063d79779b2146108e9578063e33b7de314610926578063e5bcf06314610951578063e985e9c51461097a578063f2fde38b146109b7578063f8dcbddb146109e05761028a565b8063c87b56dd1461080f578063cbccefb21461084c578063ce7c2ac214610877578063d2eb86ee146108b4578063d5abeb01146108be5761028a565b8063a22cb465116100fd578063a22cb4651461071a578063a3f8eace14610743578063b88d4fde14610780578063c45ac050146107a9578063c6275255146107e65761028a565b80638b83209b1461061f5780638da5cb5b1461065c57806395d89b41146106875780639852595c146106b25780639b6860c8146106ef5761028a565b8063406072a9116101c757806364affb401161018b57806364affb401461053a57806370a0823114610565578063715018a6146105a257806380090c04146105b9578063882ae248146105f65761028a565b8063406072a91461045757806342842e0e1461049457806348b75044146104bd5780635be7fde8146104e65780636352211e146104fd5761028a565b8063095ea7b31161020e578063095ea7b31461038657806318160ddd146103af57806319165587146103da57806323b872dd146104035780633a98ef391461042c5761028a565b806301ffc9a71461028f57806306fdde03146102cc578063081812fc146102f7578063087b5c36146103345780630943d0741461035d5761028a565b3661028a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028190614651565b60405180910390fd5b600080fd5b34801561029b57600080fd5b506102b660048036038101906102b19190613cfe565b610a09565b6040516102c391906143d9565b60405180910390f35b3480156102d857600080fd5b506102e1610aeb565b6040516102ee919061440f565b60405180910390f35b34801561030357600080fd5b5061031e60048036038101906103199190613df6565b610b7d565b60405161032b9190614320565b60405180910390f35b34801561034057600080fd5b5061035b60048036038101906103569190613df6565b610bf9565b005b34801561036957600080fd5b50610384600480360381019061037f9190613db5565b610c21565b005b34801561039257600080fd5b506103ad60048036038101906103a89190613c10565b610c43565b005b3480156103bb57600080fd5b506103c4610d4e565b6040516103d19190614691565b60405180910390f35b3480156103e657600080fd5b5061040160048036038101906103fc9190613aa5565b610d65565b005b34801561040f57600080fd5b5061042a60048036038101906104259190613b0a565b610ee5565b005b34801561043857600080fd5b50610441610ef5565b60405161044e9190614691565b60405180910390f35b34801561046357600080fd5b5061047e60048036038101906104799190613d79565b610eff565b60405161048b9190614691565b60405180910390f35b3480156104a057600080fd5b506104bb60048036038101906104b69190613b0a565b610f86565b005b3480156104c957600080fd5b506104e460048036038101906104df9190613d79565b610fa6565b005b3480156104f257600080fd5b506104fb6111ba565b005b34801561050957600080fd5b50610524600480360381019061051f9190613df6565b6111f6565b6040516105319190614320565b60405180910390f35b34801561054657600080fd5b5061054f61120c565b60405161055c9190614691565b60405180910390f35b34801561057157600080fd5b5061058c60048036038101906105879190613a7c565b611211565b6040516105999190614691565b60405180910390f35b3480156105ae57600080fd5b506105b76112e1565b005b3480156105c557600080fd5b506105e060048036038101906105db9190613a7c565b6112f5565b6040516105ed9190614691565b60405180910390f35b34801561060257600080fd5b5061061d60048036038101906106189190613c4c565b61130d565b005b34801561062b57600080fd5b5061064660048036038101906106419190613df6565b61154c565b6040516106539190614320565b60405180910390f35b34801561066857600080fd5b506106716115ba565b60405161067e9190614320565b60405180910390f35b34801561069357600080fd5b5061069c6115e3565b6040516106a9919061440f565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d49190613a7c565b611675565b6040516106e69190614691565b60405180910390f35b3480156106fb57600080fd5b506107046116be565b6040516107119190614691565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190613bd4565b6116c4565b005b34801561074f57600080fd5b5061076a60048036038101906107659190613a7c565b61183c565b6040516107779190614691565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190613b59565b61186f565b005b3480156107b557600080fd5b506107d060048036038101906107cb9190613d79565b6118eb565b6040516107dd9190614691565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190613df6565b6119a9565b005b34801561081b57600080fd5b5061083660048036038101906108319190613df6565b6119bb565b604051610843919061440f565b60405180910390f35b34801561085857600080fd5b50610861611a37565b60405161086e91906143f4565b60405180910390f35b34801561088357600080fd5b5061089e60048036038101906108999190613a7c565b611a4a565b6040516108ab9190614691565b60405180910390f35b6108bc611a93565b005b3480156108ca57600080fd5b506108d3611dcd565b6040516108e09190614691565b60405180910390f35b3480156108f557600080fd5b50610910600480360381019061090b9190613d50565b611dd3565b60405161091d9190614691565b60405180910390f35b34801561093257600080fd5b5061093b611e1c565b6040516109489190614691565b60405180910390f35b34801561095d57600080fd5b5061097860048036038101906109739190613df6565b611e26565b005b34801561098657600080fd5b506109a1600480360381019061099c9190613ace565b611e4e565b6040516109ae91906143d9565b60405180910390f35b3480156109c357600080fd5b506109de60048036038101906109d99190613a7c565b611ee2565b005b3480156109ec57600080fd5b50610a076004803603810190610a029190613df6565b611f66565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ad457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ae45750610ae382611ff9565b5b9050919050565b606060038054610afa906149e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610b26906149e0565b8015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b5050505050905090565b6000610b8882612063565b610bbe576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610c016120b1565b80601381905550601354601254610c189190614796565b60158190555050565b610c296120b1565b8060109080519060200190610c3f929190613775565b5050565b6000610c4e826111f6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cb6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cd561212f565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d075750610d0581610d0061212f565b611e4e565b155b15610d3e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d49838383612137565b505050565b6000610d586121e9565b6002546001540303905090565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610de7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dde906144b1565b60405180910390fd5b6000610df28261183c565b90506000811415610e38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2f90614551565b60405180910390fd5b80600a6000828254610e4a9190614796565b9250508190555080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550610ea882826121ee565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568282604051610ed992919061433b565b60405180910390a15050565b610ef08383836122e2565b505050565b6000600954905090565b6000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610fa18383836040518060200160405280600081525061186f565b505050565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101f906144b1565b60405180910390fd5b600061103483836118eb565b9050600081141561107a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107190614551565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110c99190614796565b9250508190555080600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506111658383836127d3565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a83836040516111ad9291906143b0565b60405180910390a2505050565b6111c26120b1565b60005b6011548110156111f3576111e06111db8261154c565b610d65565b80806111eb90614a43565b9150506111c5565b50565b600061120182612859565b600001519050919050565b600181565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611279576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6112e96120b1565b6112f36000612ae8565b565b60186020528060005260406000206000915090505481565b6113156120b1565b6000600281111561134f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660009054906101000a900460ff166002811115611397577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b116113d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ce90614591565b60405180910390fd5b601354816014546113e89190614796565b1115611429576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611420906145f1565b60405180910390fd5b6000858590509050838390508114611476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146d90614451565b60405180910390fd5b60005b8181101561152a576115178787838181106114bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906114d29190613a7c565b86868481811061150b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135612bac565b808061152290614a43565b915050611479565b50816014600082825461153d9190614796565b92505081905550505050505050565b6000600d8281548110611588577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600480546115f2906149e0565b80601f016020809104026020016040519081016040528092919081815260200182805461161e906149e0565b801561166b5780601f106116405761010080835404028352916020019161166b565b820191906000526020600020905b81548152906001019060200180831161164e57829003601f168201915b5050505050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60175481565b6116cc61212f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611731576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806008600061173e61212f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166117eb61212f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161183091906143d9565b60405180910390a35050565b600080611847611e1c565b476118529190614796565b9050611867838261186286611675565b612bca565b915050919050565b61187a8484846122e2565b6118998373ffffffffffffffffffffffffffffffffffffffff16612c38565b80156118ae57506118ac84848484612c5b565b155b156118e5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6000806118f784611dd3565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016119309190614320565b60206040518083038186803b15801561194857600080fd5b505afa15801561195c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119809190613e1f565b61198a9190614796565b90506119a0838261199b8787610eff565b612bca565b91505092915050565b6119b16120b1565b8060178190555050565b60606119c682612063565b611a05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fc90614491565b60405180910390fd5b6010611a1083612dbb565b604051602001611a219291906142dc565b6040516020818303038152906040529050919050565b601660009054906101000a900460ff1681565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af890614571565b60405180910390fd5b60016002811115611b3b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660009054906101000a900460ff166002811115611b83577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bba906145d1565b60405180910390fd5b6017543414611c07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfe90614611565b60405180910390fd5b600180601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c549190614796565b1115611c95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8c90614431565b60405180910390fd5b6012546014546001611ca5610d4e565b611caf9190614796565b611cb99190614877565b1115611cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf1906144d1565b60405180910390fd5b6001601860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d4a9190614796565b92505081905550611d5c336001612bac565b601254601454611d6a610d4e565b611d749190614877565b10611dcb576002601660006101000a81548160ff02191690836002811115611dc5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b565b60155481565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600a54905090565b611e2e6120b1565b80601281905550601354601254611e459190614796565b60158190555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611eea6120b1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5190614471565b60405180910390fd5b611f6381612ae8565b50565b611f6e6120b1565b806002811115611fa7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601660006101000a81548160ff02191690836002811115611ff1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161206e6121e9565b1115801561207d575060015482105b80156120aa575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b6120b961212f565b73ffffffffffffffffffffffffffffffffffffffff166120d76115ba565b73ffffffffffffffffffffffffffffffffffffffff161461212d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612124906145b1565b60405180910390fd5b565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b80471015612231576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222890614511565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516122579061430b565b60006040518083038185875af1925050503d8060008114612294576040519150601f19603f3d011682016040523d82523d6000602084013e612299565b606091505b50509050806122dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d4906144f1565b60405180910390fd5b505050565b60006122ed82612859565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661231461212f565b73ffffffffffffffffffffffffffffffffffffffff1614806123475750612346826000015161234161212f565b611e4e565b5b8061238c575061235561212f565b73ffffffffffffffffffffffffffffffffffffffff1661237484610b7d565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806123c5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461242e576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612495576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124a28585856001612edf565b6124b26000848460000151612137565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612763576001548110156127625782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127cc8585856001612ee5565b5050505050565b6128548363a9059cbb60e01b84846040516024016127f29291906143b0565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612eeb565b505050565b6128616137fb565b60008290508061286f6121e9565b1115801561287e575060015481105b15612ab1576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612aaf57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612993578092505050612ae3565b5b600115612aae57818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612aa9578092505050612ae3565b612994565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612bc6828260405180602001604052806000815250612fb2565b5050565b600081600954600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612c1b919061481d565b612c2591906147ec565b612c2f9190614877565b90509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612c8161212f565b8786866040518563ffffffff1660e01b8152600401612ca39493929190614364565b602060405180830381600087803b158015612cbd57600080fd5b505af1925050508015612cee57506040513d601f19601f82011682018060405250810190612ceb9190613d27565b60015b612d68573d8060008114612d1e576040519150601f19603f3d011682016040523d82523d6000602084013e612d23565b606091505b50600081511415612d60576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060006001612dca84612fc4565b01905060008167ffffffffffffffff811115612e0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e415781602001600182028036833780820191505090505b509050600082602001820190505b600115612ed4578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ebe577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0494506000851415612ecf57612ed4565b612e4f565b819350505050919050565b50505050565b50505050565b6000612f4d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166131fb9092919063ffffffff16565b9050600081511115612fad5780806020019051810190612f6d9190613cd5565b612fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa390614671565b60405180910390fd5b5b505050565b612fbf8383836001613213565b505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613048577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161303e577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506040810190505b6d04ee2d6d415b85acef810000000083106130ab576d04ee2d6d415b85acef810000000083816130a1577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506020810190505b662386f26fc10000831061310057662386f26fc1000083816130f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506010810190505b6305f5e100831061314f576305f5e1008381613145577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506008810190505b612710831061319a576127108381613190577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506004810190505b606483106131e357606483816131d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b0492506002810190505b600a83106131f2576001810190505b80915050919050565b606061320a84846000856135e2565b90509392505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613281576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008414156132bc576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132c96000868387612edf565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561349357506134928773ffffffffffffffffffffffffffffffffffffffff16612c38565b5b15613559575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135086000888480600101955088612c5b565b61353e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082141561349957826001541461355457600080fd5b6135c5565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561355a575b8160018190555050506135db6000868387612ee5565b5050505050565b606082471015613627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161361e90614531565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff16858760405161365091906142c5565b60006040518083038185875af1925050503d806000811461368d576040519150601f19603f3d011682016040523d82523d6000602084013e613692565b606091505b50915091506136a3878383876136af565b92505050949350505050565b606083156137125760008351141561370a576136ca85612c38565b613709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370090614631565b60405180910390fd5b5b82905061371d565b61371c8383613725565b5b949350505050565b6000825111156137385781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376c919061440f565b60405180910390fd5b828054613781906149e0565b90600052602060002090601f0160209004810192826137a357600085556137ea565b82601f106137bc57805160ff19168380011785556137ea565b828001600101855582156137ea579182015b828111156137e95782518255916020019190600101906137ce565b5b5090506137f7919061383e565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561385757600081600090555060010161383f565b5090565b600061386e613869846146d1565b6146ac565b90508281526020810184848401111561388657600080fd5b61389184828561499e565b509392505050565b60006138ac6138a784614702565b6146ac565b9050828152602081018484840111156138c457600080fd5b6138cf84828561499e565b509392505050565b6000813590506138e68161509b565b92915050565b6000813590506138fb816150b2565b92915050565b60008083601f84011261391357600080fd5b8235905067ffffffffffffffff81111561392c57600080fd5b60208301915083602082028301111561394457600080fd5b9250929050565b60008083601f84011261395d57600080fd5b8235905067ffffffffffffffff81111561397657600080fd5b60208301915083602082028301111561398e57600080fd5b9250929050565b6000813590506139a4816150c9565b92915050565b6000815190506139b9816150c9565b92915050565b6000813590506139ce816150e0565b92915050565b6000815190506139e3816150e0565b92915050565b600082601f8301126139fa57600080fd5b8135613a0a84826020860161385b565b91505092915050565b600081359050613a22816150f7565b92915050565b600082601f830112613a3957600080fd5b8135613a49848260208601613899565b91505092915050565b600081359050613a618161510e565b92915050565b600081519050613a768161510e565b92915050565b600060208284031215613a8e57600080fd5b6000613a9c848285016138d7565b91505092915050565b600060208284031215613ab757600080fd5b6000613ac5848285016138ec565b91505092915050565b60008060408385031215613ae157600080fd5b6000613aef858286016138d7565b9250506020613b00858286016138d7565b9150509250929050565b600080600060608486031215613b1f57600080fd5b6000613b2d868287016138d7565b9350506020613b3e868287016138d7565b9250506040613b4f86828701613a52565b9150509250925092565b60008060008060808587031215613b6f57600080fd5b6000613b7d878288016138d7565b9450506020613b8e878288016138d7565b9350506040613b9f87828801613a52565b925050606085013567ffffffffffffffff811115613bbc57600080fd5b613bc8878288016139e9565b91505092959194509250565b60008060408385031215613be757600080fd5b6000613bf5858286016138d7565b9250506020613c0685828601613995565b9150509250929050565b60008060408385031215613c2357600080fd5b6000613c31858286016138d7565b9250506020613c4285828601613a52565b9150509250929050565b600080600080600060608688031215613c6457600080fd5b600086013567ffffffffffffffff811115613c7e57600080fd5b613c8a88828901613901565b9550955050602086013567ffffffffffffffff811115613ca957600080fd5b613cb58882890161394b565b93509350506040613cc888828901613a52565b9150509295509295909350565b600060208284031215613ce757600080fd5b6000613cf5848285016139aa565b91505092915050565b600060208284031215613d1057600080fd5b6000613d1e848285016139bf565b91505092915050565b600060208284031215613d3957600080fd5b6000613d47848285016139d4565b91505092915050565b600060208284031215613d6257600080fd5b6000613d7084828501613a13565b91505092915050565b60008060408385031215613d8c57600080fd5b6000613d9a85828601613a13565b9250506020613dab858286016138d7565b9150509250929050565b600060208284031215613dc757600080fd5b600082013567ffffffffffffffff811115613de157600080fd5b613ded84828501613a28565b91505092915050565b600060208284031215613e0857600080fd5b6000613e1684828501613a52565b91505092915050565b600060208284031215613e3157600080fd5b6000613e3f84828501613a67565b91505092915050565b613e5181614956565b82525050565b613e60816148ab565b82525050565b613e6f816148cf565b82525050565b6000613e8082614748565b613e8a818561475e565b9350613e9a8185602086016149ad565b613ea381614b77565b840191505092915050565b6000613eb982614748565b613ec3818561476f565b9350613ed38185602086016149ad565b80840191505092915050565b613ee881614968565b82525050565b6000613ef982614753565b613f03818561477a565b9350613f138185602086016149ad565b613f1c81614b77565b840191505092915050565b6000613f3282614753565b613f3c818561478b565b9350613f4c8185602086016149ad565b80840191505092915050565b60008154613f65816149e0565b613f6f818661478b565b94506001821660008114613f8a5760018114613f9b57613fce565b60ff19831686528186019350613fce565b613fa485614733565b60005b83811015613fc657815481890152600182019150602081019050613fa7565b838801955050505b50505092915050565b6000613fe460258361477a565b9150613fef82614b88565b604082019050919050565b600061400760418361477a565b915061401282614bd7565b606082019050919050565b600061402a60268361477a565b915061403582614c4c565b604082019050919050565b600061404d60178361477a565b915061405882614c9b565b602082019050919050565b600061407060268361477a565b915061407b82614cc4565b604082019050919050565b600061409360128361477a565b915061409e82614d13565b602082019050919050565b60006140b6603a8361477a565b91506140c182614d3c565b604082019050919050565b60006140d9601d8361477a565b91506140e482614d8b565b602082019050919050565b60006140fc60268361477a565b915061410782614db4565b604082019050919050565b600061411f602b8361477a565b915061412a82614e03565b604082019050919050565b6000614142601e8361477a565b915061414d82614e52565b602082019050919050565b600061416560338361477a565b915061417082614e7b565b604082019050919050565b600061418860058361478b565b915061419382614eca565b600582019050919050565b60006141ab60208361477a565b91506141b682614ef3565b602082019050919050565b60006141ce60248361477a565b91506141d982614f1c565b604082019050919050565b60006141f1601a8361477a565b91506141fc82614f6b565b602082019050919050565b600061421460288361477a565b915061421f82614f94565b604082019050919050565b600061423760008361476f565b915061424282614fe3565b600082019050919050565b600061425a601d8361477a565b915061426582614fe6565b602082019050919050565b600061427d60108361477a565b91506142888261500f565b602082019050919050565b60006142a0602a8361477a565b91506142ab82615038565b604082019050919050565b6142bf8161494c565b82525050565b60006142d18284613eae565b915081905092915050565b60006142e88285613f58565b91506142f48284613f27565b91506142ff8261417b565b91508190509392505050565b60006143168261422a565b9150819050919050565b60006020820190506143356000830184613e57565b92915050565b60006040820190506143506000830185613e48565b61435d60208301846142b6565b9392505050565b60006080820190506143796000830187613e57565b6143866020830186613e57565b61439360408301856142b6565b81810360608301526143a58184613e75565b905095945050505050565b60006040820190506143c56000830185613e57565b6143d260208301846142b6565b9392505050565b60006020820190506143ee6000830184613e66565b92915050565b60006020820190506144096000830184613edf565b92915050565b600060208201905081810360008301526144298184613eee565b905092915050565b6000602082019050818103600083015261444a81613fd7565b9050919050565b6000602082019050818103600083015261446a81613ffa565b9050919050565b6000602082019050818103600083015261448a8161401d565b9050919050565b600060208201905081810360008301526144aa81614040565b9050919050565b600060208201905081810360008301526144ca81614063565b9050919050565b600060208201905081810360008301526144ea81614086565b9050919050565b6000602082019050818103600083015261450a816140a9565b9050919050565b6000602082019050818103600083015261452a816140cc565b9050919050565b6000602082019050818103600083015261454a816140ef565b9050919050565b6000602082019050818103600083015261456a81614112565b9050919050565b6000602082019050818103600083015261458a81614135565b9050919050565b600060208201905081810360008301526145aa81614158565b9050919050565b600060208201905081810360008301526145ca8161419e565b9050919050565b600060208201905081810360008301526145ea816141c1565b9050919050565b6000602082019050818103600083015261460a816141e4565b9050919050565b6000602082019050818103600083015261462a81614207565b9050919050565b6000602082019050818103600083015261464a8161424d565b9050919050565b6000602082019050818103600083015261466a81614270565b9050919050565b6000602082019050818103600083015261468a81614293565b9050919050565b60006020820190506146a660008301846142b6565b92915050565b60006146b66146c7565b90506146c28282614a12565b919050565b6000604051905090565b600067ffffffffffffffff8211156146ec576146eb614b48565b5b6146f582614b77565b9050602081019050919050565b600067ffffffffffffffff82111561471d5761471c614b48565b5b61472682614b77565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006147a18261494c565b91506147ac8361494c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156147e1576147e0614a8c565b5b828201905092915050565b60006147f78261494c565b91506148028361494c565b92508261481257614811614abb565b5b828204905092915050565b60006148288261494c565b91506148338361494c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561486c5761486b614a8c565b5b828202905092915050565b60006148828261494c565b915061488d8361494c565b9250828210156148a05761489f614a8c565b5b828203905092915050565b60006148b68261492c565b9050919050565b60006148c88261492c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614912826148ab565b9050919050565b600081905061492782615087565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006149618261497a565b9050919050565b600061497382614919565b9050919050565b60006149858261498c565b9050919050565b60006149978261492c565b9050919050565b82818337600083830152505050565b60005b838110156149cb5780820151818401526020810190506149b0565b838111156149da576000848401525b50505050565b600060028204905060018216806149f857607f821691505b60208210811415614a0c57614a0b614b19565b5b50919050565b614a1b82614b77565b810181811067ffffffffffffffff82111715614a3a57614a39614b48565b5b80604052505050565b6000614a4e8261494c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a8157614a80614a8c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d617820616d6f756e7420616c7265616479207265616368656420666f72207060008201527f75626c6963000000000000000000000000000000000000000000000000000000602082015250565b7f446966666572656e7420616d6f756e74206f6620706172616d6574657273207360008201527f656e64206265747765656e20726563656976657220616e64207175616e74697460208201527f7900000000000000000000000000000000000000000000000000000000000000604082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f54686973204e465420646f65736e27742065786973742e000000000000000000600082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f52656163686564206d617820737570706c790000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b7f476966742063616e2068617070656e206f6e6c7920647572696e67207075626c60008201527f6963206f7220736f6c646f757420737061636500000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5075626c69632073616c65206e6f7420616374697661746564206f7220736f6c60008201527f646f757400000000000000000000000000000000000000000000000000000000602082015250565b7f4d617820737570706c7920666f72206769667420657863656564000000000000600082015250565b7f46756e647320676976656e20646f206e6f74206d61746368207265717565737460008201527f6564207072696365000000000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f4f6e6c7920696620796f75206d696e7400000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6003811061509857615097614aea565b5b50565b6150a4816148ab565b81146150af57600080fd5b50565b6150bb816148bd565b81146150c657600080fd5b50565b6150d2816148cf565b81146150dd57600080fd5b50565b6150e9816148db565b81146150f457600080fd5b50565b61510081614907565b811461510b57600080fd5b50565b6151178161494c565b811461512257600080fd5b5056fea2646970667358221220413e4c6c5825e92c255e619cff8a8c096e7799be10b4a15c1a5fb0a714a90b5a64736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696461766971347a68717277646865366668777779333577616a346f646a6f7777793371716c6a7a727079713672336271337537612f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000c8d09d0bb742896383570ffba5631f5047cb0b800000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000064

-----Decoded View---------------
Arg [0] : baseTokenUri (string): ipfs://bafybeidaviq4zhqrwdhe6fhwwy35waj4odjowwy3qqljzrpyq6r3bq3u7a/
Arg [1] : _team (address[]): 0x0C8d09d0BB742896383570ffBA5631f5047cB0B8
Arg [2] : _teamShares (uint256[]): 100

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [4] : 697066733a2f2f626166796265696461766971347a6871727764686536666877
Arg [5] : 7779333577616a346f646a6f7777793371716c6a7a7270797136723362713375
Arg [6] : 37612f0000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 0000000000000000000000000c8d09d0bb742896383570ffba5631f5047cb0b8
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [10] : 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.