ETH Price: $3,368.65 (+0.04%)

Token

ERC-420 Inscription (ERC-420 Inscription)
 

Overview

Max Total Supply

20,311 ERC-420 Inscription

Holders

2,418

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
10 ERC-420 Inscription
0xc79a73f28b252e0820e25df4b96ef381d732e5d5
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:
ERC420Inscription

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-12-27
*/

// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

// File: @openzeppelin/contracts/interfaces/IERC20.sol


// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;


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


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

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

// 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/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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/Address.sol


// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/interfaces/IERC165.sol


// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

// File: contracts/ERC721A.sol



pragma solidity ^0.8.0;









/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

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

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

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

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

  /**
   * @dev See {IERC721Enumerable-totalSupply}.
   */
  function totalSupply() public view override returns (uint256) {
    return currentIndex;
  }

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) public view override returns (uint256) {
    require(index < totalSupply(), "ERC721A: global index out of bounds");
    return index;
  }

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

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

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "ERC721A: balance query for the zero address");
    return uint256(_addressData[owner].balance);
  }

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

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

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

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

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

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

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

  /**
   * @dev See {IERC721-approve}.
   */
  function approve(address to, uint256 tokenId) public override {
    address owner = ERC721A.ownerOf(tokenId);
    require(to != owner, "ERC721A: approval to current owner");

    require(
      _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
      "ERC721A: approve caller is not owner nor approved for all"
    );

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

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

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

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

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: transfer to non ERC721Receiver implementer"
    );
  }

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

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

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

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

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

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

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

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > collectionSize - 1) {
      endIndex = collectionSize - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

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

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * 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`.
   */
  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.
   *
   * 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` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

//SPDX-License-Identifier: MIT
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721)

pragma solidity ^0.8.0;



