ETH Price: $3,463.03 (+5.24%)

Token

RR/MAYC (RR/MAYC)
 

Overview

Max Total Supply

5,555 RR/MAYC

Holders

2,350

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
drsizzled.eth
Balance
1 RR/MAYC
0x4cb9f9e4f1878626edd77cafcdcbccb52aad2b04
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:
RRMAYC

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-21
*/

/**
 *Submitted for verification at Etherscan.io on 2022-04-09
*/

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// 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


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

pragma solidity ^0.8.0;


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


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

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// 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 RRMAYC is ERC721A, IERC2981, Ownable, ReentrancyGuard {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private tokenCounter;

    
    address private openSeaProxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;
    bool private isOpenSeaProxyActive = true;

    uint256 public constant MAX_MINTS_PER_TX = 5;
    uint256 public maxSupply = 5555;

    uint256 public constant PUBLIC_SALE_PRICE = 0.005 ether;
    uint256 public NUM_FREE_MINTS = 555;
    bool public isPublicSaleActive = true;




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

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



    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()>NUM_FREE_MINTS){
        require(
            (price * numberOfTokens) == msg.value,
            "Incorrect ETH value sent"
        );
        }
        _;
    }


    constructor(
    ) ERC721A("RR/MAYC", "RR/MAYC", 100, maxSupply) {
    }

    // ============ PUBLIC FUNCTIONS FOR MINTING ============

    function mint(uint256 numberOfTokens)
        external
        payable
        nonReentrant
        isCorrectPayment(PUBLIC_SALE_PRICE, numberOfTokens)
        publicSaleActive
        canMintNFTs(numberOfTokens)
        maxMintsPerTX(numberOfTokens)
    {

        _safeMint(msg.sender, numberOfTokens);
    }



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

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

    

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

    

    // function to disable gasless listings for security in case
    // opensea ever shuts down or is compromised
    function setIsOpenSeaProxyActive(bool _isOpenSeaProxyActive)
        external
        onlyOwner
    {
        isOpenSeaProxyActive = _isOpenSeaProxyActive;
    }

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


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


    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();
    }

    // ============ FUNCTION OVERRIDES ============

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721A, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC2981).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev Override isApprovedForAll to allowlist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        // Get a reference to OpenSea's proxy registry contract by instantiating
        // the contract using the already existing address.
        ProxyRegistry proxyRegistry = ProxyRegistry(
            openSeaProxyRegistryAddress
        );
        if (
            isOpenSeaProxyActive &&
            address(proxyRegistry.proxies(owner)) == operator
        ) {
            return true;
        }

        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("https://boredapeyachtclub.com/api/mutants/", (tokenId+1).toString()));
    }

    /**
     * @dev See {IERC165-royaltyInfo}.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        require(_exists(tokenId), "Nonexistent token");

        return (address(this), SafeMath.div(SafeMath.mul(salePrice, 5), 100));
    }
}

// These contract definitions are used to create a reference to the OpenSea
// ProxyRegistry contract by using the registry's address (see isApprovedForAll).
contract OwnableDelegateProxy {

}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

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":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"bool","name":"_isOpenSeaProxyActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numfreemints","type":"uint256"}],"name":"setNumFreeMints","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526000808055600755600b80546001600160a81b0319167401a5409ec958c83c3f309868babaca7c86dcb077c11790556115b3600c5561022b600d55600e805460ff191660011790553480156200005957600080fd5b506040518060400160405280600781526020016652522f4d41594360c81b8152506040518060400160405280600781526020016652522f4d41594360c81b8152506064600c54600081116200010c5760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b600082116200016e5760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840162000103565b8351620001839060019060208701906200020e565b508251620001999060029060208601906200020e565b5060a09190915260805250620001b1905033620001bc565b6001600955620002f1565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200021c90620002b4565b90600052602060002090601f0160209004810192826200024057600085556200028b565b82601f106200025b57805160ff19168380011785556200028b565b828001600101855582156200028b579182015b828111156200028b5782518255916020019190600101906200026e565b50620002999291506200029d565b5090565b5b808211156200029957600081556001016200029e565b600181811c90821680620002c957607f821691505b60208210811415620002eb57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05161246e62000322600039600081816117b9015281816117e30152611c1501526000505061246e6000f3fe6080604052600436106101e35760003560e01c80636352211e11610102578063b88d4fde11610095578063d7224ba011610064578063d7224ba014610561578063e43082f714610577578063e985e9c514610597578063f2fde38b146105b757600080fd5b8063b88d4fde146104f6578063c6a91b4214610516578063c87b56dd1461052b578063d5abeb011461054b57600080fd5b806395d89b41116100d157806395d89b4114610498578063982d669e146104ad578063a0712d68146104c3578063a22cb465146104d657600080fd5b80636352211e1461042557806370a0823114610445578063715018a6146104655780638da5cb5b1461047a57600080fd5b806323b872dd1161017a5780633ccfd60b116101495780633ccfd60b146103b057806342842e0e146103c557806349df728c146103e55780634f6ccce71461040557600080fd5b806323b872dd1461031157806328cad13d146103315780632a55205a146103515780632f745c591461039057600080fd5b8063095ea7b3116101b6578063095ea7b3146102a05780630a00ae83146102c257806318160ddd146102e25780631e84c413146102f757600080fd5b806301ffc9a7146101e857806306fdde031461021d57806307e89ec01461023f578063081812fc14610268575b600080fd5b3480156101f457600080fd5b5061020861020336600461203e565b6105d7565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610602565b60405161021491906121aa565b34801561024b57600080fd5b5061025a6611c37937e0800081565b604051908152602001610214565b34801561027457600080fd5b50610288610283366004612095565b610694565b6040516001600160a01b039091168152602001610214565b3480156102ac57600080fd5b506102c06102bb366004611fd8565b610724565b005b3480156102ce57600080fd5b506102c06102dd366004612095565b61083c565b3480156102ee57600080fd5b5060005461025a565b34801561030357600080fd5b50600e546102089060ff1681565b34801561031d57600080fd5b506102c061032c366004611e89565b61086b565b34801561033d57600080fd5b506102c061034c366004612004565b610876565b34801561035d57600080fd5b5061037161036c3660046120c7565b6108b3565b604080516001600160a01b039093168352602083019190915201610214565b34801561039c57600080fd5b5061025a6103ab366004611fd8565b610922565b3480156103bc57600080fd5b506102c0610a90565b3480156103d157600080fd5b506102c06103e0366004611e89565b610aed565b3480156103f157600080fd5b506102c0610400366004611e33565b610b08565b34801561041157600080fd5b5061025a610420366004612095565b610c2f565b34801561043157600080fd5b50610288610440366004612095565b610c91565b34801561045157600080fd5b5061025a610460366004611e33565b610ca3565b34801561047157600080fd5b506102c0610d34565b34801561048657600080fd5b506008546001600160a01b0316610288565b3480156104a457600080fd5b50610232610d6a565b3480156104b957600080fd5b5061025a600d5481565b6102c06104d1366004612095565b610d79565b3480156104e257600080fd5b506102c06104f1366004611faa565b610f76565b34801561050257600080fd5b506102c0610511366004611eca565b61103b565b34801561052257600080fd5b5061025a600581565b34801561053757600080fd5b50610232610546366004612095565b611074565b34801561055757600080fd5b5061025a600c5481565b34801561056d57600080fd5b5061025a60075481565b34801561058357600080fd5b506102c0610592366004612004565b6110fa565b3480156105a357600080fd5b506102086105b2366004611e50565b611142565b3480156105c357600080fd5b506102c06105d2366004611e33565b61122e565b60006001600160e01b0319821663152a902d60e11b14806105fc57506105fc826112c9565b92915050565b6060600180546106119061233d565b80601f016020809104026020016040519081016040528092919081815260200182805461063d9061233d565b801561068a5780601f1061065f5761010080835404028352916020019161068a565b820191906000526020600020905b81548152906001019060200180831161066d57829003601f168201915b5050505050905090565b60006106a1826000541190565b6107085760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061072f82610c91565b9050806001600160a01b0316836001600160a01b0316141561079e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016106ff565b336001600160a01b03821614806107ba57506107ba8133611142565b61082c5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016106ff565b610837838383611334565b505050565b6008546001600160a01b031633146108665760405162461bcd60e51b81526004016106ff906121bd565b600d55565b610837838383611390565b6008546001600160a01b031633146108a05760405162461bcd60e51b81526004016106ff906121bd565b600e805460ff1916911515919091179055565b6000806108c1846000541190565b6109015760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106ff565b30610917610910856005611718565b606461172b565b915091509250929050565b600061092d83610ca3565b82106109865760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106ff565b600080549080805b83811015610a30576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156109e157805192505b876001600160a01b0316836001600160a01b03161415610a1d5786841415610a0f575093506105fc92505050565b83610a1981612378565b9450505b5080610a2881612378565b91505061098e565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016106ff565b6008546001600160a01b03163314610aba5760405162461bcd60e51b81526004016106ff906121bd565b6040514790339082156108fc029083906000818181858888f19350505050158015610ae9573d6000803e3d6000fd5b5050565b6108378383836040518060200160405280600081525061103b565b6008546001600160a01b03163314610b325760405162461bcd60e51b81526004016106ff906121bd565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610b7457600080fd5b505afa158015610b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bac91906120ae565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610bf757600080fd5b505af1158015610c0b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190612021565b600080548210610c8d5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016106ff565b5090565b6000610c9c82611737565b5192915050565b60006001600160a01b038216610d0f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016106ff565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b03163314610d5e5760405162461bcd60e51b81526004016106ff906121bd565b610d6860006118e1565b565b6060600280546106119061233d565b60026009541415610dcc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106ff565b6002600955600d546000546611c37937e080009183911115610e405734610df3828461229c565b14610e405760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e74000000000000000060448201526064016106ff565b600e5460ff16610e925760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016106ff565b82600c5481610ea060005490565b610eaa9190612270565b1115610f035760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b60648201526084016106ff565b836005811115610f605760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016106ff565b610f6a3386611933565b50506001600955505050565b6001600160a01b038216331415610fcf5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016106ff565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611046848484611390565b6110528484848461194d565b61106e5760405162461bcd60e51b81526004016106ff906121f2565b50505050565b6060611081826000541190565b6110c15760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106ff565b6110d46110cf836001612270565b611a5a565b6040516020016110e49190612115565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146111245760405162461bcd60e51b81526004016106ff906121bd565b600b8054911515600160a01b0260ff60a01b19909216919091179055565b600b546000906001600160a01b03811690600160a01b900460ff1680156111ed575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b1580156111aa57600080fd5b505afa1580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e29190612078565b6001600160a01b0316145b156111fc5760019150506105fc565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b031633146112585760405162461bcd60e51b81526004016106ff906121bd565b6001600160a01b0381166112bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ff565b6112c6816118e1565b50565b60006001600160e01b031982166380ac58cd60e01b14806112fa57506001600160e01b03198216635b5e139f60e01b145b8061131557506001600160e01b0319821663780e9d6360e01b145b806105fc57506301ffc9a760e01b6001600160e01b03198316146105fc565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061139b82611737565b80519091506000906001600160a01b0316336001600160a01b031614806113d25750336113c784610694565b6001600160a01b0316145b806113e4575081516113e49033611142565b90508061144e5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016106ff565b846001600160a01b031682600001516001600160a01b0316146114c25760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016106ff565b6001600160a01b0384166115265760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106ff565b6115366000848460000151611334565b6001600160a01b03851660009081526004602052604081208054600192906115689084906001600160801b03166122bb565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260046020526040812080546001945090926115b491859116612245565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561163c846001612270565b6000818152600360205260409020549091506001600160a01b03166116ce57611666816000541190565b156116ce5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000611724828461229c565b9392505050565b60006117248284612288565b6040805180820190915260008082526020820152611756826000541190565b6117b55760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016106ff565b60007f00000000000000000000000000000000000000000000000000000000000000008310611816576118087f0000000000000000000000000000000000000000000000000000000000000000846122e3565b611813906001612270565b90505b825b818110611880576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561186d57949350505050565b508061187881612326565b915050611818565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016106ff565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ae9828260405180602001604052806000815250611b58565b60006001600160a01b0384163b15611a4f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061199190339089908890889060040161216d565b602060405180830381600087803b1580156119ab57600080fd5b505af19250505080156119db575060408051601f3d908101601f191682019092526119d89181019061205b565b60015b611a35573d808015611a09576040519150601f19603f3d011682016040523d82523d6000602084013e611a0e565b606091505b508051611a2d5760405162461bcd60e51b81526004016106ff906121f2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611226565b506001949350505050565b606081611a7e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611aa85780611a9281612378565b9150611aa19050600a83612288565b9150611a82565b60008167ffffffffffffffff811115611ac357611ac36123e9565b6040519080825280601f01601f191660200182016040528015611aed576020820181803683370190505b5090505b841561122657611b026001836122e3565b9150611b0f600a86612393565b611b1a906030612270565b60f81b818381518110611b2f57611b2f6123d3565b60200101906001600160f81b031916908160001a905350611b51600a86612288565b9450611af1565b6000546001600160a01b038416611bbb5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106ff565b611bc6816000541190565b15611c135760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016106ff565b7f0000000000000000000000000000000000000000000000000000000000000000831115611c8e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016106ff565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611cea908790612245565b6001600160801b03168152602001858360200151611d089190612245565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611e285760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611dec600088848861194d565b611e085760405162461bcd60e51b81526004016106ff906121f2565b81611e1281612378565b9250508080611e2090612378565b915050611d9f565b506000819055611710565b600060208284031215611e4557600080fd5b8135611724816123ff565b60008060408385031215611e6357600080fd5b8235611e6e816123ff565b91506020830135611e7e816123ff565b809150509250929050565b600080600060608486031215611e9e57600080fd5b8335611ea9816123ff565b92506020840135611eb9816123ff565b929592945050506040919091013590565b60008060008060808587031215611ee057600080fd5b8435611eeb816123ff565b93506020850135611efb816123ff565b925060408501359150606085013567ffffffffffffffff80821115611f1f57600080fd5b818701915087601f830112611f3357600080fd5b813581811115611f4557611f456123e9565b604051601f8201601f19908116603f01168101908382118183101715611f6d57611f6d6123e9565b816040528281528a6020848701011115611f8657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611fbd57600080fd5b8235611fc8816123ff565b91506020830135611e7e81612414565b60008060408385031215611feb57600080fd5b8235611ff6816123ff565b946020939093013593505050565b60006020828403121561201657600080fd5b813561172481612414565b60006020828403121561203357600080fd5b815161172481612414565b60006020828403121561205057600080fd5b813561172481612422565b60006020828403121561206d57600080fd5b815161172481612422565b60006020828403121561208a57600080fd5b8151611724816123ff565b6000602082840312156120a757600080fd5b5035919050565b6000602082840312156120c057600080fd5b5051919050565b600080604083850312156120da57600080fd5b50508035926020909101359150565b600081518084526121018160208601602086016122fa565b601f01601f19169290920160200192915050565b7f68747470733a2f2f626f7265646170657961636874636c75622e636f6d2f6170815269692f6d7574616e74732f60b01b60208201526000825161216081602a8501602087016122fa565b91909101602a0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121a0908301846120e9565b9695505050505050565b60208152600061172460208301846120e9565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60006001600160801b03808316818516808303821115612267576122676123a7565b01949350505050565b60008219821115612283576122836123a7565b500190565b600082612297576122976123bd565b500490565b60008160001904831182151516156122b6576122b66123a7565b500290565b60006001600160801b03838116908316818110156122db576122db6123a7565b039392505050565b6000828210156122f5576122f56123a7565b500390565b60005b838110156123155781810151838201526020016122fd565b8381111561106e5750506000910152565b600081612335576123356123a7565b506000190190565b600181811c9082168061235157607f821691505b6020821081141561237257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561238c5761238c6123a7565b5060010190565b6000826123a2576123a26123bd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146112c657600080fd5b80151581146112c657600080fd5b6001600160e01b0319811681146112c657600080fdfea26469706673582212209371a69afe5c1ae4ef70bdff2b3e2a0287ea228f33692d87a739bf4a8c87addf64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80636352211e11610102578063b88d4fde11610095578063d7224ba011610064578063d7224ba014610561578063e43082f714610577578063e985e9c514610597578063f2fde38b146105b757600080fd5b8063b88d4fde146104f6578063c6a91b4214610516578063c87b56dd1461052b578063d5abeb011461054b57600080fd5b806395d89b41116100d157806395d89b4114610498578063982d669e146104ad578063a0712d68146104c3578063a22cb465146104d657600080fd5b80636352211e1461042557806370a0823114610445578063715018a6146104655780638da5cb5b1461047a57600080fd5b806323b872dd1161017a5780633ccfd60b116101495780633ccfd60b146103b057806342842e0e146103c557806349df728c146103e55780634f6ccce71461040557600080fd5b806323b872dd1461031157806328cad13d146103315780632a55205a146103515780632f745c591461039057600080fd5b8063095ea7b3116101b6578063095ea7b3146102a05780630a00ae83146102c257806318160ddd146102e25780631e84c413146102f757600080fd5b806301ffc9a7146101e857806306fdde031461021d57806307e89ec01461023f578063081812fc14610268575b600080fd5b3480156101f457600080fd5b5061020861020336600461203e565b6105d7565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610602565b60405161021491906121aa565b34801561024b57600080fd5b5061025a6611c37937e0800081565b604051908152602001610214565b34801561027457600080fd5b50610288610283366004612095565b610694565b6040516001600160a01b039091168152602001610214565b3480156102ac57600080fd5b506102c06102bb366004611fd8565b610724565b005b3480156102ce57600080fd5b506102c06102dd366004612095565b61083c565b3480156102ee57600080fd5b5060005461025a565b34801561030357600080fd5b50600e546102089060ff1681565b34801561031d57600080fd5b506102c061032c366004611e89565b61086b565b34801561033d57600080fd5b506102c061034c366004612004565b610876565b34801561035d57600080fd5b5061037161036c3660046120c7565b6108b3565b604080516001600160a01b039093168352602083019190915201610214565b34801561039c57600080fd5b5061025a6103ab366004611fd8565b610922565b3480156103bc57600080fd5b506102c0610a90565b3480156103d157600080fd5b506102c06103e0366004611e89565b610aed565b3480156103f157600080fd5b506102c0610400366004611e33565b610b08565b34801561041157600080fd5b5061025a610420366004612095565b610c2f565b34801561043157600080fd5b50610288610440366004612095565b610c91565b34801561045157600080fd5b5061025a610460366004611e33565b610ca3565b34801561047157600080fd5b506102c0610d34565b34801561048657600080fd5b506008546001600160a01b0316610288565b3480156104a457600080fd5b50610232610d6a565b3480156104b957600080fd5b5061025a600d5481565b6102c06104d1366004612095565b610d79565b3480156104e257600080fd5b506102c06104f1366004611faa565b610f76565b34801561050257600080fd5b506102c0610511366004611eca565b61103b565b34801561052257600080fd5b5061025a600581565b34801561053757600080fd5b50610232610546366004612095565b611074565b34801561055757600080fd5b5061025a600c5481565b34801561056d57600080fd5b5061025a60075481565b34801561058357600080fd5b506102c0610592366004612004565b6110fa565b3480156105a357600080fd5b506102086105b2366004611e50565b611142565b3480156105c357600080fd5b506102c06105d2366004611e33565b61122e565b60006001600160e01b0319821663152a902d60e11b14806105fc57506105fc826112c9565b92915050565b6060600180546106119061233d565b80601f016020809104026020016040519081016040528092919081815260200182805461063d9061233d565b801561068a5780601f1061065f5761010080835404028352916020019161068a565b820191906000526020600020905b81548152906001019060200180831161066d57829003601f168201915b5050505050905090565b60006106a1826000541190565b6107085760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061072f82610c91565b9050806001600160a01b0316836001600160a01b0316141561079e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016106ff565b336001600160a01b03821614806107ba57506107ba8133611142565b61082c5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016106ff565b610837838383611334565b505050565b6008546001600160a01b031633146108665760405162461bcd60e51b81526004016106ff906121bd565b600d55565b610837838383611390565b6008546001600160a01b031633146108a05760405162461bcd60e51b81526004016106ff906121bd565b600e805460ff1916911515919091179055565b6000806108c1846000541190565b6109015760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106ff565b30610917610910856005611718565b606461172b565b915091509250929050565b600061092d83610ca3565b82106109865760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106ff565b600080549080805b83811015610a30576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156109e157805192505b876001600160a01b0316836001600160a01b03161415610a1d5786841415610a0f575093506105fc92505050565b83610a1981612378565b9450505b5080610a2881612378565b91505061098e565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016106ff565b6008546001600160a01b03163314610aba5760405162461bcd60e51b81526004016106ff906121bd565b6040514790339082156108fc029083906000818181858888f19350505050158015610ae9573d6000803e3d6000fd5b5050565b6108378383836040518060200160405280600081525061103b565b6008546001600160a01b03163314610b325760405162461bcd60e51b81526004016106ff906121bd565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610b7457600080fd5b505afa158015610b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bac91906120ae565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610bf757600080fd5b505af1158015610c0b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190612021565b600080548210610c8d5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016106ff565b5090565b6000610c9c82611737565b5192915050565b60006001600160a01b038216610d0f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016106ff565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b03163314610d5e5760405162461bcd60e51b81526004016106ff906121bd565b610d6860006118e1565b565b6060600280546106119061233d565b60026009541415610dcc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106ff565b6002600955600d546000546611c37937e080009183911115610e405734610df3828461229c565b14610e405760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e74000000000000000060448201526064016106ff565b600e5460ff16610e925760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016106ff565b82600c5481610ea060005490565b610eaa9190612270565b1115610f035760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b60648201526084016106ff565b836005811115610f605760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016106ff565b610f6a3386611933565b50506001600955505050565b6001600160a01b038216331415610fcf5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016106ff565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611046848484611390565b6110528484848461194d565b61106e5760405162461bcd60e51b81526004016106ff906121f2565b50505050565b6060611081826000541190565b6110c15760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106ff565b6110d46110cf836001612270565b611a5a565b6040516020016110e49190612115565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146111245760405162461bcd60e51b81526004016106ff906121bd565b600b8054911515600160a01b0260ff60a01b19909216919091179055565b600b546000906001600160a01b03811690600160a01b900460ff1680156111ed575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b1580156111aa57600080fd5b505afa1580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e29190612078565b6001600160a01b0316145b156111fc5760019150506105fc565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b031633146112585760405162461bcd60e51b81526004016106ff906121bd565b6001600160a01b0381166112bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ff565b6112c6816118e1565b50565b60006001600160e01b031982166380ac58cd60e01b14806112fa57506001600160e01b03198216635b5e139f60e01b145b8061131557506001600160e01b0319821663780e9d6360e01b145b806105fc57506301ffc9a760e01b6001600160e01b03198316146105fc565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061139b82611737565b80519091506000906001600160a01b0316336001600160a01b031614806113d25750336113c784610694565b6001600160a01b0316145b806113e4575081516113e49033611142565b90508061144e5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016106ff565b846001600160a01b031682600001516001600160a01b0316146114c25760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016106ff565b6001600160a01b0384166115265760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106ff565b6115366000848460000151611334565b6001600160a01b03851660009081526004602052604081208054600192906115689084906001600160801b03166122bb565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260046020526040812080546001945090926115b491859116612245565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561163c846001612270565b6000818152600360205260409020549091506001600160a01b03166116ce57611666816000541190565b156116ce5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6000611724828461229c565b9392505050565b60006117248284612288565b6040805180820190915260008082526020820152611756826000541190565b6117b55760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016106ff565b60007f00000000000000000000000000000000000000000000000000000000000000648310611816576118087f0000000000000000000000000000000000000000000000000000000000000064846122e3565b611813906001612270565b90505b825b818110611880576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561186d57949350505050565b508061187881612326565b915050611818565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016106ff565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ae9828260405180602001604052806000815250611b58565b60006001600160a01b0384163b15611a4f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061199190339089908890889060040161216d565b602060405180830381600087803b1580156119ab57600080fd5b505af19250505080156119db575060408051601f3d908101601f191682019092526119d89181019061205b565b60015b611a35573d808015611a09576040519150601f19603f3d011682016040523d82523d6000602084013e611a0e565b606091505b508051611a2d5760405162461bcd60e51b81526004016106ff906121f2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611226565b506001949350505050565b606081611a7e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611aa85780611a9281612378565b9150611aa19050600a83612288565b9150611a82565b60008167ffffffffffffffff811115611ac357611ac36123e9565b6040519080825280601f01601f191660200182016040528015611aed576020820181803683370190505b5090505b841561122657611b026001836122e3565b9150611b0f600a86612393565b611b1a906030612270565b60f81b818381518110611b2f57611b2f6123d3565b60200101906001600160f81b031916908160001a905350611b51600a86612288565b9450611af1565b6000546001600160a01b038416611bbb5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106ff565b611bc6816000541190565b15611c135760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016106ff565b7f0000000000000000000000000000000000000000000000000000000000000064831115611c8e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016106ff565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611cea908790612245565b6001600160801b03168152602001858360200151611d089190612245565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611e285760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611dec600088848861194d565b611e085760405162461bcd60e51b81526004016106ff906121f2565b81611e1281612378565b9250508080611e2090612378565b915050611d9f565b506000819055611710565b600060208284031215611e4557600080fd5b8135611724816123ff565b60008060408385031215611e6357600080fd5b8235611e6e816123ff565b91506020830135611e7e816123ff565b809150509250929050565b600080600060608486031215611e9e57600080fd5b8335611ea9816123ff565b92506020840135611eb9816123ff565b929592945050506040919091013590565b60008060008060808587031215611ee057600080fd5b8435611eeb816123ff565b93506020850135611efb816123ff565b925060408501359150606085013567ffffffffffffffff80821115611f1f57600080fd5b818701915087601f830112611f3357600080fd5b813581811115611f4557611f456123e9565b604051601f8201601f19908116603f01168101908382118183101715611f6d57611f6d6123e9565b816040528281528a6020848701011115611f8657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611fbd57600080fd5b8235611fc8816123ff565b91506020830135611e7e81612414565b60008060408385031215611feb57600080fd5b8235611ff6816123ff565b946020939093013593505050565b60006020828403121561201657600080fd5b813561172481612414565b60006020828403121561203357600080fd5b815161172481612414565b60006020828403121561205057600080fd5b813561172481612422565b60006020828403121561206d57600080fd5b815161172481612422565b60006020828403121561208a57600080fd5b8151611724816123ff565b6000602082840312156120a757600080fd5b5035919050565b6000602082840312156120c057600080fd5b5051919050565b600080604083850312156120da57600080fd5b50508035926020909101359150565b600081518084526121018160208601602086016122fa565b601f01601f19169290920160200192915050565b7f68747470733a2f2f626f7265646170657961636874636c75622e636f6d2f6170815269692f6d7574616e74732f60b01b60208201526000825161216081602a8501602087016122fa565b91909101602a0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121a0908301846120e9565b9695505050505050565b60208152600061172460208301846120e9565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60006001600160801b03808316818516808303821115612267576122676123a7565b01949350505050565b60008219821115612283576122836123a7565b500190565b600082612297576122976123bd565b500490565b60008160001904831182151516156122b6576122b66123a7565b500290565b60006001600160801b03838116908316818110156122db576122db6123a7565b039392505050565b6000828210156122f5576122f56123a7565b500390565b60005b838110156123155781810151838201526020016122fd565b8381111561106e5750506000910152565b600081612335576123356123a7565b506000190190565b600181811c9082168061235157607f821691505b6020821081141561237257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561238c5761238c6123a7565b5060010190565b6000826123a2576123a26123bd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146112c657600080fd5b80151581146112c657600080fd5b6001600160e01b0319811681146112c657600080fdfea26469706673582212209371a69afe5c1ae4ef70bdff2b3e2a0287ea228f33692d87a739bf4a8c87addf64736f6c63430008070033

Deployed Bytecode Sourcemap

55020:5450:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58636:292;;;;;;;;;;-1:-1:-1;58636:292:0;;;;;:::i;:::-;;:::i;:::-;;;7180:14:1;;7173:22;7155:41;;7143:2;7128:18;58636:292:0;;;;;;;;44239:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;55453:55::-;;;;;;;;;;;;55497:11;55453:55;;;;;17436:25:1;;;17424:2;17409:18;55453:55:0;17290:177:1;45764:204:0;;;;;;;;;;-1:-1:-1;45764:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6199:32:1;;;6181:51;;6169:2;6154:18;45764:204:0;6035:203:1;45327:379:0;;;;;;;;;;-1:-1:-1;45327:379:0;;;;;:::i;:::-;;:::i;:::-;;57904:139;;;;;;;;;;-1:-1:-1;57904:139:0;;;;;:::i;:::-;;:::i;41074:94::-;;;;;;;;;;-1:-1:-1;41127:7:0;41150:12;41074:94;;55557:37;;;;;;;;;;-1:-1:-1;55557:37:0;;;;;;;;46614:142;;;;;;;;;;-1:-1:-1;46614:142:0;;;;;:::i;:::-;;:::i;57736:158::-;;;;;;;;;;-1:-1:-1;57736:158:0;;;;;:::i;:::-;;:::i;60149:318::-;;;;;;;;;;-1:-1:-1;60149:318:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6928:32:1;;;6910:51;;6992:2;6977:18;;6970:34;;;;6883:18;60149:318:0;6736:274:1;41705:744:0;;;;;;;;;;-1:-1:-1;41705:744:0;;;;;:::i;:::-;;:::i;58053:143::-;;;;;;;;;;;;;:::i;46819:157::-;;;;;;;;;;-1:-1:-1;46819:157:0;;;;;:::i;:::-;;:::i;58204:168::-;;;;;;;;;;-1:-1:-1;58204:168:0;;;;;:::i;:::-;;:::i;41237:177::-;;;;;;;;;;-1:-1:-1;41237:177:0;;;;;:::i;:::-;;:::i;44062:118::-;;;;;;;;;;-1:-1:-1;44062:118:0;;;;;:::i;:::-;;:::i;42939:211::-;;;;;;;;;;-1:-1:-1;42939:211:0;;;;;:::i;:::-;;:::i;19097:103::-;;;;;;;;;;;;;:::i;18446:87::-;;;;;;;;;;-1:-1:-1;18519:6:0;;-1:-1:-1;;;;;18519:6:0;18446:87;;44394:98;;;;;;;;;;;;;:::i;55515:35::-;;;;;;;;;;;;;;;;56851:321;;;;;;:::i;:::-;;:::i;46032:274::-;;;;;;;;;;-1:-1:-1;46032:274:0;;;;;:::i;:::-;;:::i;47039:311::-;;;;;;;;;;-1:-1:-1;47039:311:0;;;;;:::i;:::-;;:::i;55362:44::-;;;;;;;;;;;;55405:1;55362:44;;59753:330;;;;;;;;;;-1:-1:-1;59753:330:0;;;;;:::i;:::-;;:::i;55413:31::-;;;;;;;;;;;;;;;;51454:43;;;;;;;;;;;;;;;;57562:166;;;;;;;;;;-1:-1:-1;57562:166:0;;;;;:::i;:::-;;:::i;59065:617::-;;;;;;;;;;-1:-1:-1;59065:617:0;;;;;:::i;:::-;;:::i;19355:201::-;;;;;;;;;;-1:-1:-1;19355:201:0;;;;;:::i;:::-;;:::i;58636:292::-;58784:4;-1:-1:-1;;;;;;58826:41:0;;-1:-1:-1;;;58826:41:0;;:94;;;58884:36;58908:11;58884:23;:36::i;:::-;58806:114;58636:292;-1:-1:-1;;58636:292:0:o;44239:94::-;44293:13;44322:5;44315:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44239:94;:::o;45764:204::-;45832:7;45856:16;45864:7;47646:4;47676:12;-1:-1:-1;47666:22:0;47589:105;45856:16;45848:74;;;;-1:-1:-1;;;45848:74:0;;16675:2:1;45848:74:0;;;16657:21:1;16714:2;16694:18;;;16687:30;16753:34;16733:18;;;16726:62;-1:-1:-1;;;16804:18:1;;;16797:43;16857:19;;45848:74:0;;;;;;;;;-1:-1:-1;45938:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;45938:24:0;;45764:204::o;45327:379::-;45396:13;45412:24;45428:7;45412:15;:24::i;:::-;45396:40;;45457:5;-1:-1:-1;;;;;45451:11:0;:2;-1:-1:-1;;;;;45451:11:0;;;45443:58;;;;-1:-1:-1;;;45443:58:0;;13196:2:1;45443:58:0;;;13178:21:1;13235:2;13215:18;;;13208:30;13274:34;13254:18;;;13247:62;-1:-1:-1;;;13325:18:1;;;13318:32;13367:19;;45443:58:0;12994:398:1;45443:58:0;17250:10;-1:-1:-1;;;;;45526:21:0;;;;:62;;-1:-1:-1;45551:37:0;45568:5;17250:10;59065:617;:::i;45551:37::-;45510:153;;;;-1:-1:-1;;;45510:153:0;;10816:2:1;45510:153:0;;;10798:21:1;10855:2;10835:18;;;10828:30;10894:34;10874:18;;;10867:62;10965:27;10945:18;;;10938:55;11010:19;;45510:153:0;10614:421:1;45510:153:0;45672:28;45681:2;45685:7;45694:5;45672:8;:28::i;:::-;45389:317;45327:379;;:::o;57904:139::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;58005:14:::1;:30:::0;57904:139::o;46614:142::-;46722:28;46732:4;46738:2;46742:7;46722:9;:28::i;57736:158::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;57846:18:::1;:40:::0;;-1:-1:-1;;57846:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57736:158::o;60149:318::-;60274:16;60292:21;60339:16;60347:7;47646:4;47676:12;-1:-1:-1;47666:22:0;47589:105;60339:16;60331:46;;;;-1:-1:-1;;;60331:46:0;;10470:2:1;60331:46:0;;;10452:21:1;10509:2;10489:18;;;10482:30;-1:-1:-1;;;10528:18:1;;;10521:47;10585:18;;60331:46:0;10268:341:1;60331:46:0;60406:4;60413:45;60426:26;60439:9;60450:1;60426:12;:26::i;:::-;60454:3;60413:12;:45::i;:::-;60390:69;;;;60149:318;;;;;:::o;41705:744::-;41814:7;41849:16;41859:5;41849:9;:16::i;:::-;41841:5;:24;41833:71;;;;-1:-1:-1;;;41833:71:0;;7633:2:1;41833:71:0;;;7615:21:1;7672:2;7652:18;;;7645:30;7711:34;7691:18;;;7684:62;-1:-1:-1;;;7762:18:1;;;7755:32;7804:19;;41833:71:0;7431:398:1;41833:71:0;41911:22;41150:12;;;41911:22;;42031:350;42055:14;42051:1;:18;42031:350;;;42085:31;42119:14;;;:11;:14;;;;;;;;;42085:48;;;;;;;;;-1:-1:-1;;;;;42085:48:0;;;;;-1:-1:-1;;;42085:48:0;;;;;;;;;;;;42146:28;42142:89;;42207:14;;;-1:-1:-1;42142:89:0;42264:5;-1:-1:-1;;;;;42243:26:0;:17;-1:-1:-1;;;;;42243:26:0;;42239:135;;;42301:5;42286:11;:20;42282:59;;;-1:-1:-1;42328:1:0;-1:-1:-1;42321:8:0;;-1:-1:-1;;;42321:8:0;42282:59;42351:13;;;;:::i;:::-;;;;42239:135;-1:-1:-1;42071:3:0;;;;:::i;:::-;;;;42031:350;;;-1:-1:-1;42387:56:0;;-1:-1:-1;;;42387:56:0;;15132:2:1;42387:56:0;;;15114:21:1;15171:2;15151:18;;;15144:30;15210:34;15190:18;;;15183:62;-1:-1:-1;;;15261:18:1;;;15254:44;15315:19;;42387:56:0;14930:410:1;58053:143:0;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;58151:37:::1;::::0;58119:21:::1;::::0;58159:10:::1;::::0;58151:37;::::1;;;::::0;58119:21;;58101:15:::1;58151:37:::0;58101:15;58151:37;58119:21;58159:10;58151:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;58090:106;58053:143::o:0;46819:157::-;46931:39;46948:4;46954:2;46958:7;46931:39;;;;;;;;;;;;:16;:39::i;58204:168::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;58288:30:::1;::::0;-1:-1:-1;;;58288:30:0;;58312:4:::1;58288:30;::::0;::::1;6181:51:1::0;58270:15:0::1;::::0;-1:-1:-1;;;;;58288:15:0;::::1;::::0;::::1;::::0;6154:18:1;;58288:30:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58329:35;::::0;-1:-1:-1;;;58329:35:0;;58344:10:::1;58329:35;::::0;::::1;6910:51:1::0;6977:18;;;6970:34;;;58270:48:0;;-1:-1:-1;;;;;;58329:14:0;::::1;::::0;::::1;::::0;6883:18:1;;58329:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;41237:177::-:0;41304:7;41150:12;;41328:5;:21;41320:69;;;;-1:-1:-1;;;41320:69:0;;8854:2:1;41320:69:0;;;8836:21:1;8893:2;8873:18;;;8866:30;8932:34;8912:18;;;8905:62;-1:-1:-1;;;8983:18:1;;;8976:33;9026:19;;41320:69:0;8652:399:1;41320:69:0;-1:-1:-1;41403:5:0;41237:177::o;44062:118::-;44126:7;44149:20;44161:7;44149:11;:20::i;:::-;:25;;44062:118;-1:-1:-1;;44062:118:0:o;42939:211::-;43003:7;-1:-1:-1;;;;;43027:19:0;;43019:75;;;;-1:-1:-1;;;43019:75:0;;11242:2:1;43019:75:0;;;11224:21:1;11281:2;11261:18;;;11254:30;11320:34;11300:18;;;11293:62;-1:-1:-1;;;11371:18:1;;;11364:41;11422:19;;43019:75:0;11040:407:1;43019:75:0;-1:-1:-1;;;;;;43116:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;43116:27:0;;42939:211::o;19097:103::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;19162:30:::1;19189:1;19162:18;:30::i;:::-;19097:103::o:0;44394:98::-;44450:13;44479:7;44472:14;;;;;:::i;56851:321::-;10375:1;10973:7;;:19;;10965:63;;;;-1:-1:-1;;;10965:63:0;;15547:2:1;10965:63:0;;;15529:21:1;15586:2;15566:18;;;15559:30;15625:33;15605:18;;;15598:61;15676:18;;10965:63:0;15345:355:1;10965:63:0;10375:1;11106:7;:18;56526:14:::1;::::0;41127:7;41150:12;55497:11:::1;::::0;56991:14;;56512:28:::1;56509:166;;;56602:9;56575:22;56583:14:::0;56575:5;:22:::1;:::i;:::-;56574:37;56552:111;;;::::0;-1:-1:-1;;;56552:111:0;;14779:2:1;56552:111:0::1;::::0;::::1;14761:21:1::0;14818:2;14798:18;;;14791:30;14857:26;14837:18;;;14830:54;14901:18;;56552:111:0::1;14577:348:1::0;56552:111:0::1;55724:18:::2;::::0;::::2;;55716:54;;;::::0;-1:-1:-1;;;55716:54:0;;16323:2:1;55716:54:0::2;::::0;::::2;16305:21:1::0;16362:2;16342:18;;;16335:30;16401:25;16381:18;;;16374:53;16444:18;;55716:54:0::2;16121:347:1::0;55716:54:0::2;57054:14:::3;56135:9;;56100:14;56084:13;41127:7:::0;41150:12;;41074:94;56084:13:::3;:30;;;;:::i;:::-;:60;;56062:144;;;::::0;-1:-1:-1;;;56062:144:0;;9258:2:1;56062:144:0::3;::::0;::::3;9240:21:1::0;9297:2;9277:18;;;9270:30;9336:34;9316:18;;;9309:62;-1:-1:-1;;;9387:18:1;;;9380:32;9429:19;;56062:144:0::3;9056:398:1::0;56062:144:0::3;57093:14:::4;55405:1;55882:14;:34;;55860:118;;;::::0;-1:-1:-1;;;55860:118:0;;10067:2:1;55860:118:0::4;::::0;::::4;10049:21:1::0;10106:2;10086:18;;;10079:30;10145:34;10125:18;;;10118:62;-1:-1:-1;;;10196:18:1;;;10189:32;10238:19;;55860:118:0::4;9865:398:1::0;55860:118:0::4;57127:37:::5;57137:10;57149:14;57127:9;:37::i;:::-;-1:-1:-1::0;;10331:1:0;11285:7;:22;-1:-1:-1;;;56851:321:0:o;46032:274::-;-1:-1:-1;;;;;46123:24:0;;17250:10;46123:24;;46115:63;;;;-1:-1:-1;;;46115:63:0;;12422:2:1;46115:63:0;;;12404:21:1;12461:2;12441:18;;;12434:30;12500:28;12480:18;;;12473:56;12546:18;;46115:63:0;12220:350:1;46115:63:0;17250:10;46187:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;46187:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;46187:53:0;;;;;;;;;;46252:48;;7155:41:1;;;46187:42:0;;17250:10;46252:48;;7128:18:1;46252:48:0;;;;;;;46032:274;;:::o;47039:311::-;47176:28;47186:4;47192:2;47196:7;47176:9;:28::i;:::-;47227:48;47250:4;47256:2;47260:7;47269:5;47227:22;:48::i;:::-;47211:133;;;;-1:-1:-1;;;47211:133:0;;;;;;;:::i;:::-;47039:311;;;;:::o;59753:330::-;59871:13;59910:16;59918:7;47646:4;47676:12;-1:-1:-1;47666:22:0;47589:105;59910:16;59902:46;;;;-1:-1:-1;;;59902:46:0;;10470:2:1;59902:46:0;;;10452:21:1;10509:2;10489:18;;;10482:30;-1:-1:-1;;;10528:18:1;;;10521:47;10585:18;;59902:46:0;10268:341:1;59902:46:0;60051:22;60052:9;:7;60060:1;60052:9;:::i;:::-;60051:20;:22::i;:::-;59988:86;;;;;;;;:::i;:::-;;;;;;;;;;;;;59961:114;;59753:330;;;:::o;57562:166::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;57676:20:::1;:44:::0;;;::::1;;-1:-1:-1::0;;;57676:44:0::1;-1:-1:-1::0;;;;57676:44:0;;::::1;::::0;;;::::1;::::0;;57562:166::o;59065:617::-;59413:27;;59190:4;;-1:-1:-1;;;;;59413:27:0;;;-1:-1:-1;;;59480:20:0;;;;:86;;;;-1:-1:-1;59525:28:0;;-1:-1:-1;;;59525:28:0;;-1:-1:-1;;;;;6199:32:1;;;59525:28:0;;;6181:51:1;59517:49:0;;;;59525:21;;;;;;6154:18:1;;59525:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;59517:49:0;;59480:86;59462:154;;;59600:4;59593:11;;;;;59462:154;-1:-1:-1;;;;;46514:25:0;;;46491:4;46514:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;59635:39;59628:46;59065:617;-1:-1:-1;;;;59065:617:0:o;19355:201::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19444:22:0;::::1;19436:73;;;::::0;-1:-1:-1;;;19436:73:0;;8036:2:1;19436:73:0::1;::::0;::::1;8018:21:1::0;8075:2;8055:18;;;8048:30;8114:34;8094:18;;;8087:62;-1:-1:-1;;;8165:18:1;;;8158:36;8211:19;;19436:73:0::1;7834:402:1::0;19436:73:0::1;19520:28;19539:8;19520:18;:28::i;:::-;19355:201:::0;:::o;42513:370::-;42640:4;-1:-1:-1;;;;;;42670:40:0;;-1:-1:-1;;;42670:40:0;;:99;;-1:-1:-1;;;;;;;42721:48:0;;-1:-1:-1;;;42721:48:0;42670:99;:160;;;-1:-1:-1;;;;;;;42780:50:0;;-1:-1:-1;;;42780:50:0;42670:160;:207;;;-1:-1:-1;;;;;;;;;;31955:40:0;;;42841:36;31846:157;51276:172;51373:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;51373:29:0;-1:-1:-1;;;;;51373:29:0;;;;;;;;;51414:28;;51373:24;;51414:28;;;;;;;51276:172;;;:::o;49641:1529::-;49738:35;49776:20;49788:7;49776:11;:20::i;:::-;49847:18;;49738:58;;-1:-1:-1;49805:22:0;;-1:-1:-1;;;;;49831:34:0;17250:10;-1:-1:-1;;;;;49831:34:0;;:81;;;-1:-1:-1;17250:10:0;49876:20;49888:7;49876:11;:20::i;:::-;-1:-1:-1;;;;;49876:36:0;;49831:81;:142;;;-1:-1:-1;49940:18:0;;49923:50;;17250:10;59065:617;:::i;49923:50::-;49805:169;;49999:17;49983:101;;;;-1:-1:-1;;;49983:101:0;;12777:2:1;49983:101:0;;;12759:21:1;12816:2;12796:18;;;12789:30;12855:34;12835:18;;;12828:62;-1:-1:-1;;;12906:18:1;;;12899:48;12964:19;;49983:101:0;12575:414:1;49983:101:0;50131:4;-1:-1:-1;;;;;50109:26:0;:13;:18;;;-1:-1:-1;;;;;50109:26:0;;50093:98;;;;-1:-1:-1;;;50093:98:0;;11654:2:1;50093:98:0;;;11636:21:1;11693:2;11673:18;;;11666:30;11732:34;11712:18;;;11705:62;-1:-1:-1;;;11783:18:1;;;11776:36;11829:19;;50093:98:0;11452:402:1;50093:98:0;-1:-1:-1;;;;;50206:16:0;;50198:66;;;;-1:-1:-1;;;50198:66:0;;9661:2:1;50198:66:0;;;9643:21:1;9700:2;9680:18;;;9673:30;9739:34;9719:18;;;9712:62;-1:-1:-1;;;9790:18:1;;;9783:35;9835:19;;50198:66:0;9459:401:1;50198:66:0;50373:49;50390:1;50394:7;50403:13;:18;;;50373:8;:49::i;:::-;-1:-1:-1;;;;;50431:18:0;;;;;;:12;:18;;;;;:31;;50461:1;;50431:18;:31;;50461:1;;-1:-1:-1;;;;;50431:31:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;50431:31:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;50469:16:0;;-1:-1:-1;50469:16:0;;;:12;:16;;;;;:29;;-1:-1:-1;;;50469:16:0;;:29;;-1:-1:-1;;50469:29:0;;:::i;:::-;;;-1:-1:-1;;;;;50469:29:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50528:43:0;;;;;;;;-1:-1:-1;;;;;50528:43:0;;;;;;50554:15;50528:43;;;;;;;;;-1:-1:-1;50505:20:0;;;:11;:20;;;;;;:66;;;;;;;;;-1:-1:-1;;;50505:66:0;-1:-1:-1;;;;;;50505:66:0;;;;;;;;;;;50821:11;50517:7;-1:-1:-1;50821:11:0;:::i;:::-;50884:1;50843:24;;;:11;:24;;;;;:29;50799:33;;-1:-1:-1;;;;;;50843:29:0;50839:236;;50901:20;50909:11;47646:4;47676:12;-1:-1:-1;47666:22:0;47589:105;50901:20;50897:171;;;50961:97;;;;;;;;50988:18;;-1:-1:-1;;;;;50961:97:0;;;;;;51019:28;;;;50961:97;;;;;;;;;;-1:-1:-1;50934:24:0;;;:11;:24;;;;;;;:124;;;;;;;;;-1:-1:-1;;;50934:124:0;-1:-1:-1;;;;;;50934:124:0;;;;;;;;;;;;50897:171;51107:7;51103:2;-1:-1:-1;;;;;51088:27:0;51097:4;-1:-1:-1;;;;;51088:27:0;;;;;;;;;;;51122:42;49731:1439;;;49641:1529;;;:::o;3671:98::-;3729:7;3756:5;3760:1;3756;:5;:::i;:::-;3749:12;3671:98;-1:-1:-1;;;3671:98:0:o;4070:::-;4128:7;4155:5;4159:1;4155;:5;:::i;43402:606::-;-1:-1:-1;;;;;;;;;;;;;;;;;43519:16:0;43527:7;47646:4;47676:12;-1:-1:-1;47666:22:0;47589:105;43519:16;43511:71;;;;-1:-1:-1;;;43511:71:0;;8443:2:1;43511:71:0;;;8425:21:1;8482:2;8462:18;;;8455:30;8521:34;8501:18;;;8494:62;-1:-1:-1;;;8572:18:1;;;8565:40;8622:19;;43511:71:0;8241:406:1;43511:71:0;43591:26;43639:12;43628:7;:23;43624:93;;43683:22;43693:12;43683:7;:22;:::i;:::-;:26;;43708:1;43683:26;:::i;:::-;43662:47;;43624:93;43745:7;43725:212;43762:18;43754:4;:26;43725:212;;43799:31;43833:17;;;:11;:17;;;;;;;;;43799:51;;;;;;;;;-1:-1:-1;;;;;43799:51:0;;;;;-1:-1:-1;;;43799:51:0;;;;;;;;;;;;43863:28;43859:71;;43911:9;43402:606;-1:-1:-1;;;;43402:606:0:o;43859:71::-;-1:-1:-1;43782:6:0;;;;:::i;:::-;;;;43725:212;;;-1:-1:-1;43945:57:0;;-1:-1:-1;;;43945:57:0;;15907:2:1;43945:57:0;;;15889:21:1;15946:2;15926:18;;;15919:30;15985:34;15965:18;;;15958:62;-1:-1:-1;;;16036:18:1;;;16029:45;16091:19;;43945:57:0;15705:411:1;19716:191:0;19809:6;;;-1:-1:-1;;;;;19826:17:0;;;-1:-1:-1;;;;;;19826:17:0;;;;;;;19859:40;;19809:6;;;19826:17;19809:6;;19859:40;;19790:16;;19859:40;19779:128;19716:191;:::o;47700:98::-;47765:27;47775:2;47779:8;47765:27;;;;;;;;;;;;:9;:27::i;52991:690::-;53128:4;-1:-1:-1;;;;;53145:13:0;;21057:20;21105:8;53141:535;;53184:72;;-1:-1:-1;;;53184:72:0;;-1:-1:-1;;;;;53184:36:0;;;;;:72;;17250:10;;53235:4;;53241:7;;53250:5;;53184:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53184:72:0;;;;;;;;-1:-1:-1;;53184:72:0;;;;;;;;;;;;:::i;:::-;;;53171:464;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53415:13:0;;53411:215;;53448:61;;-1:-1:-1;;;53448:61:0;;;;;;;:::i;53411:215::-;53594:6;53588:13;53579:6;53575:2;53571:15;53564:38;53171:464;-1:-1:-1;;;;;;53306:55:0;-1:-1:-1;;;53306:55:0;;-1:-1:-1;53299:62:0;;53141:535;-1:-1:-1;53664:4:0;52991:690;;;;;;:::o;14732:723::-;14788:13;15009:10;15005:53;;-1:-1:-1;;15036:10:0;;;;;;;;;;;;-1:-1:-1;;;15036:10:0;;;;;14732:723::o;15005:53::-;15083:5;15068:12;15124:78;15131:9;;15124:78;;15157:8;;;;:::i;:::-;;-1:-1:-1;15180:10:0;;-1:-1:-1;15188:2:0;15180:10;;:::i;:::-;;;15124:78;;;15212:19;15244:6;15234:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15234:17:0;;15212:39;;15262:154;15269:10;;15262:154;;15296:11;15306:1;15296:11;;:::i;:::-;;-1:-1:-1;15365:10:0;15373:2;15365:5;:10;:::i;:::-;15352:24;;:2;:24;:::i;:::-;15339:39;;15322:6;15329;15322:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;15322:56:0;;;;;;;;-1:-1:-1;15393:11:0;15402:2;15393:11;;:::i;:::-;;;15262:154;;48137:1272;48242:20;48265:12;-1:-1:-1;;;;;48292:16:0;;48284:62;;;;-1:-1:-1;;;48284:62:0;;14377:2:1;48284:62:0;;;14359:21:1;14416:2;14396:18;;;14389:30;14455:34;14435:18;;;14428:62;-1:-1:-1;;;14506:18:1;;;14499:31;14547:19;;48284:62:0;14175:397:1;48284:62:0;48483:21;48491:12;47646:4;47676:12;-1:-1:-1;47666:22:0;47589:105;48483:21;48482:22;48474:64;;;;-1:-1:-1;;;48474:64:0;;14019:2:1;48474:64:0;;;14001:21:1;14058:2;14038:18;;;14031:30;14097:31;14077:18;;;14070:59;14146:18;;48474:64:0;13817:353:1;48474:64:0;48565:12;48553:8;:24;;48545:71;;;;-1:-1:-1;;;48545:71:0;;17089:2:1;48545:71:0;;;17071:21:1;17128:2;17108:18;;;17101:30;17167:34;17147:18;;;17140:62;-1:-1:-1;;;17218:18:1;;;17211:32;17260:19;;48545:71:0;16887:398:1;48545:71:0;-1:-1:-1;;;;;48728:16:0;;48695:30;48728:16;;;:12;:16;;;;;;;;;48695:49;;;;;;;;;-1:-1:-1;;;;;48695:49:0;;;;;-1:-1:-1;;;48695:49:0;;;;;;;;;;;48770:119;;;;;;;;48790:19;;48695:49;;48770:119;;;48790:39;;48820:8;;48790:39;:::i;:::-;-1:-1:-1;;;;;48770:119:0;;;;;48873:8;48838:11;:24;;;:44;;;;:::i;:::-;-1:-1:-1;;;;;48770:119:0;;;;;;-1:-1:-1;;;;;48751:16:0;;;;;;;:12;:16;;;;;;;;:138;;;;;;;;-1:-1:-1;;;48751:138:0;;;;;;;;;;;;48924:43;;;;;;;;;;;48950:15;48924:43;;;;;;;;48896:25;;;:11;:25;;;;;;:71;;;;;;;;;-1:-1:-1;;;48896:71:0;-1:-1:-1;;;;;;48896:71:0;;;;;;;;;;;;;;;;;;48908:12;;49020:281;49044:8;49040:1;:12;49020:281;;;49073:38;;49098:12;;-1:-1:-1;;;;;49073:38:0;;;49090:1;;49073:38;;49090:1;;49073:38;49138:59;49169:1;49173:2;49177:12;49191:5;49138:22;:59::i;:::-;49120:150;;;;-1:-1:-1;;;49120:150:0;;;;;;;:::i;:::-;49279:14;;;;:::i;:::-;;;;49054:3;;;;;:::i;:::-;;;;49020:281;;;-1:-1:-1;49309:12:0;:27;;;49343:60;47039:311;14:247:1;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;266:388::-;334:6;342;395:2;383:9;374:7;370:23;366:32;363:52;;;411:1;408;401:12;363:52;450:9;437:23;469:31;494:5;469:31;:::i;:::-;519:5;-1:-1:-1;576:2:1;561:18;;548:32;589:33;548:32;589:33;:::i;:::-;641:7;631:17;;;266:388;;;;;:::o;659:456::-;736:6;744;752;805:2;793:9;784:7;780:23;776:32;773:52;;;821:1;818;811:12;773:52;860:9;847:23;879:31;904:5;879:31;:::i;:::-;929:5;-1:-1:-1;986:2:1;971:18;;958:32;999:33;958:32;999:33;:::i;:::-;659:456;;1051:7;;-1:-1:-1;;;1105:2:1;1090:18;;;;1077:32;;659:456::o;1120:1266::-;1215:6;1223;1231;1239;1292:3;1280:9;1271:7;1267:23;1263:33;1260:53;;;1309:1;1306;1299:12;1260:53;1348:9;1335:23;1367:31;1392:5;1367:31;:::i;:::-;1417:5;-1:-1:-1;1474:2:1;1459:18;;1446:32;1487:33;1446:32;1487:33;:::i;:::-;1539:7;-1:-1:-1;1593:2:1;1578:18;;1565:32;;-1:-1:-1;1648:2:1;1633:18;;1620:32;1671:18;1701:14;;;1698:34;;;1728:1;1725;1718:12;1698:34;1766:6;1755:9;1751:22;1741:32;;1811:7;1804:4;1800:2;1796:13;1792:27;1782:55;;1833:1;1830;1823:12;1782:55;1869:2;1856:16;1891:2;1887;1884:10;1881:36;;;1897:18;;:::i;:::-;1972:2;1966:9;1940:2;2026:13;;-1:-1:-1;;2022:22:1;;;2046:2;2018:31;2014:40;2002:53;;;2070:18;;;2090:22;;;2067:46;2064:72;;;2116:18;;:::i;:::-;2156:10;2152:2;2145:22;2191:2;2183:6;2176:18;2231:7;2226:2;2221;2217;2213:11;2209:20;2206:33;2203:53;;;2252:1;2249;2242:12;2203:53;2308:2;2303;2299;2295:11;2290:2;2282:6;2278:15;2265:46;2353:1;2348:2;2343;2335:6;2331:15;2327:24;2320:35;2374:6;2364:16;;;;;;;1120:1266;;;;;;;:::o;2391:382::-;2456:6;2464;2517:2;2505:9;2496:7;2492:23;2488:32;2485:52;;;2533:1;2530;2523:12;2485:52;2572:9;2559:23;2591:31;2616:5;2591:31;:::i;:::-;2641:5;-1:-1:-1;2698:2:1;2683:18;;2670:32;2711:30;2670:32;2711:30;:::i;2778:315::-;2846:6;2854;2907:2;2895:9;2886:7;2882:23;2878:32;2875:52;;;2923:1;2920;2913:12;2875:52;2962:9;2949:23;2981:31;3006:5;2981:31;:::i;:::-;3031:5;3083:2;3068:18;;;;3055:32;;-1:-1:-1;;;2778:315:1:o;3098:241::-;3154:6;3207:2;3195:9;3186:7;3182:23;3178:32;3175:52;;;3223:1;3220;3213:12;3175:52;3262:9;3249:23;3281:28;3303:5;3281:28;:::i;3344:245::-;3411:6;3464:2;3452:9;3443:7;3439:23;3435:32;3432:52;;;3480:1;3477;3470:12;3432:52;3512:9;3506:16;3531:28;3553:5;3531:28;:::i;3594:245::-;3652:6;3705:2;3693:9;3684:7;3680:23;3676:32;3673:52;;;3721:1;3718;3711:12;3673:52;3760:9;3747:23;3779:30;3803:5;3779:30;:::i;3844:249::-;3913:6;3966:2;3954:9;3945:7;3941:23;3937:32;3934:52;;;3982:1;3979;3972:12;3934:52;4014:9;4008:16;4033:30;4057:5;4033:30;:::i;4364:280::-;4463:6;4516:2;4504:9;4495:7;4491:23;4487:32;4484:52;;;4532:1;4529;4522:12;4484:52;4564:9;4558:16;4583:31;4608:5;4583:31;:::i;4649:180::-;4708:6;4761:2;4749:9;4740:7;4736:23;4732:32;4729:52;;;4777:1;4774;4767:12;4729:52;-1:-1:-1;4800:23:1;;4649:180;-1:-1:-1;4649:180:1:o;4834:184::-;4904:6;4957:2;4945:9;4936:7;4932:23;4928:32;4925:52;;;4973:1;4970;4963:12;4925:52;-1:-1:-1;4996:16:1;;4834:184;-1:-1:-1;4834:184:1:o;5023:248::-;5091:6;5099;5152:2;5140:9;5131:7;5127:23;5123:32;5120:52;;;5168:1;5165;5158:12;5120:52;-1:-1:-1;;5191:23:1;;;5261:2;5246:18;;;5233:32;;-1:-1:-1;5023:248:1:o;5276:257::-;5317:3;5355:5;5349:12;5382:6;5377:3;5370:19;5398:63;5454:6;5447:4;5442:3;5438:14;5431:4;5424:5;5420:16;5398:63;:::i;:::-;5515:2;5494:15;-1:-1:-1;;5490:29:1;5481:39;;;;5522:4;5477:50;;5276:257;-1:-1:-1;;5276:257:1:o;5538:492::-;5800:34;5795:3;5788:47;-1:-1:-1;;;5860:2:1;5855:3;5851:12;5844:34;5770:3;5907:6;5901:13;5923:60;5976:6;5971:2;5966:3;5962:12;5957:2;5949:6;5945:15;5923:60;:::i;:::-;6003:16;;;;6021:2;5999:25;;5538:492;-1:-1:-1;;5538:492:1:o;6243:488::-;-1:-1:-1;;;;;6512:15:1;;;6494:34;;6564:15;;6559:2;6544:18;;6537:43;6611:2;6596:18;;6589:34;;;6659:3;6654:2;6639:18;;6632:31;;;6437:4;;6680:45;;6705:19;;6697:6;6680:45;:::i;:::-;6672:53;6243:488;-1:-1:-1;;;;;;6243:488:1:o;7207:219::-;7356:2;7345:9;7338:21;7319:4;7376:44;7416:2;7405:9;7401:18;7393:6;7376:44;:::i;11859:356::-;12061:2;12043:21;;;12080:18;;;12073:30;12139:34;12134:2;12119:18;;12112:62;12206:2;12191:18;;11859:356::o;13397:415::-;13599:2;13581:21;;;13638:2;13618:18;;;13611:30;13677:34;13672:2;13657:18;;13650:62;-1:-1:-1;;;13743:2:1;13728:18;;13721:49;13802:3;13787:19;;13397:415::o;17472:253::-;17512:3;-1:-1:-1;;;;;17601:2:1;17598:1;17594:10;17631:2;17628:1;17624:10;17662:3;17658:2;17654:12;17649:3;17646:21;17643:47;;;17670:18;;:::i;:::-;17706:13;;17472:253;-1:-1:-1;;;;17472:253:1:o;17730:128::-;17770:3;17801:1;17797:6;17794:1;17791:13;17788:39;;;17807:18;;:::i;:::-;-1:-1:-1;17843:9:1;;17730:128::o;17863:120::-;17903:1;17929;17919:35;;17934:18;;:::i;:::-;-1:-1:-1;17968:9:1;;17863:120::o;17988:168::-;18028:7;18094:1;18090;18086:6;18082:14;18079:1;18076:21;18071:1;18064:9;18057:17;18053:45;18050:71;;;18101:18;;:::i;:::-;-1:-1:-1;18141:9:1;;17988:168::o;18161:246::-;18201:4;-1:-1:-1;;;;;18314:10:1;;;;18284;;18336:12;;;18333:38;;;18351:18;;:::i;:::-;18388:13;;18161:246;-1:-1:-1;;;18161:246:1:o;18412:125::-;18452:4;18480:1;18477;18474:8;18471:34;;;18485:18;;:::i;:::-;-1:-1:-1;18522:9:1;;18412:125::o;18542:258::-;18614:1;18624:113;18638:6;18635:1;18632:13;18624:113;;;18714:11;;;18708:18;18695:11;;;18688:39;18660:2;18653:10;18624:113;;;18755:6;18752:1;18749:13;18746:48;;;-1:-1:-1;;18790:1:1;18772:16;;18765:27;18542:258::o;18805:136::-;18844:3;18872:5;18862:39;;18881:18;;:::i;:::-;-1:-1:-1;;;18917:18:1;;18805:136::o;18946:380::-;19025:1;19021:12;;;;19068;;;19089:61;;19143:4;19135:6;19131:17;19121:27;;19089:61;19196:2;19188:6;19185:14;19165:18;19162:38;19159:161;;;19242:10;19237:3;19233:20;19230:1;19223:31;19277:4;19274:1;19267:15;19305:4;19302:1;19295:15;19159:161;;18946:380;;;:::o;19331:135::-;19370:3;-1:-1:-1;;19391:17:1;;19388:43;;;19411:18;;:::i;:::-;-1:-1:-1;19458:1:1;19447:13;;19331:135::o;19471:112::-;19503:1;19529;19519:35;;19534:18;;:::i;:::-;-1:-1:-1;19568:9:1;;19471:112::o;19588:127::-;19649:10;19644:3;19640:20;19637:1;19630:31;19680:4;19677:1;19670:15;19704:4;19701:1;19694:15;19720:127;19781:10;19776:3;19772:20;19769:1;19762:31;19812:4;19809:1;19802:15;19836:4;19833:1;19826:15;19852:127;19913:10;19908:3;19904:20;19901:1;19894:31;19944:4;19941:1;19934:15;19968:4;19965:1;19958:15;19984:127;20045:10;20040:3;20036:20;20033:1;20026:31;20076:4;20073:1;20066:15;20100:4;20097:1;20090:15;20116:131;-1:-1:-1;;;;;20191:31:1;;20181:42;;20171:70;;20237:1;20234;20227:12;20252:118;20338:5;20331:13;20324:21;20317:5;20314:32;20304:60;;20360:1;20357;20350:12;20375:131;-1:-1:-1;;;;;;20449:32:1;;20439:43;;20429:71;;20496:1;20493;20486:12

Swarm Source

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