ETH Price: $3,596.76 (-2.38%)

Token

ERC-20: Gatsby Tools Pass (GTP)
 

Overview

Max Total Supply

4,000 GTP

Holders

3,251

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
serebass.eth
Balance
1 GTP
0x892955812b9eb88e7fe01c4b8748f103ec5389ff
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:
GatsbyToolsPass

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 5000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-18
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

/**  


   ____       _       _           
  / ___| __ _| |_ ___| |__  _   _ 
 | |  _ / _` | __/ __| '_ \| | | |
 | |_| | (_| | |_\__ \ |_) | |_| |
  \____|\__,_|\__|___/_.__/ \__, |
                            |___/ 



**/

/// @author NFTprest (https://twitter.com/NFTprest)



// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


// 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: @openzeppelin/contracts/token/ERC20/IERC20.sol


// 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: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;




/**
 * @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: @openzeppelin/contracts/utils/Context.sol


// 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: @openzeppelin/contracts/finance/PaymentSplitter.sol


// OpenZeppelin Contracts (last updated v4.7.0) (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;




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

    uint256 private _totalShares;
    uint256 private _totalReleased;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        uint256 payment = releasable(account);

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

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

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

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

        uint256 payment = releasable(token, account);

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

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

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

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

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: IERC721A.sol


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


pragma solidity ^0.8.17;

/**  


   ____       _       _           
  / ___| __ _| |_ ___| |__  _   _ 
 | |  _ / _` | __/ __| '_ \| | | |
 | |_| | (_| | |_\__ \ |_) | |_| |
  \____|\__,_|\__|___/_.__/ \__, |
                            |___/ 



**/

/// @author NFTprest (https://twitter.com/NFTprest)






// File: contracts/GatsbyToolsPass.sol