contract ERC420Inscription is ERC721A, Ownable, ReentrancyGuard {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private tokenCounter;

    string private baseURI = "https://oss.erc420.com/preview/erc420/json/";
    address private fundAddress = 0xfE743493dc7995326c678B0B73E33A0A5a73a4A1;
    address private erc420Address = 0x176d7F532d63Fb6893bCa4FEd1F6fC657a8152F4;
    address private pioneerAddress = 0x2ba16A3609D78e045dF6459b84b0ABE0F2938AB0;


    mapping(address => uint256) public walletMintCount;
    mapping(address => bool) public whitelist;


    uint256 public constant MAX_MINTS_PER_TX = 10;
    uint256 public maxMintAmountfreePerTx = 0;
    uint256 public maxMintAmountfreePerWallet = 10;
    uint256 public maxSupply = 21000;

    uint256 public PUBLIC_SALE_PRICE = 0.005 ether;
    uint256 public NUM_FREE_MINTS = 0;
    uint256 public maxMintAmountPerWallet = 10;

    bool public isPublicSaleActive = false;
    bool public iswhitelistSaleActive = false;


    // ============ ACCESS CONTROL/SANITY MODIFIERS ============

    modifier publicSaleActive() {
        require(isPublicSaleActive, "Public sale is not open");
        _;
    }

    modifier whitelistSaleActive() {
        require(iswhitelistSaleActive, "whitelist sale is not open");
        _;
    }

modifier erc420Active() {
    require(
        whitelist[msg.sender] ||
        IERC721(erc420Address).balanceOf(msg.sender) > 0 ||
        IERC721(pioneerAddress).balanceOf(msg.sender) > 0,
        "only ERC420 owner or owner of Pioneer NFT"
    );
    _;
}



  modifier maxMintsPerTX(uint256 numberOfTokens) {
        require(
            numberOfTokens <= MAX_MINTS_PER_TX,
            "Max mints per transaction exceeded"
        );
        _;
    }

    modifier canMintNFTs(uint256 numberOfTokens) {

        require(
            totalSupply() + numberOfTokens <=
                maxSupply,
            "Not enough mints remaining to mint"
        );
        _;
    }

    modifier freeMintsAvailable() {
        require(
            totalSupply() <=
                NUM_FREE_MINTS,
            "Not enough free mints remain"
        );
        _;
    }



    modifier isCorrectPayment(uint256 price, uint256 numberOfTokens) {
        if(totalSupply()+numberOfTokens>NUM_FREE_MINTS){
        require(
            (price * numberOfTokens) == msg.value,
            "Incorrect ETH value sent"
        );
        require(numberOfTokens +  walletMintCount[_msgSender()] 
            <= maxMintAmountPerWallet, "Max mints per wallet met");

        }else{
            require(maxMintAmountfreePerTx >= numberOfTokens , "Excess max per free tx");
            require(numberOfTokens +  walletMintCount[_msgSender()] 
            <= maxMintAmountfreePerWallet, "Max mints per wallet met");
        }
        _;
    }


    constructor(
    ) ERC721A("ERC-420 Inscription", "ERC-420 Inscription", 100, maxSupply) {
    }
                                                                                                                        
    // ============ PUBLIC FUNCTIONS FOR MINTING ============

    function mint(uint256 numberOfTokens)
        external
        payable
        nonReentrant
        isCorrectPayment(PUBLIC_SALE_PRICE, numberOfTokens)
        publicSaleActive
        canMintNFTs(numberOfTokens)
        maxMintsPerTX(numberOfTokens)
    {
        require(walletMintCount[_msgSender()] 
        < maxMintAmountPerWallet, 'Max mints per wallet met');
         walletMintCount[_msgSender()] += numberOfTokens;
        _safeMint(msg.sender, numberOfTokens);

         uint256 vals = address(this).balance;
         payable(fundAddress).transfer(vals);
    }

    function whitelistmint(uint256 numberOfTokens)
        external
        payable
        nonReentrant
        isCorrectPayment(PUBLIC_SALE_PRICE, numberOfTokens)
        whitelistSaleActive
        erc420Active
        canMintNFTs(numberOfTokens)
        maxMintsPerTX(numberOfTokens)
    {
        require(walletMintCount[_msgSender()] 
        < maxMintAmountPerWallet, 'Max mints per wallet met');
         walletMintCount[_msgSender()] += numberOfTokens;
        _safeMint(msg.sender, numberOfTokens);

         uint256 vals = address(this).balance;
         payable(fundAddress).transfer(vals);
    }



    //A simple free mint function to avoid confusion
    //The normal mint function with a cost of 0 would work too

    // ============ PUBLIC READ-ONLY FUNCTIONS ============

    function getBaseURI() external view returns (string memory) {
        return baseURI;
    }

    // ============ OWNER-ONLY ADMIN FUNCTIONS ============

    function setBaseURI(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function addToWhitelist(address[] memory addresses) external onlyOwner {
      for (uint256 i = 0; i < addresses.length; i++) {
          whitelist[addresses[i]] = true;
      }
    }

    function removeFromWhitelist(address[] memory addresses) external onlyOwner {
      for (uint256 i = 0; i < addresses.length; i++) {
         whitelist[addresses[i]] = false;
      }
    }

    
    function setIsPublicSaleActive(bool _isPublicSaleActive)
        external
        onlyOwner
    {
        isPublicSaleActive = _isPublicSaleActive;
    }

    function setIsWhitelistSaleActive(bool _iswhitelistSaleActive)
        external
        onlyOwner
    {
        iswhitelistSaleActive = _iswhitelistSaleActive;
    }


    function numfree(uint256 _numfreemints)
        external
        onlyOwner
    {
        NUM_FREE_MINTS = _numfreemints;
    }

    function nums(uint256 _min)
        external
        onlyOwner
    {
        PUBLIC_SALE_PRICE = _min;
    }

    function getTokensOfOwner(address owner)
        external
        view
        returns (uint256[] memory)
    {
        uint256 owned = balanceOf(owner);
        uint256[] memory tokens = new uint256[](owned);
        for (uint256 i = 0; i < owned; i++) {
            tokens[i] = tokenOfOwnerByIndex(owner, i);
        }

        return tokens;
    }

receive() external payable {}


    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function withdrawTokens(IERC20 token) public onlyOwner {
        uint256 balance = token.balanceOf(address(this));
        token.transfer(msg.sender, balance);
    }



    // ============ SUPPORTING FUNCTIONS ============

    function nextTokenId() private returns (uint256) {
        tokenCounter.increment();
        return tokenCounter.current();
    }

    /**
     * @dev Override isApprovedForAll to allowlist 
     */
    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        return super.isApprovedForAll(owner, operator);
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "Nonexistent token");

        return
            string(abi.encodePacked(baseURI, "/", (tokenId+1).toString(), ".json"));
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINTS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_FREE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getTokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"iswhitelistSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountfreePerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountfreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numfreemints","type":"uint256"}],"name":"numfree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_min","type":"uint256"}],"name":"nums","outputs":[],"stateMutability":"nonpayable","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":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_iswhitelistSaleActive","type":"bool"}],"name":"setIsWhitelistSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"whitelistmint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6000808055600755610120604052602b60c0818152906200323d60e039600b906200002b908262000336565b50600c80546001600160a01b031990811673fe743493dc7995326c678b0b73e33a0a5a73a4a117909155600d8054821673176d7f532d63fb6893bca4fed1f6fc657a8152f4179055600e8054909116732ba16a3609d78e045df6459b84b0abe0f2938ab017905560006011819055600a60128190556152086013556611c37937e080006014556015919091556016556017805461ffff19169055348015620000d257600080fd5b506040518060400160405280601381526020017222a921969a19181024b739b1b934b83a34b7b760691b8152506040518060400160405280601381526020017222a921969a19181024b739b1b934b83a34b7b760691b8152506064601354600081116200019d5760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001ff5760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840162000194565b60016200020d858262000336565b5060026200021c848262000336565b5060a09190915260805250620002349050336200023f565b600160095562000402565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002bc57607f821691505b602082108103620002dd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033157600081815260208120601f850160051c810160208610156200030c5750805b601f850160051c820191505b818110156200032d5782815560010162000318565b5050505b505050565b81516001600160401b0381111562000352576200035262000291565b6200036a81620003638454620002a7565b84620002e3565b602080601f831160018114620003a25760008415620003895750858301515b600019600386901b1c1916600185901b1785556200032d565b600085815260208120601f198616915b82811015620003d357888601518255948401946001909101908401620003b2565b5085821015620003f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051612e0a6200043360003960008181611ef401528181611f1e015261232c015260005050612e0a6000f3fe60806040526004361061026b5760003560e01c80637f64978311610144578063bc951b91116100b6578063da1601e21161007a578063da1601e2146106f6578063e985e9c514610715578063ed96a0c614610735578063f2fde38b14610755578063fd1ee54c14610775578063ffcb8dca1461079557600080fd5b8063bc951b911461067f578063c6a91b4214610695578063c87b56dd146106aa578063d5abeb01146106ca578063d7224ba0146106e057600080fd5b8063982d669e11610108578063982d669e146105d05780639b19251a146105e6578063a0712d6814610616578063a22cb46514610629578063b7154af114610649578063b88d4fde1461065f57600080fd5b80637f6497831461053a578063818c2abb1461055a5780638da5cb5b1461057057806393ecb0c61461058e57806395d89b41146105bb57600080fd5b80633ccfd60b116101dd57806355f804b3116101a157806355f804b3146104835780635de6dc55146104a35780636352211e146104d057806370a08231146104f0578063714c539814610510578063715018a61461052557600080fd5b80633ccfd60b146103ee57806342842e0e1461040357806349df728c146104235780634f6ccce714610443578063548db1741461046357600080fd5b80630991fa491161022f5780630991fa491461034c57806318160ddd1461035f5780631e84c4131461037457806323b872dd1461038e57806328cad13d146103ae5780632f745c59146103ce57600080fd5b806301ffc9a71461027757806306fdde03146102ac57806307e89ec0146102ce578063081812fc146102f2578063095ea7b31461032a57600080fd5b3661027257005b600080fd5b34801561028357600080fd5b5061029761029236600461255f565b6107b5565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610822565b6040516102a391906125cc565b3480156102da57600080fd5b506102e460145481565b6040519081526020016102a3565b3480156102fe57600080fd5b5061031261030d3660046125df565b6108b4565b6040516001600160a01b0390911681526020016102a3565b34801561033657600080fd5b5061034a61034536600461260d565b610944565b005b61034a61035a3660046125df565b610a5b565b34801561036b57600080fd5b506000546102e4565b34801561038057600080fd5b506017546102979060ff1681565b34801561039a57600080fd5b5061034a6103a9366004612639565b610f14565b3480156103ba57600080fd5b5061034a6103c9366004612688565b610f1f565b3480156103da57600080fd5b506102e46103e936600461260d565b610f5c565b3480156103fa57600080fd5b5061034a6110c7565b34801561040f57600080fd5b5061034a61041e366004612639565b611124565b34801561042f57600080fd5b5061034a61043e3660046126a5565b61113f565b34801561044f57600080fd5b506102e461045e3660046125df565b611248565b34801561046f57600080fd5b5061034a61047e366004612708565b6112aa565b34801561048f57600080fd5b5061034a61049e366004612810565b61133c565b3480156104af57600080fd5b506104c36104be3660046126a5565b611372565b6040516102a39190612858565b3480156104dc57600080fd5b506103126104eb3660046125df565b611413565b3480156104fc57600080fd5b506102e461050b3660046126a5565b611425565b34801561051c57600080fd5b506102c16114b6565b34801561053157600080fd5b5061034a6114c5565b34801561054657600080fd5b5061034a610555366004612708565b6114fb565b34801561056657600080fd5b506102e460125481565b34801561057c57600080fd5b506008546001600160a01b0316610312565b34801561059a57600080fd5b506102e46105a93660046126a5565b600f6020526000908152604090205481565b3480156105c757600080fd5b506102c161158d565b3480156105dc57600080fd5b506102e460155481565b3480156105f257600080fd5b506102976106013660046126a5565b60106020526000908152604090205460ff1681565b61034a6106243660046125df565b61159c565b34801561063557600080fd5b5061034a61064436600461289c565b611780565b34801561065557600080fd5b506102e460115481565b34801561066b57600080fd5b5061034a61067a3660046128d5565b611844565b34801561068b57600080fd5b506102e460165481565b3480156106a157600080fd5b506102e4600a81565b3480156106b657600080fd5b506102c16106c53660046125df565b61187d565b3480156106d657600080fd5b506102e460135481565b3480156106ec57600080fd5b506102e460075481565b34801561070257600080fd5b5060175461029790610100900460ff1681565b34801561072157600080fd5b50610297610730366004612954565b611906565b34801561074157600080fd5b5061034a6107503660046125df565b611939565b34801561076157600080fd5b5061034a6107703660046126a5565b611968565b34801561078157600080fd5b5061034a6107903660046125df565b611a03565b3480156107a157600080fd5b5061034a6107b0366004612688565b611a32565b60006001600160e01b031982166380ac58cd60e01b14806107e657506001600160e01b03198216635b5e139f60e01b145b8061080157506001600160e01b0319821663780e9d6360e01b145b8061081c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461083190612982565b80601f016020809104026020016040519081016040528092919081815260200182805461085d90612982565b80156108aa5780601f1061087f576101008083540402835291602001916108aa565b820191906000526020600020905b81548152906001019060200180831161088d57829003601f168201915b5050505050905090565b60006108c1826000541190565b6109285760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061094f82611413565b9050806001600160a01b0316836001600160a01b0316036109bd5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b606482015260840161091f565b336001600160a01b03821614806109d957506109d98133611906565b610a4b5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606482015260840161091f565b610a56838383611a76565b505050565b600260095403610aad5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161091f565b6002600955601454601554829081610ac460005490565b610ace91906129d2565b1115610b675734610adf82846129e5565b14610b275760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b604482015260640161091f565b601654336000908152600f6020526040902054610b4490836129d2565b1115610b625760405162461bcd60e51b815260040161091f906129fc565b610bed565b806011541015610bb25760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440cce4caca40e8f60531b604482015260640161091f565b601254336000908152600f6020526040902054610bcf90836129d2565b1115610bed5760405162461bcd60e51b815260040161091f906129fc565b601754610100900460ff16610c445760405162461bcd60e51b815260206004820152601a60248201527f77686974656c6973742073616c65206973206e6f74206f70656e000000000000604482015260640161091f565b3360009081526010602052604090205460ff1680610ccc5750600d546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610ca6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cca9190612a33565b115b80610d415750600e546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3f9190612a33565b115b610d9f5760405162461bcd60e51b815260206004820152602960248201527f6f6e6c7920455243343230206f776e6572206f72206f776e6572206f662050696044820152681bdb99595c8813919560ba1b606482015260840161091f565b8260135481610dad60005490565b610db791906129d2565b1115610e105760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b606482015260840161091f565b83600a811115610e6d5760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b606482015260840161091f565b601654336000908152600f602052604090205410610e9d5760405162461bcd60e51b815260040161091f906129fc565b336000908152600f602052604081208054879290610ebc9084906129d2565b90915550610ecc90503386611ad2565b600c5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610f06573d6000803e3d6000fd5b505060016009555050505050565b610a56838383611aec565b6008546001600160a01b03163314610f495760405162461bcd60e51b815260040161091f90612a4c565b6017805460ff1916911515919091179055565b6000610f6783611425565b8210610fc05760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161091f565b600080549080805b83811015611067576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561101a57805192505b876001600160a01b0316836001600160a01b031603611054578684036110465750935061081c92505050565b8361105081612a81565b9450505b508061105f81612a81565b915050610fc8565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b606482015260840161091f565b6008546001600160a01b031633146110f15760405162461bcd60e51b815260040161091f90612a4c565b6040514790339082156108fc029083906000818181858888f19350505050158015611120573d6000803e3d6000fd5b5050565b610a5683838360405180602001604052806000815250611844565b6008546001600160a01b031633146111695760405162461bcd60e51b815260040161091f90612a4c565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d49190612a33565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015611224573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a569190612a9a565b6000805482106112a65760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161091f565b5090565b6008546001600160a01b031633146112d45760405162461bcd60e51b815260040161091f90612a4c565b60005b8151811015611120576000601060008484815181106112f8576112f8612ab7565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061133481612a81565b9150506112d7565b6008546001600160a01b031633146113665760405162461bcd60e51b815260040161091f90612a4c565b600b6111208282612b13565b6060600061137f83611425565b90506000816001600160401b0381111561139b5761139b6126c2565b6040519080825280602002602001820160405280156113c4578160200160208202803683370190505b50905060005b8281101561140b576113dc8582610f5c565b8282815181106113ee576113ee612ab7565b60209081029190910101528061140381612a81565b9150506113ca565b509392505050565b600061141e82611e72565b5192915050565b60006001600160a01b0382166114915760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161091f565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6060600b805461083190612982565b6008546001600160a01b031633146114ef5760405162461bcd60e51b815260040161091f90612a4c565b6114f9600061201b565b565b6008546001600160a01b031633146115255760405162461bcd60e51b815260040161091f90612a4c565b60005b81518110156111205760016010600084848151811061154957611549612ab7565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061158581612a81565b915050611528565b60606002805461083190612982565b6002600954036115ee5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161091f565b600260095560145460155482908161160560005490565b61160f91906129d2565b11156116a8573461162082846129e5565b146116685760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b604482015260640161091f565b601654336000908152600f602052604090205461168590836129d2565b11156116a35760405162461bcd60e51b815260040161091f906129fc565b61172e565b8060115410156116f35760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440cce4caca40e8f60531b604482015260640161091f565b601254336000908152600f602052604090205461171090836129d2565b111561172e5760405162461bcd60e51b815260040161091f906129fc565b60175460ff16610d9f5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e000000000000000000604482015260640161091f565b336001600160a01b038316036117d85760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604482015260640161091f565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61184f848484611aec565b61185b8484848461206d565b6118775760405162461bcd60e51b815260040161091f90612bd2565b50505050565b606061188a826000541190565b6118ca5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161091f565b600b6118df6118da8460016129d2565b61216f565b6040516020016118f0929190612c25565b6040516020818303038152906040529050919050565b6001600160a01b03808316600090815260066020908152604080832093851683529290529081205460ff165b9392505050565b6008546001600160a01b031633146119635760405162461bcd60e51b815260040161091f90612a4c565b601555565b6008546001600160a01b031633146119925760405162461bcd60e51b815260040161091f90612a4c565b6001600160a01b0381166119f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161091f565b611a008161201b565b50565b6008546001600160a01b03163314611a2d5760405162461bcd60e51b815260040161091f90612a4c565b601455565b6008546001600160a01b03163314611a5c5760405162461bcd60e51b815260040161091f90612a4c565b601780549115156101000261ff0019909216919091179055565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61112082826040518060200160405280600081525061226f565b6000611af782611e72565b80519091506000906001600160a01b0316336001600160a01b03161480611b2e575033611b23846108b4565b6001600160a01b0316145b80611b4057508151611b409033611906565b905080611baa5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161091f565b846001600160a01b031682600001516001600160a01b031614611c1e5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b606482015260840161091f565b6001600160a01b038416611c825760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161091f565b611c926000848460000151611a76565b6001600160a01b0385166000908152600460205260408120805460019290611cc49084906001600160801b0316612ccb565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092611d1091859116612cf2565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611d978460016129d2565b6000818152600360205260409020549091506001600160a01b0316611e2857611dc1816000541190565b15611e285760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6040805180820190915260008082526020820152611e91826000541190565b611ef05760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b606482015260840161091f565b60007f00000000000000000000000000000000000000000000000000000000000000008310611f5157611f437f000000000000000000000000000000000000000000000000000000000000000084612d12565b611f4e9060016129d2565b90505b825b818110611fba576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215611fa757949350505050565b5080611fb281612d25565b915050611f53565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b606482015260840161091f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561216357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120b1903390899088908890600401612d3c565b6020604051808303816000875af19250505080156120ec575060408051601f3d908101601f191682019092526120e991810190612d79565b60015b612149573d80801561211a576040519150601f19603f3d011682016040523d82523d6000602084013e61211f565b606091505b5080516000036121415760405162461bcd60e51b815260040161091f90612bd2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612167565b5060015b949350505050565b6060816000036121965750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121c057806121aa81612a81565b91506121b99050600a83612dac565b915061219a565b6000816001600160401b038111156121da576121da6126c2565b6040519080825280601f01601f191660200182016040528015612204576020820181803683370190505b5090505b841561216757612219600183612d12565b9150612226600a86612dc0565b6122319060306129d2565b60f81b81838151811061224657612246612ab7565b60200101906001600160f81b031916908160001a905350612268600a86612dac565b9450612208565b6000546001600160a01b0384166122d25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161091f565b6122dd816000541190565b1561232a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604482015260640161091f565b7f00000000000000000000000000000000000000000000000000000000000000008311156123a55760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b606482015260840161091f565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612401908790612cf2565b6001600160801b0316815260200185836020015161241f9190612cf2565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b8581101561253e5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612502600088848861206d565b61251e5760405162461bcd60e51b815260040161091f90612bd2565b8161252881612a81565b925050808061253690612a81565b9150506124b5565b506000819055611e6a565b6001600160e01b031981168114611a0057600080fd5b60006020828403121561257157600080fd5b813561193281612549565b60005b8381101561259757818101518382015260200161257f565b50506000910152565b600081518084526125b881602086016020860161257c565b601f01601f19169290920160200192915050565b60208152600061193260208301846125a0565b6000602082840312156125f157600080fd5b5035919050565b6001600160a01b0381168114611a0057600080fd5b6000806040838503121561262057600080fd5b823561262b816125f8565b946020939093013593505050565b60008060006060848603121561264e57600080fd5b8335612659816125f8565b92506020840135612669816125f8565b929592945050506040919091013590565b8015158114611a0057600080fd5b60006020828403121561269a57600080fd5b81356119328161267a565b6000602082840312156126b757600080fd5b8135611932816125f8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612700576127006126c2565b604052919050565b6000602080838503121561271b57600080fd5b82356001600160401b038082111561273257600080fd5b818501915085601f83011261274657600080fd5b813581811115612758576127586126c2565b8060051b91506127698483016126d8565b818152918301840191848101908884111561278357600080fd5b938501935b838510156127ad578435925061279d836125f8565b8282529385019390850190612788565b98975050505050505050565b60006001600160401b038311156127d2576127d26126c2565b6127e5601f8401601f19166020016126d8565b90508281528383830111156127f957600080fd5b828260208301376000602084830101529392505050565b60006020828403121561282257600080fd5b81356001600160401b0381111561283857600080fd5b8201601f8101841361284957600080fd5b612167848235602084016127b9565b6020808252825182820181905260009190848201906040850190845b8181101561289057835183529284019291840191600101612874565b50909695505050505050565b600080604083850312156128af57600080fd5b82356128ba816125f8565b915060208301356128ca8161267a565b809150509250929050565b600080600080608085870312156128eb57600080fd5b84356128f6816125f8565b93506020850135612906816125f8565b92506040850135915060608501356001600160401b0381111561292857600080fd5b8501601f8101871361293957600080fd5b612948878235602084016127b9565b91505092959194509250565b6000806040838503121561296757600080fd5b8235612972816125f8565b915060208301356128ca816125f8565b600181811c9082168061299657607f821691505b6020821081036129b657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561081c5761081c6129bc565b808202811582820484141761081c5761081c6129bc565b60208082526018908201527f4d6178206d696e7473207065722077616c6c6574206d65740000000000000000604082015260600190565b600060208284031215612a4557600080fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060018201612a9357612a936129bc565b5060010190565b600060208284031215612aac57600080fd5b81516119328161267a565b634e487b7160e01b600052603260045260246000fd5b601f821115610a5657600081815260208120601f850160051c81016020861015612af45750805b601f850160051c820191505b81811015611e6a57828155600101612b00565b81516001600160401b03811115612b2c57612b2c6126c2565b612b4081612b3a8454612982565b84612acd565b602080601f831160018114612b755760008415612b5d5750858301515b600019600386901b1c1916600185901b178555611e6a565b600085815260208120601f198616915b82811015612ba457888601518255948401946001909101908401612b85565b5085821015612bc25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000808454612c3381612982565b60018281168015612c4b5760018114612c6057612c8f565b60ff1984168752821515830287019450612c8f565b8860005260208060002060005b85811015612c865781548a820152908401908201612c6d565b50505082870194505b50602f60f81b845286519250612cab8382860160208a0161257c565b64173539b7b760d91b939092019182019290925260060195945050505050565b6001600160801b03828116828216039080821115612ceb57612ceb6129bc565b5092915050565b6001600160801b03818116838216019080821115612ceb57612ceb6129bc565b8181038181111561081c5761081c6129bc565b600081612d3457612d346129bc565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d6f908301846125a0565b9695505050505050565b600060208284031215612d8b57600080fd5b815161193281612549565b634e487b7160e01b600052601260045260246000fd5b600082612dbb57612dbb612d96565b500490565b600082612dcf57612dcf612d96565b50069056fea2646970667358221220b6622178b698fe5744e2c117b1f22e876eb6f03d93b900f597332c43947aec2864736f6c6343000812003368747470733a2f2f6f73732e6572633432302e636f6d2f707265766965772f6572633432302f6a736f6e2f

