ETH Price: $3,042.93 (+4.38%)

Token

RR/Otherdeed (RR/Otherdeed)
 

Overview

Max Total Supply

649 RR/Otherdeed

Holders

134

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 RR/Otherdeed
0x38b532dd5c30b4e9c8a5b77765edab7078f4b83a
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:
RROtherdeed

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 RROtherdeed 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/Otherdeed", "RR/Otherdeed", 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://api.otherside.xyz/lands/", (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"}]

60c06040526000808055600755600b80546001600160a81b0319167401a5409ec958c83c3f309868babaca7c86dcb077c11790556115b3600c5561022b600d55600e805460ff191660011790553480156200005957600080fd5b506040518060400160405280600c81526020016b14948bd3dd1a195c9919595960a21b8152506040518060400160405280600c81526020016b14948bd3dd1a195c9919595960a21b8152506064600c5460008111620001165760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001785760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b60648201526084016200010d565b83516200018d90600190602087019062000218565b508251620001a390600290602086019062000218565b5060a09190915260805250620001bb905033620001c6565b6001600955620002fb565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200022690620002be565b90600052602060002090601f0160209004810192826200024a576000855562000295565b82601f106200026557805160ff191683800117855562000295565b8280016001018555821562000295579182015b828111156200029557825182559160200191906001019062000278565b50620002a3929150620002a7565b5090565b5b80821115620002a35760008155600101620002a8565b600181811c90821680620002d357607f821691505b60208210811415620002f557634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05161245b6200032c600039600081816117b9015281816117e30152611c1501526000505061245b6000f3fe6080604052600436106101e35760003560e01c80636352211e11610102578063b88d4fde11610095578063d7224ba011610064578063d7224ba014610561578063e43082f714610577578063e985e9c514610597578063f2fde38b146105b757600080fd5b8063b88d4fde146104f6578063c6a91b4214610516578063c87b56dd1461052b578063d5abeb011461054b57600080fd5b806395d89b41116100d157806395d89b4114610498578063982d669e146104ad578063a0712d68146104c3578063a22cb465146104d657600080fd5b80636352211e1461042557806370a0823114610445578063715018a6146104655780638da5cb5b1461047a57600080fd5b806323b872dd1161017a5780633ccfd60b116101495780633ccfd60b146103b057806342842e0e146103c557806349df728c146103e55780634f6ccce71461040557600080fd5b806323b872dd1461031157806328cad13d146103315780632a55205a146103515780632f745c591461039057600080fd5b8063095ea7b3116101b6578063095ea7b3146102a05780630a00ae83146102c257806318160ddd146102e25780631e84c413146102f757600080fd5b806301ffc9a7146101e857806306fdde031461021d57806307e89ec01461023f578063081812fc14610268575b600080fd5b3480156101f457600080fd5b5061020861020336600461203e565b6105d7565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610602565b6040516102149190612197565b34801561024b57600080fd5b5061025a6611c37937e0800081565b604051908152602001610214565b34801561027457600080fd5b50610288610283366004612095565b610694565b6040516001600160a01b039091168152602001610214565b3480156102ac57600080fd5b506102c06102bb366004611fd8565b610724565b005b3480156102ce57600080fd5b506102c06102dd366004612095565b61083c565b3480156102ee57600080fd5b5060005461025a565b34801561030357600080fd5b50600e546102089060ff1681565b34801561031d57600080fd5b506102c061032c366004611e89565b61086b565b34801561033d57600080fd5b506102c061034c366004612004565b610876565b34801561035d57600080fd5b5061037161036c3660046120c7565b6108b3565b604080516001600160a01b039093168352602083019190915201610214565b34801561039c57600080fd5b5061025a6103ab366004611fd8565b610922565b3480156103bc57600080fd5b506102c0610a90565b3480156103d157600080fd5b506102c06103e0366004611e89565b610aed565b3480156103f157600080fd5b506102c0610400366004611e33565b610b08565b34801561041157600080fd5b5061025a610420366004612095565b610c2f565b34801561043157600080fd5b50610288610440366004612095565b610c91565b34801561045157600080fd5b5061025a610460366004611e33565b610ca3565b34801561047157600080fd5b506102c0610d34565b34801561048657600080fd5b506008546001600160a01b0316610288565b3480156104a457600080fd5b50610232610d6a565b3480156104b957600080fd5b5061025a600d5481565b6102c06104d1366004612095565b610d79565b3480156104e257600080fd5b506102c06104f1366004611faa565b610f76565b34801561050257600080fd5b506102c0610511366004611eca565b61103b565b34801561052257600080fd5b5061025a600581565b34801561053757600080fd5b50610232610546366004612095565b611074565b34801561055757600080fd5b5061025a600c5481565b34801561056d57600080fd5b5061025a60075481565b34801561058357600080fd5b506102c0610592366004612004565b6110fa565b3480156105a357600080fd5b506102086105b2366004611e50565b611142565b3480156105c357600080fd5b506102c06105d2366004611e33565b61122e565b60006001600160e01b0319821663152a902d60e11b14806105fc57506105fc826112c9565b92915050565b6060600180546106119061232a565b80601f016020809104026020016040519081016040528092919081815260200182805461063d9061232a565b801561068a5780601f1061065f5761010080835404028352916020019161068a565b820191906000526020600020905b81548152906001019060200180831161066d57829003601f168201915b5050505050905090565b60006106a1826000541190565b6107085760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061072f82610c91565b9050806001600160a01b0316836001600160a01b0316141561079e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016106ff565b336001600160a01b03821614806107ba57506107ba8133611142565b61082c5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016106ff565b610837838383611334565b505050565b6008546001600160a01b031633146108665760405162461bcd60e51b81526004016106ff906121aa565b600d55565b610837838383611390565b6008546001600160a01b031633146108a05760405162461bcd60e51b81526004016106ff906121aa565b600e805460ff1916911515919091179055565b6000806108c1846000541190565b6109015760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106ff565b30610917610910856005611718565b606461172b565b915091509250929050565b600061092d83610ca3565b82106109865760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106ff565b600080549080805b83811015610a30576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156109e157805192505b876001600160a01b0316836001600160a01b03161415610a1d5786841415610a0f575093506105fc92505050565b83610a1981612365565b9450505b5080610a2881612365565b91505061098e565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016106ff565b6008546001600160a01b03163314610aba5760405162461bcd60e51b81526004016106ff906121aa565b6040514790339082156108fc029083906000818181858888f19350505050158015610ae9573d6000803e3d6000fd5b5050565b6108378383836040518060200160405280600081525061103b565b6008546001600160a01b03163314610b325760405162461bcd60e51b81526004016106ff906121aa565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610b7457600080fd5b505afa158015610b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bac91906120ae565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610bf757600080fd5b505af1158015610c0b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190612021565b600080548210610c8d5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016106ff565b5090565b6000610c9c82611737565b5192915050565b60006001600160a01b038216610d0f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016106ff565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b03163314610d5e5760405162461bcd60e51b81526004016106ff906121aa565b610d6860006118e1565b565b6060600280546106119061232a565b60026009541415610dcc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106ff565b6002600955600d546000546611c37937e080009183911115610e405734610df38284612289565b14610e405760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e74000000000000000060448201526064016106ff565b600e5460ff16610e925760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016106ff565b82600c5481610ea060005490565b610eaa919061225d565b1115610f035760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b60648201526084016106ff565b836005811115610f605760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016106ff565b610f6a3386611933565b50506001600955505050565b6001600160a01b038216331415610fcf5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016106ff565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611046848484611390565b6110528484848461194d565b61106e5760405162461bcd60e51b81526004016106ff906121df565b50505050565b6060611081826000541190565b6110c15760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106ff565b6110d46110cf83600161225d565b611a5a565b6040516020016110e49190612115565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146111245760405162461bcd60e51b81526004016106ff906121aa565b600b8054911515600160a01b0260ff60a01b19909216919091179055565b600b546000906001600160a01b03811690600160a01b900460ff1680156111ed575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b1580156111aa57600080fd5b505afa1580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e29190612078565b6001600160a01b0316145b156111fc5760019150506105fc565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b031633146112585760405162461bcd60e51b81526004016106ff906121aa565b6001600160a01b0381166112bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ff565b6112c6816118e1565b50565b60006001600160e01b031982166380ac58cd60e01b14806112fa57506001600160e01b03198216635b5e139f60e01b145b8061131557506001600160e01b0319821663780e9d6360e01b145b806105fc57506301ffc9a760e01b6001600160e01b03198316146105fc565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061139b82611737565b80519091506000906001600160a01b0316336001600160a01b031614806113d25750336113c784610694565b6001600160a01b0316145b806113e4575081516113e49033611142565b90508061144e5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016106ff565b846001600160a01b031682600001516001600160a01b0316146114c25760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016106ff565b6001600160a01b0384166115265760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106ff565b6115366000848460000151611334565b6001600160a01b03851660009081526004602052604081208054600192906115689084906001600160801b03166122a8565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260046020526040812080546001945090926115b491859116612232565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561163c84600161225d565b6000818152600360205260409020549091506001600160a01b03166116ce57611666816000541190565b156116ce5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60006117248284612289565b9392505050565b60006117248284612275565b6040805180820190915260008082526020820152611756826000541190565b6117b55760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016106ff565b60007f00000000000000000000000000000000000000000000000000000000000000008310611816576118087f0000000000000000000000000000000000000000000000000000000000000000846122d0565b61181390600161225d565b90505b825b818110611880576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561186d57949350505050565b508061187881612313565b915050611818565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016106ff565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ae9828260405180602001604052806000815250611b58565b60006001600160a01b0384163b15611a4f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061199190339089908890889060040161215a565b602060405180830381600087803b1580156119ab57600080fd5b505af19250505080156119db575060408051601f3d908101601f191682019092526119d89181019061205b565b60015b611a35573d808015611a09576040519150601f19603f3d011682016040523d82523d6000602084013e611a0e565b606091505b508051611a2d5760405162461bcd60e51b81526004016106ff906121df565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611226565b506001949350505050565b606081611a7e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611aa85780611a9281612365565b9150611aa19050600a83612275565b9150611a82565b60008167ffffffffffffffff811115611ac357611ac36123d6565b6040519080825280601f01601f191660200182016040528015611aed576020820181803683370190505b5090505b841561122657611b026001836122d0565b9150611b0f600a86612380565b611b1a90603061225d565b60f81b818381518110611b2f57611b2f6123c0565b60200101906001600160f81b031916908160001a905350611b51600a86612275565b9450611af1565b6000546001600160a01b038416611bbb5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106ff565b611bc6816000541190565b15611c135760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016106ff565b7f0000000000000000000000000000000000000000000000000000000000000000831115611c8e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016106ff565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611cea908790612232565b6001600160801b03168152602001858360200151611d089190612232565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611e285760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611dec600088848861194d565b611e085760405162461bcd60e51b81526004016106ff906121df565b81611e1281612365565b9250508080611e2090612365565b915050611d9f565b506000819055611710565b600060208284031215611e4557600080fd5b8135611724816123ec565b60008060408385031215611e6357600080fd5b8235611e6e816123ec565b91506020830135611e7e816123ec565b809150509250929050565b600080600060608486031215611e9e57600080fd5b8335611ea9816123ec565b92506020840135611eb9816123ec565b929592945050506040919091013590565b60008060008060808587031215611ee057600080fd5b8435611eeb816123ec565b93506020850135611efb816123ec565b925060408501359150606085013567ffffffffffffffff80821115611f1f57600080fd5b818701915087601f830112611f3357600080fd5b813581811115611f4557611f456123d6565b604051601f8201601f19908116603f01168101908382118183101715611f6d57611f6d6123d6565b816040528281528a6020848701011115611f8657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611fbd57600080fd5b8235611fc8816123ec565b91506020830135611e7e81612401565b60008060408385031215611feb57600080fd5b8235611ff6816123ec565b946020939093013593505050565b60006020828403121561201657600080fd5b813561172481612401565b60006020828403121561203357600080fd5b815161172481612401565b60006020828403121561205057600080fd5b81356117248161240f565b60006020828403121561206d57600080fd5b81516117248161240f565b60006020828403121561208a57600080fd5b8151611724816123ec565b6000602082840312156120a757600080fd5b5035919050565b6000602082840312156120c057600080fd5b5051919050565b600080604083850312156120da57600080fd5b50508035926020909101359150565b600081518084526121018160208601602086016122e7565b601f01601f19169290920160200192915050565b7f68747470733a2f2f6170692e6f74686572736964652e78797a2f6c616e64732f81526000825161214d8160208501602087016122e7565b9190910160200192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061218d908301846120e9565b9695505050505050565b60208152600061172460208301846120e9565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60006001600160801b0380831681851680830382111561225457612254612394565b01949350505050565b6000821982111561227057612270612394565b500190565b600082612284576122846123aa565b500490565b60008160001904831182151516156122a3576122a3612394565b500290565b60006001600160801b03838116908316818110156122c8576122c8612394565b039392505050565b6000828210156122e2576122e2612394565b500390565b60005b838110156123025781810151838201526020016122ea565b8381111561106e5750506000910152565b60008161232257612322612394565b506000190190565b600181811c9082168061233e57607f821691505b6020821081141561235f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561237957612379612394565b5060010190565b60008261238f5761238f6123aa565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146112c657600080fd5b80151581146112c657600080fd5b6001600160e01b0319811681146112c657600080fdfea26469706673582212202d4a2091271d6aaaf32e87bbae9ec79c9493cc83f78daaa30123d1368c4d413c64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80636352211e11610102578063b88d4fde11610095578063d7224ba011610064578063d7224ba014610561578063e43082f714610577578063e985e9c514610597578063f2fde38b146105b757600080fd5b8063b88d4fde146104f6578063c6a91b4214610516578063c87b56dd1461052b578063d5abeb011461054b57600080fd5b806395d89b41116100d157806395d89b4114610498578063982d669e146104ad578063a0712d68146104c3578063a22cb465146104d657600080fd5b80636352211e1461042557806370a0823114610445578063715018a6146104655780638da5cb5b1461047a57600080fd5b806323b872dd1161017a5780633ccfd60b116101495780633ccfd60b146103b057806342842e0e146103c557806349df728c146103e55780634f6ccce71461040557600080fd5b806323b872dd1461031157806328cad13d146103315780632a55205a146103515780632f745c591461039057600080fd5b8063095ea7b3116101b6578063095ea7b3146102a05780630a00ae83146102c257806318160ddd146102e25780631e84c413146102f757600080fd5b806301ffc9a7146101e857806306fdde031461021d57806307e89ec01461023f578063081812fc14610268575b600080fd5b3480156101f457600080fd5b5061020861020336600461203e565b6105d7565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232610602565b6040516102149190612197565b34801561024b57600080fd5b5061025a6611c37937e0800081565b604051908152602001610214565b34801561027457600080fd5b50610288610283366004612095565b610694565b6040516001600160a01b039091168152602001610214565b3480156102ac57600080fd5b506102c06102bb366004611fd8565b610724565b005b3480156102ce57600080fd5b506102c06102dd366004612095565b61083c565b3480156102ee57600080fd5b5060005461025a565b34801561030357600080fd5b50600e546102089060ff1681565b34801561031d57600080fd5b506102c061032c366004611e89565b61086b565b34801561033d57600080fd5b506102c061034c366004612004565b610876565b34801561035d57600080fd5b5061037161036c3660046120c7565b6108b3565b604080516001600160a01b039093168352602083019190915201610214565b34801561039c57600080fd5b5061025a6103ab366004611fd8565b610922565b3480156103bc57600080fd5b506102c0610a90565b3480156103d157600080fd5b506102c06103e0366004611e89565b610aed565b3480156103f157600080fd5b506102c0610400366004611e33565b610b08565b34801561041157600080fd5b5061025a610420366004612095565b610c2f565b34801561043157600080fd5b50610288610440366004612095565b610c91565b34801561045157600080fd5b5061025a610460366004611e33565b610ca3565b34801561047157600080fd5b506102c0610d34565b34801561048657600080fd5b506008546001600160a01b0316610288565b3480156104a457600080fd5b50610232610d6a565b3480156104b957600080fd5b5061025a600d5481565b6102c06104d1366004612095565b610d79565b3480156104e257600080fd5b506102c06104f1366004611faa565b610f76565b34801561050257600080fd5b506102c0610511366004611eca565b61103b565b34801561052257600080fd5b5061025a600581565b34801561053757600080fd5b50610232610546366004612095565b611074565b34801561055757600080fd5b5061025a600c5481565b34801561056d57600080fd5b5061025a60075481565b34801561058357600080fd5b506102c0610592366004612004565b6110fa565b3480156105a357600080fd5b506102086105b2366004611e50565b611142565b3480156105c357600080fd5b506102c06105d2366004611e33565b61122e565b60006001600160e01b0319821663152a902d60e11b14806105fc57506105fc826112c9565b92915050565b6060600180546106119061232a565b80601f016020809104026020016040519081016040528092919081815260200182805461063d9061232a565b801561068a5780601f1061065f5761010080835404028352916020019161068a565b820191906000526020600020905b81548152906001019060200180831161066d57829003601f168201915b5050505050905090565b60006106a1826000541190565b6107085760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b600061072f82610c91565b9050806001600160a01b0316836001600160a01b0316141561079e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016106ff565b336001600160a01b03821614806107ba57506107ba8133611142565b61082c5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016106ff565b610837838383611334565b505050565b6008546001600160a01b031633146108665760405162461bcd60e51b81526004016106ff906121aa565b600d55565b610837838383611390565b6008546001600160a01b031633146108a05760405162461bcd60e51b81526004016106ff906121aa565b600e805460ff1916911515919091179055565b6000806108c1846000541190565b6109015760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106ff565b30610917610910856005611718565b606461172b565b915091509250929050565b600061092d83610ca3565b82106109865760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016106ff565b600080549080805b83811015610a30576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156109e157805192505b876001600160a01b0316836001600160a01b03161415610a1d5786841415610a0f575093506105fc92505050565b83610a1981612365565b9450505b5080610a2881612365565b91505061098e565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016106ff565b6008546001600160a01b03163314610aba5760405162461bcd60e51b81526004016106ff906121aa565b6040514790339082156108fc029083906000818181858888f19350505050158015610ae9573d6000803e3d6000fd5b5050565b6108378383836040518060200160405280600081525061103b565b6008546001600160a01b03163314610b325760405162461bcd60e51b81526004016106ff906121aa565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610b7457600080fd5b505afa158015610b88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bac91906120ae565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610bf757600080fd5b505af1158015610c0b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190612021565b600080548210610c8d5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016106ff565b5090565b6000610c9c82611737565b5192915050565b60006001600160a01b038216610d0f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016106ff565b506001600160a01b03166000908152600460205260409020546001600160801b031690565b6008546001600160a01b03163314610d5e5760405162461bcd60e51b81526004016106ff906121aa565b610d6860006118e1565b565b6060600280546106119061232a565b60026009541415610dcc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106ff565b6002600955600d546000546611c37937e080009183911115610e405734610df38284612289565b14610e405760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e74000000000000000060448201526064016106ff565b600e5460ff16610e925760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016106ff565b82600c5481610ea060005490565b610eaa919061225d565b1115610f035760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b60648201526084016106ff565b836005811115610f605760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b60648201526084016106ff565b610f6a3386611933565b50506001600955505050565b6001600160a01b038216331415610fcf5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016106ff565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611046848484611390565b6110528484848461194d565b61106e5760405162461bcd60e51b81526004016106ff906121df565b50505050565b6060611081826000541190565b6110c15760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016106ff565b6110d46110cf83600161225d565b611a5a565b6040516020016110e49190612115565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146111245760405162461bcd60e51b81526004016106ff906121aa565b600b8054911515600160a01b0260ff60a01b19909216919091179055565b600b546000906001600160a01b03811690600160a01b900460ff1680156111ed575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b1580156111aa57600080fd5b505afa1580156111be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e29190612078565b6001600160a01b0316145b156111fc5760019150506105fc565b6001600160a01b0380851660009081526006602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b031633146112585760405162461bcd60e51b81526004016106ff906121aa565b6001600160a01b0381166112bd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ff565b6112c6816118e1565b50565b60006001600160e01b031982166380ac58cd60e01b14806112fa57506001600160e01b03198216635b5e139f60e01b145b8061131557506001600160e01b0319821663780e9d6360e01b145b806105fc57506301ffc9a760e01b6001600160e01b03198316146105fc565b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061139b82611737565b80519091506000906001600160a01b0316336001600160a01b031614806113d25750336113c784610694565b6001600160a01b0316145b806113e4575081516113e49033611142565b90508061144e5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016106ff565b846001600160a01b031682600001516001600160a01b0316146114c25760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016106ff565b6001600160a01b0384166115265760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016106ff565b6115366000848460000151611334565b6001600160a01b03851660009081526004602052604081208054600192906115689084906001600160801b03166122a8565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260046020526040812080546001945090926115b491859116612232565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526003909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561163c84600161225d565b6000818152600360205260409020549091506001600160a01b03166116ce57611666816000541190565b156116ce5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600390935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60006117248284612289565b9392505050565b60006117248284612275565b6040805180820190915260008082526020820152611756826000541190565b6117b55760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016106ff565b60007f00000000000000000000000000000000000000000000000000000000000000648310611816576118087f0000000000000000000000000000000000000000000000000000000000000064846122d0565b61181390600161225d565b90505b825b818110611880576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561186d57949350505050565b508061187881612313565b915050611818565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016106ff565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ae9828260405180602001604052806000815250611b58565b60006001600160a01b0384163b15611a4f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061199190339089908890889060040161215a565b602060405180830381600087803b1580156119ab57600080fd5b505af19250505080156119db575060408051601f3d908101601f191682019092526119d89181019061205b565b60015b611a35573d808015611a09576040519150601f19603f3d011682016040523d82523d6000602084013e611a0e565b606091505b508051611a2d5760405162461bcd60e51b81526004016106ff906121df565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611226565b506001949350505050565b606081611a7e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611aa85780611a9281612365565b9150611aa19050600a83612275565b9150611a82565b60008167ffffffffffffffff811115611ac357611ac36123d6565b6040519080825280601f01601f191660200182016040528015611aed576020820181803683370190505b5090505b841561122657611b026001836122d0565b9150611b0f600a86612380565b611b1a90603061225d565b60f81b818381518110611b2f57611b2f6123c0565b60200101906001600160f81b031916908160001a905350611b51600a86612275565b9450611af1565b6000546001600160a01b038416611bbb5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106ff565b611bc6816000541190565b15611c135760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016106ff565b7f0000000000000000000000000000000000000000000000000000000000000064831115611c8e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016106ff565b6001600160a01b0384166000908152600460209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190611cea908790612232565b6001600160801b03168152602001858360200151611d089190612232565b6001600160801b039081169091526001600160a01b0380881660008181526004602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526003909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015611e285760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611dec600088848861194d565b611e085760405162461bcd60e51b81526004016106ff906121df565b81611e1281612365565b9250508080611e2090612365565b915050611d9f565b506000819055611710565b600060208284031215611e4557600080fd5b8135611724816123ec565b60008060408385031215611e6357600080fd5b8235611e6e816123ec565b91506020830135611e7e816123ec565b809150509250929050565b600080600060608486031215611e9e57600080fd5b8335611ea9816123ec565b92506020840135611eb9816123ec565b929592945050506040919091013590565b60008060008060808587031215611ee057600080fd5b8435611eeb816123ec565b93506020850135611efb816123ec565b925060408501359150606085013567ffffffffffffffff80821115611f1f57600080fd5b818701915087601f830112611f3357600080fd5b813581811115611f4557611f456123d6565b604051601f8201601f19908116603f01168101908382118183101715611f6d57611f6d6123d6565b816040528281528a6020848701011115611f8657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611fbd57600080fd5b8235611fc8816123ec565b91506020830135611e7e81612401565b60008060408385031215611feb57600080fd5b8235611ff6816123ec565b946020939093013593505050565b60006020828403121561201657600080fd5b813561172481612401565b60006020828403121561203357600080fd5b815161172481612401565b60006020828403121561205057600080fd5b81356117248161240f565b60006020828403121561206d57600080fd5b81516117248161240f565b60006020828403121561208a57600080fd5b8151611724816123ec565b6000602082840312156120a757600080fd5b5035919050565b6000602082840312156120c057600080fd5b5051919050565b600080604083850312156120da57600080fd5b50508035926020909101359150565b600081518084526121018160208601602086016122e7565b601f01601f19169290920160200192915050565b7f68747470733a2f2f6170692e6f74686572736964652e78797a2f6c616e64732f81526000825161214d8160208501602087016122e7565b9190910160200192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061218d908301846120e9565b9695505050505050565b60208152600061172460208301846120e9565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60006001600160801b0380831681851680830382111561225457612254612394565b01949350505050565b6000821982111561227057612270612394565b500190565b600082612284576122846123aa565b500490565b60008160001904831182151516156122a3576122a3612394565b500290565b60006001600160801b03838116908316818110156122c8576122c8612394565b039392505050565b6000828210156122e2576122e2612394565b500390565b60005b838110156123025781810151838201526020016122ea565b8381111561106e5750506000910152565b60008161232257612322612394565b506000190190565b600181811c9082168061233e57607f821691505b6020821081141561235f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561237957612379612394565b5060010190565b60008261238f5761238f6123aa565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146112c657600080fd5b80151581146112c657600080fd5b6001600160e01b0319811681146112c657600080fdfea26469706673582212202d4a2091271d6aaaf32e87bbae9ec79c9493cc83f78daaa30123d1368c4d413c64736f6c63430008070033

Deployed Bytecode Sourcemap

55020:5455:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58651:292;;;;;;;;;;-1:-1:-1;58651:292:0;;;;;:::i;:::-;;:::i;:::-;;;7137:14:1;;7130:22;7112:41;;7100:2;7085:18;58651:292:0;;;;;;;;44239:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;55458:55::-;;;;;;;;;;;;55502:11;55458:55;;;;;17393:25:1;;;17381:2;17366:18;55458:55:0;17247:177:1;45764:204:0;;;;;;;;;;-1:-1:-1;45764:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6156:32:1;;;6138:51;;6126:2;6111:18;45764:204:0;5992:203:1;45327:379:0;;;;;;;;;;-1:-1:-1;45327:379:0;;;;;:::i;:::-;;:::i;:::-;;57919:139;;;;;;;;;;-1:-1:-1;57919:139:0;;;;;:::i;:::-;;:::i;41074:94::-;;;;;;;;;;-1:-1:-1;41127:7:0;41150:12;41074:94;;55562:37;;;;;;;;;;-1:-1:-1;55562:37:0;;;;;;;;46614:142;;;;;;;;;;-1:-1:-1;46614:142:0;;;;;:::i;:::-;;:::i;57751:158::-;;;;;;;;;;-1:-1:-1;57751:158:0;;;;;:::i;:::-;;:::i;60154:318::-;;;;;;;;;;-1:-1:-1;60154:318:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6885:32:1;;;6867:51;;6949:2;6934:18;;6927:34;;;;6840:18;60154:318:0;6693:274:1;41705:744:0;;;;;;;;;;-1:-1:-1;41705:744:0;;;;;:::i;:::-;;:::i;58068:143::-;;;;;;;;;;;;;:::i;46819:157::-;;;;;;;;;;-1:-1:-1;46819:157:0;;;;;:::i;:::-;;:::i;58219:168::-;;;;;;;;;;-1:-1:-1;58219: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;55520:35::-;;;;;;;;;;;;;;;;56866:321;;;;;;:::i;:::-;;:::i;46032:274::-;;;;;;;;;;-1:-1:-1;46032:274:0;;;;;:::i;:::-;;:::i;47039:311::-;;;;;;;;;;-1:-1:-1;47039:311:0;;;;;:::i;:::-;;:::i;55367:44::-;;;;;;;;;;;;55410:1;55367:44;;59768:320;;;;;;;;;;-1:-1:-1;59768:320:0;;;;;:::i;:::-;;:::i;55418:31::-;;;;;;;;;;;;;;;;51454:43;;;;;;;;;;;;;;;;57577:166;;;;;;;;;;-1:-1:-1;57577:166:0;;;;;:::i;:::-;;:::i;59080:617::-;;;;;;;;;;-1:-1:-1;59080:617:0;;;;;:::i;:::-;;:::i;19355:201::-;;;;;;;;;;-1:-1:-1;19355:201:0;;;;;:::i;:::-;;:::i;58651:292::-;58799:4;-1:-1:-1;;;;;;58841:41:0;;-1:-1:-1;;;58841:41:0;;:94;;;58899:36;58923:11;58899:23;:36::i;:::-;58821:114;58651:292;-1:-1:-1;;58651: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;;16632:2:1;45848:74:0;;;16614:21:1;16671:2;16651:18;;;16644:30;16710:34;16690:18;;;16683:62;-1:-1:-1;;;16761:18:1;;;16754:43;16814: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;;13153:2:1;45443:58:0;;;13135:21:1;13192:2;13172:18;;;13165:30;13231:34;13211:18;;;13204:62;-1:-1:-1;;;13282:18:1;;;13275:32;13324:19;;45443:58:0;12951:398:1;45443:58:0;17250:10;-1:-1:-1;;;;;45526:21:0;;;;:62;;-1:-1:-1;45551:37:0;45568:5;17250:10;59080:617;:::i;45551:37::-;45510:153;;;;-1:-1:-1;;;45510:153:0;;10773:2:1;45510:153:0;;;10755:21:1;10812:2;10792:18;;;10785:30;10851:34;10831:18;;;10824:62;10922:27;10902:18;;;10895:55;10967:19;;45510:153:0;10571:421:1;45510:153:0;45672:28;45681:2;45685:7;45694:5;45672:8;:28::i;:::-;45389:317;45327:379;;:::o;57919:139::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;58020:14:::1;:30:::0;57919:139::o;46614:142::-;46722:28;46732:4;46738:2;46742:7;46722:9;:28::i;57751:158::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;57861:18:::1;:40:::0;;-1:-1:-1;;57861:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57751:158::o;60154:318::-;60279:16;60297:21;60344:16;60352:7;47646:4;47676:12;-1:-1:-1;47666:22:0;47589:105;60344:16;60336:46;;;;-1:-1:-1;;;60336:46:0;;10427:2:1;60336:46:0;;;10409:21:1;10466:2;10446:18;;;10439:30;-1:-1:-1;;;10485:18:1;;;10478:47;10542:18;;60336:46:0;10225:341:1;60336:46:0;60411:4;60418:45;60431:26;60444:9;60455:1;60431:12;:26::i;:::-;60459:3;60418:12;:45::i;:::-;60395:69;;;;60154: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;;7590:2:1;41833:71:0;;;7572:21:1;7629:2;7609:18;;;7602:30;7668:34;7648:18;;;7641:62;-1:-1:-1;;;7719:18:1;;;7712:32;7761:19;;41833:71:0;7388: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;;15089:2:1;42387:56:0;;;15071:21:1;15128:2;15108:18;;;15101:30;15167:34;15147:18;;;15140:62;-1:-1:-1;;;15218:18:1;;;15211:44;15272:19;;42387:56:0;14887:410:1;58068:143:0;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;58166:37:::1;::::0;58134:21:::1;::::0;58174:10:::1;::::0;58166:37;::::1;;;::::0;58134:21;;58116:15:::1;58166:37:::0;58116:15;58166:37;58134:21;58174:10;58166:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;58105:106;58068:143::o:0;46819:157::-;46931:39;46948:4;46954:2;46958:7;46931:39;;;;;;;;;;;;:16;:39::i;58219:168::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;58303:30:::1;::::0;-1:-1:-1;;;58303:30:0;;58327:4:::1;58303:30;::::0;::::1;6138:51:1::0;58285:15:0::1;::::0;-1:-1:-1;;;;;58303:15:0;::::1;::::0;::::1;::::0;6111:18:1;;58303:30:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58344:35;::::0;-1:-1:-1;;;58344:35:0;;58359:10:::1;58344:35;::::0;::::1;6867:51:1::0;6934:18;;;6927:34;;;58285:48:0;;-1:-1:-1;;;;;;58344:14:0;::::1;::::0;::::1;::::0;6840:18:1;;58344: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;;8811:2:1;41320:69:0;;;8793:21:1;8850:2;8830:18;;;8823:30;8889:34;8869:18;;;8862:62;-1:-1:-1;;;8940:18:1;;;8933:33;8983:19;;41320:69:0;8609: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;;11199:2:1;43019:75:0;;;11181:21:1;11238:2;11218:18;;;11211:30;11277:34;11257:18;;;11250:62;-1:-1:-1;;;11328:18:1;;;11321:41;11379:19;;43019:75:0;10997: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;56866:321::-;10375:1;10973:7;;:19;;10965:63;;;;-1:-1:-1;;;10965:63:0;;15504:2:1;10965:63:0;;;15486:21:1;15543:2;15523:18;;;15516:30;15582:33;15562:18;;;15555:61;15633:18;;10965:63:0;15302:355:1;10965:63:0;10375:1;11106:7;:18;56531:14:::1;::::0;41127:7;41150:12;55502:11:::1;::::0;57006:14;;56517:28:::1;56514:166;;;56607:9;56580:22;56588:14:::0;56580:5;:22:::1;:::i;:::-;56579:37;56557:111;;;::::0;-1:-1:-1;;;56557:111:0;;14736:2:1;56557:111:0::1;::::0;::::1;14718:21:1::0;14775:2;14755:18;;;14748:30;14814:26;14794:18;;;14787:54;14858:18;;56557:111:0::1;14534:348:1::0;56557:111:0::1;55729:18:::2;::::0;::::2;;55721:54;;;::::0;-1:-1:-1;;;55721:54:0;;16280:2:1;55721:54:0::2;::::0;::::2;16262:21:1::0;16319:2;16299:18;;;16292:30;16358:25;16338:18;;;16331:53;16401:18;;55721:54:0::2;16078:347:1::0;55721:54:0::2;57069:14:::3;56140:9;;56105:14;56089:13;41127:7:::0;41150:12;;41074:94;56089:13:::3;:30;;;;:::i;:::-;:60;;56067:144;;;::::0;-1:-1:-1;;;56067:144:0;;9215:2:1;56067:144:0::3;::::0;::::3;9197:21:1::0;9254:2;9234:18;;;9227:30;9293:34;9273:18;;;9266:62;-1:-1:-1;;;9344:18:1;;;9337:32;9386:19;;56067:144:0::3;9013:398:1::0;56067:144:0::3;57108:14:::4;55410:1;55887:14;:34;;55865:118;;;::::0;-1:-1:-1;;;55865:118:0;;10024:2:1;55865:118:0::4;::::0;::::4;10006:21:1::0;10063:2;10043:18;;;10036:30;10102:34;10082:18;;;10075:62;-1:-1:-1;;;10153:18:1;;;10146:32;10195:19;;55865:118:0::4;9822:398:1::0;55865:118:0::4;57142:37:::5;57152:10;57164:14;57142:9;:37::i;:::-;-1:-1:-1::0;;10331:1:0;11285:7;:22;-1:-1:-1;;;56866:321:0:o;46032:274::-;-1:-1:-1;;;;;46123:24:0;;17250:10;46123:24;;46115:63;;;;-1:-1:-1;;;46115:63:0;;12379:2:1;46115:63:0;;;12361:21:1;12418:2;12398:18;;;12391:30;12457:28;12437:18;;;12430:56;12503:18;;46115:63:0;12177: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;;7112:41:1;;;46187:42:0;;17250:10;46252:48;;7085: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;59768:320::-;59886:13;59925:16;59933:7;47646:4;47676:12;-1:-1:-1;47666:22:0;47589:105;59925:16;59917:46;;;;-1:-1:-1;;;59917:46:0;;10427:2:1;59917:46:0;;;10409:21:1;10466:2;10446:18;;;10439:30;-1:-1:-1;;;10485:18:1;;;10478:47;10542:18;;59917:46:0;10225:341:1;59917:46:0;60056:22;60057:9;:7;60065:1;60057:9;:::i;:::-;60056:20;:22::i;:::-;60003:76;;;;;;;;:::i;:::-;;;;;;;;;;;;;59976:104;;59768:320;;;:::o;57577:166::-;18519:6;;-1:-1:-1;;;;;18519:6:0;17250:10;18666:23;18658:68;;;;-1:-1:-1;;;18658:68:0;;;;;;;:::i;:::-;57691:20:::1;:44:::0;;;::::1;;-1:-1:-1::0;;;57691:44:0::1;-1:-1:-1::0;;;;57691:44:0;;::::1;::::0;;;::::1;::::0;;57577:166::o;59080:617::-;59428:27;;59205:4;;-1:-1:-1;;;;;59428:27:0;;;-1:-1:-1;;;59495:20:0;;;;:86;;;;-1:-1:-1;59540:28:0;;-1:-1:-1;;;59540:28:0;;-1:-1:-1;;;;;6156:32:1;;;59540:28:0;;;6138:51:1;59532:49:0;;;;59540:21;;;;;;6111:18:1;;59540:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;59532:49:0;;59495:86;59477:154;;;59615:4;59608:11;;;;;59477:154;-1:-1:-1;;;;;46514:25:0;;;46491:4;46514:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;59650:39;59643:46;59080:617;-1:-1:-1;;;;59080: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;;7993:2:1;19436:73:0::1;::::0;::::1;7975:21:1::0;8032:2;8012:18;;;8005:30;8071:34;8051:18;;;8044:62;-1:-1:-1;;;8122:18:1;;;8115:36;8168:19;;19436:73:0::1;7791: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;59080:617;:::i;49923:50::-;49805:169;;49999:17;49983:101;;;;-1:-1:-1;;;49983:101:0;;12734:2:1;49983:101:0;;;12716:21:1;12773:2;12753:18;;;12746:30;12812:34;12792:18;;;12785:62;-1:-1:-1;;;12863:18:1;;;12856:48;12921:19;;49983:101:0;12532: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;;11611:2:1;50093:98:0;;;11593:21:1;11650:2;11630:18;;;11623:30;11689:34;11669:18;;;11662:62;-1:-1:-1;;;11740:18:1;;;11733:36;11786:19;;50093:98:0;11409:402:1;50093:98:0;-1:-1:-1;;;;;50206:16:0;;50198:66;;;;-1:-1:-1;;;50198:66:0;;9618:2:1;50198:66:0;;;9600:21:1;9657:2;9637:18;;;9630:30;9696:34;9676:18;;;9669:62;-1:-1:-1;;;9747:18:1;;;9740:35;9792:19;;50198:66:0;9416: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;;8400:2:1;43511:71:0;;;8382:21:1;8439:2;8419:18;;;8412:30;8478:34;8458:18;;;8451:62;-1:-1:-1;;;8529:18:1;;;8522:40;8579:19;;43511:71:0;8198: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;;15864:2:1;43945:57:0;;;15846:21:1;15903:2;15883:18;;;15876:30;15942:34;15922:18;;;15915:62;-1:-1:-1;;;15993:18:1;;;15986:45;16048:19;;43945:57:0;15662: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;;14334:2:1;48284:62:0;;;14316:21:1;14373:2;14353:18;;;14346:30;14412:34;14392:18;;;14385:62;-1:-1:-1;;;14463:18:1;;;14456:31;14504:19;;48284:62:0;14132: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;;13976:2:1;48474:64:0;;;13958:21:1;14015:2;13995:18;;;13988:30;14054:31;14034:18;;;14027:59;14103:18;;48474:64:0;13774:353:1;48474:64:0;48565:12;48553:8;:24;;48545:71;;;;-1:-1:-1;;;48545:71:0;;17046:2:1;48545:71:0;;;17028:21:1;17085:2;17065:18;;;17058:30;17124:34;17104:18;;;17097:62;-1:-1:-1;;;17175:18:1;;;17168:32;17217:19;;48545:71:0;16844: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:449::-;5800:34;5795:3;5788:47;5770:3;5864:6;5858:13;5880:60;5933:6;5928:2;5923:3;5919:12;5914:2;5906:6;5902:15;5880:60;:::i;:::-;5960:16;;;;5978:2;5956:25;;5538:449;-1:-1:-1;;5538:449:1:o;6200:488::-;-1:-1:-1;;;;;6469:15:1;;;6451:34;;6521:15;;6516:2;6501:18;;6494:43;6568:2;6553:18;;6546:34;;;6616:3;6611:2;6596:18;;6589:31;;;6394:4;;6637:45;;6662:19;;6654:6;6637:45;:::i;:::-;6629:53;6200:488;-1:-1:-1;;;;;;6200:488:1:o;7164:219::-;7313:2;7302:9;7295:21;7276:4;7333:44;7373:2;7362:9;7358:18;7350:6;7333:44;:::i;11816:356::-;12018:2;12000:21;;;12037:18;;;12030:30;12096:34;12091:2;12076:18;;12069:62;12163:2;12148:18;;11816:356::o;13354:415::-;13556:2;13538:21;;;13595:2;13575:18;;;13568:30;13634:34;13629:2;13614:18;;13607:62;-1:-1:-1;;;13700:2:1;13685:18;;13678:49;13759:3;13744:19;;13354:415::o;17429:253::-;17469:3;-1:-1:-1;;;;;17558:2:1;17555:1;17551:10;17588:2;17585:1;17581:10;17619:3;17615:2;17611:12;17606:3;17603:21;17600:47;;;17627:18;;:::i;:::-;17663:13;;17429:253;-1:-1:-1;;;;17429:253:1:o;17687:128::-;17727:3;17758:1;17754:6;17751:1;17748:13;17745:39;;;17764:18;;:::i;:::-;-1:-1:-1;17800:9:1;;17687:128::o;17820:120::-;17860:1;17886;17876:35;;17891:18;;:::i;:::-;-1:-1:-1;17925:9:1;;17820:120::o;17945:168::-;17985:7;18051:1;18047;18043:6;18039:14;18036:1;18033:21;18028:1;18021:9;18014:17;18010:45;18007:71;;;18058:18;;:::i;:::-;-1:-1:-1;18098:9:1;;17945:168::o;18118:246::-;18158:4;-1:-1:-1;;;;;18271:10:1;;;;18241;;18293:12;;;18290:38;;;18308:18;;:::i;:::-;18345:13;;18118:246;-1:-1:-1;;;18118:246:1:o;18369:125::-;18409:4;18437:1;18434;18431:8;18428:34;;;18442:18;;:::i;:::-;-1:-1:-1;18479:9:1;;18369:125::o;18499:258::-;18571:1;18581:113;18595:6;18592:1;18589:13;18581:113;;;18671:11;;;18665:18;18652:11;;;18645:39;18617:2;18610:10;18581:113;;;18712:6;18709:1;18706:13;18703:48;;;-1:-1:-1;;18747:1:1;18729:16;;18722:27;18499:258::o;18762:136::-;18801:3;18829:5;18819:39;;18838:18;;:::i;:::-;-1:-1:-1;;;18874:18:1;;18762:136::o;18903:380::-;18982:1;18978:12;;;;19025;;;19046:61;;19100:4;19092:6;19088:17;19078:27;;19046:61;19153:2;19145:6;19142:14;19122:18;19119:38;19116:161;;;19199:10;19194:3;19190:20;19187:1;19180:31;19234:4;19231:1;19224:15;19262:4;19259:1;19252:15;19116:161;;18903:380;;;:::o;19288:135::-;19327:3;-1:-1:-1;;19348:17:1;;19345:43;;;19368:18;;:::i;:::-;-1:-1:-1;19415:1:1;19404:13;;19288:135::o;19428:112::-;19460:1;19486;19476:35;;19491:18;;:::i;:::-;-1:-1:-1;19525:9:1;;19428:112::o;19545:127::-;19606:10;19601:3;19597:20;19594:1;19587:31;19637:4;19634:1;19627:15;19661:4;19658:1;19651:15;19677:127;19738:10;19733:3;19729:20;19726:1;19719:31;19769:4;19766:1;19759:15;19793:4;19790:1;19783:15;19809:127;19870:10;19865:3;19861:20;19858:1;19851:31;19901:4;19898:1;19891:15;19925:4;19922:1;19915:15;19941:127;20002:10;19997:3;19993:20;19990:1;19983:31;20033:4;20030:1;20023:15;20057:4;20054:1;20047:15;20073:131;-1:-1:-1;;;;;20148:31:1;;20138:42;;20128:70;;20194:1;20191;20184:12;20209:118;20295:5;20288:13;20281:21;20274:5;20271:32;20261:60;;20317:1;20314;20307:12;20332:131;-1:-1:-1;;;;;;20406:32:1;;20396:43;;20386:71;;20453:1;20450;20443:12

Swarm Source

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