contract GatsbyToolsPass is ERC721A, PaymentSplitter, Ownable { 
    uint public maxSupply = 3950;
    uint public maxMintsPerWallet = 1;
    uint public price = .088 ether;

    bytes32 public merkleRoot;

    bool public mintOpen = false;
    bool public whitelistOnly = true;
    bool public allowBurn = false;

    string internal baseTokenURI = "ipfs://QmX8U753tWoyE72sGTmS27ZFCRwbn6jEou7zGPzW8TkRyH/";

	address[] private addressList = [
        0xE4847F29a9c84a32eA23D34324F69228c0c89E58,
        0xEC4D6eCb87D3674bd65BA5e7079C63cB9f762E48
	];

    // Out of 1,000,000 for 4 decimals
	uint[] private shareList = [
        950000,
        50000
	];

    constructor() ERC721A("Gatsby Tools Pass", "GTP") PaymentSplitter(addressList, shareList) {}

    function toggleMint() external onlyOwner {
        mintOpen = !mintOpen;
    }

    function toggleWhitelist() external onlyOwner {
        whitelistOnly = !whitelistOnly;
    }

    function toggleBurning() external onlyOwner {
        allowBurn = !allowBurn;
    }
    
    function setBaseTokenURI(string calldata _uri) external onlyOwner {
        baseTokenURI = _uri;
    }

    function setPrice(uint _price) external onlyOwner {
        price = _price;
    }

    function setMaxSupply(uint _maxSupply) external onlyOwner {
        maxSupply = _maxSupply;
    }

    function setMaxMintsPerWallet(uint _maxMintsPerWallet) external onlyOwner {
        maxMintsPerWallet = _maxMintsPerWallet;
    }

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

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

    function mintWhitelist(bytes32[] calldata _merkleProof) external payable {
        require(mintOpen, "Mint Not Open");
        require(MerkleProof.verifyCalldata(_merkleProof, merkleRoot,keccak256(abi.encodePacked(msg.sender))), "Proof invalid");
        require(msg.value >= price, "Not Enough Ether");
        require(_totalMinted() + 1 <= maxSupply, "Max Supply");
        require(_numberMinted(msg.sender) + 1 <= maxMintsPerWallet, "Out Of Mints");
        _mint(msg.sender, 1);
    }

    function mintPublic() external payable {
        require(mintOpen, "Mint Not Open");
        require(!whitelistOnly, "Only Whitelist");
        require(msg.value >= price, "Not Enough Ether");
        require(_totalMinted() + 1 <= maxSupply, "Max Supply");
        require(_numberMinted(msg.sender) + 1 <= maxMintsPerWallet, "Out Of Mints");
        _mint(msg.sender, 1);
    }

    function mintOwner(uint _amount) external onlyOwner {
        _mint(msg.sender, _amount);
    }

    function burn(uint256 tokenId) public virtual {
        require(allowBurn, "Not Allowed");
        _burn(tokenId, true);
    }

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

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"allowBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","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":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintsPerWallet","type":"uint256"}],"name":"setMaxMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleBurning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistOnly","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

610f6e6010556001601155670138a388a43c00006012556014805462ffffff191661010017905560e06040526036608081815290620034e760a039601590620000499082620006ee565b506040805180820190915273e4847f29a9c84a32ea23d34324f69228c0c89e58815273ec4d6ecb87d3674bd65ba5e7079c63cb9f762e4860208201526200009590601690600262000583565b5060408051808201909152620e7ef0815261c3506020820152620000be906017906002620005ed565b50348015620000cc57600080fd5b5060168054806020026020016040519081016040528092919081815260200182805480156200012557602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000106575b505050505060178054806020026020016040519081016040528092919081815260200182805480156200017857602002820191906000526020600020905b81548152602001906001019080831162000163575b50505050506040518060400160405280601181526020017047617473627920546f6f6c73205061737360781b8152506040518060400160405280600381526020016204754560ec1b8152508160029081620001d49190620006ee565b506003620001e38282620006ee565b506001600055505080518251146200025d5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620002b05760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000254565b60005b82518110156200031c5762000307838281518110620002d657620002d6620007ba565b6020026020010151838381518110620002f357620002f3620007ba565b60200260200101516200033f60201b60201c565b806200031381620007e6565b915050620002b3565b50505062000339620003336200052d60201b60201c565b62000531565b6200081e565b6001600160a01b038216620003ac5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000254565b60008111620003fe5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000254565b6001600160a01b0382166000908152600a6020526040902054156200047a5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000254565b600c8054600181019091557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b0384169081179091556000908152600a60205260409020819055600854620004e490829062000802565b600855604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b3390565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054828255906000526020600020908101928215620005db579160200282015b82811115620005db57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620005a4565b50620005e992915062000632565b5090565b828054828255906000526020600020908101928215620005db579160200282015b82811115620005db578251829062ffffff169055916020019190600101906200060e565b5b80821115620005e9576000815560010162000633565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200067457607f821691505b6020821081036200069557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006e957600081815260208120601f850160051c81016020861015620006c45750805b601f850160051c820191505b81811015620006e557828155600101620006d0565b5050505b505050565b81516001600160401b038111156200070a576200070a62000649565b62000722816200071b84546200065f565b846200069b565b602080601f8311600181146200075a5760008415620007415750858301515b600019600386901b1c1916600185901b178555620006e5565b600085815260208120601f198616915b828110156200078b578886015182559484019460019091019084016200076a565b5085821015620007aa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620007fb57620007fb620007d0565b5060010190565b80820180821115620008185762000818620007d0565b92915050565b612cb9806200082e6000396000f3fe60806040526004361061030c5760003560e01c8063715018a61161019a578063a3f8eace116100e1578063d5abeb011161008a578063e985e9c511610064578063e985e9c5146108ad578063f2fde38b146108f6578063f516a2e61461091657600080fd5b8063d5abeb011461084c578063d79779b214610862578063e33b7de31461089857600080fd5b8063c87b56dd116100bb578063c87b56dd146107e1578063ce7c2ac214610801578063d3dd5fe01461083757600080fd5b8063a3f8eace1461078e578063b88d4fde146107ae578063c45ac050146107c157600080fd5b806391b7f5ed116101435780639852595c1161011d5780639852595c14610722578063a035b1fe14610758578063a22cb4651461076e57600080fd5b806391b7f5ed146106cd57806395d89b41146106ed578063963c35461461070257600080fd5b80638b83209b116101745780638b83209b146106875780638c874ebd146106a75780638da5cb5b146106af57600080fd5b8063715018a61461063d5780637cb64759146106525780637e15144b1461067257600080fd5b806333f88d221161025e57806344d84381116102075780636352211e116101e15780636352211e146105dd5780636f8b44b0146105fd57806370a082311461061d57600080fd5b806344d843811461058b57806348b750441461059e5780634b4687b5146105be57600080fd5b8063406072a911610238578063406072a91461051257806342842e0e1461055857806342966c681461056b57600080fd5b806333f88d22146104bd57806335e061fc146104dd5780633a98ef39146104fd57600080fd5b806319165587116102c057806324bbd0491161029a57806324bbd0491461046d5780632eb4a7ab1461048757806330176e131461049d57600080fd5b8063191655871461042557806322dcb0a71461044557806323b872dd1461045a57600080fd5b8063081812fc116102f1578063081812fc146103b1578063095ea7b3146103e957806318160ddd146103fe57600080fd5b806301ffc9a71461035a57806306fdde031461038f57600080fd5b36610355577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561036657600080fd5b5061037a6103753660046125ce565b61092c565b60405190151581526020015b60405180910390f35b34801561039b57600080fd5b506103a4610a11565b604051610386919061263b565b3480156103bd57600080fd5b506103d16103cc36600461264e565b610aa3565b6040516001600160a01b039091168152602001610386565b6103fc6103f736600461267c565b610b00565b005b34801561040a57600080fd5b5060015460005403600019015b604051908152602001610386565b34801561043157600080fd5b506103fc6104403660046126a8565b610bd1565b34801561045157600080fd5b506103fc610d7b565b6103fc6104683660046126c5565b610dbe565b34801561047957600080fd5b5060145461037a9060ff1681565b34801561049357600080fd5b5061041760135481565b3480156104a957600080fd5b506103fc6104b8366004612706565b610fdf565b3480156104c957600080fd5b506103fc6104d836600461264e565b610ff9565b3480156104e957600080fd5b5060145461037a9062010000900460ff1681565b34801561050957600080fd5b50600854610417565b34801561051e57600080fd5b5061041761052d366004612778565b6001600160a01b039182166000908152600e6020908152604080832093909416825291909152205490565b6103fc6105663660046126c5565b61100e565b34801561057757600080fd5b506103fc61058636600461264e565b611029565b6103fc6105993660046127b1565b61108c565b3480156105aa57600080fd5b506103fc6105b9366004612778565b6112bf565b3480156105ca57600080fd5b5060145461037a90610100900460ff1681565b3480156105e957600080fd5b506103d16105f836600461264e565b61148e565b34801561060957600080fd5b506103fc61061836600461264e565b611499565b34801561062957600080fd5b506104176106383660046126a8565b6114a6565b34801561064957600080fd5b506103fc61150e565b34801561065e57600080fd5b506103fc61066d36600461264e565b611522565b34801561067e57600080fd5b506103fc61152f565b34801561069357600080fd5b506103d16106a236600461264e565b611571565b6103fc6115a1565b3480156106bb57600080fd5b50600f546001600160a01b03166103d1565b3480156106d957600080fd5b506103fc6106e836600461264e565b611784565b3480156106f957600080fd5b506103a4611791565b34801561070e57600080fd5b506103fc61071d36600461264e565b6117a0565b34801561072e57600080fd5b5061041761073d3660046126a8565b6001600160a01b03166000908152600b602052604090205490565b34801561076457600080fd5b5061041760125481565b34801561077a57600080fd5b506103fc610789366004612822565b6117ad565b34801561079a57600080fd5b506104176107a93660046126a8565b611837565b6103fc6107bc36600461287f565b61187f565b3480156107cd57600080fd5b506104176107dc366004612778565b6118e2565b3480156107ed57600080fd5b506103a46107fc36600461264e565b6119c6565b34801561080d57600080fd5b5061041761081c3660046126a8565b6001600160a01b03166000908152600a602052604090205490565b34801561084357600080fd5b506103fc611a62565b34801561085857600080fd5b5061041760105481565b34801561086e57600080fd5b5061041761087d3660046126a8565b6001600160a01b03166000908152600d602052604090205490565b3480156108a457600080fd5b50600954610417565b3480156108b957600080fd5b5061037a6108c8366004612778565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561090257600080fd5b506103fc6109113660046126a8565b611a9c565b34801561092257600080fd5b5061041760115481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806109bf57507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b80610a0b57507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060028054610a209061295f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4c9061295f565b8015610a995780601f10610a6e57610100808354040283529160200191610a99565b820191906000526020600020905b815481529060010190602001808311610a7c57829003601f168201915b5050505050905090565b6000610aae82611b29565b610ae4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b0b8261148e565b9050336001600160a01b03821614610b5d57610b2781336108c8565b610b5d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600a6020526040902054610c615760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f736861726573000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000610c6c82611837565b905080600003610ce45760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610c58565b6001600160a01b0382166000908152600b602052604081208054839290610d0c9084906129e1565b925050819055508060096000828254610d2591906129e1565b90915550610d3590508282611b77565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b610d83611c90565b601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff8116620100009182900460ff1615909102179055565b6000610dc982611cea565b9050836001600160a01b0316816001600160a01b031614610e16576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610e428187335b6001600160a01b039081169116811491141790565b610e8657610e5086336108c8565b610e86576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610ec6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610ed157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260408120919091557c020000000000000000000000000000000000000000000000000000000084169003610f9557600184016000818152600460205260408120549003610f93576000548114610f935760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610fe7611c90565b6015610ff4828483612a3a565b505050565b611001611c90565b61100b3382611d8b565b50565b610ff48383836040518060200160405280600081525061187f565b60145462010000900460ff166110815760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420416c6c6f7765640000000000000000000000000000000000000000006044820152606401610c58565b61100b816001611ebc565b60145460ff166110de5760405162461bcd60e51b815260206004820152600d60248201527f4d696e74204e6f74204f70656e000000000000000000000000000000000000006044820152606401610c58565b6013546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015261113691849184919060340160405160208183030381529060405280519060200120612051565b6111825760405162461bcd60e51b815260206004820152600d60248201527f50726f6f6620696e76616c6964000000000000000000000000000000000000006044820152606401610c58565b6012543410156111d45760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610c58565b601054600054600019016111e99060016129e1565b11156112375760405162461bcd60e51b815260206004820152600a60248201527f4d617820537570706c79000000000000000000000000000000000000000000006044820152606401610c58565b601154336000908152600560205260409081902054611262911c67ffffffffffffffff1660016129e1565b11156112b05760405162461bcd60e51b815260206004820152600c60248201527f4f7574204f66204d696e747300000000000000000000000000000000000000006044820152606401610c58565b6112bb336001611d8b565b5050565b6001600160a01b0381166000908152600a602052604090205461134a5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608401610c58565b600061135683836118e2565b9050806000036113ce5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610c58565b6001600160a01b038084166000908152600e60209081526040808320938616835292905290812080548392906114059084906129e1565b90915550506001600160a01b0383166000908152600d6020526040812080548392906114329084906129e1565b909155506114439050838383612069565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6000610a0b82611cea565b6114a1611c90565b601055565b60006001600160a01b0382166114e8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611516611c90565b61152060006120e9565b565b61152a611c90565b601355565b611537611c90565b601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b6000600c828154811061158657611586612afb565b6000918252602090912001546001600160a01b031692915050565b60145460ff166115f35760405162461bcd60e51b815260206004820152600d60248201527f4d696e74204e6f74204f70656e000000000000000000000000000000000000006044820152606401610c58565b601454610100900460ff161561164b5760405162461bcd60e51b815260206004820152600e60248201527f4f6e6c792057686974656c6973740000000000000000000000000000000000006044820152606401610c58565b60125434101561169d5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610c58565b601054600054600019016116b29060016129e1565b11156117005760405162461bcd60e51b815260206004820152600a60248201527f4d617820537570706c79000000000000000000000000000000000000000000006044820152606401610c58565b60115433600090815260056020526040908190205461172b911c67ffffffffffffffff1660016129e1565b11156117795760405162461bcd60e51b815260206004820152600c60248201527f4f7574204f66204d696e747300000000000000000000000000000000000000006044820152606401610c58565b611520336001611d8b565b61178c611c90565b601255565b606060038054610a209061295f565b6117a8611c90565b601155565b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008061184360095490565b61184d90476129e1565b90506118788382611873866001600160a01b03166000908152600b602052604090205490565b612153565b9392505050565b61188a848484610dbe565b6001600160a01b0383163b156118dc576118a684848484612191565b6118dc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6001600160a01b0382166000908152600d602052604081205481906040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa15801561195a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197e9190612b2a565b61198891906129e1565b6001600160a01b038086166000908152600e60209081526040808320938816835292905220549091506119be9084908390612153565b949350505050565b60606119d182611b29565b611a07576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a116122dc565b90508051600003611a315760405180602001604052806000815250611878565b80611a3b846122eb565b604051602001611a4c929190612b43565b6040516020818303038152906040529392505050565b611a6a611c90565b601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b611aa4611c90565b6001600160a01b038116611b205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c58565b61100b816120e9565b600081600111158015611b3d575060005482105b8015610a0b5750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b80471015611bc75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c58565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c14576040519150601f19603f3d011682016040523d82523d6000602084013e611c19565b606091505b5050905080610ff45760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c58565b600f546001600160a01b031633146115205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c58565b60008180600111611d5957600054811015611d5957600081815260046020526040812054907c010000000000000000000000000000000000000000000000000000000082169003611d57575b80600003611878575060001901600081815260046020526040902054611d36565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805490829003611dc9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611e7857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611e40565b5081600003611eb3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b6000611ec783611cea565b905080600080611ee586600090815260066020526040902080549091565b915091508415611f3e57611efa818433610e2d565b611f3e57611f0883336108c8565b611f3e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015611f4957600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c0300000000000000000000000000000000000000000000000000000000176000878152600460205260408120919091557c020000000000000000000000000000000000000000000000000000000085169003612009576001860160008181526004602052604081205490036120075760005481146120075760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b60008261205f86868561232f565b1495945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610ff490849061237b565b600f80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b0384166000908152600a60205260408120549091839161217d9086612b72565b6121879190612b89565b6119be9190612bc4565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a02906121df903390899088908890600401612bd7565b6020604051808303816000875af192505050801561221a575060408051601f3d908101601f1916820190925261221791810190612c13565b60015b612291573d808015612248576040519150601f19603f3d011682016040523d82523d6000602084013e61224d565b606091505b508051600003612289576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506119be565b606060158054610a209061295f565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806123055750819003601f19909101908152919050565b600081815b848110156123725761235e8287878481811061235257612352612afb565b90506020020135612460565b91508061236a81612c30565b915050612334565b50949350505050565b60006123d0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661248c9092919063ffffffff16565b805190915015610ff457808060200190518101906123ee9190612c4a565b610ff45760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610c58565b600081831061247c576000828152602084905260409020611878565b5060009182526020526040902090565b60606119be8484600085856001600160a01b0385163b6124ee5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c58565b600080866001600160a01b0316858760405161250a9190612c67565b60006040518083038185875af1925050503d8060008114612547576040519150601f19603f3d011682016040523d82523d6000602084013e61254c565b606091505b509150915061255c828286612567565b979650505050505050565b60608315612576575081611878565b8251156125865782518084602001fd5b8160405162461bcd60e51b8152600401610c58919061263b565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461100b57600080fd5b6000602082840312156125e057600080fd5b8135611878816125a0565b60005b838110156126065781810151838201526020016125ee565b50506000910152565b600081518084526126278160208601602086016125eb565b601f01601f19169290920160200192915050565b602081526000611878602083018461260f565b60006020828403121561266057600080fd5b5035919050565b6001600160a01b038116811461100b57600080fd5b6000806040838503121561268f57600080fd5b823561269a81612667565b946020939093013593505050565b6000602082840312156126ba57600080fd5b813561187881612667565b6000806000606084860312156126da57600080fd5b83356126e581612667565b925060208401356126f581612667565b929592945050506040919091013590565b6000806020838503121561271957600080fd5b823567ffffffffffffffff8082111561273157600080fd5b818501915085601f83011261274557600080fd5b81358181111561275457600080fd5b86602082850101111561276657600080fd5b60209290920196919550909350505050565b6000806040838503121561278b57600080fd5b823561279681612667565b915060208301356127a681612667565b809150509250929050565b600080602083850312156127c457600080fd5b823567ffffffffffffffff808211156127dc57600080fd5b818501915085601f8301126127f057600080fd5b8135818111156127ff57600080fd5b8660208260051b850101111561276657600080fd5b801515811461100b57600080fd5b6000806040838503121561283557600080fd5b823561284081612667565b915060208301356127a681612814565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806080858703121561289557600080fd5b84356128a081612667565b935060208501356128b081612667565b925060408501359150606085013567ffffffffffffffff808211156128d457600080fd5b818701915087601f8301126128e857600080fd5b8135818111156128fa576128fa612850565b604051601f8201601f19908116603f0116810190838211818310171561292257612922612850565b816040528281528a602084870101111561293b57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600181811c9082168061297357607f821691505b6020821081036129ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610a0b57610a0b6129b2565b601f821115610ff457600081815260208120601f850160051c81016020861015612a1b5750805b601f850160051c820191505b81811015610fd757828155600101612a27565b67ffffffffffffffff831115612a5257612a52612850565b612a6683612a60835461295f565b836129f4565b6000601f841160018114612a9a5760008515612a825750838201355b600019600387901b1c1916600186901b178355612af4565b600083815260209020601f19861690835b82811015612acb5786850135825560209485019460019092019101612aab565b5086821015612ae85760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215612b3c57600080fd5b5051919050565b60008351612b558184602088016125eb565b835190830190612b698183602088016125eb565b01949350505050565b8082028115828204841417610a0b57610a0b6129b2565b600082612bbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610a0b57610a0b6129b2565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c09608083018461260f565b9695505050505050565b600060208284031215612c2557600080fd5b8151611878816125a0565b60006000198203612c4357612c436129b2565b5060010190565b600060208284031215612c5c57600080fd5b815161187881612814565b60008251612c798184602087016125eb565b919091019291505056fea26469706673582212206d668847a4dc88a4ad062a6ab340dd81597d0f4e4eaea030a466744e6bee2dcb64736f6c63430008110033697066733a2f2f516d58385537353374576f794537327347546d5332375a46435277626e366a456f75377a47507a5738546b5279482f

Deployed Bytecode

0x60806040526004361061030c5760003560e01c8063715018a61161019a578063a3f8eace116100e1578063d5abeb011161008a578063e985e9c511610064578063e985e9c5146108ad578063f2fde38b146108f6578063f516a2e61461091657600080fd5b8063d5abeb011461084c578063d79779b214610862578063e33b7de31461089857600080fd5b8063c87b56dd116100bb578063c87b56dd146107e1578063ce7c2ac214610801578063d3dd5fe01461083757600080fd5b8063a3f8eace1461078e578063b88d4fde146107ae578063c45ac050146107c157600080fd5b806391b7f5ed116101435780639852595c1161011d5780639852595c14610722578063a035b1fe14610758578063a22cb4651461076e57600080fd5b806391b7f5ed146106cd57806395d89b41146106ed578063963c35461461070257600080fd5b80638b83209b116101745780638b83209b146106875780638c874ebd146106a75780638da5cb5b146106af57600080fd5b8063715018a61461063d5780637cb64759146106525780637e15144b1461067257600080fd5b806333f88d221161025e57806344d84381116102075780636352211e116101e15780636352211e146105dd5780636f8b44b0146105fd57806370a082311461061d57600080fd5b806344d843811461058b57806348b750441461059e5780634b4687b5146105be57600080fd5b8063406072a911610238578063406072a91461051257806342842e0e1461055857806342966c681461056b57600080fd5b806333f88d22146104bd57806335e061fc146104dd5780633a98ef39146104fd57600080fd5b806319165587116102c057806324bbd0491161029a57806324bbd0491461046d5780632eb4a7ab1461048757806330176e131461049d57600080fd5b8063191655871461042557806322dcb0a71461044557806323b872dd1461045a57600080fd5b8063081812fc116102f1578063081812fc146103b1578063095ea7b3146103e957806318160ddd146103fe57600080fd5b806301ffc9a71461035a57806306fdde031461038f57600080fd5b36610355577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561036657600080fd5b5061037a6103753660046125ce565b61092c565b60405190151581526020015b60405180910390f35b34801561039b57600080fd5b506103a4610a11565b604051610386919061263b565b3480156103bd57600080fd5b506103d16103cc36600461264e565b610aa3565b6040516001600160a01b039091168152602001610386565b6103fc6103f736600461267c565b610b00565b005b34801561040a57600080fd5b5060015460005403600019015b604051908152602001610386565b34801561043157600080fd5b506103fc6104403660046126a8565b610bd1565b34801561045157600080fd5b506103fc610d7b565b6103fc6104683660046126c5565b610dbe565b34801561047957600080fd5b5060145461037a9060ff1681565b34801561049357600080fd5b5061041760135481565b3480156104a957600080fd5b506103fc6104b8366004612706565b610fdf565b3480156104c957600080fd5b506103fc6104d836600461264e565b610ff9565b3480156104e957600080fd5b5060145461037a9062010000900460ff1681565b34801561050957600080fd5b50600854610417565b34801561051e57600080fd5b5061041761052d366004612778565b6001600160a01b039182166000908152600e6020908152604080832093909416825291909152205490565b6103fc6105663660046126c5565b61100e565b34801561057757600080fd5b506103fc61058636600461264e565b611029565b6103fc6105993660046127b1565b61108c565b3480156105aa57600080fd5b506103fc6105b9366004612778565b6112bf565b3480156105ca57600080fd5b5060145461037a90610100900460ff1681565b3480156105e957600080fd5b506103d16105f836600461264e565b61148e565b34801561060957600080fd5b506103fc61061836600461264e565b611499565b34801561062957600080fd5b506104176106383660046126a8565b6114a6565b34801561064957600080fd5b506103fc61150e565b34801561065e57600080fd5b506103fc61066d36600461264e565b611522565b34801561067e57600080fd5b506103fc61152f565b34801561069357600080fd5b506103d16106a236600461264e565b611571565b6103fc6115a1565b3480156106bb57600080fd5b50600f546001600160a01b03166103d1565b3480156106d957600080fd5b506103fc6106e836600461264e565b611784565b3480156106f957600080fd5b506103a4611791565b34801561070e57600080fd5b506103fc61071d36600461264e565b6117a0565b34801561072e57600080fd5b5061041761073d3660046126a8565b6001600160a01b03166000908152600b602052604090205490565b34801561076457600080fd5b5061041760125481565b34801561077a57600080fd5b506103fc610789366004612822565b6117ad565b34801561079a57600080fd5b506104176107a93660046126a8565b611837565b6103fc6107bc36600461287f565b61187f565b3480156107cd57600080fd5b506104176107dc366004612778565b6118e2565b3480156107ed57600080fd5b506103a46107fc36600461264e565b6119c6565b34801561080d57600080fd5b5061041761081c3660046126a8565b6001600160a01b03166000908152600a602052604090205490565b34801561084357600080fd5b506103fc611a62565b34801561085857600080fd5b5061041760105481565b34801561086e57600080fd5b5061041761087d3660046126a8565b6001600160a01b03166000908152600d602052604090205490565b3480156108a457600080fd5b50600954610417565b3480156108b957600080fd5b5061037a6108c8366004612778565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561090257600080fd5b506103fc6109113660046126a8565b611a9c565b34801561092257600080fd5b5061041760115481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614806109bf57507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b80610a0b57507f5b5e139f000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060028054610a209061295f565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4c9061295f565b8015610a995780601f10610a6e57610100808354040283529160200191610a99565b820191906000526020600020905b815481529060010190602001808311610a7c57829003601f168201915b5050505050905090565b6000610aae82611b29565b610ae4576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b0b8261148e565b9050336001600160a01b03821614610b5d57610b2781336108c8565b610b5d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600a6020526040902054610c615760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f736861726573000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6000610c6c82611837565b905080600003610ce45760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610c58565b6001600160a01b0382166000908152600b602052604081208054839290610d0c9084906129e1565b925050819055508060096000828254610d2591906129e1565b90915550610d3590508282611b77565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b610d83611c90565b601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff8116620100009182900460ff1615909102179055565b6000610dc982611cea565b9050836001600160a01b0316816001600160a01b031614610e16576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054610e428187335b6001600160a01b039081169116811491141790565b610e8657610e5086336108c8565b610e86576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516610ec6576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015610ed157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600460205260408120919091557c020000000000000000000000000000000000000000000000000000000084169003610f9557600184016000818152600460205260408120549003610f93576000548114610f935760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610fe7611c90565b6015610ff4828483612a3a565b505050565b611001611c90565b61100b3382611d8b565b50565b610ff48383836040518060200160405280600081525061187f565b60145462010000900460ff166110815760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420416c6c6f7765640000000000000000000000000000000000000000006044820152606401610c58565b61100b816001611ebc565b60145460ff166110de5760405162461bcd60e51b815260206004820152600d60248201527f4d696e74204e6f74204f70656e000000000000000000000000000000000000006044820152606401610c58565b6013546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b16602082015261113691849184919060340160405160208183030381529060405280519060200120612051565b6111825760405162461bcd60e51b815260206004820152600d60248201527f50726f6f6620696e76616c6964000000000000000000000000000000000000006044820152606401610c58565b6012543410156111d45760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610c58565b601054600054600019016111e99060016129e1565b11156112375760405162461bcd60e51b815260206004820152600a60248201527f4d617820537570706c79000000000000000000000000000000000000000000006044820152606401610c58565b601154336000908152600560205260409081902054611262911c67ffffffffffffffff1660016129e1565b11156112b05760405162461bcd60e51b815260206004820152600c60248201527f4f7574204f66204d696e747300000000000000000000000000000000000000006044820152606401610c58565b6112bb336001611d8b565b5050565b6001600160a01b0381166000908152600a602052604090205461134a5760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f73686172657300000000000000000000000000000000000000000000000000006064820152608401610c58565b600061135683836118e2565b9050806000036113ce5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e740000000000000000000000000000000000000000006064820152608401610c58565b6001600160a01b038084166000908152600e60209081526040808320938616835292905290812080548392906114059084906129e1565b90915550506001600160a01b0383166000908152600d6020526040812080548392906114329084906129e1565b909155506114439050838383612069565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6000610a0b82611cea565b6114a1611c90565b601055565b60006001600160a01b0382166114e8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b611516611c90565b61152060006120e9565b565b61152a611c90565b601355565b611537611c90565b601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b6000600c828154811061158657611586612afb565b6000918252602090912001546001600160a01b031692915050565b60145460ff166115f35760405162461bcd60e51b815260206004820152600d60248201527f4d696e74204e6f74204f70656e000000000000000000000000000000000000006044820152606401610c58565b601454610100900460ff161561164b5760405162461bcd60e51b815260206004820152600e60248201527f4f6e6c792057686974656c6973740000000000000000000000000000000000006044820152606401610c58565b60125434101561169d5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610c58565b601054600054600019016116b29060016129e1565b11156117005760405162461bcd60e51b815260206004820152600a60248201527f4d617820537570706c79000000000000000000000000000000000000000000006044820152606401610c58565b60115433600090815260056020526040908190205461172b911c67ffffffffffffffff1660016129e1565b11156117795760405162461bcd60e51b815260206004820152600c60248201527f4f7574204f66204d696e747300000000000000000000000000000000000000006044820152606401610c58565b611520336001611d8b565b61178c611c90565b601255565b606060038054610a209061295f565b6117a8611c90565b601155565b3360008181526007602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008061184360095490565b61184d90476129e1565b90506118788382611873866001600160a01b03166000908152600b602052604090205490565b612153565b9392505050565b61188a848484610dbe565b6001600160a01b0383163b156118dc576118a684848484612191565b6118dc576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6001600160a01b0382166000908152600d602052604081205481906040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa15801561195a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197e9190612b2a565b61198891906129e1565b6001600160a01b038086166000908152600e60209081526040808320938816835292905220549091506119be9084908390612153565b949350505050565b60606119d182611b29565b611a07576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611a116122dc565b90508051600003611a315760405180602001604052806000815250611878565b80611a3b846122eb565b604051602001611a4c929190612b43565b6040516020818303038152906040529392505050565b611a6a611c90565b601480547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b611aa4611c90565b6001600160a01b038116611b205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c58565b61100b816120e9565b600081600111158015611b3d575060005482105b8015610a0b5750506000908152600460205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b80471015611bc75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c58565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c14576040519150601f19603f3d011682016040523d82523d6000602084013e611c19565b606091505b5050905080610ff45760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c58565b600f546001600160a01b031633146115205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c58565b60008180600111611d5957600054811015611d5957600081815260046020526040812054907c010000000000000000000000000000000000000000000000000000000082169003611d57575b80600003611878575060001901600081815260046020526040902054611d36565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000805490829003611dc9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611e7857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611e40565b5081600003611eb3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005550505050565b6000611ec783611cea565b905080600080611ee586600090815260066020526040902080549091565b915091508415611f3e57611efa818433610e2d565b611f3e57611f0883336108c8565b611f3e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8015611f4957600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b177c0300000000000000000000000000000000000000000000000000000000176000878152600460205260408120919091557c020000000000000000000000000000000000000000000000000000000085169003612009576001860160008181526004602052604081205490036120075760005481146120075760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b60008261205f86868561232f565b1495945050505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610ff490849061237b565b600f80546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b0384166000908152600a60205260408120549091839161217d9086612b72565b6121879190612b89565b6119be9190612bc4565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a02906121df903390899088908890600401612bd7565b6020604051808303816000875af192505050801561221a575060408051601f3d908101601f1916820190925261221791810190612c13565b60015b612291573d808015612248576040519150601f19603f3d011682016040523d82523d6000602084013e61224d565b606091505b508051600003612289576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506119be565b606060158054610a209061295f565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806123055750819003601f19909101908152919050565b600081815b848110156123725761235e8287878481811061235257612352612afb565b90506020020135612460565b91508061236a81612c30565b915050612334565b50949350505050565b60006123d0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661248c9092919063ffffffff16565b805190915015610ff457808060200190518101906123ee9190612c4a565b610ff45760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610c58565b600081831061247c576000828152602084905260409020611878565b5060009182526020526040902090565b60606119be8484600085856001600160a01b0385163b6124ee5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c58565b600080866001600160a01b0316858760405161250a9190612c67565b60006040518083038185875af1925050503d8060008114612547576040519150601f19603f3d011682016040523d82523d6000602084013e61254c565b606091505b509150915061255c828286612567565b979650505050505050565b60608315612576575081611878565b8251156125865782518084602001fd5b8160405162461bcd60e51b8152600401610c58919061263b565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461100b57600080fd5b6000602082840312156125e057600080fd5b8135611878816125a0565b60005b838110156126065781810151838201526020016125ee565b50506000910152565b600081518084526126278160208601602086016125eb565b601f01601f19169290920160200192915050565b602081526000611878602083018461260f565b60006020828403121561266057600080fd5b5035919050565b6001600160a01b038116811461100b57600080fd5b6000806040838503121561268f57600080fd5b823561269a81612667565b946020939093013593505050565b6000602082840312156126ba57600080fd5b813561187881612667565b6000806000606084860312156126da57600080fd5b83356126e581612667565b925060208401356126f581612667565b929592945050506040919091013590565b6000806020838503121561271957600080fd5b823567ffffffffffffffff8082111561273157600080fd5b818501915085601f83011261274557600080fd5b81358181111561275457600080fd5b86602082850101111561276657600080fd5b60209290920196919550909350505050565b6000806040838503121561278b57600080fd5b823561279681612667565b915060208301356127a681612667565b809150509250929050565b600080602083850312156127c457600080fd5b823567ffffffffffffffff808211156127dc57600080fd5b818501915085601f8301126127f057600080fd5b8135818111156127ff57600080fd5b8660208260051b850101111561276657600080fd5b801515811461100b57600080fd5b6000806040838503121561283557600080fd5b823561284081612667565b915060208301356127a681612814565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000806000806080858703121561289557600080fd5b84356128a081612667565b935060208501356128b081612667565b925060408501359150606085013567ffffffffffffffff808211156128d457600080fd5b818701915087601f8301126128e857600080fd5b8135818111156128fa576128fa612850565b604051601f8201601f19908116603f0116810190838211818310171561292257612922612850565b816040528281528a602084870101111561293b57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600181811c9082168061297357607f821691505b6020821081036129ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b80820180821115610a0b57610a0b6129b2565b601f821115610ff457600081815260208120601f850160051c81016020861015612a1b5750805b601f850160051c820191505b81811015610fd757828155600101612a27565b67ffffffffffffffff831115612a5257612a52612850565b612a6683612a60835461295f565b836129f4565b6000601f841160018114612a9a5760008515612a825750838201355b600019600387901b1c1916600186901b178355612af4565b600083815260209020601f19861690835b82811015612acb5786850135825560209485019460019092019101612aab565b5086821015612ae85760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215612b3c57600080fd5b5051919050565b60008351612b558184602088016125eb565b835190830190612b698183602088016125eb565b01949350505050565b8082028115828204841417610a0b57610a0b6129b2565b600082612bbf577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610a0b57610a0b6129b2565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c09608083018461260f565b9695505050505050565b600060208284031215612c2557600080fd5b8151611878816125a0565b60006000198203612c4357612c436129b2565b5060010190565b600060208284031215612c5c57600080fd5b815161187881612814565b60008251612c798184602087016125eb565b919091019291505056fea26469706673582212206d668847a4dc88a4ad062a6ab340dd81597d0f4e4eaea030a466744e6bee2dcb64736f6c63430008110033

Deployed Bytecode Sourcemap

91002:2990:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22919:40;19420:10;22919:40;;;-1:-1:-1;;;;;206:55:1;;;188:74;;22949:9:0;293:2:1;278:18;;271:34;161:18;22919:40:0;;;;;;;91002:2990;;;;;57564:639;;;;;;;;;;-1:-1:-1;57564:639:0;;;;;:::i;:::-;;:::i;:::-;;;913:14:1;;906:22;888:41;;876:2;861:18;57564:639:0;;;;;;;;58466:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;64957:218::-;;;;;;;;;;-1:-1:-1;64957:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2104:55:1;;;2086:74;;2074:2;2059:18;64957:218:0;1940:226:1;64390:408:0;;;;;;:::i;:::-;;:::i;:::-;;54217:323;;;;;;;;;;-1:-1:-1;93978:1:0;54491:12;54278:7;54475:13;:28;-1:-1:-1;;54475:46:0;54217:323;;;2796:25:1;;;2784:2;2769:18;54217:323:0;2650:177:1;25440:453:0;;;;;;;;;;-1:-1:-1;25440:453:0;;;;;:::i;:::-;;:::i;91977:85::-;;;;;;;;;;;;;:::i;68596:2825::-;;;;;;:::i;:::-;;:::i;91220:28::-;;;;;;;;;;-1:-1:-1;91220:28:0;;;;;;;;91186:25;;;;;;;;;;;;;;;;92074:104;;;;;;;;;;-1:-1:-1;92074:104:0;;;;;:::i;:::-;;:::i;93644:97::-;;;;;;;;;;-1:-1:-1;93644:97:0;;;;;:::i;:::-;;:::i;91294:29::-;;;;;;;;;;-1:-1:-1;91294:29:0;;;;;;;;;;;23050:91;;;;;;;;;;-1:-1:-1;23121:12:0;;23050:91;;24179:135;;;;;;;;;;-1:-1:-1;24179:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;24276:21:0;;;24249:7;24276:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;24179:135;71517:193;;;;;;:::i;:::-;;:::i;93749:129::-;;;;;;;;;;-1:-1:-1;93749:129:0;;;;;:::i;:::-;;:::i;92749:495::-;;;;;;:::i;:::-;;:::i;26161:514::-;;;;;;;;;;-1:-1:-1;26161:514:0;;;;;:::i;:::-;;:::i;91255:32::-;;;;;;;;;;-1:-1:-1;91255:32:0;;;;;;;;;;;59859:152;;;;;;;;;;-1:-1:-1;59859:152:0;;;;;:::i;:::-;;:::i;92277:99::-;;;;;;;;;;-1:-1:-1;92277:99:0;;;;;:::i;:::-;;:::i;55401:233::-;;;;;;;;;;-1:-1:-1;55401:233:0;;;;;:::i;:::-;;:::i;29656:103::-;;;;;;;;;;;;;:::i;92636:105::-;;;;;;;;;;-1:-1:-1;92636:105:0;;;;;:::i;:::-;;:::i;91874:95::-;;;;;;;;;;;;;:::i;24405:100::-;;;;;;;;;;-1:-1:-1;24405:100:0;;;;;:::i;:::-;;:::i;93252:384::-;;;:::i;29008:87::-;;;;;;;;;;-1:-1:-1;29081:6:0;;-1:-1:-1;;;;;29081:6:0;29008:87;;92186:83;;;;;;;;;;-1:-1:-1;92186:83:0;;;;;:::i;:::-;;:::i;58642:104::-;;;;;;;;;;;;;:::i;92384:131::-;;;;;;;;;;-1:-1:-1;92384:131:0;;;;;:::i;:::-;;:::i;23901:109::-;;;;;;;;;;-1:-1:-1;23901:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;23984:18:0;23957:7;23984:18;;;:9;:18;;;;;;;23901:109;91147:30;;;;;;;;;;;;;;;;65515:234;;;;;;;;;;-1:-1:-1;65515:234:0;;;;;:::i;:::-;;:::i;24595:225::-;;;;;;;;;;-1:-1:-1;24595:225:0;;;;;:::i;:::-;;:::i;72308:407::-;;;;;;:::i;:::-;;:::i;24980:260::-;;;;;;;;;;-1:-1:-1;24980:260:0;;;;;:::i;:::-;;:::i;58852:318::-;;;;;;;;;;-1:-1:-1;58852:318:0;;;;;:::i;:::-;;:::i;23697:105::-;;;;;;;;;;-1:-1:-1;23697:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;23778:16:0;23751:7;23778:16;;;:7;:16;;;;;;;23697:105;91786:80;;;;;;;;;;;;;:::i;91072:28::-;;;;;;;;;;;;;;;;23487:119;;;;;;;;;;-1:-1:-1;23487:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;23572:26:0;23545:7;23572:26;;;:19;:26;;;;;;;23487:119;23235:95;;;;;;;;;;-1:-1:-1;23308:14:0;;23235:95;;65906:164;;;;;;;;;;-1:-1:-1;65906:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;66027:25:0;;;66003:4;66027:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;65906:164;29914:201;;;;;;;;;;-1:-1:-1;29914:201:0;;;;;:::i;:::-;;:::i;91107:33::-;;;;;;;;;;;;;;;;57564:639;57649:4;57973:25;;;;;;:102;;-1:-1:-1;58050:25:0;;;;;57973:102;:179;;;-1:-1:-1;58127:25:0;;;;;57973:179;57953:199;57564:639;-1:-1:-1;;57564:639:0:o;58466:100::-;58520:13;58553:5;58546:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58466:100;:::o;64957:218::-;65033:7;65058:16;65066:7;65058;:16::i;:::-;65053:64;;65083:34;;;;;;;;;;;;;;65053:64;-1:-1:-1;65137:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;65137:30:0;;64957:218::o;64390:408::-;64479:13;64495:16;64503:7;64495;:16::i;:::-;64479:32;-1:-1:-1;19420:10:0;-1:-1:-1;;;;;64528:28:0;;;64524:175;;64576:44;64593:5;19420:10;65906:164;:::i;64576:44::-;64571:128;;64648:35;;;;;;;;;;;;;;64571:128;64711:24;;;;:15;:24;;;;;;:35;;;;-1:-1:-1;;;;;64711:35:0;;;;;;;;;64762:28;;64711:24;;64762:28;;;;;;;64468:330;64390:408;;:::o;25440:453::-;-1:-1:-1;;;;;25516:16:0;;25535:1;25516:16;;;:7;:16;;;;;;25508:71;;;;-1:-1:-1;;;25508:71:0;;9128:2:1;25508:71:0;;;9110:21:1;9167:2;9147:18;;;9140:30;9206:34;9186:18;;;9179:62;9277:8;9257:18;;;9250:36;9303:19;;25508:71:0;;;;;;;;;25592:15;25610:19;25621:7;25610:10;:19::i;:::-;25592:37;;25650:7;25661:1;25650:12;25642:68;;;;-1:-1:-1;;;25642:68:0;;9535:2:1;25642:68:0;;;9517:21:1;9574:2;9554:18;;;9547:30;9613:34;9593:18;;;9586:62;9684:13;9664:18;;;9657:41;9715:19;;25642:68:0;9333:407:1;25642:68:0;-1:-1:-1;;;;;25723:18:0;;;;;;:9;:18;;;;;:29;;25745:7;;25723:18;:29;;25745:7;;25723:29;:::i;:::-;;;;;;;;25781:7;25763:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;25801:35:0;;-1:-1:-1;25819:7:0;25828;25801:17;:35::i;:::-;25852:33;;;-1:-1:-1;;;;;206:55:1;;188:74;;293:2;278:18;;271:34;;;25852:33:0;;161:18:1;25852:33:0;;;;;;;25497:396;25440:453;:::o;91977:85::-;28894:13;:11;:13::i;:::-;92045:9:::1;::::0;;92032:22;;::::1;92045:9:::0;;;;::::1;;;92044:10;92032:22:::0;;::::1;;::::0;;91977:85::o;68596:2825::-;68738:27;68768;68787:7;68768:18;:27::i;:::-;68738:57;;68853:4;-1:-1:-1;;;;;68812:45:0;68828:19;-1:-1:-1;;;;;68812:45:0;;68808:86;;68866:28;;;;;;;;;;;;;;68808:86;68908:27;67704:24;;;:15;:24;;;;;67932:26;;69099:68;67932:26;69141:4;19420:10;69147:19;-1:-1:-1;;;;;67178:32:0;;;67022:28;;67307:20;;67329:30;;67304:56;;66719:659;69099:68;69094:180;;69187:43;69204:4;19420:10;65906:164;:::i;69187:43::-;69182:92;;69239:35;;;;;;;;;;;;;;69182:92;-1:-1:-1;;;;;69291:16:0;;69287:52;;69316:23;;;;;;;;;;;;;;69287:52;69488:15;69485:160;;;69628:1;69607:19;69600:30;69485:160;-1:-1:-1;;;;;70025:24:0;;;;;;;:18;:24;;;;;;70023:26;;-1:-1:-1;;70023:26:0;;;70094:22;;;;;;;;;70092:24;;-1:-1:-1;70092:24:0;;;63248:11;63223:23;63219:41;63206:63;50616:8;63206:63;70387:26;;;;:17;:26;;;;;:175;;;;50616:8;70682:47;;:52;;70678:627;;70787:1;70777:11;;70755:19;70910:30;;;:17;:30;;;;;;:35;;70906:384;;71048:13;;71033:11;:28;71029:242;;71195:30;;;;:17;:30;;;;;:52;;;71029:242;70736:569;70678:627;71352:7;71348:2;-1:-1:-1;;;;;71333:27:0;71342:4;-1:-1:-1;;;;;71333:27:0;;;;;;;;;;;71371:42;68727:2694;;;68596:2825;;;:::o;92074:104::-;28894:13;:11;:13::i;:::-;92151:12:::1;:19;92166:4:::0;;92151:12;:19:::1;:::i;:::-;;92074:104:::0;;:::o;93644:97::-;28894:13;:11;:13::i;:::-;93707:26:::1;93713:10;93725:7;93707:5;:26::i;:::-;93644:97:::0;:::o;71517:193::-;71663:39;71680:4;71686:2;71690:7;71663:39;;;;;;;;;;;;:16;:39::i;93749:129::-;93814:9;;;;;;;93806:33;;;;-1:-1:-1;;;93806:33:0;;12813:2:1;93806:33:0;;;12795:21:1;12852:2;12832:18;;;12825:30;12891:13;12871:18;;;12864:41;12922:18;;93806:33:0;12611:335:1;93806:33:0;93850:20;93856:7;93865:4;93850:5;:20::i;92749:495::-;92841:8;;;;92833:34;;;;-1:-1:-1;;;92833:34:0;;13153:2:1;92833:34:0;;;13135:21:1;13192:2;13172:18;;;13165:30;13231:15;13211:18;;;13204:43;13264:18;;92833:34:0;12951:337:1;92833:34:0;92927:10;;92948:28;;13455:66:1;92965:10:0;13442:2:1;13438:15;13434:88;92948:28:0;;;13422:101:1;92886:92:0;;92913:12;;;;92927:10;13539:12:1;;92948:28:0;;;;;;;;;;;;92938:39;;;;;;92886:26;:92::i;:::-;92878:118;;;;-1:-1:-1;;;92878:118:0;;13764:2:1;92878:118:0;;;13746:21:1;13803:2;13783:18;;;13776:30;13842:15;13822:18;;;13815:43;13875:18;;92878:118:0;13562:337:1;92878:118:0;93028:5;;93015:9;:18;;93007:47;;;;-1:-1:-1;;;93007:47:0;;14106:2:1;93007:47:0;;;14088:21:1;14145:2;14125:18;;;14118:30;14184:18;14164;;;14157:46;14220:18;;93007:47:0;13904:340:1;93007:47:0;93095:9;;54693:7;54884:13;-1:-1:-1;;54884:31:0;93073:18;;93090:1;93073:18;:::i;:::-;:31;;93065:54;;;;-1:-1:-1;;;93065:54:0;;14451:2:1;93065:54:0;;;14433:21:1;14490:2;14470:18;;;14463:30;14529:12;14509:18;;;14502:40;14559:18;;93065:54:0;14249:334:1;93065:54:0;93171:17;;93152:10;55777:7;55805:25;;;:18;:25;;49698:2;55805:25;;;;;93138:29;;55805:50;49560:13;55804:82;93166:1;93138:29;:::i;:::-;:50;;93130:75;;;;-1:-1:-1;;;93130:75:0;;14790:2:1;93130:75:0;;;14772:21:1;14829:2;14809:18;;;14802:30;14868:14;14848:18;;;14841:42;14900:18;;93130:75:0;14588:336:1;93130:75:0;93216:20;93222:10;93234:1;93216:5;:20::i;:::-;92749:495;;:::o;26161:514::-;-1:-1:-1;;;;;26243:16:0;;26262:1;26243:16;;;:7;:16;;;;;;26235:71;;;;-1:-1:-1;;;26235:71:0;;9128:2:1;26235:71:0;;;9110:21:1;9167:2;9147:18;;;9140:30;9206:34;9186:18;;;9179:62;9277:8;9257:18;;;9250:36;9303:19;;26235:71:0;8926:402:1;26235:71:0;26319:15;26337:26;26348:5;26355:7;26337:10;:26::i;:::-;26319:44;;26384:7;26395:1;26384:12;26376:68;;;;-1:-1:-1;;;26376:68:0;;9535:2:1;26376:68:0;;;9517:21:1;9574:2;9554:18;;;9547:30;9613:34;9593:18;;;9586:62;9684:13;9664:18;;;9657:41;9715:19;;26376:68:0;9333:407:1;26376:68:0;-1:-1:-1;;;;;26457:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;26491:7;;26457:21;:41;;26491:7;;26457:41;:::i;:::-;;;;-1:-1:-1;;;;;;;26509:26:0;;;;;;:19;:26;;;;;:37;;26539:7;;26509:26;:37;;26539:7;;26509:37;:::i;:::-;;;;-1:-1:-1;26559:47:0;;-1:-1:-1;26582:5:0;26589:7;26598;26559:22;:47::i;:::-;26622:45;;;-1:-1:-1;;;;;206:55:1;;;188:74;;293:2;278:18;;271:34;;;26622:45:0;;;;;161:18:1;26622:45:0;;;;;;;26224:451;26161:514;;:::o;59859:152::-;59931:7;59974:27;59993:7;59974:18;:27::i;92277:99::-;28894:13;:11;:13::i;:::-;92346:9:::1;:22:::0;92277:99::o;55401:233::-;55473:7;-1:-1:-1;;;;;55497:19:0;;55493:60;;55525:28;;;;;;;;;;;;;;55493:60;-1:-1:-1;;;;;;55571:25:0;;;;;:18;:25;;;;;;49560:13;55571:55;;55401:233::o;29656:103::-;28894:13;:11;:13::i;:::-;29721:30:::1;29748:1;29721:18;:30::i;:::-;29656:103::o:0;92636:105::-;28894:13;:11;:13::i;:::-;92709:10:::1;:24:::0;92636:105::o;91874:95::-;28894:13;:11;:13::i;:::-;91948::::1;::::0;;91931:30;;::::1;91948:13;::::0;;;::::1;;;91947:14;91931:30:::0;;::::1;;::::0;;91874:95::o;24405:100::-;24456:7;24483;24491:5;24483:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;24483:14:0;;24405:100;-1:-1:-1;;24405:100:0:o;93252:384::-;93310:8;;;;93302:34;;;;-1:-1:-1;;;93302:34:0;;13153:2:1;93302:34:0;;;13135:21:1;13192:2;13172:18;;;13165:30;13231:15;13211:18;;;13204:43;13264:18;;93302:34:0;12951:337:1;93302:34:0;93356:13;;;;;;;93355:14;93347:41;;;;-1:-1:-1;;;93347:41:0;;15320:2:1;93347:41:0;;;15302:21:1;15359:2;15339:18;;;15332:30;15398:16;15378:18;;;15371:44;15432:18;;93347:41:0;15118:338:1;93347:41:0;93420:5;;93407:9;:18;;93399:47;;;;-1:-1:-1;;;93399:47:0;;14106:2:1;93399:47:0;;;14088:21:1;14145:2;14125:18;;;14118:30;14184:18;14164;;;14157:46;14220:18;;93399:47:0;13904:340:1;93399:47:0;93487:9;;54693:7;54884:13;-1:-1:-1;;54884:31:0;93465:18;;93482:1;93465:18;:::i;:::-;:31;;93457:54;;;;-1:-1:-1;;;93457:54:0;;14451:2:1;93457:54:0;;;14433:21:1;14490:2;14470:18;;;14463:30;14529:12;14509:18;;;14502:40;14559:18;;93457:54:0;14249:334:1;93457:54:0;93563:17;;93544:10;55777:7;55805:25;;;:18;:25;;49698:2;55805:25;;;;;93530:29;;55805:50;49560:13;55804:82;93558:1;93530:29;:::i;:::-;:50;;93522:75;;;;-1:-1:-1;;;93522:75:0;;14790:2:1;93522:75:0;;;14772:21:1;14829:2;14809:18;;;14802:30;14868:14;14848:18;;;14841:42;14900:18;;93522:75:0;14588:336:1;93522:75:0;93608:20;93614:10;93626:1;93608:5;:20::i;92186:83::-;28894:13;:11;:13::i;:::-;92247:5:::1;:14:::0;92186:83::o;58642:104::-;58698:13;58731:7;58724:14;;;;;:::i;92384:131::-;28894:13;:11;:13::i;:::-;92469:17:::1;:38:::0;92384:131::o;65515:234::-;19420:10;65610:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;65610:49:0;;;;;;;;;;;;:60;;;;;;;;;;;;;65686:55;;888:41:1;;;65610:49:0;;19420:10;65686:55;;861:18:1;65686:55:0;;;;;;;65515:234;;:::o;24595:225::-;24653:7;24673:21;24721:15;23308:14;;;23235:95;24721:15;24697:39;;:21;:39;:::i;:::-;24673:63;;24754:58;24770:7;24779:13;24794:17;24803:7;-1:-1:-1;;;;;23984:18:0;23957:7;23984:18;;;:9;:18;;;;;;;23901:109;24794:17;24754:15;:58::i;:::-;24747:65;24595:225;-1:-1:-1;;;24595:225:0:o;72308:407::-;72483:31;72496:4;72502:2;72506:7;72483:12;:31::i;:::-;-1:-1:-1;;;;;72529:14:0;;;:19;72525:183;;72568:56;72599:4;72605:2;72609:7;72618:5;72568:30;:56::i;:::-;72563:145;;72652:40;;;;;;;;;;;;;;72563:145;72308:407;;;;:::o;24980:260::-;-1:-1:-1;;;;;23572:26:0;;25052:7;23572:26;;;:19;:26;;;;;;25052:7;;25096:30;;;;;25120:4;25096:30;;;2086:74:1;-1:-1:-1;;;;;25096:15:0;;;;;2059:18:1;;25096:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;24276:21:0;;;24249:7;24276:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;25072:77;;-1:-1:-1;25167:65:0;;25183:7;;25072:77;;24754:15;:58::i;25167:65::-;25160:72;24980:260;-1:-1:-1;;;;24980:260:0:o;58852:318::-;58925:13;58956:16;58964:7;58956;:16::i;:::-;58951:59;;58981:29;;;;;;;;;;;;;;58951:59;59023:21;59047:10;:8;:10::i;:::-;59023:34;;59081:7;59075:21;59100:1;59075:26;:87;;;;;;;;;;;;;;;;;59128:7;59137:18;59147:7;59137:9;:18::i;:::-;59111:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59068:94;58852:318;-1:-1:-1;;;58852:318:0:o;91786:80::-;28894:13;:11;:13::i;:::-;91850:8:::1;::::0;;91838:20;;::::1;91850:8;::::0;;::::1;91849:9;91838:20;::::0;;91786:80::o;29914:201::-;28894:13;:11;:13::i;:::-;-1:-1:-1;;;;;30003:22:0;::::1;29995:73;;;::::0;-1:-1:-1;;;29995:73:0;;16353:2:1;29995:73:0::1;::::0;::::1;16335:21:1::0;16392:2;16372:18;;;16365:30;16431:34;16411:18;;;16404:62;16502:8;16482:18;;;16475:36;16528:19;;29995:73:0::1;16151:402:1::0;29995:73:0::1;30079:28;30098:8;30079:18;:28::i;66328:282::-:0;66393:4;66449:7;93978:1;66430:26;;:66;;;;;66483:13;;66473:7;:23;66430:66;:153;;;;-1:-1:-1;;66534:26:0;;;;:17;:26;;;;;;50336:8;66534:44;:49;;66328:282::o;2854:317::-;2969:6;2944:21;:31;;2936:73;;;;-1:-1:-1;;;2936:73:0;;16760:2:1;2936:73:0;;;16742:21:1;16799:2;16779:18;;;16772:30;16838:31;16818:18;;;16811:59;16887:18;;2936:73:0;16558:353:1;2936:73:0;3023:12;3041:9;-1:-1:-1;;;;;3041:14:0;3063:6;3041:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3022:52;;;3093:7;3085:78;;;;-1:-1:-1;;;3085:78:0;;17328:2:1;3085:78:0;;;17310:21:1;17367:2;17347:18;;;17340:30;17406:34;17386:18;;;17379:62;17477:28;17457:18;;;17450:56;17523:19;;3085:78:0;17126:422:1;29173:132:0;29081:6;;-1:-1:-1;;;;;29081:6:0;19420:10;29237:23;29229:68;;;;-1:-1:-1;;;29229:68:0;;17755:2:1;29229:68:0;;;17737:21:1;;;17774:18;;;17767:30;17833:34;17813:18;;;17806:62;17885:18;;29229:68:0;17553:356:1;61014:1275:0;61081:7;61116;;93978:1;61165:23;61161:1061;;61218:13;;61211:4;:20;61207:1015;;;61256:14;61273:23;;;:17;:23;;;;;;;50336:8;61362:24;;:29;;61358:845;;62027:113;62034:6;62044:1;62034:11;62027:113;;-1:-1:-1;;;62105:6:0;62087:25;;;;:17;:25;;;;;;62027:113;;61358:845;61233:989;61207:1015;62250:31;;;;;;;;;;;;;;75977:2966;76050:20;76073:13;;;76101;;;76097:44;;76123:18;;;;;;;;;;;;;;76097:44;-1:-1:-1;;;;;76629:22:0;;;;;;:18;:22;;;;49698:2;76629:22;;;:71;;76667:32;76655:45;;76629:71;;;76943:31;;;:17;:31;;;;;-1:-1:-1;63679:15:0;;63653:24;63649:46;63248:11;63223:23;63219:41;63216:52;63206:63;;76943:173;;77178:23;;;;76943:31;;76629:22;;77943:25;76629:22;;77796:335;78457:1;78443:12;78439:20;78397:346;78498:3;78489:7;78486:16;78397:346;;78716:7;78706:8;78703:1;78676:25;78673:1;78670;78665:59;78551:1;78538:15;78397:346;;;78401:77;78776:8;78788:1;78776:13;78772:45;;78798:19;;;;;;;;;;;;;;78772:45;78834:13;:19;-1:-1:-1;92151:19:0::1;92074:104:::0;;:::o;83165:3081::-;83245:27;83275;83294:7;83275:18;:27::i;:::-;83245:57;-1:-1:-1;83245:57:0;83315:12;;83437:35;83464:7;67593:27;67704:24;;;:15;:24;;;;;67932:26;;67704:24;;67491:485;83437:35;83380:92;;;;83489:13;83485:316;;;83610:68;83635:15;83652:4;19420:10;83658:19;19340:98;83610:68;83605:184;;83702:43;83719:4;19420:10;65906:164;:::i;83702:43::-;83697:92;;83754:35;;;;;;;;;;;;;;83697:92;83957:15;83954:160;;;84097:1;84076:19;84069:30;83954:160;-1:-1:-1;;;;;84716:24:0;;;;;;:18;:24;;;;;:60;;84744:32;84716:60;;;63248:11;63223:23;63219:41;63206:63;85104:43;63206:63;85014:26;;;;:17;:26;;;;;:205;;;;50616:8;85339:47;;:52;;85335:627;;85444:1;85434:11;;85412:19;85567:30;;;:17;:30;;;;;;:35;;85563:384;;85705:13;;85690:11;:28;85686:242;;85852:30;;;;:17;:30;;;;;:52;;;85686:242;85393:569;85335:627;85990:35;;86017:7;;86013:1;;-1:-1:-1;;;;;85990:35:0;;;;;86013:1;;85990:35;-1:-1:-1;;86213:12:0;:14;;;;;;-1:-1:-1;;;;83165:3081:0:o;31990:208::-;32125:4;32186;32149:33;32170:5;;32177:4;32149:20;:33::i;:::-;:41;;31990:208;-1:-1:-1;;;;;31990:208:0:o;14871:211::-;15015:58;;;-1:-1:-1;;;;;206:55:1;;15015:58:0;;;188:74:1;278:18;;;;271:34;;;15015:58:0;;;;;;;;;;161:18:1;;;;15015:58:0;;;;;;;;;;15038:23;15015:58;;;14988:86;;15008:5;;14988:19;:86::i;30275:191::-;30368:6;;;-1:-1:-1;;;;;30385:17:0;;;;;;;;;;;30418:40;;30368:6;;;30385:17;30368:6;;30418:40;;30349:16;;30418:40;30338:128;30275:191;:::o;26853:248::-;27063:12;;-1:-1:-1;;;;;27043:16:0;;26999:7;27043:16;;;:7;:16;;;;;;26999:7;;27078:15;;27027:32;;:13;:32;:::i;:::-;27026:49;;;;:::i;:::-;:67;;;;:::i;74799:716::-;74983:88;;;;;74962:4;;-1:-1:-1;;;;;74983:45:0;;;;;:88;;19420:10;;75050:4;;75056:7;;75065:5;;74983:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74983:88:0;;;;;;;;-1:-1:-1;;74983:88:0;;;;;;;;;;;;:::i;:::-;;;74979:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75266:6;:13;75283:1;75266:18;75262:235;;75312:40;;;;;;;;;;;;;;75262:235;75455:6;75449:13;75440:6;75436:2;75432:15;75425:38;74979:529;75142:64;;75152:54;75142:64;;-1:-1:-1;75135:71:0;;92523:105;92575:13;92608:12;92601:19;;;;;:::i;88843:1745::-;88908:17;89342:4;89335;89329:11;89325:22;89434:1;89428:4;89421:15;89509:4;89506:1;89502:12;89495:19;;;89591:1;89586:3;89579:14;89695:3;89934:5;89916:428;89982:1;89977:3;89973:11;89966:18;;90153:2;90147:4;90143:13;90139:2;90135:22;90130:3;90122:36;90247:2;90237:13;;90304:25;89916:428;90304:25;-1:-1:-1;90374:13:0;;;-1:-1:-1;;90489:14:0;;;90551:19;;;90489:14;88843:1745;-1:-1:-1;88843:1745:0:o;32969:306::-;33062:7;33105:4;33062:7;33120:118;33140:16;;;33120:118;;;33193:33;33203:12;33217:5;;33223:1;33217:8;;;;;;;:::i;:::-;;;;;;;33193:9;:33::i;:::-;33178:48;-1:-1:-1;33158:3:0;;;;:::i;:::-;;;;33120:118;;;-1:-1:-1;33255:12:0;32969:306;-1:-1:-1;;;;32969:306:0:o;17938:716::-;18362:23;18388:69;18416:4;18388:69;;;;;;;;;;;;;;;;;18396:5;-1:-1:-1;;;;;18388:27:0;;;:69;;;;;:::i;:::-;18472:17;;18362:95;;-1:-1:-1;18472:21:0;18468:179;;18569:10;18558:30;;;;;;;;;;;;:::i;:::-;18550:85;;;;-1:-1:-1;;;18550:85:0;;19922:2:1;18550:85:0;;;19904:21:1;19961:2;19941:18;;;19934:30;20000:34;19980:18;;;19973:62;20071:12;20051:18;;;20044:40;20101:19;;18550:85:0;19720:406:1;38766:149:0;38829:7;38860:1;38856;:5;:51;;38991:13;39085:15;;;39121:4;39114:15;;;39168:4;39152:21;;38856:51;;;-1:-1:-1;38991:13:0;39085:15;;;39121:4;39114:15;39168:4;39152:21;;;38766:149::o;4338:229::-;4475:12;4507:52;4529:6;4537:4;4543:1;4546:12;4475;-1:-1:-1;;;;;1888:19:0;;;5745:60;;;;-1:-1:-1;;;5745:60:0;;20740:2:1;5745:60:0;;;20722:21:1;20779:2;20759:18;;;20752:30;20818:31;20798:18;;;20791:59;20867:18;;5745:60:0;20538:353:1;5745:60:0;5819:12;5833:23;5860:6;-1:-1:-1;;;;;5860:11:0;5879:5;5886:4;5860:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5818:73;;;;5909:51;5926:7;5935:10;5947:12;5909:16;:51::i;:::-;5902:58;5458:510;-1:-1:-1;;;;;;;5458:510:0:o;8144:762::-;8294:12;8323:7;8319:580;;;-1:-1:-1;8354:10:0;8347:17;;8319:580;8468:17;;:21;8464:424;;8716:10;8710:17;8777:15;8764:10;8760:2;8756:19;8749:44;8464:424;8859:12;8852:20;;-1:-1:-1;;;8852:20:0;;;;;;;;:::i;316:177:1:-;401:66;394:5;390:78;383:5;380:89;370:117;;483:1;480;473:12;498:245;556:6;609:2;597:9;588:7;584:23;580:32;577:52;;;625:1;622;615:12;577:52;664:9;651:23;683:30;707:5;683:30;:::i;940:250::-;1025:1;1035:113;1049:6;1046:1;1043:13;1035:113;;;1125:11;;;1119:18;1106:11;;;1099:39;1071:2;1064:10;1035:113;;;-1:-1:-1;;1182:1:1;1164:16;;1157:27;940:250::o;1195:330::-;1237:3;1275:5;1269:12;1302:6;1297:3;1290:19;1318:76;1387:6;1380:4;1375:3;1371:14;1364:4;1357:5;1353:16;1318:76;:::i;:::-;1439:2;1427:15;-1:-1:-1;;1423:88:1;1414:98;;;;1514:4;1410:109;;1195:330;-1:-1:-1;;1195:330:1:o;1530:220::-;1679:2;1668:9;1661:21;1642:4;1699:45;1740:2;1729:9;1725:18;1717:6;1699:45;:::i;1755:180::-;1814:6;1867:2;1855:9;1846:7;1842:23;1838:32;1835:52;;;1883:1;1880;1873:12;1835:52;-1:-1:-1;1906:23:1;;1755:180;-1:-1:-1;1755:180:1:o;2171:154::-;-1:-1:-1;;;;;2250:5:1;2246:54;2239:5;2236:65;2226:93;;2315:1;2312;2305:12;2330:315;2398:6;2406;2459:2;2447:9;2438:7;2434:23;2430:32;2427:52;;;2475:1;2472;2465:12;2427:52;2514:9;2501:23;2533:31;2558:5;2533:31;:::i;:::-;2583:5;2635:2;2620:18;;;;2607:32;;-1:-1:-1;;;2330:315:1:o;2832:255::-;2899:6;2952:2;2940:9;2931:7;2927:23;2923:32;2920:52;;;2968:1;2965;2958:12;2920:52;3007:9;2994:23;3026:31;3051:5;3026:31;:::i;3092:456::-;3169:6;3177;3185;3238:2;3226:9;3217:7;3213:23;3209:32;3206:52;;;3254:1;3251;3244:12;3206:52;3293:9;3280:23;3312:31;3337:5;3312:31;:::i;:::-;3362:5;-1:-1:-1;3419:2:1;3404:18;;3391:32;3432:33;3391:32;3432:33;:::i;:::-;3092:456;;3484:7;;-1:-1:-1;;;3538:2:1;3523:18;;;;3510:32;;3092:456::o;3735:592::-;3806:6;3814;3867:2;3855:9;3846:7;3842:23;3838:32;3835:52;;;3883:1;3880;3873:12;3835:52;3923:9;3910:23;3952:18;3993:2;3985:6;3982:14;3979:34;;;4009:1;4006;3999:12;3979:34;4047:6;4036:9;4032:22;4022:32;;4092:7;4085:4;4081:2;4077:13;4073:27;4063:55;;4114:1;4111;4104:12;4063:55;4154:2;4141:16;4180:2;4172:6;4169:14;4166:34;;;4196:1;4193;4186:12;4166:34;4241:7;4236:2;4227:6;4223:2;4219:15;4215:24;4212:37;4209:57;;;4262:1;4259;4252:12;4209:57;4293:2;4285:11;;;;;4315:6;;-1:-1:-1;3735:592:1;;-1:-1:-1;;;;3735:592:1:o;4332:402::-;4414:6;4422;4475:2;4463:9;4454:7;4450:23;4446:32;4443:52;;;4491:1;4488;4481:12;4443:52;4530:9;4517:23;4549:31;4574:5;4549:31;:::i;:::-;4599:5;-1:-1:-1;4656:2:1;4641:18;;4628:32;4669:33;4628:32;4669:33;:::i;:::-;4721:7;4711:17;;;4332:402;;;;;:::o;4739:615::-;4825:6;4833;4886:2;4874:9;4865:7;4861:23;4857:32;4854:52;;;4902:1;4899;4892:12;4854:52;4942:9;4929:23;4971:18;5012:2;5004:6;5001:14;4998:34;;;5028:1;5025;5018:12;4998:34;5066:6;5055:9;5051:22;5041:32;;5111:7;5104:4;5100:2;5096:13;5092:27;5082:55;;5133:1;5130;5123:12;5082:55;5173:2;5160:16;5199:2;5191:6;5188:14;5185:34;;;5215:1;5212;5205:12;5185:34;5268:7;5263:2;5253:6;5250:1;5246:14;5242:2;5238:23;5234:32;5231:45;5228:65;;;5289:1;5286;5279:12;5796:118;5882:5;5875:13;5868:21;5861:5;5858:32;5848:60;;5904:1;5901;5894:12;5919:382;5984:6;5992;6045:2;6033:9;6024:7;6020:23;6016:32;6013:52;;;6061:1;6058;6051:12;6013:52;6100:9;6087:23;6119:31;6144:5;6119:31;:::i;:::-;6169:5;-1:-1:-1;6226:2:1;6211:18;;6198:32;6239:30;6198:32;6239:30;:::i;6306:184::-;6358:77;6355:1;6348:88;6455:4;6452:1;6445:15;6479:4;6476:1;6469:15;6495:1325;6590:6;6598;6606;6614;6667:3;6655:9;6646:7;6642:23;6638:33;6635:53;;;6684:1;6681;6674:12;6635:53;6723:9;6710:23;6742:31;6767:5;6742:31;:::i;:::-;6792:5;-1:-1:-1;6849:2:1;6834:18;;6821:32;6862:33;6821:32;6862:33;:::i;:::-;6914:7;-1:-1:-1;6968:2:1;6953:18;;6940:32;;-1:-1:-1;7023:2:1;7008:18;;6995:32;7046:18;7076:14;;;7073:34;;;7103:1;7100;7093:12;7073:34;7141:6;7130:9;7126:22;7116:32;;7186:7;7179:4;7175:2;7171:13;7167:27;7157:55;;7208:1;7205;7198:12;7157:55;7244:2;7231:16;7266:2;7262;7259:10;7256:36;;;7272:18;;:::i;:::-;7406:2;7400:9;7468:4;7460:13;;-1:-1:-1;;7456:22:1;;;7480:2;7452:31;7448:40;7436:53;;;7504:18;;;7524:22;;;7501:46;7498:72;;;7550:18;;:::i;:::-;7590:10;7586:2;7579:22;7625:2;7617:6;7610:18;7665:7;7660:2;7655;7651;7647:11;7643:20;7640:33;7637:53;;;7686:1;7683;7676:12;7637:53;7742:2;7737;7733;7729:11;7724:2;7716:6;7712:15;7699:46;7787:1;7782:2;7777;7769:6;7765:15;7761:24;7754:35;7808:6;7798:16;;;;;;;6495:1325;;;;;;;:::o;8484:437::-;8563:1;8559:12;;;;8606;;;8627:61;;8681:4;8673:6;8669:17;8659:27;;8627:61;8734:2;8726:6;8723:14;8703:18;8700:38;8697:218;;8771:77;8768:1;8761:88;8872:4;8869:1;8862:15;8900:4;8897:1;8890:15;8697:218;;8484:437;;;:::o;9745:184::-;9797:77;9794:1;9787:88;9894:4;9891:1;9884:15;9918:4;9915:1;9908:15;9934:125;9999:9;;;10020:10;;;10017:36;;;10033:18;;:::i;10500:545::-;10602:2;10597:3;10594:11;10591:448;;;10638:1;10663:5;10659:2;10652:17;10708:4;10704:2;10694:19;10778:2;10766:10;10762:19;10759:1;10755:27;10749:4;10745:38;10814:4;10802:10;10799:20;10796:47;;;-1:-1:-1;10837:4:1;10796:47;10892:2;10887:3;10883:12;10880:1;10876:20;10870:4;10866:31;10856:41;;10947:82;10965:2;10958:5;10955:13;10947:82;;;11010:17;;;10991:1;10980:13;10947:82;;11281:1325;11405:18;11400:3;11397:27;11394:53;;;11427:18;;:::i;:::-;11456:94;11546:3;11506:38;11538:4;11532:11;11506:38;:::i;:::-;11500:4;11456:94;:::i;:::-;11576:1;11601:2;11596:3;11593:11;11618:1;11613:735;;;;12392:1;12409:3;12406:93;;;-1:-1:-1;12465:19:1;;;12452:33;12406:93;-1:-1:-1;;11178:1:1;11174:11;;;11170:84;11166:89;11156:100;11262:1;11258:11;;;11153:117;12512:78;;11586:1014;;11613:735;10447:1;10440:14;;;10484:4;10471:18;;-1:-1:-1;;11649:76:1;;;11809:9;11831:229;11845:7;11842:1;11839:14;11831:229;;;11934:19;;;11921:33;11906:49;;12041:4;12026:20;;;;11994:1;11982:14;;;;11861:12;11831:229;;;11835:3;12088;12079:7;12076:16;12073:219;;;-1:-1:-1;;12202:3:1;12196;12193:1;12189:11;12185:21;12181:94;12177:99;12164:9;12159:3;12155:19;12142:33;12138:139;12130:6;12123:155;12073:219;;;12335:1;12329:3;12326:1;12322:11;12318:19;12312:4;12305:33;11586:1014;;;11281:1325;;;:::o;14929:184::-;14981:77;14978:1;14971:88;15078:4;15075:1;15068:15;15102:4;15099:1;15092:15;15461:184;15531:6;15584:2;15572:9;15563:7;15559:23;15555:32;15552:52;;;15600:1;15597;15590:12;15552:52;-1:-1:-1;15623:16:1;;15461:184;-1:-1:-1;15461:184:1:o;15650:496::-;15829:3;15867:6;15861:13;15883:66;15942:6;15937:3;15930:4;15922:6;15918:17;15883:66;:::i;:::-;16012:13;;15971:16;;;;16034:70;16012:13;15971:16;16081:4;16069:17;;16034:70;:::i;:::-;16120:20;;15650:496;-1:-1:-1;;;;15650:496:1:o;17914:168::-;17987:9;;;18018;;18035:15;;;18029:22;;18015:37;18005:71;;18056:18;;:::i;18087:274::-;18127:1;18153;18143:189;;18188:77;18185:1;18178:88;18289:4;18286:1;18279:15;18317:4;18314:1;18307:15;18143:189;-1:-1:-1;18346:9:1;;18087:274::o;18366:128::-;18433:9;;;18454:11;;;18451:37;;;18468:18;;:::i;18499:512::-;18693:4;-1:-1:-1;;;;;18803:2:1;18795:6;18791:15;18780:9;18773:34;18855:2;18847:6;18843:15;18838:2;18827:9;18823:18;18816:43;;18895:6;18890:2;18879:9;18875:18;18868:34;18938:3;18933:2;18922:9;18918:18;18911:31;18959:46;19000:3;18989:9;18985:19;18977:6;18959:46;:::i;:::-;18951:54;18499:512;-1:-1:-1;;;;;;18499:512:1:o;19016:249::-;19085:6;19138:2;19126:9;19117:7;19113:23;19109:32;19106:52;;;19154:1;19151;19144:12;19106:52;19186:9;19180:16;19205:30;19229:5;19205:30;:::i;19270:195::-;19309:3;-1:-1:-1;;19333:5:1;19330:77;19327:103;;19410:18;;:::i;:::-;-1:-1:-1;19457:1:1;19446:13;;19270:195::o;19470:245::-;19537:6;19590:2;19578:9;19569:7;19565:23;19561:32;19558:52;;;19606:1;19603;19596:12;19558:52;19638:9;19632:16;19657:28;19679:5;19657:28;:::i;20896:287::-;21025:3;21063:6;21057:13;21079:66;21138:6;21133:3;21126:4;21118:6;21114:17;21079:66;:::i;:::-;21161:16;;;;;20896:287;-1:-1:-1;;20896:287:1:o

Swarm Source

ipfs://6d668847a4dc88a4ad062a6ab340dd81597d0f4e4eaea030a466744e6bee2dcb
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.