Deployed Bytecode

0x60806040526004361061026b5760003560e01c80637f64978311610144578063bc951b91116100b6578063da1601e21161007a578063da1601e2146106f6578063e985e9c514610715578063ed96a0c614610735578063f2fde38b14610755578063fd1ee54c14610775578063ffcb8dca1461079557600080fd5b8063bc951b911461067f578063c6a91b4214610695578063c87b56dd146106aa578063d5abeb01146106ca578063d7224ba0146106e057600080fd5b8063982d669e11610108578063982d669e146105d05780639b19251a146105e6578063a0712d6814610616578063a22cb46514610629578063b7154af114610649578063b88d4fde1461065f57600080fd5b80637f6497831461053a578063818c2abb1461055a5780638da5cb5b1461057057806393ecb0c61461058e57806395d89b41146105bb57600080fd5b80633ccfd60b116101dd57806355f804b3116101a157806355f804b3146104835780635de6dc55146104a35780636352211e146104d057806370a08231146104f0578063714c539814610510578063715018a61461052557600080fd5b80633ccfd60b146103ee57806342842e0e1461040357806349df728c146104235780634f6ccce714610443578063548db1741461046357600080fd5b80630991fa491161022f5780630991fa491461034c57806318160ddd1461035f5780631e84c4131461037457806323b872dd1461038e57806328cad13d146103ae5780632f745c59146103ce57600080fd5b806301ffc9a71461027757806306fdde03146102ac57806307e89ec0146102ce578063081812fc146102f2578063095ea7b31461032a57600080fd5b3661027257005b600080fd5b34801561028357600080fd5b5061029761029236600461255f565b6107b5565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610822565b6040516102a391906125cc565b3480156102da57600080fd5b506102e460145481565b6040519081526020016102a3565b3480156102fe57600080fd5b5061031261030d3660046125df565b6108b4565b6040516001600160a01b0390911681526020016102a3565b34801561033657600080fd5b5061034a61034536600461260d565b610944565b005b61034a61035a3660046125df565b610a5b565b34801561036b57600080fd5b506000546102e4565b34801561038057600080fd5b506017546102979060ff1681565b34801561039a57600080fd5b5061034a6103a9366004612639565b610f14565b3480156103ba57600080fd5b5061034a6103c9366004612688565b610f1f565b3480156103da57600080fd5b506102e46103e936600461260d565b610f5c565b3480156103fa57600080fd5b5061034a6110c7565b34801561040f57600080fd5b5061034a61041e366004612639565b611124565b34801561042f57600080fd5b5061034a61043e3660046126a5565b61113f565b34801561044f57600080fd5b506102e461045e3660046125df565b611248565b34801561046f57600080fd5b5061034a61047e366004612708565b6112aa565b34801561048f57600080fd5b5061034a61049e366004612810565b61133c565b3480156104af57600080fd5b506104c36104be3660046126a5565b611372565b6040516102a39190612858565b3480156104dc57600080fd5b506103126104eb3660046125df565b611413565b3480156104fc57600080fd5b506102e461050b3660046126a5565b611425565b34801561051c57600080fd5b506102c16114b6565b34801561053157600080fd5b5061034a6114c5565b34801561054657600080fd5b5061034a610555366004612708565b6114fb565b34801561056657600080fd5b506102e460125481565b34801561057c57600080fd5b506008546001600160a01b0316610312565b34801561059a57600080fd5b506102e46105a93660046126a5565b600f6020526000908152604090205481565b3480156105c757600080fd5b506102c161158d565b3480156105dc57600080fd5b506102e460155481565b3480156105f257600080fd5b506102976106013660046126a5565b60106020526000908152604090205460ff1681565b61034a6106243660046125df565b61159c565b34801561063557600080fd5b5061034a61064436600461289c565b611780565b34801561065557600080fd5b506102e460115481565b34801561066b57600080fd5b5061034a61067a3660046128d5565b611844565b34801561068b57600080fd5b506102e460165481565b3480156106a157600080fd5b506102e4600a81565b3480156106b657600080fd5b506102c16106c53660046125df565b61187d565b3480156106d657600080fd5b506102e460135481565b3480156106ec57600080fd5b506102e460075481565b34801561070257600080fd5b5060175461029790610100900460ff1681565b34801561072157600080fd5b50610297610730366004612954565b611906565b34801561074157600080fd5b5061034a6107503660046125df565b611939565b34801561076157600080fd5b5061034a6107703660046126a5565b611968565b34801561078157600080fd5b5061034a6107903660046125df565b611a03565b3480156107a157600080fd5b5061034a6107b0366004612688565b611a32565b60006001600160e01b031982166380ac58cd60e01b14806107e657506001600160e01b03198216635b5e139f60e01b145b8061080157506001600160e01b0319821663780e9d6360e01b145b8061081c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461083190612982565b80601f016020809104026020016040519081016040528092919081815260200182805461085d90612982565b80156108aa5780601f1061087f576101008083540402835291602001916108aa565b820191906000526020600020905b81548152906001019060200180831161088d57829003601f168201915b5050505050905090565b60006108c1826000541190565b6109285760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061094f82611413565b9050806001600160a01b0316836001600160a01b0316036109bd5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b606482015260840161091f565b336001600160a01b03821614806109d957506109d98133611906565b610a4b5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000606482015260840161091f565b610a56838383611a76565b505050565b600260095403610aad5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161091f565b6002600955601454601554829081610ac460005490565b610ace91906129d2565b1115610b675734610adf82846129e5565b14610b275760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b604482015260640161091f565b601654336000908152600f6020526040902054610b4490836129d2565b1115610b625760405162461bcd60e51b815260040161091f906129fc565b610bed565b806011541015610bb25760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440cce4caca40e8f60531b604482015260640161091f565b601254336000908152600f6020526040902054610bcf90836129d2565b1115610bed5760405162461bcd60e51b815260040161091f906129fc565b601754610100900460ff16610c445760405162461bcd60e51b815260206004820152601a60248201527f77686974656c6973742073616c65206973206e6f74206f70656e000000000000604482015260640161091f565b3360009081526010602052604090205460ff1680610ccc5750600d546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610ca6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cca9190612a33565b115b80610d415750600e546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3f9190612a33565b115b610d9f5760405162461bcd60e51b815260206004820152602960248201527f6f6e6c7920455243343230206f776e6572206f72206f776e6572206f662050696044820152681bdb99595c8813919560ba1b606482015260840161091f565b8260135481610dad60005490565b610db791906129d2565b1115610e105760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b606482015260840161091f565b83600a811115610e6d5760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b606482015260840161091f565b601654336000908152600f602052604090205410610e9d5760405162461bcd60e51b815260040161091f906129fc565b336000908152600f602052604081208054879290610ebc9084906129d2565b90915550610ecc90503386611ad2565b600c5460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610f06573d6000803e3d6000fd5b505060016009555050505050565b610a56838383611aec565b6008546001600160a01b03163314610f495760405162461bcd60e51b815260040161091f90612a4c565b6017805460ff1916911515919091179055565b6000610f6783611425565b8210610fc05760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161091f565b600080549080805b83811015611067576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561101a57805192505b876001600160a01b0316836001600160a01b031603611054578684036110465750935061081c92505050565b8361105081612a81565b9450505b508061105f81612a81565b915050610fc8565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b606482015260840161091f565b6008546001600160a01b031633146110f15760405162461bcd60e51b815260040161091f90612a4c565b6040514790339082156108fc029083906000818181858888f19350505050158015611120573d6000803e3d6000fd5b5050565b610a5683838360405180602001604052806000815250611844565b6008546001600160a01b031633146111695760405162461bcd60e51b815260040161091f90612a4c565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa1580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d49190612a33565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015611224573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a569190612a9a565b6000805482106112a65760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b606482015260840161091f565b5090565b6008546001600160a01b031633146112d45760405162461bcd60e51b815260040161091f90612a4c565b60005b8151811015611120576000601060008484815181106112f8576112f8612ab7565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061133481612a81565b9150506112d7565b6008546001600160a01b031633146113665760405162461bcd60e51b815260040161091f90612a4c565b600b6111208282612b13565b6060600061137f83611425565b90506000816001600160401b0381111561139b5761139b6126c2565b6040519080825280602002602001820160405280156113c4578160200160208202803683370190505b50905060005b8281101561140b576113dc8582610f5c565b8282815181106113ee576113ee612ab7565b60209081029190910101528061140381612a81565b9150506113ca565b509392505050565b600061141e82611e72565b5192915050565b60006001600160a01b0382166114915760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b606482015260840161091f565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6060600b805461083190612982565b6008546001600160a01b031633146114ef5760405162461bcd60e51b815260040161091f90612a4c565b6114f9600061201b565b565b6008546001600160a01b031633146115255760405162461bcd60e51b815260040161091f90612a4c565b60005b81518110156111205760016010600084848151811061154957611549612ab7565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061158581612a81565b915050611528565b60606002805461083190612982565b6002600954036115ee5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161091f565b600260095560145460155482908161160560005490565b61160f91906129d2565b11156116a8573461162082846129e5565b146116685760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b604482015260640161091f565b601654336000908152600f602052604090205461168590836129d2565b11156116a35760405162461bcd60e51b815260040161091f906129fc565b61172e565b8060115410156116f35760405162461bcd60e51b815260206004820152601660248201527508af0c6cae6e640dac2f040e0cae440cce4caca40e8f60531b604482015260640161091f565b601254336000908152600f602052604090205461171090836129d2565b111561172e5760405162461bcd60e51b815260040161091f906129fc565b60175460ff16610d9f5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e000000000000000000604482015260640161091f565b336001600160a01b038316036117d85760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c6572000000000000604482015260640161091f565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61184f848484611aec565b61185b8484848461206d565b6118775760405162461bcd60e51b815260040161091f90612bd2565b50505050565b606061188a826000541190565b6118ca5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161091f565b600b6118df6118da8460016129d2565b61216f565b6040516020016118f0929190612c25565b6040516020818303038152906040529050919050565b6001600160a01b03808316600090815260066020908152604080832093851683529290529081205460ff165b9392505050565b6008546001600160a01b031633146119635760405162461bcd60e51b815260040161091f90612a4c565b601555565b6008546001600160a01b031633146119925760405162461bcd60e51b815260040161091f90612a4c565b6001600160a01b0381166119f75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161091f565b611a008161201b565b50565b6008546001600160a01b03163314611a2d5760405162461bcd60e51b815260040161091f90612a4c565b601455565b6008546001600160a01b03163314611a5c5760405162461bcd60e51b815260040161091f90612a4c565b601780549115156101000261ff0019909216919091179055565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61112082826040518060200160405280600081525061226f565b6000611af782611e72565b80519091506000906001600160a01b0316336001600160a01b03161480611b2e575033611b23846108b4565b6001600160a01b0316145b80611b4057508151611b409033611906565b905080611baa5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161091f565b846001600160a01b031682600001516001600160a01b031614611c1e5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b606482015260840161091f565b6001600160a01b038416611c825760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b606482015260840161091f565b611c926000848460000151611a76565b6001600160a01b0385166000908152600460205260408120805460019290611cc49084906001600160801b0316612ccb565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526004602052604081208054600194509092611d1091859116612cf2565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611d978460016129d2565b6000818152600360205260409020549091506001600160a01b0316611e2857611dc1816000541190565b15611e285760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6040805180820190915260008082526020820152611e91826000541190565b611ef05760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b606482015260840161091f565b60007f00000000000000000000000000000000000000000000000000000000000000648310611f5157611f437f000000000000000000000000000000000000000000000000000000000000006484612d12565b611f4e9060016129d2565b90505b825b818110611fba576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215611fa757949350505050565b5080611fb281612d25565b915050611f53565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b606482015260840161091f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561216357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120b1903390899088908890600401612d3c565b6020604051808303816000875af19250505080156120ec575060408051601f3d908101601f191682019092526120e991810190612d79565b60015b612149573d80801561211a576040519150601f19603f3d011682016040523d82523d6000602084013e61211f565b606091505b5080516000036121415760405162461bcd60e51b815260040161091f90612bd2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612167565b5060015b949350505050565b6060816000036121965750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121c057806121aa81612a81565b91506121b99050600a83612dac565b915061219a565b6000816001600160401b038111156121da576121da6126c2565b6040519080825280601f01601f191660200182016040528015612204576020820181803683370190505b5090505b841561216757612219600183612d12565b9150612226600a86612dc0565b6122319060306129d2565b60f81b81838151811061224657612246612ab7565b60200101906001600160f81b031916908160001a905350612268600a86612dac565b9450612208565b6000546001600160a01b0384166122d25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840161091f565b6122dd816000541190565b1561232a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604482015260640161091f565b7f00000000000000000000000000000000000000000000000000000000000000648311156123a55760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b606482015260840161091f565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612401908790612cf2565b6001600160801b0316815260200185836020015161241f9190612cf2565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b8581101561253e5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612502600088848861206d565b61251e5760405162461bcd60e51b815260040161091f90612bd2565b8161252881612a81565b925050808061253690612a81565b9150506124b5565b506000819055611e6a565b6001600160e01b031981168114611a0057600080fd5b60006020828403121561257157600080fd5b813561193281612549565b60005b8381101561259757818101518382015260200161257f565b50506000910152565b600081518084526125b881602086016020860161257c565b601f01601f19169290920160200192915050565b60208152600061193260208301846125a0565b6000602082840312156125f157600080fd5b5035919050565b6001600160a01b0381168114611a0057600080fd5b6000806040838503121561262057600080fd5b823561262b816125f8565b946020939093013593505050565b60008060006060848603121561264e57600080fd5b8335612659816125f8565b92506020840135612669816125f8565b929592945050506040919091013590565b8015158114611a0057600080fd5b60006020828403121561269a57600080fd5b81356119328161267a565b6000602082840312156126b757600080fd5b8135611932816125f8565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612700576127006126c2565b604052919050565b6000602080838503121561271b57600080fd5b82356001600160401b038082111561273257600080fd5b818501915085601f83011261274657600080fd5b813581811115612758576127586126c2565b8060051b91506127698483016126d8565b818152918301840191848101908884111561278357600080fd5b938501935b838510156127ad578435925061279d836125f8565b8282529385019390850190612788565b98975050505050505050565b60006001600160401b038311156127d2576127d26126c2565b6127e5601f8401601f19166020016126d8565b90508281528383830111156127f957600080fd5b828260208301376000602084830101529392505050565b60006020828403121561282257600080fd5b81356001600160401b0381111561283857600080fd5b8201601f8101841361284957600080fd5b612167848235602084016127b9565b6020808252825182820181905260009190848201906040850190845b8181101561289057835183529284019291840191600101612874565b50909695505050505050565b600080604083850312156128af57600080fd5b82356128ba816125f8565b915060208301356128ca8161267a565b809150509250929050565b600080600080608085870312156128eb57600080fd5b84356128f6816125f8565b93506020850135612906816125f8565b92506040850135915060608501356001600160401b0381111561292857600080fd5b8501601f8101871361293957600080fd5b612948878235602084016127b9565b91505092959194509250565b6000806040838503121561296757600080fd5b8235612972816125f8565b915060208301356128ca816125f8565b600181811c9082168061299657607f821691505b6020821081036129b657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561081c5761081c6129bc565b808202811582820484141761081c5761081c6129bc565b60208082526018908201527f4d6178206d696e7473207065722077616c6c6574206d65740000000000000000604082015260600190565b600060208284031215612a4557600080fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060018201612a9357612a936129bc565b5060010190565b600060208284031215612aac57600080fd5b81516119328161267a565b634e487b7160e01b600052603260045260246000fd5b601f821115610a5657600081815260208120601f850160051c81016020861015612af45750805b601f850160051c820191505b81811015611e6a57828155600101612b00565b81516001600160401b03811115612b2c57612b2c6126c2565b612b4081612b3a8454612982565b84612acd565b602080601f831160018114612b755760008415612b5d5750858301515b600019600386901b1c1916600185901b178555611e6a565b600085815260208120601f198616915b82811015612ba457888601518255948401946001909101908401612b85565b5085821015612bc25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000808454612c3381612982565b60018281168015612c4b5760018114612c6057612c8f565b60ff1984168752821515830287019450612c8f565b8860005260208060002060005b85811015612c865781548a820152908401908201612c6d565b50505082870194505b50602f60f81b845286519250612cab8382860160208a0161257c565b64173539b7b760d91b939092019182019290925260060195945050505050565b6001600160801b03828116828216039080821115612ceb57612ceb6129bc565b5092915050565b6001600160801b03818116838216019080821115612ceb57612ceb6129bc565b8181038181111561081c5761081c6129bc565b600081612d3457612d346129bc565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d6f908301846125a0565b9695505050505050565b600060208284031215612d8b57600080fd5b815161193281612549565b634e487b7160e01b600052601260045260246000fd5b600082612dbb57612dbb612d96565b500490565b600082612dcf57612dcf612d96565b50069056fea2646970667358221220b6622178b698fe5744e2c117b1f22e876eb6f03d93b900f597332c43947aec2864736f6c63430008120033

Deployed Bytecode Sourcemap

53968:7526:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41473:370;;;;;;;;;;-1:-1:-1;41473:370:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;41473:370:0;;;;;;;;43199:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54787:46::-;;;;;;;;;;;;;;;;;;;1494:25:1;;;1482:2;1467:18;54787:46:0;1348:177:1;44724:204:0;;;;;;;;;;-1:-1:-1;44724:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1879:32:1;;;1861:51;;1849:2;1834:18;44724:204:0;1715:203:1;44287:379:0;;;;;;;;;;-1:-1:-1;44287:379:0;;;;;:::i;:::-;;:::i;:::-;;57811:621;;;;;;:::i;:::-;;:::i;40034:94::-;;;;;;;;;;-1:-1:-1;40087:7:0;40110:12;40034:94;;54931:38;;;;;;;;;;-1:-1:-1;54931:38:0;;;;;;;;45574:142;;;;;;;;;;-1:-1:-1;45574:142:0;;;;;:::i;:::-;;:::i;59300:158::-;;;;;;;;;;-1:-1:-1;59300:158:0;;;;;:::i;:::-;;:::i;40665:744::-;;;;;;;;;;-1:-1:-1;40665:744:0;;;;;:::i;:::-;;:::i;60311:143::-;;;;;;;;;;;;;:::i;45779:157::-;;;;;;;;;;-1:-1:-1;45779:157:0;;;;;:::i;:::-;;:::i;60462:168::-;;;;;;;;;;-1:-1:-1;60462:168:0;;;;;:::i;:::-;;:::i;40197:177::-;;;;;;;;;;-1:-1:-1;40197:177:0;;;;;:::i;:::-;;:::i;59094:192::-;;;;;;;;;;-1:-1:-1;59094:192:0;;;;;:::i;:::-;;:::i;58791:100::-;;;;;;;;;;-1:-1:-1;58791:100:0;;;;;:::i;:::-;;:::i;59906:362::-;;;;;;;;;;-1:-1:-1;59906:362:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;43022:118::-;;;;;;;;;;-1:-1:-1;43022:118:0;;;;;:::i;:::-;;:::i;41899:211::-;;;;;;;;;;-1:-1:-1;41899:211:0;;;;;:::i;:::-;;:::i;58627:93::-;;;;;;;;;;;;;:::i;18964:103::-;;;;;;;;;;;;;:::i;58899:187::-;;;;;;;;;;-1:-1:-1;58899:187:0;;;;;:::i;:::-;;:::i;54693:46::-;;;;;;;;;;;;;;;;18313:87;;;;;;;;;;-1:-1:-1;18386:6:0;;-1:-1:-1;;;;;18386:6:0;18313:87;;54484:50;;;;;;;;;;-1:-1:-1;54484:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;43354:98;;;;;;;;;;;;;:::i;54840:33::-;;;;;;;;;;;;;;;;54541:41;;;;;;;;;;-1:-1:-1;54541:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;57216:587;;;;;;:::i;:::-;;:::i;44992:274::-;;;;;;;;;;-1:-1:-1;44992:274:0;;;;;:::i;:::-;;:::i;54645:41::-;;;;;;;;;;;;;;;;45999:311;;;;;;;;;;-1:-1:-1;45999:311:0;;;;;:::i;:::-;;:::i;54880:42::-;;;;;;;;;;;;;;;;54593:45;;;;;;;;;;;;54636:2;54593:45;;61182:307;;;;;;;;;;-1:-1:-1;61182:307:0;;;;;:::i;:::-;;:::i;54746:32::-;;;;;;;;;;;;;;;;50414:43;;;;;;;;;;;;;;;;54976:41;;;;;;;;;;-1:-1:-1;54976:41:0;;;;;;;;;;;60910:201;;;;;;;;;;-1:-1:-1;60910:201:0;;;;;:::i;:::-;;:::i;59646:131::-;;;;;;;;;;-1:-1:-1;59646:131:0;;;;;:::i;:::-;;:::i;19222:201::-;;;;;;;;;;-1:-1:-1;19222:201:0;;;;;:::i;:::-;;:::i;59785:113::-;;;;;;;;;;-1:-1:-1;59785:113:0;;;;;:::i;:::-;;:::i;59466:170::-;;;;;;;;;;-1:-1:-1;59466:170:0;;;;;:::i;:::-;;:::i;41473:370::-;41600:4;-1:-1:-1;;;;;;41630:40:0;;-1:-1:-1;;;41630:40:0;;:99;;-1:-1:-1;;;;;;;41681:48:0;;-1:-1:-1;;;41681:48:0;41630:99;:160;;;-1:-1:-1;;;;;;;41740:50:0;;-1:-1:-1;;;41740:50:0;41630:160;:207;;;-1:-1:-1;;;;;;;;;;30915:40:0;;;41801:36;41616:221;41473:370;-1:-1:-1;;41473:370:0:o;43199:94::-;43253:13;43282:5;43275:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43199:94;:::o;44724:204::-;44792:7;44816:16;44824:7;46606:4;46636:12;-1:-1:-1;46626:22:0;46549:105;44816:16;44808:74;;;;-1:-1:-1;;;44808:74:0;;8837:2:1;44808:74:0;;;8819:21:1;8876:2;8856:18;;;8849:30;8915:34;8895:18;;;8888:62;-1:-1:-1;;;8966:18:1;;;8959:43;9019:19;;44808:74:0;;;;;;;;;-1:-1:-1;44898:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;44898:24:0;;44724:204::o;44287:379::-;44356:13;44372:24;44388:7;44372:15;:24::i;:::-;44356:40;;44417:5;-1:-1:-1;;;;;44411:11:0;:2;-1:-1:-1;;;;;44411:11:0;;44403:58;;;;-1:-1:-1;;;44403:58:0;;9251:2:1;44403:58:0;;;9233:21:1;9290:2;9270:18;;;9263:30;9329:34;9309:18;;;9302:62;-1:-1:-1;;;9380:18:1;;;9373:32;9422:19;;44403:58:0;9049:398:1;44403:58:0;17117:10;-1:-1:-1;;;;;44486:21:0;;;;:62;;-1:-1:-1;44511:37:0;44528:5;17117:10;60910:201;:::i;44511:37::-;44470:153;;;;-1:-1:-1;;;44470:153:0;;9654:2:1;44470:153:0;;;9636:21:1;9693:2;9673:18;;;9666:30;9732:34;9712:18;;;9705:62;9803:27;9783:18;;;9776:55;9848:19;;44470:153:0;9452:421:1;44470:153:0;44632:28;44641:2;44645:7;44654:5;44632:8;:28::i;:::-;44349:317;44287:379;;:::o;57811:621::-;10242:1;10840:7;;:19;10832:63;;;;-1:-1:-1;;;10832:63:0;;10080:2:1;10832:63:0;;;10062:21:1;10119:2;10099:18;;;10092:30;10158:33;10138:18;;;10131:61;10209:18;;10832:63:0;9878:355:1;10832:63:0;10242:1;10973:7;:18;57941:17:::1;::::0;56360:14:::1;::::0;57960;;;56331:13:::1;40087:7:::0;40110:12;;40034:94;56331:13:::1;:28;;;;:::i;:::-;:43;56328:568;;;56436:9;56409:22;56417:14:::0;56409:5;:22:::1;:::i;:::-;56408:37;56386:111;;;::::0;-1:-1:-1;;;56386:111:0;;10875:2:1;56386:111:0::1;::::0;::::1;10857:21:1::0;10914:2;10894:18;;;10887:30;-1:-1:-1;;;10933:18:1;;;10926:54;10997:18;;56386:111:0::1;10673:348:1::0;56386:111:0::1;56581:22;::::0;17117:10;56534:29:::1;::::0;;;:15:::1;:29;::::0;;;;;56516:47:::1;::::0;:14;:47:::1;:::i;:::-;:87;;56508:124;;;;-1:-1:-1::0;;;56508:124:0::1;;;;;;;:::i;:::-;56328:568;;;56699:14;56673:22;;:40;;56665:76;;;::::0;-1:-1:-1;;;56665:76:0;;11581:2:1;56665:76:0::1;::::0;::::1;11563:21:1::0;11620:2;11600:18;;;11593:30;-1:-1:-1;;;11639:18:1;;;11632:52;11701:18;;56665:76:0::1;11379:346:1::0;56665:76:0::1;56829:26;::::0;17117:10;56782:29:::1;::::0;;;:15:::1;:29;::::0;;;;;56764:47:::1;::::0;:14;:47:::1;:::i;:::-;:91;;56756:128;;;;-1:-1:-1::0;;;56756:128:0::1;;;;;;;:::i;:::-;55267:21:::2;::::0;::::2;::::0;::::2;;;55259:60;;;::::0;-1:-1:-1;;;55259:60:0;;11932:2:1;55259:60:0::2;::::0;::::2;11914:21:1::0;11971:2;11951:18;;;11944:30;12010:28;11990:18;;;11983:56;12056:18;;55259:60:0::2;11730:350:1::0;55259:60:0::2;55402:10:::3;55392:21;::::0;;;:9:::3;:21;::::0;;;;;::::3;;::::0;:82:::3;;-1:-1:-1::0;55434:13:0::3;::::0;55426:44:::3;::::0;-1:-1:-1;;;55426:44:0;;55459:10:::3;55426:44;::::0;::::3;1861:51:1::0;55473:1:0::3;::::0;-1:-1:-1;;;;;55434:13:0::3;::::0;55426:32:::3;::::0;1834:18:1;;55426:44:0::3;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;55392:82;:144;;;-1:-1:-1::0;55495:14:0::3;::::0;55487:45:::3;::::0;-1:-1:-1;;;55487:45:0;;55521:10:::3;55487:45;::::0;::::3;1861:51:1::0;55535:1:0::3;::::0;-1:-1:-1;;;;;55495:14:0::3;::::0;55487:33:::3;::::0;1834:18:1;;55487:45:0::3;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:49;55392:144;55374:223;;;::::0;-1:-1:-1;;;55374:223:0;;12476:2:1;55374:223:0::3;::::0;::::3;12458:21:1::0;12515:2;12495:18;;;12488:30;12554:34;12534:18;;;12527:62;-1:-1:-1;;;12605:18:1;;;12598:39;12654:19;;55374:223:0::3;12274:405:1::0;55374:223:0::3;58048:14:::4;55954:9;;55919:14;55903:13;40087:7:::0;40110:12;;40034:94;55903:13:::4;:30;;;;:::i;:::-;:60;;55881:144;;;::::0;-1:-1:-1;;;55881:144:0;;12886:2:1;55881:144:0::4;::::0;::::4;12868:21:1::0;12925:2;12905:18;;;12898:30;12964:34;12944:18;;;12937:62;-1:-1:-1;;;13015:18:1;;;13008:32;13057:19;;55881:144:0::4;12684:398:1::0;55881:144:0::4;58087:14:::5;54636:2;55699:14;:34;;55677:118;;;::::0;-1:-1:-1;;;55677:118:0;;13289:2:1;55677:118:0::5;::::0;::::5;13271:21:1::0;13328:2;13308:18;;;13301:30;13367:34;13347:18;;;13340:62;-1:-1:-1;;;13418:18:1;;;13411:32;13460:19;;55677:118:0::5;13087:398:1::0;55677:118:0::5;58169:22:::6;::::0;17117:10;58127:29:::6;::::0;;;:15:::6;:29;::::0;;;;;:64:::6;58119:101;;;;-1:-1:-1::0;;;58119:101:0::6;;;;;;;:::i;:::-;17117:10:::0;58232:29:::6;::::0;;;:15:::6;:29;::::0;;;;:47;;58265:14;;58232:29;:47:::6;::::0;58265:14;;58232:47:::6;:::i;:::-;::::0;;;-1:-1:-1;58290:37:0::6;::::0;-1:-1:-1;58300:10:0::6;58312:14:::0;58290:9:::6;:37::i;:::-;58397:11;::::0;58389:35:::6;::::0;58356:21:::6;::::0;-1:-1:-1;;;;;58397:11:0::6;::::0;58389:35;::::6;;;::::0;58356:21;;58341:12:::6;58389:35:::0;58341:12;58389:35;58356:21;58397:11;58389:35;::::6;;;;;;;;;;;;;::::0;::::6;;;;;-1:-1:-1::0;;10198:1:0;11152:7;:22;-1:-1:-1;;;;;57811:621:0:o;45574:142::-;45682:28;45692:4;45698:2;45702:7;45682:9;:28::i;59300:158::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;59410:18:::1;:40:::0;;-1:-1:-1;;59410:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59300:158::o;40665:744::-;40774:7;40809:16;40819:5;40809:9;:16::i;:::-;40801:5;:24;40793:71;;;;-1:-1:-1;;;40793:71:0;;14053:2:1;40793:71:0;;;14035:21:1;14092:2;14072:18;;;14065:30;14131:34;14111:18;;;14104:62;-1:-1:-1;;;14182:18:1;;;14175:32;14224:19;;40793:71:0;13851:398:1;40793:71:0;40871:22;40110:12;;;40871:22;;40991:350;41015:14;41011:1;:18;40991:350;;;41045:31;41079:14;;;:11;:14;;;;;;;;;41045:48;;;;;;;;;-1:-1:-1;;;;;41045:48:0;;;;;-1:-1:-1;;;41045:48:0;;;-1:-1:-1;;;;;41045:48:0;;;;;;;;41106:28;41102:89;;41167:14;;;-1:-1:-1;41102:89:0;41224:5;-1:-1:-1;;;;;41203:26:0;:17;-1:-1:-1;;;;;41203:26:0;;41199:135;;41261:5;41246:11;:20;41242:59;;-1:-1:-1;41288:1:0;-1:-1:-1;41281:8:0;;-1:-1:-1;;;41281:8:0;41242:59;41311:13;;;;:::i;:::-;;;;41199:135;-1:-1:-1;41031:3:0;;;;:::i;:::-;;;;40991:350;;;-1:-1:-1;41347:56:0;;-1:-1:-1;;;41347:56:0;;14596:2:1;41347:56:0;;;14578:21:1;14635:2;14615:18;;;14608:30;14674:34;14654:18;;;14647:62;-1:-1:-1;;;14725:18:1;;;14718:44;14779:19;;41347:56:0;14394:410:1;60311:143:0;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;60409:37:::1;::::0;60377:21:::1;::::0;60417:10:::1;::::0;60409:37;::::1;;;::::0;60377:21;;60359:15:::1;60409:37:::0;60359:15;60409:37;60377:21;60417:10;60409:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;60348:106;60311:143::o:0;45779:157::-;45891:39;45908:4;45914:2;45918:7;45891:39;;;;;;;;;;;;:16;:39::i;60462:168::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;60546:30:::1;::::0;-1:-1:-1;;;60546:30:0;;60570:4:::1;60546:30;::::0;::::1;1861:51:1::0;60528:15:0::1;::::0;-1:-1:-1;;;;;60546:15:0;::::1;::::0;::::1;::::0;1834:18:1;;60546:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60587:35;::::0;-1:-1:-1;;;60587:35:0;;60602:10:::1;60587:35;::::0;::::1;14983:51:1::0;15050:18;;;15043:34;;;60528:48:0;;-1:-1:-1;;;;;;60587:14:0;::::1;::::0;::::1;::::0;14956:18:1;;60587:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;40197:177::-:0;40264:7;40110:12;;40288:5;:21;40280:69;;;;-1:-1:-1;;;40280:69:0;;15540:2:1;40280:69:0;;;15522:21:1;15579:2;15559:18;;;15552:30;15618:34;15598:18;;;15591:62;-1:-1:-1;;;15669:18:1;;;15662:33;15712:19;;40280:69:0;15338:399:1;40280:69:0;-1:-1:-1;40363:5:0;40197:177::o;59094:192::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;59184:9:::1;59179:100;59203:9;:16;59199:1;:20;59179:100;;;59264:5;59238:9;:23;59248:9;59258:1;59248:12;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;59238:23:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;59238:23:0;:31;;-1:-1:-1;;59238:31:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59221:3;::::1;::::0;::::1;:::i;:::-;;;;59179:100;;58791::::0;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;58865:7:::1;:18;58875:8:::0;58865:7;:18:::1;:::i;59906:362::-:0;59997:16;60031:13;60047:16;60057:5;60047:9;:16::i;:::-;60031:32;;60074:23;60114:5;-1:-1:-1;;;;;60100:20:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60100:20:0;;60074:46;;60136:9;60131:104;60155:5;60151:1;:9;60131:104;;;60194:29;60214:5;60221:1;60194:19;:29::i;:::-;60182:6;60189:1;60182:9;;;;;;;;:::i;:::-;;;;;;;;;;:41;60162:3;;;;:::i;:::-;;;;60131:104;;;-1:-1:-1;60254:6:0;59906:362;-1:-1:-1;;;59906:362:0:o;43022:118::-;43086:7;43109:20;43121:7;43109:11;:20::i;:::-;:25;;43022:118;-1:-1:-1;;43022:118:0:o;41899:211::-;41963:7;-1:-1:-1;;;;;41987:19:0;;41979:75;;;;-1:-1:-1;;;41979:75:0;;18280:2:1;41979:75:0;;;18262:21:1;18319:2;18299:18;;;18292:30;18358:34;18338:18;;;18331:62;-1:-1:-1;;;18409:18:1;;;18402:41;18460:19;;41979:75:0;18078:407:1;41979:75:0;-1:-1:-1;;;;;;42076:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;42076:27:0;;41899:211::o;58627:93::-;58672:13;58705:7;58698:14;;;;;:::i;18964:103::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;19029:30:::1;19056:1;19029:18;:30::i;:::-;18964:103::o:0;58899:187::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;58984:9:::1;58979:100;59003:9;:16;58999:1;:20;58979:100;;;59065:4;59039:9;:23;59049:9;59059:1;59049:12;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;59039:23:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;59039:23:0;:30;;-1:-1:-1;;59039:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;59021:3;::::1;::::0;::::1;:::i;:::-;;;;58979:100;;43354:98:::0;43410:13;43439:7;43432:14;;;;;:::i;57216:587::-;10242:1;10840:7;;:19;10832:63;;;;-1:-1:-1;;;10832:63:0;;10080:2:1;10832:63:0;;;10062:21:1;10119:2;10099:18;;;10092:30;10158:33;10138:18;;;10131:61;10209:18;;10832:63:0;9878:355:1;10832:63:0;10242:1;10973:7;:18;57337:17:::1;::::0;56360:14:::1;::::0;57356;;;56331:13:::1;40087:7:::0;40110:12;;40034:94;56331:13:::1;:28;;;;:::i;:::-;:43;56328:568;;;56436:9;56409:22;56417:14:::0;56409:5;:22:::1;:::i;:::-;56408:37;56386:111;;;::::0;-1:-1:-1;;;56386:111:0;;10875:2:1;56386:111:0::1;::::0;::::1;10857:21:1::0;10914:2;10894:18;;;10887:30;-1:-1:-1;;;10933:18:1;;;10926:54;10997:18;;56386:111:0::1;10673:348:1::0;56386:111:0::1;56581:22;::::0;17117:10;56534:29:::1;::::0;;;:15:::1;:29;::::0;;;;;56516:47:::1;::::0;:14;:47:::1;:::i;:::-;:87;;56508:124;;;;-1:-1:-1::0;;;56508:124:0::1;;;;;;;:::i;:::-;56328:568;;;56699:14;56673:22;;:40;;56665:76;;;::::0;-1:-1:-1;;;56665:76:0;;11581:2:1;56665:76:0::1;::::0;::::1;11563:21:1::0;11620:2;11600:18;;;11593:30;-1:-1:-1;;;11639:18:1;;;11632:52;11701:18;;56665:76:0::1;11379:346:1::0;56665:76:0::1;56829:26;::::0;17117:10;56782:29:::1;::::0;;;:15:::1;:29;::::0;;;;;56764:47:::1;::::0;:14;:47:::1;:::i;:::-;:91;;56756:128;;;;-1:-1:-1::0;;;56756:128:0::1;;;;;;;:::i;:::-;55143:18:::2;::::0;::::2;;55135:54;;;::::0;-1:-1:-1;;;55135:54:0;;18692:2:1;55135:54:0::2;::::0;::::2;18674:21:1::0;18731:2;18711:18;;;18704:30;18770:25;18750:18;;;18743:53;18813:18;;55135:54:0::2;18490:347:1::0;44992:274:0;17117:10;-1:-1:-1;;;;;45083:24:0;;;45075:63;;;;-1:-1:-1;;;45075:63:0;;19044:2:1;45075:63:0;;;19026:21:1;19083:2;19063:18;;;19056:30;19122:28;19102:18;;;19095:56;19168:18;;45075:63:0;18842:350:1;45075:63:0;17117:10;45147:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;45147:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;45147:53:0;;;;;;;;;;45212:48;;540:41:1;;;45147:42:0;;17117:10;45212:48;;513:18:1;45212:48:0;;;;;;;44992:274;;:::o;45999:311::-;46136:28;46146:4;46152:2;46156:7;46136:9;:28::i;:::-;46187:48;46210:4;46216:2;46220:7;46229:5;46187:22;:48::i;:::-;46171:133;;;;-1:-1:-1;;;46171:133:0;;;;;;;:::i;:::-;45999:311;;;;:::o;61182:307::-;61300:13;61339:16;61347:7;46606:4;46636:12;-1:-1:-1;46626:22:0;46549:105;61339:16;61331:46;;;;-1:-1:-1;;;61331:46:0;;19819:2:1;61331:46:0;;;19801:21:1;19858:2;19838:18;;;19831:30;-1:-1:-1;;;19877:18:1;;;19870:47;19934:18;;61331:46:0;19617:341:1;61331:46:0;61434:7;61448:22;61449:9;:7;61457:1;61449:9;:::i;:::-;61448:20;:22::i;:::-;61417:63;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61390:91;;61182:307;;;:::o;60910:201::-;-1:-1:-1;;;;;45474:25:0;;;61035:4;45474:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;61064:39;61057:46;60910:201;-1:-1:-1;;;60910:201:0:o;59646:131::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;59739:14:::1;:30:::0;59646:131::o;19222:201::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19311:22:0;::::1;19303:73;;;::::0;-1:-1:-1;;;19303:73:0;;21492:2:1;19303:73:0::1;::::0;::::1;21474:21:1::0;21531:2;21511:18;;;21504:30;21570:34;21550:18;;;21543:62;-1:-1:-1;;;21621:18:1;;;21614:36;21667:19;;19303:73:0::1;21290:402:1::0;19303:73:0::1;19387:28;19406:8;19387:18;:28::i;:::-;19222:201:::0;:::o;59785:113::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;59866:17:::1;:24:::0;59785:113::o;59466:170::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;59582:21:::1;:46:::0;;;::::1;;;;-1:-1:-1::0;;59582:46:0;;::::1;::::0;;;::::1;::::0;;59466:170::o;50236:172::-;50333:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;50333:29:0;-1:-1:-1;;;;;50333:29:0;;;;;;;;;50374:28;;50333:24;;50374:28;;;;;;;50236:172;;;:::o;46660:98::-;46725:27;46735:2;46739:8;46725:27;;;;;;;;;;;;:9;:27::i;48601:1529::-;48698:35;48736:20;48748:7;48736:11;:20::i;:::-;48807:18;;48698:58;;-1:-1:-1;48765:22:0;;-1:-1:-1;;;;;48791:34:0;17117:10;-1:-1:-1;;;;;48791:34:0;;:81;;;-1:-1:-1;17117:10:0;48836:20;48848:7;48836:11;:20::i;:::-;-1:-1:-1;;;;;48836:36:0;;48791:81;:142;;;-1:-1:-1;48900:18:0;;48883:50;;17117:10;60910:201;:::i;48883:50::-;48765:169;;48959:17;48943:101;;;;-1:-1:-1;;;48943:101:0;;21899:2:1;48943:101:0;;;21881:21:1;21938:2;21918:18;;;21911:30;21977:34;21957:18;;;21950:62;-1:-1:-1;;;22028:18:1;;;22021:48;22086:19;;48943:101:0;21697:414:1;48943:101:0;49091:4;-1:-1:-1;;;;;49069:26:0;:13;:18;;;-1:-1:-1;;;;;49069:26:0;;49053:98;;;;-1:-1:-1;;;49053:98:0;;22318:2:1;49053:98:0;;;22300:21:1;22357:2;22337:18;;;22330:30;22396:34;22376:18;;;22369:62;-1:-1:-1;;;22447:18:1;;;22440:36;22493:19;;49053:98:0;22116:402:1;49053:98:0;-1:-1:-1;;;;;49166:16:0;;49158:66;;;;-1:-1:-1;;;49158:66:0;;22725:2:1;49158:66:0;;;22707:21:1;22764:2;22744:18;;;22737:30;22803:34;22783:18;;;22776:62;-1:-1:-1;;;22854:18:1;;;22847:35;22899:19;;49158:66:0;22523:401:1;49158:66:0;49333:49;49350:1;49354:7;49363:13;:18;;;49333:8;:49::i;:::-;-1:-1:-1;;;;;49391:18:0;;;;;;:12;:18;;;;;:31;;49421:1;;49391:18;:31;;49421:1;;-1:-1:-1;;;;;49391:31:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;49391:31:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;49429:16:0;;-1:-1:-1;49429:16:0;;;:12;:16;;;;;:29;;-1:-1:-1;;;49429:16:0;;:29;;-1:-1:-1;;49429:29:0;;:::i;:::-;;;-1:-1:-1;;;;;49429:29:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49488:43:0;;;;;;;;-1:-1:-1;;;;;49488:43:0;;;;;-1:-1:-1;;;;;49514:15:0;49488:43;;;;;;;;;-1:-1:-1;49465:20:0;;;:11;:20;;;;;;:66;;;;;;;;;-1:-1:-1;;;49465:66:0;-1:-1:-1;;;;;;49465:66:0;;;;;;;;;;;49781:11;49477:7;-1:-1:-1;49781:11:0;:::i;:::-;49844:1;49803:24;;;:11;:24;;;;;:29;49759:33;;-1:-1:-1;;;;;;49803:29:0;49799:236;;49861:20;49869:11;46606:4;46636:12;-1:-1:-1;46626:22:0;46549:105;49861:20;49857:171;;;49921:97;;;;;;;;49948:18;;-1:-1:-1;;;;;49921:97:0;;;;;;49979:28;;;;-1:-1:-1;;;;;49921:97:0;;;;;;;;;-1:-1:-1;49894:24:0;;;:11;:24;;;;;;;:124;;;;;;;;;-1:-1:-1;;;49894:124:0;-1:-1:-1;;;;;;49894:124:0;;;;;;;;;;;;49857:171;50067:7;50063:2;-1:-1:-1;;;;;50048:27:0;50057:4;-1:-1:-1;;;;;50048:27:0;;;;;;;;;;;50082:42;48691:1439;;;48601:1529;;;:::o;42362:606::-;-1:-1:-1;;;;;;;;;;;;;;;;;42479:16:0;42487:7;46606:4;46636:12;-1:-1:-1;46626:22:0;46549:105;42479:16;42471:71;;;;-1:-1:-1;;;42471:71:0;;23538:2:1;42471:71:0;;;23520:21:1;23577:2;23557:18;;;23550:30;23616:34;23596:18;;;23589:62;-1:-1:-1;;;23667:18:1;;;23660:40;23717:19;;42471:71:0;23336:406:1;42471:71:0;42551:26;42599:12;42588:7;:23;42584:93;;42643:22;42653:12;42643:7;:22;:::i;:::-;:26;;42668:1;42643:26;:::i;:::-;42622:47;;42584:93;42705:7;42685:212;42722:18;42714:4;:26;42685:212;;42759:31;42793:17;;;:11;:17;;;;;;;;;42759:51;;;;;;;;;-1:-1:-1;;;;;42759:51:0;;;;;-1:-1:-1;;;42759:51:0;;;-1:-1:-1;;;;;42759:51:0;;;;;;;;42823:28;42819:71;;42871:9;42362:606;-1:-1:-1;;;;42362:606:0:o;42819:71::-;-1:-1:-1;42742:6:0;;;;:::i;:::-;;;;42685:212;;;-1:-1:-1;42905:57:0;;-1:-1:-1;;;42905:57:0;;24223:2:1;42905:57:0;;;24205:21:1;24262:2;24242:18;;;24235:30;24301:34;24281:18;;;24274:62;-1:-1:-1;;;24352:18:1;;;24345:45;24407:19;;42905:57:0;24021:411:1;19583:191:0;19676:6;;;-1:-1:-1;;;;;19693:17:0;;;-1:-1:-1;;;;;;19693:17:0;;;;;;;19726:40;;19676:6;;;19693:17;19676:6;;19726:40;;19657:16;;19726:40;19646:128;19583:191;:::o;51951:690::-;52088:4;-1:-1:-1;;;;;52105:13:0;;20924:20;20972:8;52101:535;;52144:72;;-1:-1:-1;;;52144:72:0;;-1:-1:-1;;;;;52144:36:0;;;;;:72;;17117:10;;52195:4;;52201:7;;52210:5;;52144:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52144:72:0;;;;;;;;-1:-1:-1;;52144:72:0;;;;;;;;;;;;:::i;:::-;;;52131:464;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52375:6;:13;52392:1;52375:18;52371:215;;52408:61;;-1:-1:-1;;;52408:61:0;;;;;;;:::i;52371:215::-;52554:6;52548:13;52539:6;52535:2;52531:15;52524:38;52131:464;-1:-1:-1;;;;;;52266:55:0;-1:-1:-1;;;52266:55:0;;-1:-1:-1;52259:62:0;;52101:535;-1:-1:-1;52624:4:0;52101:535;51951:690;;;;;;:::o;14599:723::-;14655:13;14876:5;14885:1;14876:10;14872:53;;-1:-1:-1;;14903:10:0;;;;;;;;;;;;-1:-1:-1;;;14903:10:0;;;;;14599:723::o;14872:53::-;14950:5;14935:12;14991:78;14998:9;;14991:78;;15024:8;;;;:::i;:::-;;-1:-1:-1;15047:10:0;;-1:-1:-1;15055:2:0;15047:10;;:::i;:::-;;;14991:78;;;15079:19;15111:6;-1:-1:-1;;;;;15101:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15101:17:0;;15079:39;;15129:154;15136:10;;15129:154;;15163:11;15173:1;15163:11;;:::i;:::-;;-1:-1:-1;15232:10:0;15240:2;15232:5;:10;:::i;:::-;15219:24;;:2;:24;:::i;:::-;15206:39;;15189:6;15196;15189:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;15189:56:0;;;;;;;;-1:-1:-1;15260:11:0;15269:2;15260:11;;:::i;:::-;;;15129:154;;47097:1272;47202:20;47225:12;-1:-1:-1;;;;;47252:16:0;;47244:62;;;;-1:-1:-1;;;47244:62:0;;25761:2:1;47244:62:0;;;25743:21:1;25800:2;25780:18;;;25773:30;25839:34;25819:18;;;25812:62;-1:-1:-1;;;25890:18:1;;;25883:31;25931:19;;47244:62:0;25559:397:1;47244:62:0;47443:21;47451:12;46606:4;46636:12;-1:-1:-1;46626:22:0;46549:105;47443:21;47442:22;47434:64;;;;-1:-1:-1;;;47434:64:0;;26163:2:1;47434:64:0;;;26145:21:1;26202:2;26182:18;;;26175:30;26241:31;26221:18;;;26214:59;26290:18;;47434:64:0;25961:353:1;47434:64:0;47525:12;47513:8;:24;;47505:71;;;;-1:-1:-1;;;47505:71:0;;26521:2:1;47505:71:0;;;26503:21:1;26560:2;26540:18;;;26533:30;26599:34;26579:18;;;26572:62;-1:-1:-1;;;26650:18:1;;;26643:32;26692:19;;47505:71:0;26319:398:1;47505:71:0;-1:-1:-1;;;;;47688:16:0;;47655:30;47688:16;;;:12;:16;;;;;;;;;47655:49;;;;;;;;;-1:-1:-1;;;;;47655:49:0;;;;;-1:-1:-1;;;47655:49:0;;;;;;;;;;;47730:119;;;;;;;;47750:19;;47655:49;;47730:119;;;47750:39;;47780:8;;47750:39;:::i;:::-;-1:-1:-1;;;;;47730:119:0;;;;;47833:8;47798:11;:24;;;:44;;;;:::i;:::-;-1:-1:-1;;;;;47730:119:0;;;;;;-1:-1:-1;;;;;47711:16:0;;;;;;;:12;:16;;;;;;;;:138;;;;;;;;-1:-1:-1;;;47711:138:0;;;;;;;;;;;;47884:43;;;;;;;;;;-1:-1:-1;;;;;47910:15:0;47884:43;;;;;;;;47856:25;;;:11;:25;;;;;;:71;;;;;;;;;-1:-1:-1;;;47856:71:0;-1:-1:-1;;;;;;47856:71:0;;;;;;;;;;;;;;;;;;47868:12;;47980:281;48004:8;48000:1;:12;47980:281;;;48033:38;;48058:12;;-1:-1:-1;;;;;48033:38:0;;;48050:1;;48033:38;;48050:1;;48033:38;48098:59;48129:1;48133:2;48137:12;48151:5;48098:22;:59::i;:::-;48080:150;;;;-1:-1:-1;;;48080:150:0;;;;;;;:::i;:::-;48239:14;;;;:::i;:::-;;;;48014:3;;;;;:::i;:::-;;;;47980:281;;;-1:-1:-1;48269:12:0;:27;;;48303:60;45999:311;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1530:180::-;1589:6;1642:2;1630:9;1621:7;1617:23;1613:32;1610:52;;;1658:1;1655;1648:12;1610:52;-1:-1:-1;1681:23:1;;1530:180;-1:-1:-1;1530:180:1:o;1923:131::-;-1:-1:-1;;;;;1998:31:1;;1988:42;;1978:70;;2044:1;2041;2034:12;2059:315;2127:6;2135;2188:2;2176:9;2167:7;2163:23;2159:32;2156:52;;;2204:1;2201;2194:12;2156:52;2243:9;2230:23;2262:31;2287:5;2262:31;:::i;:::-;2312:5;2364:2;2349:18;;;;2336:32;;-1:-1:-1;;;2059:315:1:o;2379:456::-;2456:6;2464;2472;2525:2;2513:9;2504:7;2500:23;2496:32;2493:52;;;2541:1;2538;2531:12;2493:52;2580:9;2567:23;2599:31;2624:5;2599:31;:::i;:::-;2649:5;-1:-1:-1;2706:2:1;2691:18;;2678:32;2719:33;2678:32;2719:33;:::i;:::-;2379:456;;2771:7;;-1:-1:-1;;;2825:2:1;2810:18;;;;2797:32;;2379:456::o;2840:118::-;2926:5;2919:13;2912:21;2905:5;2902:32;2892:60;;2948:1;2945;2938:12;2963:241;3019:6;3072:2;3060:9;3051:7;3047:23;3043:32;3040:52;;;3088:1;3085;3078:12;3040:52;3127:9;3114:23;3146:28;3168:5;3146:28;:::i;3209:261::-;3282:6;3335:2;3323:9;3314:7;3310:23;3306:32;3303:52;;;3351:1;3348;3341:12;3303:52;3390:9;3377:23;3409:31;3434:5;3409:31;:::i;3475:127::-;3536:10;3531:3;3527:20;3524:1;3517:31;3567:4;3564:1;3557:15;3591:4;3588:1;3581:15;3607:275;3678:2;3672:9;3743:2;3724:13;;-1:-1:-1;;3720:27:1;3708:40;;-1:-1:-1;;;;;3763:34:1;;3799:22;;;3760:62;3757:88;;;3825:18;;:::i;:::-;3861:2;3854:22;3607:275;;-1:-1:-1;3607:275:1:o;3887:1021::-;3971:6;4002:2;4045;4033:9;4024:7;4020:23;4016:32;4013:52;;;4061:1;4058;4051:12;4013:52;4101:9;4088:23;-1:-1:-1;;;;;4171:2:1;4163:6;4160:14;4157:34;;;4187:1;4184;4177:12;4157:34;4225:6;4214:9;4210:22;4200:32;;4270:7;4263:4;4259:2;4255:13;4251:27;4241:55;;4292:1;4289;4282:12;4241:55;4328:2;4315:16;4350:2;4346;4343:10;4340:36;;;4356:18;;:::i;:::-;4402:2;4399:1;4395:10;4385:20;;4425:28;4449:2;4445;4441:11;4425:28;:::i;:::-;4487:15;;;4557:11;;;4553:20;;;4518:12;;;;4585:19;;;4582:39;;;4617:1;4614;4607:12;4582:39;4641:11;;;;4661:217;4677:6;4672:3;4669:15;4661:217;;;4757:3;4744:17;4731:30;;4774:31;4799:5;4774:31;:::i;:::-;4818:18;;;4694:12;;;;4856;;;;4661:217;;;4897:5;3887:1021;-1:-1:-1;;;;;;;;3887:1021:1:o;4913:407::-;4978:5;-1:-1:-1;;;;;5004:6:1;5001:30;4998:56;;;5034:18;;:::i;:::-;5072:57;5117:2;5096:15;;-1:-1:-1;;5092:29:1;5123:4;5088:40;5072:57;:::i;:::-;5063:66;;5152:6;5145:5;5138:21;5192:3;5183:6;5178:3;5174:16;5171:25;5168:45;;;5209:1;5206;5199:12;5168:45;5258:6;5253:3;5246:4;5239:5;5235:16;5222:43;5312:1;5305:4;5296:6;5289:5;5285:18;5281:29;5274:40;4913:407;;;;;:::o;5325:451::-;5394:6;5447:2;5435:9;5426:7;5422:23;5418:32;5415:52;;;5463:1;5460;5453:12;5415:52;5503:9;5490:23;-1:-1:-1;;;;;5528:6:1;5525:30;5522:50;;;5568:1;5565;5558:12;5522:50;5591:22;;5644:4;5636:13;;5632:27;-1:-1:-1;5622:55:1;;5673:1;5670;5663:12;5622:55;5696:74;5762:7;5757:2;5744:16;5739:2;5735;5731:11;5696:74;:::i;6033:632::-;6204:2;6256:21;;;6326:13;;6229:18;;;6348:22;;;6175:4;;6204:2;6427:15;;;;6401:2;6386:18;;;6175:4;6470:169;6484:6;6481:1;6478:13;6470:169;;;6545:13;;6533:26;;6614:15;;;;6579:12;;;;6506:1;6499:9;6470:169;;;-1:-1:-1;6656:3:1;;6033:632;-1:-1:-1;;;;;;6033:632:1:o;6670:382::-;6735:6;6743;6796:2;6784:9;6775:7;6771:23;6767:32;6764:52;;;6812:1;6809;6802:12;6764:52;6851:9;6838:23;6870:31;6895:5;6870:31;:::i;:::-;6920:5;-1:-1:-1;6977:2:1;6962:18;;6949:32;6990:30;6949:32;6990:30;:::i;:::-;7039:7;7029:17;;;6670:382;;;;;:::o;7057:795::-;7152:6;7160;7168;7176;7229:3;7217:9;7208:7;7204:23;7200:33;7197:53;;;7246:1;7243;7236:12;7197:53;7285:9;7272:23;7304:31;7329:5;7304:31;:::i;:::-;7354:5;-1:-1:-1;7411:2:1;7396:18;;7383:32;7424:33;7383:32;7424:33;:::i;:::-;7476:7;-1:-1:-1;7530:2:1;7515:18;;7502:32;;-1:-1:-1;7585:2:1;7570:18;;7557:32;-1:-1:-1;;;;;7601:30:1;;7598:50;;;7644:1;7641;7634:12;7598:50;7667:22;;7720:4;7712:13;;7708:27;-1:-1:-1;7698:55:1;;7749:1;7746;7739:12;7698:55;7772:74;7838:7;7833:2;7820:16;7815:2;7811;7807:11;7772:74;:::i;:::-;7762:84;;;7057:795;;;;;;;:::o;7857:388::-;7925:6;7933;7986:2;7974:9;7965:7;7961:23;7957:32;7954:52;;;8002:1;7999;7992:12;7954:52;8041:9;8028:23;8060:31;8085:5;8060:31;:::i;:::-;8110:5;-1:-1:-1;8167:2:1;8152:18;;8139:32;8180:33;8139:32;8180:33;:::i;8250:380::-;8329:1;8325:12;;;;8372;;;8393:61;;8447:4;8439:6;8435:17;8425:27;;8393:61;8500:2;8492:6;8489:14;8469:18;8466:38;8463:161;;8546:10;8541:3;8537:20;8534:1;8527:31;8581:4;8578:1;8571:15;8609:4;8606:1;8599:15;8463:161;;8250:380;;;:::o;10238:127::-;10299:10;10294:3;10290:20;10287:1;10280:31;10330:4;10327:1;10320:15;10354:4;10351:1;10344:15;10370:125;10435:9;;;10456:10;;;10453:36;;;10469:18;;:::i;10500:168::-;10573:9;;;10604;;10621:15;;;10615:22;;10601:37;10591:71;;10642:18;;:::i;11026:348::-;11228:2;11210:21;;;11267:2;11247:18;;;11240:30;11306:26;11301:2;11286:18;;11279:54;11365:2;11350:18;;11026:348::o;12085:184::-;12155:6;12208:2;12196:9;12187:7;12183:23;12179:32;12176:52;;;12224:1;12221;12214:12;12176:52;-1:-1:-1;12247:16:1;;12085:184;-1:-1:-1;12085:184:1:o;13490:356::-;13692:2;13674:21;;;13711:18;;;13704:30;13770:34;13765:2;13750:18;;13743:62;13837:2;13822:18;;13490:356::o;14254:135::-;14293:3;14314:17;;;14311:43;;14334:18;;:::i;:::-;-1:-1:-1;14381:1:1;14370:13;;14254:135::o;15088:245::-;15155:6;15208:2;15196:9;15187:7;15183:23;15179:32;15176:52;;;15224:1;15221;15214:12;15176:52;15256:9;15250:16;15275:28;15297:5;15275:28;:::i;15742:127::-;15803:10;15798:3;15794:20;15791:1;15784:31;15834:4;15831:1;15824:15;15858:4;15855:1;15848:15;16000:545;16102:2;16097:3;16094:11;16091:448;;;16138:1;16163:5;16159:2;16152:17;16208:4;16204:2;16194:19;16278:2;16266:10;16262:19;16259:1;16255:27;16249:4;16245:38;16314:4;16302:10;16299:20;16296:47;;;-1:-1:-1;16337:4:1;16296:47;16392:2;16387:3;16383:12;16380:1;16376:20;16370:4;16366:31;16356:41;;16447:82;16465:2;16458:5;16455:13;16447:82;;;16510:17;;;16491:1;16480:13;16447:82;;16721:1352;16847:3;16841:10;-1:-1:-1;;;;;16866:6:1;16863:30;16860:56;;;16896:18;;:::i;:::-;16925:97;17015:6;16975:38;17007:4;17001:11;16975:38;:::i;:::-;16969:4;16925:97;:::i;:::-;17077:4;;17141:2;17130:14;;17158:1;17153:663;;;;17860:1;17877:6;17874:89;;;-1:-1:-1;17929:19:1;;;17923:26;17874:89;-1:-1:-1;;16678:1:1;16674:11;;;16670:24;16666:29;16656:40;16702:1;16698:11;;;16653:57;17976:81;;17123:944;;17153:663;15947:1;15940:14;;;15984:4;15971:18;;-1:-1:-1;;17189:20:1;;;17307:236;17321:7;17318:1;17315:14;17307:236;;;17410:19;;;17404:26;17389:42;;17502:27;;;;17470:1;17458:14;;;;17337:19;;17307:236;;;17311:3;17571:6;17562:7;17559:19;17556:201;;;17632:19;;;17626:26;-1:-1:-1;;17715:1:1;17711:14;;;17727:3;17707:24;17703:37;17699:42;17684:58;17669:74;;17556:201;-1:-1:-1;;;;;17803:1:1;17787:14;;;17783:22;17770:36;;-1:-1:-1;16721:1352:1:o;19197:415::-;19399:2;19381:21;;;19438:2;19418:18;;;19411:30;19477:34;19472:2;19457:18;;19450:62;-1:-1:-1;;;19543:2:1;19528:18;;19521:49;19602:3;19587:19;;19197:415::o;19963:1322::-;20341:3;20370:1;20403:6;20397:13;20433:36;20459:9;20433:36;:::i;:::-;20488:1;20505:18;;;20532:133;;;;20679:1;20674:356;;;;20498:532;;20532:133;-1:-1:-1;;20565:24:1;;20553:37;;20638:14;;20631:22;20619:35;;20610:45;;;-1:-1:-1;20532:133:1;;20674:356;20705:6;20702:1;20695:17;20735:4;20780:2;20777:1;20767:16;20805:1;20819:165;20833:6;20830:1;20827:13;20819:165;;;20911:14;;20898:11;;;20891:35;20954:16;;;;20848:10;;20819:165;;;20823:3;;;21013:6;21008:3;21004:16;20997:23;;20498:532;;-1:-1:-1;;;21046:3:1;21039:16;21086:6;21080:13;21064:29;;21102:77;21170:8;21165:2;21160:3;21156:12;21149:4;21141:6;21137:17;21102:77;:::i;:::-;-1:-1:-1;;;21198:18:1;;;;21232:11;;;21225:28;;;;21277:1;21269:10;;19963:1322;-1:-1:-1;;;;;19963:1322:1:o;22929:200::-;-1:-1:-1;;;;;23065:10:1;;;23053;;;23049:27;;23088:12;;;23085:38;;;23103:18;;:::i;:::-;23085:38;22929:200;;;;:::o;23134:197::-;-1:-1:-1;;;;;23256:10:1;;;23268;;;23252:27;;23291:11;;;23288:37;;;23305:18;;:::i;23747:128::-;23814:9;;;23835:11;;;23832:37;;;23849:18;;:::i;23880:136::-;23919:3;23947:5;23937:39;;23956:18;;:::i;:::-;-1:-1:-1;;;23992:18:1;;23880:136::o;24437:489::-;-1:-1:-1;;;;;24706:15:1;;;24688:34;;24758:15;;24753:2;24738:18;;24731:43;24805:2;24790:18;;24783:34;;;24853:3;24848:2;24833:18;;24826:31;;;24631:4;;24874:46;;24900:19;;24892:6;24874:46;:::i;:::-;24866:54;24437:489;-1:-1:-1;;;;;;24437:489:1:o;24931:249::-;25000:6;25053:2;25041:9;25032:7;25028:23;25024:32;25021:52;;;25069:1;25066;25059:12;25021:52;25101:9;25095:16;25120:30;25144:5;25120:30;:::i;25185:127::-;25246:10;25241:3;25237:20;25234:1;25227:31;25277:4;25274:1;25267:15;25301:4;25298:1;25291:15;25317:120;25357:1;25383;25373:35;;25388:18;;:::i;:::-;-1:-1:-1;25422:9:1;;25317:120::o;25442:112::-;25474:1;25500;25490:35;;25505:18;;:::i;:::-;-1:-1:-1;25539:9:1;;25442:112::o

Swarm Source

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