ETH Price: $3,884.37 (-1.19%)

Token

Merge Portals (PORTAL)
 

Overview

Max Total Supply

1,000 PORTAL

Holders

935

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 PORTAL
0xab2426cfd96e05d00d86d2b66b2779a54005008f
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:
MergePortals

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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

pragma solidity ^0.8.0;

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

	// Token name
	string private _name;

	// Token symbol
	string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

	/**
	 * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
	 * If there are multiple variables, please pack them into a uint64.
	 */
	function _setAux(address owner, uint64 aux) internal {
		if (owner == address(0)) revert AuxQueryForZeroAddress();
		_addressData[owner].aux = aux;
	}

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

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

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

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

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

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

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

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

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

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

		_approve(to, tokenId, owner);
	}

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

		return _tokenApprovals[tokenId];
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

		_beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

		// Underflow of the sender's balance is impossible because we check for
		// ownership above and the recipient's balance can't realistically overflow.
		// Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
		unchecked {
			_addressData[prevOwnership.addr].balance -= 1;
			_addressData[prevOwnership.addr].numberBurned += 1;

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

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

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

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

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

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

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

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


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

    Counters.Counter private tokenCounter;

    string private baseURI = "ipfs://bafybeicbu7pv2neolznvpwf7rxttn4kusdhcjk5z6uz4nfjanqmmrossrq";
    address private openSeaProxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;
    bool private isOpenSeaProxyActive = true;

    uint256 public MAX_FREE_MINTS = 1;
    uint256 public constant MAX_MINTS_PER_TX = 10;
    uint256 public maxSupply = 1000;

    uint256 public constant PUBLIC_SALE_PRICE = 0.002 ether;
    uint256 public NUM_FREE_MINTS = 500;
    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("Merge Portals", "PORTAL") {
    }

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

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

        uint payForCount = numberOfTokens;
        uint mintedSoFar = _numberMinted(msg.sender);
        
        //1 Free Mints Default
        uint maxFree = MAX_FREE_MINTS;

        if(mintedSoFar < maxFree) {
            uint remainingFreeMints = maxFree - mintedSoFar;
            if(numberOfTokens > remainingFreeMints) {
                payForCount = numberOfTokens - remainingFreeMints;
            }
            else {
                payForCount = 0;
            }
        }

		require(
			msg.value >= payForCount * PUBLIC_SALE_PRICE,
			'Ether value sent is not sufficient'
		);

        _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 ============

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

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

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

    // 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 setLowerMaxSupply(uint256 _newMax)
        external
        onlyOwner
    {
        maxSupply = _newMax;
    }

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

    function airdrop(address to, uint count) external onlyOwner {
		require(
			totalSupply() + count <= maxSupply,
			'Exceeds max supply'
		);
		_safeMint(to, count);
	}

    function burn(uint256[] calldata nums) external onlyOwner {
        for (uint i=0; i < nums.length; i++) {
            _burn(nums[i]);
        }
	}



    // ============ 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(baseURI, "/", (tokenId+1).toString(), ".json"));
            //string(abi.encodePacked(baseURI, "/", (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"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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_FREE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"count","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"nums","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","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":"_newMax","type":"uint256"}],"name":"setLowerMaxSupply","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":"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"}]

61010060405260426080818152906200264560a03980516200002a91600b9160209091019062000158565b50600c80546001600160a81b0319167401a5409ec958c83c3f309868babaca7c86dcb077c11790556001600d8190556103e8600e556101f4600f556010805460ff191690911790553480156200007f57600080fd5b50604080518082018252600d81526c4d6572676520506f7274616c7360981b6020808301918252835180850190945260068452651413d495105360d21b908401528151919291620000d39160029162000158565b508051620000e990600390602084019062000158565b50506000805550620000fb3362000106565b60016009556200023b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200016690620001fe565b90600052602060002090601f0160209004810192826200018a5760008555620001d5565b82601f10620001a557805160ff1916838001178555620001d5565b82800160010185558215620001d5579182015b82811115620001d5578251825591602001919060010190620001b8565b50620001e3929150620001e7565b5090565b5b80821115620001e35760008155600101620001e8565b600181811c908216806200021357607f821691505b602082108114156200023557634e487b7160e01b600052602260045260246000fd5b50919050565b6123fa806200024b6000396000f3fe6080604052600436106102045760003560e01c8063714c539811610118578063b80f55c9116100a0578063c87b56dd1161006f578063c87b56dd146105bb578063d5abeb01146105db578063e43082f7146105f1578063e985e9c514610611578063f2fde38b1461063157600080fd5b8063b80f55c914610550578063b88d4fde14610570578063c6a91b4214610590578063c7a6b21e146105a557600080fd5b80638da5cb5b116100e75780638da5cb5b146104d457806395d89b41146104f2578063982d669e14610507578063a0712d681461051d578063a22cb4651461053057600080fd5b8063714c53981461046a578063715018a61461047f57806381fe8cfd146104945780638ba4cc3c146104b457600080fd5b806323b872dd1161019b57806342842e0e1161016a57806342842e0e146103ca57806349df728c146103ea57806355f804b31461040a5780636352211e1461042a57806370a082311461044a57600080fd5b806323b872dd1461033657806328cad13d146103565780632a55205a146103765780633ccfd60b146103b557600080fd5b8063095ea7b3116101d7578063095ea7b3146102c15780630a00ae83146102e357806318160ddd146103035780631e84c4131461031c57600080fd5b806301ffc9a71461020957806306fdde031461023e57806307e89ec014610260578063081812fc14610289575b600080fd5b34801561021557600080fd5b50610229610224366004611f90565b610651565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025361067c565b60405161023591906121d3565b34801561026c57600080fd5b5061027b66071afd498d000081565b604051908152602001610235565b34801561029557600080fd5b506102a96102a436600461202f565b61070e565b6040516001600160a01b039091168152602001610235565b3480156102cd57600080fd5b506102e16102dc366004611eb6565b610752565b005b3480156102ef57600080fd5b506102e16102fe36600461202f565b6107e0565b34801561030f57600080fd5b506001546000540361027b565b34801561032857600080fd5b506010546102299060ff1681565b34801561034257600080fd5b506102e1610351366004611dc8565b610818565b34801561036257600080fd5b506102e1610371366004611f56565b610823565b34801561038257600080fd5b50610396610391366004612061565b610860565b604080516001600160a01b039093168352602083019190915201610235565b3480156103c157600080fd5b506102e16108cd565b3480156103d657600080fd5b506102e16103e5366004611dc8565b61092a565b3480156103f657600080fd5b506102e1610405366004611d72565b610945565b34801561041657600080fd5b506102e1610425366004611fe7565b610a6c565b34801561043657600080fd5b506102a961044536600461202f565b610aa9565b34801561045657600080fd5b5061027b610465366004611d72565b610abb565b34801561047657600080fd5b50610253610b09565b34801561048b57600080fd5b506102e1610b18565b3480156104a057600080fd5b506102e16104af36600461202f565b610b4e565b3480156104c057600080fd5b506102e16104cf366004611eb6565b610b7d565b3480156104e057600080fd5b506008546001600160a01b03166102a9565b3480156104fe57600080fd5b50610253610c0f565b34801561051357600080fd5b5061027b600f5481565b6102e161052b36600461202f565b610c1e565b34801561053c57600080fd5b506102e161054b366004611e88565b610edf565b34801561055c57600080fd5b506102e161056b366004611ee2565b610f75565b34801561057c57600080fd5b506102e161058b366004611e09565b610fdd565b34801561059c57600080fd5b5061027b600a81565b3480156105b157600080fd5b5061027b600d5481565b3480156105c757600080fd5b506102536105d636600461202f565b61102e565b3480156105e757600080fd5b5061027b600e5481565b3480156105fd57600080fd5b506102e161060c366004611f56565b6110b5565b34801561061d57600080fd5b5061022961062c366004611d8f565b6110fd565b34801561063d57600080fd5b506102e161064c366004611d72565b6111e9565b60006001600160e01b0319821663152a902d60e11b1480610676575061067682611284565b92915050565b60606002805461068b906122a9565b80601f01602080910402602001604051908101604052809291908181526020018280546106b7906122a9565b80156107045780601f106106d957610100808354040283529160200191610704565b820191906000526020600020905b8154815290600101906020018083116106e757829003601f168201915b5050505050905090565b6000610719826112d4565b610736576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061075d82610aa9565b9050806001600160a01b0316836001600160a01b031614156107925760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906107b257506107b081336110fd565b155b156107d0576040516367d9dca160e11b815260040160405180910390fd5b6107db8383836112ff565b505050565b6008546001600160a01b031633146108135760405162461bcd60e51b815260040161080a906121e6565b60405180910390fd5b600f55565b6107db83838361135b565b6008546001600160a01b0316331461084d5760405162461bcd60e51b815260040161080a906121e6565b6010805460ff1916911515919091179055565b60008061086c846112d4565b6108ac5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161080a565b306108c26108bb85600561155d565b6064611570565b915091509250929050565b6008546001600160a01b031633146108f75760405162461bcd60e51b815260040161080a906121e6565b6040514790339082156108fc029083906000818181858888f19350505050158015610926573d6000803e3d6000fd5b5050565b6107db83838360405180602001604052806000815250610fdd565b6008546001600160a01b0316331461096f5760405162461bcd60e51b815260040161080a906121e6565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b1580156109b157600080fd5b505afa1580156109c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e99190612048565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610a3457600080fd5b505af1158015610a48573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107db9190611f73565b6008546001600160a01b03163314610a965760405162461bcd60e51b815260040161080a906121e6565b805161092690600b906020840190611c64565b6000610ab48261157c565b5192915050565b60006001600160a01b038216610ae4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6060600b805461068b906122a9565b6008546001600160a01b03163314610b425760405162461bcd60e51b815260040161080a906121e6565b610b4c6000611696565b565b6008546001600160a01b03163314610b785760405162461bcd60e51b815260040161080a906121e6565b600e55565b6008546001600160a01b03163314610ba75760405162461bcd60e51b815260040161080a906121e6565b600e5481610bb86001546000540390565b610bc2919061221b565b1115610c055760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015260640161080a565b61092682826116e8565b60606003805461068b906122a9565b60026009541415610c715760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161080a565b6002600955600f5466071afd498d0000908290610c916001546000540390565b1115610cef5734610ca28284612247565b14610cef5760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e740000000000000000604482015260640161080a565b60105460ff16610d415760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e000000000000000000604482015260640161080a565b82600e5481610d536001546000540390565b610d5d919061221b565b1115610db65760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b606482015260840161080a565b83600a811115610e135760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b606482015260840161080a565b846000610e1f33611702565b600d5490915080821015610e5b576000610e398383612266565b905080891115610e5457610e4d818a612266565b9350610e59565b600093505b505b610e6c66071afd498d000084612247565b341015610ec65760405162461bcd60e51b815260206004820152602260248201527f45746865722076616c75652073656e74206973206e6f742073756666696369656044820152611b9d60f21b606482015260840161080a565b610ed033896116e8565b50506001600955505050505050565b6001600160a01b038216331415610f095760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610f9f5760405162461bcd60e51b815260040161080a906121e6565b60005b818110156107db57610fcb838383818110610fbf57610fbf61233f565b90506020020135611757565b80610fd5816122e4565b915050610fa2565b610fe884848461135b565b6001600160a01b0383163b1515801561100a5750611008848484846118c1565b155b15611028576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611039826112d4565b6110795760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161080a565b600b61108e61108984600161221b565b6119b8565b60405160200161109f9291906120cb565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146110df5760405162461bcd60e51b815260040161080a906121e6565b600c8054911515600160a01b0260ff60a01b19909216919091179055565b600c546000906001600160a01b03811690600160a01b900460ff1680156111a8575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b15801561116557600080fd5b505afa158015611179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119d9190611fca565b6001600160a01b0316145b156111b7576001915050610676565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b031633146112135760405162461bcd60e51b815260040161080a906121e6565b6001600160a01b0381166112785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161080a565b61128181611696565b50565b60006001600160e01b031982166380ac58cd60e01b14806112b557506001600160e01b03198216635b5e139f60e01b145b8061067657506301ffc9a760e01b6001600160e01b0319831614610676565b6000805482108015610676575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006113668261157c565b80519091506000906001600160a01b0316336001600160a01b031614806113945750815161139490336110fd565b806113af5750336113a48461070e565b6001600160a01b0316145b9050806113cf57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146114045760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661142b57604051633a954ecd60e21b815260040160405180910390fd5b61143b60008484600001516112ff565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166115255760005481101561152557825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03166000805160206123a583398151915260405160405180910390a45b5050505050565b60006115698284612247565b9392505050565b60006115698284612233565b60408051606081018252600080825260208201819052918101919091528160005481101561167d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061167b5780516001600160a01b031615611612579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611676579392505050565b611612565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610926828260405180602001604052806000815250611ab5565b60006001600160a01b03821661172b576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b60006117628261157c565b905061177460008383600001516112ff565b80516001600160a01b039081166000908152600560209081526040808320805467ffffffffffffffff1981166001600160401b0391821660001901821617909155855185168452818420805467ffffffffffffffff60801b198116600160801b9182900484166001908101851690920217909155865188865260049094528285208054600160e01b9588166001600160e01b031990911617600160a01b42909416939093029290921760ff60e01b191693909317905590850180835291205490911661188b5760005481101561188b57815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b50805160405183916000916001600160a01b03909116906000805160206123a5833981519152908390a450506001805481019055565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118f6903390899088908890600401612196565b602060405180830381600087803b15801561191057600080fd5b505af1925050508015611940575060408051601f3d908101601f1916820190925261193d91810190611fad565b60015b61199b573d80801561196e576040519150601f19603f3d011682016040523d82523d6000602084013e611973565b606091505b508051611993576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060816119dc5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a0657806119f0816122e4565b91506119ff9050600a83612233565b91506119e0565b6000816001600160401b03811115611a2057611a20612355565b6040519080825280601f01601f191660200182016040528015611a4a576020820181803683370190505b5090505b84156111e157611a5f600183612266565b9150611a6c600a866122ff565b611a7790603061221b565b60f81b818381518110611a8c57611a8c61233f565b60200101906001600160f81b031916908160001a905350611aae600a86612233565b9450611a4e565b6107db83838360016000546001600160a01b038516611ae657604051622e076360e81b815260040160405180910390fd5b83611b045760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611bb057506001600160a01b0387163b15155b15611c27575b60405182906001600160a01b038916906000906000805160206123a5833981519152908290a4611bef60008884806001019550886118c1565b611c0c576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611bb6578260005414611c2257600080fd5b611c5b565b5b6040516001830192906001600160a01b038916906000906000805160206123a5833981519152908290a480821415611c28575b50600055611556565b828054611c70906122a9565b90600052602060002090601f016020900481019282611c925760008555611cd8565b82601f10611cab57805160ff1916838001178555611cd8565b82800160010185558215611cd8579182015b82811115611cd8578251825591602001919060010190611cbd565b50611ce4929150611ce8565b5090565b5b80821115611ce45760008155600101611ce9565b60006001600160401b0380841115611d1757611d17612355565b604051601f8501601f19908116603f01168101908282118183101715611d3f57611d3f612355565b81604052809350858152868686011115611d5857600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611d8457600080fd5b81356115698161236b565b60008060408385031215611da257600080fd5b8235611dad8161236b565b91506020830135611dbd8161236b565b809150509250929050565b600080600060608486031215611ddd57600080fd5b8335611de88161236b565b92506020840135611df88161236b565b929592945050506040919091013590565b60008060008060808587031215611e1f57600080fd5b8435611e2a8161236b565b93506020850135611e3a8161236b565b92506040850135915060608501356001600160401b03811115611e5c57600080fd5b8501601f81018713611e6d57600080fd5b611e7c87823560208401611cfd565b91505092959194509250565b60008060408385031215611e9b57600080fd5b8235611ea68161236b565b91506020830135611dbd81612380565b60008060408385031215611ec957600080fd5b8235611ed48161236b565b946020939093013593505050565b60008060208385031215611ef557600080fd5b82356001600160401b0380821115611f0c57600080fd5b818501915085601f830112611f2057600080fd5b813581811115611f2f57600080fd5b8660208260051b8501011115611f4457600080fd5b60209290920196919550909350505050565b600060208284031215611f6857600080fd5b813561156981612380565b600060208284031215611f8557600080fd5b815161156981612380565b600060208284031215611fa257600080fd5b81356115698161238e565b600060208284031215611fbf57600080fd5b81516115698161238e565b600060208284031215611fdc57600080fd5b81516115698161236b565b600060208284031215611ff957600080fd5b81356001600160401b0381111561200f57600080fd5b8201601f8101841361202057600080fd5b6111e184823560208401611cfd565b60006020828403121561204157600080fd5b5035919050565b60006020828403121561205a57600080fd5b5051919050565b6000806040838503121561207457600080fd5b50508035926020909101359150565b6000815180845261209b81602086016020860161227d565b601f01601f19169290920160200192915050565b600081516120c181856020860161227d565b9290920192915050565b600080845481600182811c9150808316806120e757607f831692505b602080841082141561210757634e487b7160e01b86526022600452602486fd5b81801561211b576001811461212c57612159565b60ff19861689528489019650612159565b60008b81526020902060005b868110156121515781548b820152908501908301612138565b505084890196505b50505050505061218d61217c61217683602f60f81b815260010190565b866120af565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121c990830184612083565b9695505050505050565b6020815260006115696020830184612083565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561222e5761222e612313565b500190565b60008261224257612242612329565b500490565b600081600019048311821515161561226157612261612313565b500290565b60008282101561227857612278612313565b500390565b60005b83811015612298578181015183820152602001612280565b838111156110285750506000910152565b600181811c908216806122bd57607f821691505b602082108114156122de57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156122f8576122f8612313565b5060010190565b60008261230e5761230e612329565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461128157600080fd5b801515811461128157600080fd5b6001600160e01b03198116811461128157600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122050d121c3c5fbee1bb135c82a57e0ff393b0031d211544f559176eecffc958e1764736f6c63430008070033697066733a2f2f62616679626569636275377076326e656f6c7a6e7670776637727874746e346b75736468636a6b357a36757a346e666a616e716d6d726f73737271

Deployed Bytecode

0x6080604052600436106102045760003560e01c8063714c539811610118578063b80f55c9116100a0578063c87b56dd1161006f578063c87b56dd146105bb578063d5abeb01146105db578063e43082f7146105f1578063e985e9c514610611578063f2fde38b1461063157600080fd5b8063b80f55c914610550578063b88d4fde14610570578063c6a91b4214610590578063c7a6b21e146105a557600080fd5b80638da5cb5b116100e75780638da5cb5b146104d457806395d89b41146104f2578063982d669e14610507578063a0712d681461051d578063a22cb4651461053057600080fd5b8063714c53981461046a578063715018a61461047f57806381fe8cfd146104945780638ba4cc3c146104b457600080fd5b806323b872dd1161019b57806342842e0e1161016a57806342842e0e146103ca57806349df728c146103ea57806355f804b31461040a5780636352211e1461042a57806370a082311461044a57600080fd5b806323b872dd1461033657806328cad13d146103565780632a55205a146103765780633ccfd60b146103b557600080fd5b8063095ea7b3116101d7578063095ea7b3146102c15780630a00ae83146102e357806318160ddd146103035780631e84c4131461031c57600080fd5b806301ffc9a71461020957806306fdde031461023e57806307e89ec014610260578063081812fc14610289575b600080fd5b34801561021557600080fd5b50610229610224366004611f90565b610651565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025361067c565b60405161023591906121d3565b34801561026c57600080fd5b5061027b66071afd498d000081565b604051908152602001610235565b34801561029557600080fd5b506102a96102a436600461202f565b61070e565b6040516001600160a01b039091168152602001610235565b3480156102cd57600080fd5b506102e16102dc366004611eb6565b610752565b005b3480156102ef57600080fd5b506102e16102fe36600461202f565b6107e0565b34801561030f57600080fd5b506001546000540361027b565b34801561032857600080fd5b506010546102299060ff1681565b34801561034257600080fd5b506102e1610351366004611dc8565b610818565b34801561036257600080fd5b506102e1610371366004611f56565b610823565b34801561038257600080fd5b50610396610391366004612061565b610860565b604080516001600160a01b039093168352602083019190915201610235565b3480156103c157600080fd5b506102e16108cd565b3480156103d657600080fd5b506102e16103e5366004611dc8565b61092a565b3480156103f657600080fd5b506102e1610405366004611d72565b610945565b34801561041657600080fd5b506102e1610425366004611fe7565b610a6c565b34801561043657600080fd5b506102a961044536600461202f565b610aa9565b34801561045657600080fd5b5061027b610465366004611d72565b610abb565b34801561047657600080fd5b50610253610b09565b34801561048b57600080fd5b506102e1610b18565b3480156104a057600080fd5b506102e16104af36600461202f565b610b4e565b3480156104c057600080fd5b506102e16104cf366004611eb6565b610b7d565b3480156104e057600080fd5b506008546001600160a01b03166102a9565b3480156104fe57600080fd5b50610253610c0f565b34801561051357600080fd5b5061027b600f5481565b6102e161052b36600461202f565b610c1e565b34801561053c57600080fd5b506102e161054b366004611e88565b610edf565b34801561055c57600080fd5b506102e161056b366004611ee2565b610f75565b34801561057c57600080fd5b506102e161058b366004611e09565b610fdd565b34801561059c57600080fd5b5061027b600a81565b3480156105b157600080fd5b5061027b600d5481565b3480156105c757600080fd5b506102536105d636600461202f565b61102e565b3480156105e757600080fd5b5061027b600e5481565b3480156105fd57600080fd5b506102e161060c366004611f56565b6110b5565b34801561061d57600080fd5b5061022961062c366004611d8f565b6110fd565b34801561063d57600080fd5b506102e161064c366004611d72565b6111e9565b60006001600160e01b0319821663152a902d60e11b1480610676575061067682611284565b92915050565b60606002805461068b906122a9565b80601f01602080910402602001604051908101604052809291908181526020018280546106b7906122a9565b80156107045780601f106106d957610100808354040283529160200191610704565b820191906000526020600020905b8154815290600101906020018083116106e757829003601f168201915b5050505050905090565b6000610719826112d4565b610736576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061075d82610aa9565b9050806001600160a01b0316836001600160a01b031614156107925760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906107b257506107b081336110fd565b155b156107d0576040516367d9dca160e11b815260040160405180910390fd5b6107db8383836112ff565b505050565b6008546001600160a01b031633146108135760405162461bcd60e51b815260040161080a906121e6565b60405180910390fd5b600f55565b6107db83838361135b565b6008546001600160a01b0316331461084d5760405162461bcd60e51b815260040161080a906121e6565b6010805460ff1916911515919091179055565b60008061086c846112d4565b6108ac5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161080a565b306108c26108bb85600561155d565b6064611570565b915091509250929050565b6008546001600160a01b031633146108f75760405162461bcd60e51b815260040161080a906121e6565b6040514790339082156108fc029083906000818181858888f19350505050158015610926573d6000803e3d6000fd5b5050565b6107db83838360405180602001604052806000815250610fdd565b6008546001600160a01b0316331461096f5760405162461bcd60e51b815260040161080a906121e6565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b1580156109b157600080fd5b505afa1580156109c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e99190612048565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610a3457600080fd5b505af1158015610a48573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107db9190611f73565b6008546001600160a01b03163314610a965760405162461bcd60e51b815260040161080a906121e6565b805161092690600b906020840190611c64565b6000610ab48261157c565b5192915050565b60006001600160a01b038216610ae4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6060600b805461068b906122a9565b6008546001600160a01b03163314610b425760405162461bcd60e51b815260040161080a906121e6565b610b4c6000611696565b565b6008546001600160a01b03163314610b785760405162461bcd60e51b815260040161080a906121e6565b600e55565b6008546001600160a01b03163314610ba75760405162461bcd60e51b815260040161080a906121e6565b600e5481610bb86001546000540390565b610bc2919061221b565b1115610c055760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b604482015260640161080a565b61092682826116e8565b60606003805461068b906122a9565b60026009541415610c715760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161080a565b6002600955600f5466071afd498d0000908290610c916001546000540390565b1115610cef5734610ca28284612247565b14610cef5760405162461bcd60e51b815260206004820152601860248201527f496e636f7272656374204554482076616c75652073656e740000000000000000604482015260640161080a565b60105460ff16610d415760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e000000000000000000604482015260640161080a565b82600e5481610d536001546000540390565b610d5d919061221b565b1115610db65760405162461bcd60e51b815260206004820152602260248201527f4e6f7420656e6f756768206d696e74732072656d61696e696e6720746f206d696044820152611b9d60f21b606482015260840161080a565b83600a811115610e135760405162461bcd60e51b815260206004820152602260248201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604482015261195960f21b606482015260840161080a565b846000610e1f33611702565b600d5490915080821015610e5b576000610e398383612266565b905080891115610e5457610e4d818a612266565b9350610e59565b600093505b505b610e6c66071afd498d000084612247565b341015610ec65760405162461bcd60e51b815260206004820152602260248201527f45746865722076616c75652073656e74206973206e6f742073756666696369656044820152611b9d60f21b606482015260840161080a565b610ed033896116e8565b50506001600955505050505050565b6001600160a01b038216331415610f095760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610f9f5760405162461bcd60e51b815260040161080a906121e6565b60005b818110156107db57610fcb838383818110610fbf57610fbf61233f565b90506020020135611757565b80610fd5816122e4565b915050610fa2565b610fe884848461135b565b6001600160a01b0383163b1515801561100a5750611008848484846118c1565b155b15611028576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611039826112d4565b6110795760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b604482015260640161080a565b600b61108e61108984600161221b565b6119b8565b60405160200161109f9291906120cb565b6040516020818303038152906040529050919050565b6008546001600160a01b031633146110df5760405162461bcd60e51b815260040161080a906121e6565b600c8054911515600160a01b0260ff60a01b19909216919091179055565b600c546000906001600160a01b03811690600160a01b900460ff1680156111a8575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c45527919060240160206040518083038186803b15801561116557600080fd5b505afa158015611179573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119d9190611fca565b6001600160a01b0316145b156111b7576001915050610676565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6008546001600160a01b031633146112135760405162461bcd60e51b815260040161080a906121e6565b6001600160a01b0381166112785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161080a565b61128181611696565b50565b60006001600160e01b031982166380ac58cd60e01b14806112b557506001600160e01b03198216635b5e139f60e01b145b8061067657506301ffc9a760e01b6001600160e01b0319831614610676565b6000805482108015610676575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006113668261157c565b80519091506000906001600160a01b0316336001600160a01b031614806113945750815161139490336110fd565b806113af5750336113a48461070e565b6001600160a01b0316145b9050806113cf57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146114045760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661142b57604051633a954ecd60e21b815260040160405180910390fd5b61143b60008484600001516112ff565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166115255760005481101561152557825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03166000805160206123a583398151915260405160405180910390a45b5050505050565b60006115698284612247565b9392505050565b60006115698284612233565b60408051606081018252600080825260208201819052918101919091528160005481101561167d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff1615159181018290529061167b5780516001600160a01b031615611612579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611676579392505050565b611612565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610926828260405180602001604052806000815250611ab5565b60006001600160a01b03821661172b576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b60006117628261157c565b905061177460008383600001516112ff565b80516001600160a01b039081166000908152600560209081526040808320805467ffffffffffffffff1981166001600160401b0391821660001901821617909155855185168452818420805467ffffffffffffffff60801b198116600160801b9182900484166001908101851690920217909155865188865260049094528285208054600160e01b9588166001600160e01b031990911617600160a01b42909416939093029290921760ff60e01b191693909317905590850180835291205490911661188b5760005481101561188b57815160008281526004602090815260409091208054918501516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b50805160405183916000916001600160a01b03909116906000805160206123a5833981519152908390a450506001805481019055565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906118f6903390899088908890600401612196565b602060405180830381600087803b15801561191057600080fd5b505af1925050508015611940575060408051601f3d908101601f1916820190925261193d91810190611fad565b60015b61199b573d80801561196e576040519150601f19603f3d011682016040523d82523d6000602084013e611973565b606091505b508051611993576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060816119dc5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a0657806119f0816122e4565b91506119ff9050600a83612233565b91506119e0565b6000816001600160401b03811115611a2057611a20612355565b6040519080825280601f01601f191660200182016040528015611a4a576020820181803683370190505b5090505b84156111e157611a5f600183612266565b9150611a6c600a866122ff565b611a7790603061221b565b60f81b818381518110611a8c57611a8c61233f565b60200101906001600160f81b031916908160001a905350611aae600a86612233565b9450611a4e565b6107db83838360016000546001600160a01b038516611ae657604051622e076360e81b815260040160405180910390fd5b83611b045760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611bb057506001600160a01b0387163b15155b15611c27575b60405182906001600160a01b038916906000906000805160206123a5833981519152908290a4611bef60008884806001019550886118c1565b611c0c576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611bb6578260005414611c2257600080fd5b611c5b565b5b6040516001830192906001600160a01b038916906000906000805160206123a5833981519152908290a480821415611c28575b50600055611556565b828054611c70906122a9565b90600052602060002090601f016020900481019282611c925760008555611cd8565b82601f10611cab57805160ff1916838001178555611cd8565b82800160010185558215611cd8579182015b82811115611cd8578251825591602001919060010190611cbd565b50611ce4929150611ce8565b5090565b5b80821115611ce45760008155600101611ce9565b60006001600160401b0380841115611d1757611d17612355565b604051601f8501601f19908116603f01168101908282118183101715611d3f57611d3f612355565b81604052809350858152868686011115611d5857600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611d8457600080fd5b81356115698161236b565b60008060408385031215611da257600080fd5b8235611dad8161236b565b91506020830135611dbd8161236b565b809150509250929050565b600080600060608486031215611ddd57600080fd5b8335611de88161236b565b92506020840135611df88161236b565b929592945050506040919091013590565b60008060008060808587031215611e1f57600080fd5b8435611e2a8161236b565b93506020850135611e3a8161236b565b92506040850135915060608501356001600160401b03811115611e5c57600080fd5b8501601f81018713611e6d57600080fd5b611e7c87823560208401611cfd565b91505092959194509250565b60008060408385031215611e9b57600080fd5b8235611ea68161236b565b91506020830135611dbd81612380565b60008060408385031215611ec957600080fd5b8235611ed48161236b565b946020939093013593505050565b60008060208385031215611ef557600080fd5b82356001600160401b0380821115611f0c57600080fd5b818501915085601f830112611f2057600080fd5b813581811115611f2f57600080fd5b8660208260051b8501011115611f4457600080fd5b60209290920196919550909350505050565b600060208284031215611f6857600080fd5b813561156981612380565b600060208284031215611f8557600080fd5b815161156981612380565b600060208284031215611fa257600080fd5b81356115698161238e565b600060208284031215611fbf57600080fd5b81516115698161238e565b600060208284031215611fdc57600080fd5b81516115698161236b565b600060208284031215611ff957600080fd5b81356001600160401b0381111561200f57600080fd5b8201601f8101841361202057600080fd5b6111e184823560208401611cfd565b60006020828403121561204157600080fd5b5035919050565b60006020828403121561205a57600080fd5b5051919050565b6000806040838503121561207457600080fd5b50508035926020909101359150565b6000815180845261209b81602086016020860161227d565b601f01601f19169290920160200192915050565b600081516120c181856020860161227d565b9290920192915050565b600080845481600182811c9150808316806120e757607f831692505b602080841082141561210757634e487b7160e01b86526022600452602486fd5b81801561211b576001811461212c57612159565b60ff19861689528489019650612159565b60008b81526020902060005b868110156121515781548b820152908501908301612138565b505084890196505b50505050505061218d61217c61217683602f60f81b815260010190565b866120af565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121c990830184612083565b9695505050505050565b6020815260006115696020830184612083565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561222e5761222e612313565b500190565b60008261224257612242612329565b500490565b600081600019048311821515161561226157612261612313565b500290565b60008282101561227857612278612313565b500390565b60005b83811015612298578181015183820152602001612280565b838111156110285750506000910152565b600181811c908216806122bd57607f821691505b602082108114156122de57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156122f8576122f8612313565b5060010190565b60008261230e5761230e612329565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461128157600080fd5b801515811461128157600080fd5b6001600160e01b03198116811461128157600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122050d121c3c5fbee1bb135c82a57e0ff393b0031d211544f559176eecffc958e1764736f6c63430008070033

Deployed Bytecode Sourcemap

58003:6908:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63017:292;;;;;;;;;;-1:-1:-1;63017:292:0;;;;;:::i;:::-;;:::i;:::-;;;9787:14:1;;9780:22;9762:41;;9750:2;9735:18;63017:292:0;;;;;;;;45570:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;58577:55::-;;;;;;;;;;;;58621:11;58577:55;;;;;13919:25:1;;;13907:2;13892:18;58577:55:0;13773:177:1;46917:189:0;;;;;;;;;;-1:-1:-1;46917:189:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8806:32:1;;;8788:51;;8776:2;8761:18;46917:189:0;8642:203:1;46534:329:0;;;;;;;;;;-1:-1:-1;46534:329:0;;;;;:::i;:::-;;:::i;:::-;;61815:139;;;;;;;;;;-1:-1:-1;61815:139:0;;;;;:::i;:::-;;:::i;42047:267::-;;;;;;;;;;-1:-1:-1;42274:12:0;;42091:7;42258:13;:28;42047:267;;58681:37;;;;;;;;;;-1:-1:-1;58681:37:0;;;;;;;;47710:140;;;;;;;;;;-1:-1:-1;47710:140:0;;;;;:::i;:::-;;:::i;61647:158::-;;;;;;;;;;-1:-1:-1;61647:158:0;;;;;:::i;:::-;;:::i;64590:318::-;;;;;;;;;;-1:-1:-1;64590:318:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;9535:32:1;;;9517:51;;9599:2;9584:18;;9577:34;;;;9490:18;64590:318:0;9343:274:1;62094:143:0;;;;;;;;;;;;;:::i;47909:155::-;;;;;;;;;;-1:-1:-1;47909:155:0;;;;;:::i;:::-;;:::i;62245:168::-;;;;;;;;;;-1:-1:-1;62245:168:0;;;;;:::i;:::-;;:::i;61249:100::-;;;;;;;;;;-1:-1:-1;61249:100:0;;;;;:::i;:::-;;:::i;45400:115::-;;;;;;;;;;-1:-1:-1;45400:115:0;;;;;:::i;:::-;;:::i;43040:191::-;;;;;;;;;;-1:-1:-1;43040:191:0;;;;;:::i;:::-;;:::i;61085:93::-;;;;;;;;;;;;;:::i;18964:103::-;;;;;;;;;;;;;:::i;61962:124::-;;;;;;;;;;-1:-1:-1;61962:124:0;;;;;:::i;:::-;;:::i;62421:173::-;;;;;;;;;;-1:-1:-1;62421:173:0;;;;;:::i;:::-;;:::i;18313:87::-;;;;;;;;;;-1:-1:-1;18386:6:0;;-1:-1:-1;;;;;18386:6:0;18313:87;;45718:95;;;;;;;;;;;;;:::i;58639:35::-;;;;;;;;;;;;;;;;59958:934;;;;;;:::i;:::-;;:::i;47166:258::-;;;;;;;;;;-1:-1:-1;47166:258:0;;;;;:::i;:::-;;:::i;62602:151::-;;;;;;;;;;-1:-1:-1;62602:151:0;;;;;:::i;:::-;;:::i;48123:312::-;;;;;;;;;;-1:-1:-1;48123:312:0;;;;;:::i;:::-;;:::i;58485:45::-;;;;;;;;;;;;58528:2;58485:45;;58445:33;;;;;;;;;;;;;;;;64134:390;;;;;;;;;;-1:-1:-1;64134:390:0;;;;;:::i;:::-;;:::i;58537:31::-;;;;;;;;;;;;;;;;61473:166;;;;;;;;;;-1:-1:-1;61473:166:0;;;;;:::i;:::-;;:::i;63446:617::-;;;;;;;;;;-1:-1:-1;63446:617:0;;;;;:::i;:::-;;:::i;19222:201::-;;;;;;;;;;-1:-1:-1;19222:201:0;;;;;:::i;:::-;;:::i;63017:292::-;63165:4;-1:-1:-1;;;;;;63207:41:0;;-1:-1:-1;;;63207:41:0;;:94;;;63265:36;63289:11;63265:23;:36::i;:::-;63187:114;63017:292;-1:-1:-1;;63017:292:0:o;45570:91::-;45624:13;45651:5;45644:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45570:91;:::o;46917:189::-;46985:7;47004:16;47012:7;47004;:16::i;:::-;46999:64;;47029:34;;-1:-1:-1;;;47029:34:0;;;;;;;;;;;46999:64;-1:-1:-1;47077:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;47077:24:0;;46917:189::o;46534:329::-;46601:13;46617:24;46633:7;46617:15;:24::i;:::-;46601:40;;46656:5;-1:-1:-1;;;;;46650:11:0;:2;-1:-1:-1;;;;;46650:11:0;;46646:48;;;46670:24;;-1:-1:-1;;;46670:24:0;;;;;;;;;;;46646:48;17117:10;-1:-1:-1;;;;;46705:21:0;;;;;;:63;;-1:-1:-1;46731:37:0;46748:5;17117:10;63446:617;:::i;46731:37::-;46730:38;46705:63;46701:123;;;46783:35;;-1:-1:-1;;;46783:35:0;;;;;;;;;;;46701:123;46830:28;46839:2;46843:7;46852:5;46830:8;:28::i;:::-;46596:267;46534:329;;:::o;61815:139::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;;;;;;;;;61916:14:::1;:30:::0;61815:139::o;47710:140::-;47817:28;47827:4;47833:2;47837:7;47817:9;:28::i;61647:158::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;61757:18:::1;:40:::0;;-1:-1:-1;;61757:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;61647:158::o;64590:318::-;64715:16;64733:21;64780:16;64788:7;64780;:16::i;:::-;64772:46;;;;-1:-1:-1;;;64772:46:0;;11453:2:1;64772:46:0;;;11435:21:1;11492:2;11472:18;;;11465:30;-1:-1:-1;;;11511:18:1;;;11504:47;11568:18;;64772:46:0;11251:341:1;64772:46:0;64847:4;64854:45;64867:26;64880:9;64891:1;64867:12;:26::i;:::-;64895:3;64854:12;:45::i;:::-;64831:69;;;;64590:318;;;;;:::o;62094:143::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;62192:37:::1;::::0;62160:21:::1;::::0;62200:10:::1;::::0;62192:37;::::1;;;::::0;62160:21;;62142:15:::1;62192:37:::0;62142:15;62192:37;62160:21;62200:10;62192:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;62131:106;62094:143::o:0;47909:155::-;48020:39;48037:4;48043:2;48047:7;48020:39;;;;;;;;;;;;:16;:39::i;62245:168::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;62329:30:::1;::::0;-1:-1:-1;;;62329:30:0;;62353:4:::1;62329:30;::::0;::::1;8788:51:1::0;62311:15:0::1;::::0;-1:-1:-1;;;;;62329:15:0;::::1;::::0;::::1;::::0;8761:18:1;;62329:30:0::1;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62370:35;::::0;-1:-1:-1;;;62370:35:0;;62385:10:::1;62370:35;::::0;::::1;9517:51:1::0;9584:18;;;9577:34;;;62311:48:0;;-1:-1:-1;;;;;;62370:14:0;::::1;::::0;::::1;::::0;9490:18:1;;62370:35:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;61249:100::-:0;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;61323:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;45400:115::-:0;45464:7;45485:20;45497:7;45485:11;:20::i;:::-;:25;;45400:115;-1:-1:-1;;45400:115:0:o;43040:191::-;43104:7;-1:-1:-1;;;;;43122:19:0;;43118:60;;43150:28;;-1:-1:-1;;;43150:28:0;;;;;;;;;;;43118:60;-1:-1:-1;;;;;;43198:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;43198:27:0;;43040:191::o;61085:93::-;61130:13;61163:7;61156:14;;;;;:::i;18964:103::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;19029:30:::1;19056:1;19029:18;:30::i;:::-;18964:103::o:0;61962:124::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;62059:9:::1;:19:::0;61962:124::o;62421:173::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;62524:9:::1;;62515:5;62499:13;42274:12:::0;;42091:7;42258:13;:28;;42047:267;62499:13:::1;:21;;;;:::i;:::-;:34;;62486:78;;;::::0;-1:-1:-1;;;62486:78:0;;11799:2:1;62486:78:0::1;::::0;::::1;11781:21:1::0;11838:2;11818:18;;;11811:30;-1:-1:-1;;;11857:18:1;;;11850:48;11915:18;;62486:78:0::1;11597:342:1::0;62486:78:0::1;62569:20;62579:2;62583:5;62569:9;:20::i;45718:95::-:0;45774:13;45801:7;45794:14;;;;;:::i;59958:934::-;10242:1;10840:7;;:19;;10832:63;;;;-1:-1:-1;;;10832:63:0;;13263:2:1;10832:63:0;;;13245:21:1;13302:2;13282:18;;;13275:30;13341:33;13321:18;;;13314:61;13392:18;;10832:63:0;13061:355:1;10832:63:0;10242:1;10973:7;:18;59644:14:::1;::::0;58621:11:::1;::::0;60098:14;;59630:13:::1;42274:12:::0;;42091:7;42258:13;:28;;42047:267;59630:13:::1;:28;59627:166;;;59720:9;59693:22;59701:14:::0;59693:5;:22:::1;:::i;:::-;59692:37;59670:111;;;::::0;-1:-1:-1;;;59670:111:0;;12910:2:1;59670:111:0::1;::::0;::::1;12892:21:1::0;12949:2;12929:18;;;12922:30;12988:26;12968:18;;;12961:54;13032:18;;59670:111:0::1;12708:348:1::0;59670:111:0::1;58848:18:::2;::::0;::::2;;58840:54;;;::::0;-1:-1:-1;;;58840:54:0;;13623:2:1;58840:54:0::2;::::0;::::2;13605:21:1::0;13662:2;13642:18;;;13635:30;13701:25;13681:18;;;13674:53;13744:18;;58840:54:0::2;13421:347:1::0;58840:54:0::2;60161:14:::3;59255:9;;59220:14;59204:13;42274:12:::0;;42091:7;42258:13;:28;;42047:267;59204:13:::3;:30;;;;:::i;:::-;:60;;59182:144;;;::::0;-1:-1:-1;;;59182:144:0;;10647:2:1;59182:144:0::3;::::0;::::3;10629:21:1::0;10686:2;10666:18;;;10659:30;10725:34;10705:18;;;10698:62;-1:-1:-1;;;10776:18:1;;;10769:32;10818:19;;59182:144:0::3;10445:398:1::0;59182:144:0::3;60200:14:::4;58528:2;59002:14;:34;;58980:118;;;::::0;-1:-1:-1;;;58980:118:0;;11050:2:1;58980:118:0::4;::::0;::::4;11032:21:1::0;11089:2;11069:18;;;11062:30;11128:34;11108:18;;;11101:62;-1:-1:-1;;;11179:18:1;;;11172:32;11221:19;;58980:118:0::4;10848:398:1::0;58980:118:0::4;60253:14:::0;60234:16:::5;60297:25;60311:10;60297:13;:25::i;:::-;60390:14;::::0;60278:44;;-1:-1:-1;60420:21:0;;::::5;60417:307;;;60458:23;60484:21;60494:11:::0;60484:7;:21:::5;:::i;:::-;60458:47;;60540:18;60523:14;:35;60520:193;;;60593:35;60610:18:::0;60593:14;:35:::5;:::i;:::-;60579:49;;60520:193;;;60696:1;60682:15;;60520:193;60443:281;60417:307;60756:31;58621:11;60756::::0;:31:::5;:::i;:::-;60743:9;:44;;60730:104;;;::::0;-1:-1:-1;;;60730:104:0;;12146:2:1;60730:104:0::5;::::0;::::5;12128:21:1::0;12185:2;12165:18;;;12158:30;12224:34;12204:18;;;12197:62;-1:-1:-1;;;12275:18:1;;;12268:32;12317:19;;60730:104:0::5;11944:398:1::0;60730:104:0::5;60847:37;60857:10;60869:14;60847:9;:37::i;:::-;-1:-1:-1::0;;10198:1:0;11152:7;:22;-1:-1:-1;;;;;;59958:934:0:o;47166:258::-;-1:-1:-1;;;;;47251:24:0;;17117:10;47251:24;47247:54;;;47284:17;;-1:-1:-1;;;47284:17:0;;;;;;;;;;;47247:54;17117:10;47308:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;47308:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;47308:53:0;;;;;;;;;;47371:48;;9762:41:1;;;47308:42:0;;17117:10;47371:48;;9735:18:1;47371:48:0;;;;;;;47166:258;;:::o;62602:151::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;62676:6:::1;62671:78;62686:15:::0;;::::1;62671:78;;;62723:14;62729:4;;62734:1;62729:7;;;;;;;:::i;:::-;;;;;;;62723:5;:14::i;:::-;62703:3:::0;::::1;::::0;::::1;:::i;:::-;;;;62671:78;;48123:312:::0;48257:28;48267:4;48273:2;48277:7;48257:9;:28::i;:::-;-1:-1:-1;;;;;48294:13:0;;20924:20;20972:8;;48294:76;;;;;48314:56;48345:4;48351:2;48355:7;48364:5;48314:30;:56::i;:::-;48313:57;48294:76;48290:141;;;48385:40;;-1:-1:-1;;;48385:40:0;;;;;;;;;;;48290:141;48123:312;;;;:::o;64134:390::-;64252:13;64291:16;64299:7;64291;:16::i;:::-;64283:46;;;;-1:-1:-1;;;64283:46:0;;11453:2:1;64283:46:0;;;11435:21:1;11492:2;11472:18;;;11465:30;-1:-1:-1;;;11511:18:1;;;11504:47;11568:18;;64283:46:0;11251:341:1;64283:46:0;64386:7;64400:22;64401:9;:7;64409:1;64401:9;:::i;:::-;64400:20;:22::i;:::-;64369:63;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64342:91;;64134:390;;;:::o;61473:166::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;61587:20:::1;:44:::0;;;::::1;;-1:-1:-1::0;;;61587:44:0::1;-1:-1:-1::0;;;;61587:44:0;;::::1;::::0;;;::::1;::::0;;61473:166::o;63446:617::-;63794:27;;63571:4;;-1:-1:-1;;;;;63794:27:0;;;-1:-1:-1;;;63861:20:0;;;;:86;;;;-1:-1:-1;63906:28:0;;-1:-1:-1;;;63906:28:0;;-1:-1:-1;;;;;8806:32:1;;;63906:28:0;;;8788:51:1;63898:49:0;;;;63906:21;;;;;;8761:18:1;;63906:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;63898:49:0;;63861:86;63843:154;;;63981:4;63974:11;;;;;63843:154;-1:-1:-1;;;;;47615:25:0;;;47595:4;47615:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;64016:39;64009:46;63446:617;-1:-1:-1;;;;63446:617:0:o;19222:201::-;18386:6;;-1:-1:-1;;;;;18386:6:0;17117:10;18533:23;18525:68;;;;-1:-1:-1;;;18525:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;19311:22:0;::::1;19303:73;;;::::0;-1:-1:-1;;;19303:73:0;;10240:2:1;19303:73:0::1;::::0;::::1;10222:21:1::0;10279:2;10259:18;;;10252:30;10318:34;10298:18;;;10291:62;-1:-1:-1;;;10369:18:1;;;10362:36;10415:19;;19303:73:0::1;10038:402:1::0;19303:73:0::1;19387:28;19406:8;19387:18;:28::i;:::-;19222:201:::0;:::o;42702:286::-;42819:4;-1:-1:-1;;;;;;42843:40:0;;-1:-1:-1;;;42843:40:0;;:96;;-1:-1:-1;;;;;;;42891:48:0;;-1:-1:-1;;;42891:48:0;42843:96;:140;;;-1:-1:-1;;;;;;;;;;31822:40:0;;;42947:36;31713:157;48666:165;48723:4;48781:13;;48771:7;:23;48741:85;;;;-1:-1:-1;;48799:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;48799:27:0;;;;48798:28;;48666:165::o;55169:160::-;55257:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;55257:29:0;-1:-1:-1;;;;;55257:29:0;;;;;;;;;55296:28;;55257:24;;55296:28;;;;;;;55169:160;;;:::o;51286:1821::-;51374:35;51412:20;51424:7;51412:11;:20::i;:::-;51481:18;;51374:58;;-1:-1:-1;51439:22:0;;-1:-1:-1;;;;;51465:34:0;17117:10;-1:-1:-1;;;;;51465:34:0;;:92;;;-1:-1:-1;51524:18:0;;51507:50;;17117:10;63446:617;:::i;51507:50::-;51465:136;;;-1:-1:-1;17117:10:0;51565:20;51577:7;51565:11;:20::i;:::-;-1:-1:-1;;;;;51565:36:0;;51465:136;51439:163;;51614:17;51609:66;;51640:35;;-1:-1:-1;;;51640:35:0;;;;;;;;;;;51609:66;51706:4;-1:-1:-1;;;;;51684:26:0;:13;:18;;;-1:-1:-1;;;;;51684:26:0;;51680:67;;51719:28;;-1:-1:-1;;;51719:28:0;;;;;;;;;;;51680:67;-1:-1:-1;;;;;51756:16:0;;51752:52;;51781:23;;-1:-1:-1;;;51781:23:0;;;;;;;;;;;51752:52;51907:49;51924:1;51928:7;51937:13;:18;;;51907:8;:49::i;:::-;-1:-1:-1;;;;;52219:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;52219:31:0;;;-1:-1:-1;;;;;52219:31:0;;;-1:-1:-1;;52219:31:0;;;;;;;52256:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;52256:29:0;;;;;;;;;;;52293:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;52329:61:0;;;;-1:-1:-1;;;52374:15:0;52329:61;;;;;;;;;;;52637:11;;;52658:24;;;;;:29;52637:11;;52658:29;52654:358;;52847:13;;52833:11;:27;52829:177;;;52902:18;;;52870:24;;;:11;:24;;;;;;;;:50;;52970:28;;;;-1:-1:-1;;;;;52928:70:0;-1:-1:-1;;;52928:70:0;-1:-1:-1;;;;;;52928:70:0;;;-1:-1:-1;;;;;52870:50:0;;;52928:70;;;;;;;52829:177;52203:814;53047:7;53043:2;-1:-1:-1;;;;;53028:27:0;53037:4;-1:-1:-1;;;;;53028:27:0;-1:-1:-1;;;;;;;;;;;53028:27:0;;;;;;;;;53060:42;51369:1738;;51286:1821;;;:::o;3538:98::-;3596:7;3623:5;3627:1;3623;:5;:::i;:::-;3616:12;3538:98;-1:-1:-1;;;3538:98:0:o;3937:::-;3995:7;4022:5;4026:1;4022;:5;:::i;44554:796::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;44658:7:0;44726:13;;44719:4;:20;44688:610;;;44748:31;44782:17;;;:11;:17;;;;;;;;;44748:51;;;;;;;;;-1:-1:-1;;;;;44748:51:0;;;;-1:-1:-1;;;44748:51:0;;-1:-1:-1;;;;;44748:51:0;;;;;;;;-1:-1:-1;;;44748:51:0;;;;;;;;;;;;;;44806:486;;44841:14;;-1:-1:-1;;;;;44841:28:0;;44837:68;;44887:9;44554:796;-1:-1:-1;;;44554:796:0:o;44837:68::-;-1:-1:-1;;;45154:6:0;45181:17;;;;:11;:17;;;;;;;;;45169:29;;;;;;;;;-1:-1:-1;;;;;45169:29:0;;;;;-1:-1:-1;;;45169:29:0;;-1:-1:-1;;;;;45169:29:0;;;;;;;;-1:-1:-1;;;45169:29:0;;;;;;;;;;;;;45211:28;45207:70;;45258:9;44554:796;-1:-1:-1;;;44554:796:0:o;45207:70::-;45132:153;;;44741:557;44688:610;45314:31;;-1:-1:-1;;;45314:31:0;;;;;;;;;;;19583:191;19676:6;;;-1:-1:-1;;;;;19693:17:0;;;-1:-1:-1;;;;;;19693:17:0;;;;;;;19726:40;;19676:6;;;19693:17;19676:6;;19726:40;;19657:16;;19726:40;19646:128;19583:191;:::o;48836:95::-;48899:27;48909:2;48913:8;48899:27;;;;;;;;;;;;:9;:27::i;43301:192::-;43362:7;-1:-1:-1;;;;;43380:19:0;;43376:59;;43408:27;;-1:-1:-1;;;43408:27:0;;;;;;;;;;;43376:59;-1:-1:-1;;;;;;43455:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;43455:32:0;;-1:-1:-1;;;;;43455:32:0;;43301:192::o;53303:1766::-;53357:35;53395:20;53407:7;53395:11;:20::i;:::-;53357:58;-1:-1:-1;53540:49:0;53557:1;53561:7;53570:13;:18;;;53540:8;:49::i;:::-;53865:18;;-1:-1:-1;;;;;53852:32:0;;;;;;;:12;:32;;;;;;;;:45;;-1:-1:-1;;53852:45:0;;-1:-1:-1;;;;;53852:45:0;;;-1:-1:-1;;53852:45:0;;;;;;;53916:18;;53903:32;;;;;;;:50;;-1:-1:-1;;;;53903:50:0;;-1:-1:-1;;;53903:50:0;;;;;;-1:-1:-1;53903:50:0;;;;;;;;;;;;54062:18;;54034:20;;;:11;:20;;;;;;:46;;-1:-1:-1;;;54034:46:0;;;-1:-1:-1;;;;;;54086:61:0;;;;-1:-1:-1;;;54131:15:0;54086:61;;;;;;;;;;;-1:-1:-1;;;;54153:34:0;;;;;;;54430:11;;;54451:24;;;;;:29;54430:11;;54451:29;54447:358;;54640:13;;54626:11;:27;54622:177;;;54695:18;;;54663:24;;;:11;:24;;;;;;;;:50;;54763:28;;;;-1:-1:-1;;;;;54721:70:0;-1:-1:-1;;;54721:70:0;-1:-1:-1;;;;;;54721:70:0;;;-1:-1:-1;;;;;54663:50:0;;;54721:70;;;;;;;54622:177;-1:-1:-1;54830:18:0;;54821:49;;54862:7;;54858:1;;-1:-1:-1;;;;;54821:49:0;;;;-1:-1:-1;;;;;;;;;;;54821:49:0;54858:1;;54821:49;-1:-1:-1;;55045:12:0;:14;;;;;;53303:1766::o;55791:541::-;55942:72;;-1:-1:-1;;;55942:72:0;;55927:4;;-1:-1:-1;;;;;55942:36:0;;;;;:72;;17117:10;;55993:4;;55999:7;;56008:5;;55942:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55942:72:0;;;;;;;;-1:-1:-1;;55942:72:0;;;;;;;;;;;;:::i;:::-;;;55938:390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56161:13:0;;56157:166;;56195:40;;-1:-1:-1;;;56195:40:0;;;;;;;;;;;56157:166;56302:6;56296:13;56287:6;56283:2;56279:15;56272:38;55938:390;-1:-1:-1;;;;;;56061:55:0;-1:-1:-1;;;56061:55:0;;-1:-1:-1;55791:541:0;;;;;;:::o;14599:723::-;14655:13;14876:10;14872:53;;-1:-1:-1;;14903:10:0;;;;;;;;;;;;-1:-1:-1;;;14903:10:0;;;;;14599:723::o;14872:53::-;14950:5;14935:12;14991:78;14998:9;;14991:78;;15024:8;;;;:::i;:::-;;-1:-1:-1;15047:10:0;;-1:-1:-1;15055:2:0;15047:10;;:::i;:::-;;;14991:78;;;15079:19;15111:6;-1:-1:-1;;;;;15101:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;15101:17:0;;15079:39;;15129:154;15136:10;;15129:154;;15163:11;15173:1;15163:11;;:::i;:::-;;-1:-1:-1;15232:10:0;15240:2;15232:5;:10;:::i;:::-;15219:24;;:2;:24;:::i;:::-;15206:39;;15189:6;15196;15189:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;15189:56:0;;;;;;;;-1:-1:-1;15260:11:0;15269:2;15260:11;;:::i;:::-;;;15129:154;;49261:133;49357:32;49363:2;49367:8;49377:5;49384:4;49726:20;49749:13;-1:-1:-1;;;;;49771:16:0;;49767:48;;49796:19;;-1:-1:-1;;;49796:19:0;;;;;;;;;;;49767:48;49824:13;49820:44;;49846:18;;-1:-1:-1;;;49846:18:0;;;;;;;;;;;49820:44;-1:-1:-1;;;;;50176:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;50226:49:0;;-1:-1:-1;;;;;50176:44:0;;;;;;;50226:49;;;-1:-1:-1;;;;;50176:44:0;;;;;;50226:49;;;;;;;;;;;;;;;;50283:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;50324:66:0;;;;-1:-1:-1;;;50374:15:0;50324:66;;;;;;;;;;50283:25;50453:23;;;50488:4;:23;;;;-1:-1:-1;;;;;;50496:13:0;;20924:20;20972:8;;50496:15;50484:473;;;50520:239;50536:38;;50561:12;;-1:-1:-1;;;;;50536:38:0;;;50553:1;;-1:-1:-1;;;;;;;;;;;50536:38:0;50553:1;;50536:38;50587:69;50626:1;50630:2;50634:14;;;;;;50650:5;50587:30;:69::i;:::-;50582:141;;50674:40;;-1:-1:-1;;;50674:40:0;;;;;;;;;;;50582:141;50754:3;50738:12;:19;;50520:239;;50816:12;50799:13;;:29;50795:43;;50830:8;;;50795:43;50484:473;;;50858:93;50874:40;;50899:14;;;;;-1:-1:-1;;;;;50874:40:0;;;50891:1;;-1:-1:-1;;;;;;;;;;;50874:40:0;50891:1;;50874:40;50946:3;50930:12;:19;;50858:93;;50484:473;-1:-1:-1;50962:13:0;:28;51000:60;48123:312;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;-1:-1:-1;;;;;149:2:1;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:247::-;709:6;762:2;750:9;741:7;737:23;733:32;730:52;;;778:1;775;768:12;730:52;817:9;804:23;836:31;861:5;836:31;:::i;902:388::-;970:6;978;1031:2;1019:9;1010:7;1006:23;1002:32;999:52;;;1047:1;1044;1037:12;999:52;1086:9;1073:23;1105:31;1130:5;1105:31;:::i;:::-;1155:5;-1:-1:-1;1212:2:1;1197:18;;1184:32;1225:33;1184:32;1225:33;:::i;:::-;1277:7;1267:17;;;902:388;;;;;:::o;1295:456::-;1372:6;1380;1388;1441:2;1429:9;1420:7;1416:23;1412:32;1409:52;;;1457:1;1454;1447:12;1409:52;1496:9;1483:23;1515:31;1540:5;1515:31;:::i;:::-;1565:5;-1:-1:-1;1622:2:1;1607:18;;1594:32;1635:33;1594:32;1635:33;:::i;:::-;1295:456;;1687:7;;-1:-1:-1;;;1741:2:1;1726:18;;;;1713:32;;1295:456::o;1756:794::-;1851:6;1859;1867;1875;1928:3;1916:9;1907:7;1903:23;1899:33;1896:53;;;1945:1;1942;1935:12;1896:53;1984:9;1971:23;2003:31;2028:5;2003:31;:::i;:::-;2053:5;-1:-1:-1;2110:2:1;2095:18;;2082:32;2123:33;2082:32;2123:33;:::i;:::-;2175:7;-1:-1:-1;2229:2:1;2214:18;;2201:32;;-1:-1:-1;2284:2:1;2269:18;;2256:32;-1:-1:-1;;;;;2300:30:1;;2297:50;;;2343:1;2340;2333:12;2297:50;2366:22;;2419:4;2411:13;;2407:27;-1:-1:-1;2397:55:1;;2448:1;2445;2438:12;2397:55;2471:73;2536:7;2531:2;2518:16;2513:2;2509;2505:11;2471:73;:::i;:::-;2461:83;;;1756:794;;;;;;;:::o;2555:382::-;2620:6;2628;2681:2;2669:9;2660:7;2656:23;2652:32;2649:52;;;2697:1;2694;2687:12;2649:52;2736:9;2723:23;2755:31;2780:5;2755:31;:::i;:::-;2805:5;-1:-1:-1;2862:2:1;2847:18;;2834:32;2875:30;2834:32;2875:30;:::i;2942:315::-;3010:6;3018;3071:2;3059:9;3050:7;3046:23;3042:32;3039:52;;;3087:1;3084;3077:12;3039:52;3126:9;3113:23;3145:31;3170:5;3145:31;:::i;:::-;3195:5;3247:2;3232:18;;;;3219:32;;-1:-1:-1;;;2942:315:1:o;3262:615::-;3348:6;3356;3409:2;3397:9;3388:7;3384:23;3380:32;3377:52;;;3425:1;3422;3415:12;3377:52;3465:9;3452:23;-1:-1:-1;;;;;3535:2:1;3527:6;3524:14;3521:34;;;3551:1;3548;3541:12;3521:34;3589:6;3578:9;3574:22;3564:32;;3634:7;3627:4;3623:2;3619:13;3615:27;3605:55;;3656:1;3653;3646:12;3605:55;3696:2;3683:16;3722:2;3714:6;3711:14;3708:34;;;3738:1;3735;3728:12;3708:34;3791:7;3786:2;3776:6;3773:1;3769:14;3765:2;3761:23;3757:32;3754:45;3751:65;;;3812:1;3809;3802:12;3751:65;3843:2;3835:11;;;;;3865:6;;-1:-1:-1;3262:615:1;;-1:-1:-1;;;;3262:615:1:o;3882:241::-;3938:6;3991:2;3979:9;3970:7;3966:23;3962:32;3959:52;;;4007:1;4004;3997:12;3959:52;4046:9;4033:23;4065:28;4087:5;4065:28;:::i;4128:245::-;4195:6;4248:2;4236:9;4227:7;4223:23;4219:32;4216:52;;;4264:1;4261;4254:12;4216:52;4296:9;4290:16;4315:28;4337:5;4315:28;:::i;4378:245::-;4436:6;4489:2;4477:9;4468:7;4464:23;4460:32;4457:52;;;4505:1;4502;4495:12;4457:52;4544:9;4531:23;4563:30;4587:5;4563:30;:::i;4628:249::-;4697:6;4750:2;4738:9;4729:7;4725:23;4721:32;4718:52;;;4766:1;4763;4756:12;4718:52;4798:9;4792:16;4817:30;4841:5;4817:30;:::i;5148:280::-;5247:6;5300:2;5288:9;5279:7;5275:23;5271:32;5268:52;;;5316:1;5313;5306:12;5268:52;5348:9;5342:16;5367:31;5392:5;5367:31;:::i;5433:450::-;5502:6;5555:2;5543:9;5534:7;5530:23;5526:32;5523:52;;;5571:1;5568;5561:12;5523:52;5611:9;5598:23;-1:-1:-1;;;;;5636:6:1;5633:30;5630:50;;;5676:1;5673;5666:12;5630:50;5699:22;;5752:4;5744:13;;5740:27;-1:-1:-1;5730:55:1;;5781:1;5778;5771:12;5730:55;5804:73;5869:7;5864:2;5851:16;5846:2;5842;5838:11;5804:73;:::i;5888:180::-;5947:6;6000:2;5988:9;5979:7;5975:23;5971:32;5968:52;;;6016:1;6013;6006:12;5968:52;-1:-1:-1;6039:23:1;;5888:180;-1:-1:-1;5888:180:1:o;6073:184::-;6143:6;6196:2;6184:9;6175:7;6171:23;6167:32;6164:52;;;6212:1;6209;6202:12;6164:52;-1:-1:-1;6235:16:1;;6073:184;-1:-1:-1;6073:184:1:o;6262:248::-;6330:6;6338;6391:2;6379:9;6370:7;6366:23;6362:32;6359:52;;;6407:1;6404;6397:12;6359:52;-1:-1:-1;;6430:23:1;;;6500:2;6485:18;;;6472:32;;-1:-1:-1;6262:248:1:o;6515:257::-;6556:3;6594:5;6588:12;6621:6;6616:3;6609:19;6637:63;6693:6;6686:4;6681:3;6677:14;6670:4;6663:5;6659:16;6637:63;:::i;:::-;6754:2;6733:15;-1:-1:-1;;6729:29:1;6720:39;;;;6761:4;6716:50;;6515:257;-1:-1:-1;;6515:257:1:o;6777:185::-;6819:3;6857:5;6851:12;6872:52;6917:6;6912:3;6905:4;6898:5;6894:16;6872:52;:::i;:::-;6940:16;;;;;6777:185;-1:-1:-1;;6777:185:1:o;7204:1433::-;7582:3;7611:1;7644:6;7638:13;7674:3;7696:1;7724:9;7720:2;7716:18;7706:28;;7784:2;7773:9;7769:18;7806;7796:61;;7850:4;7842:6;7838:17;7828:27;;7796:61;7876:2;7924;7916:6;7913:14;7893:18;7890:38;7887:165;;;-1:-1:-1;;;7951:33:1;;8007:4;8004:1;7997:15;8037:4;7958:3;8025:17;7887:165;8068:18;8095:104;;;;8213:1;8208:320;;;;8061:467;;8095:104;-1:-1:-1;;8128:24:1;;8116:37;;8173:16;;;;-1:-1:-1;8095:104:1;;8208:320;14028:1;14021:14;;;14065:4;14052:18;;8303:1;8317:165;8331:6;8328:1;8325:13;8317:165;;;8409:14;;8396:11;;;8389:35;8452:16;;;;8346:10;;8317:165;;;8321:3;;8511:6;8506:3;8502:16;8495:23;;8061:467;;;;;;;8544:87;8569:61;8595:34;8625:3;-1:-1:-1;;;7150:16:1;;7191:1;7182:11;;7085:114;8595:34;8587:6;8569:61;:::i;:::-;-1:-1:-1;;;7027:20:1;;7072:1;7063:11;;6967:113;8544:87;8537:94;7204:1433;-1:-1:-1;;;;;7204:1433:1:o;8850:488::-;-1:-1:-1;;;;;9119:15:1;;;9101:34;;9171:15;;9166:2;9151:18;;9144:43;9218:2;9203:18;;9196:34;;;9266:3;9261:2;9246:18;;9239:31;;;9044:4;;9287:45;;9312:19;;9304:6;9287:45;:::i;:::-;9279:53;8850:488;-1:-1:-1;;;;;;8850:488:1:o;9814:219::-;9963:2;9952:9;9945:21;9926:4;9983:44;10023:2;10012:9;10008:18;10000:6;9983:44;:::i;12347:356::-;12549:2;12531:21;;;12568:18;;;12561:30;12627:34;12622:2;12607:18;;12600:62;12694:2;12679:18;;12347:356::o;14081:128::-;14121:3;14152:1;14148:6;14145:1;14142:13;14139:39;;;14158:18;;:::i;:::-;-1:-1:-1;14194:9:1;;14081:128::o;14214:120::-;14254:1;14280;14270:35;;14285:18;;:::i;:::-;-1:-1:-1;14319:9:1;;14214:120::o;14339:168::-;14379:7;14445:1;14441;14437:6;14433:14;14430:1;14427:21;14422:1;14415:9;14408:17;14404:45;14401:71;;;14452:18;;:::i;:::-;-1:-1:-1;14492:9:1;;14339:168::o;14512:125::-;14552:4;14580:1;14577;14574:8;14571:34;;;14585:18;;:::i;:::-;-1:-1:-1;14622:9:1;;14512:125::o;14642:258::-;14714:1;14724:113;14738:6;14735:1;14732:13;14724:113;;;14814:11;;;14808:18;14795:11;;;14788:39;14760:2;14753:10;14724:113;;;14855:6;14852:1;14849:13;14846:48;;;-1:-1:-1;;14890:1:1;14872:16;;14865:27;14642:258::o;14905:380::-;14984:1;14980:12;;;;15027;;;15048:61;;15102:4;15094:6;15090:17;15080:27;;15048:61;15155:2;15147:6;15144:14;15124:18;15121:38;15118:161;;;15201:10;15196:3;15192:20;15189:1;15182:31;15236:4;15233:1;15226:15;15264:4;15261:1;15254:15;15118:161;;14905:380;;;:::o;15290:135::-;15329:3;-1:-1:-1;;15350:17:1;;15347:43;;;15370:18;;:::i;:::-;-1:-1:-1;15417:1:1;15406:13;;15290:135::o;15430:112::-;15462:1;15488;15478:35;;15493:18;;:::i;:::-;-1:-1:-1;15527:9:1;;15430:112::o;15547:127::-;15608:10;15603:3;15599:20;15596:1;15589:31;15639:4;15636:1;15629:15;15663:4;15660:1;15653:15;15679:127;15740:10;15735:3;15731:20;15728:1;15721:31;15771:4;15768:1;15761:15;15795:4;15792:1;15785:15;15811:127;15872:10;15867:3;15863:20;15860:1;15853:31;15903:4;15900:1;15893:15;15927:4;15924:1;15917:15;15943:127;16004:10;15999:3;15995:20;15992:1;15985:31;16035:4;16032:1;16025:15;16059:4;16056:1;16049:15;16075:131;-1:-1:-1;;;;;16150:31:1;;16140:42;;16130:70;;16196:1;16193;16186:12;16211:118;16297:5;16290:13;16283:21;16276:5;16273:32;16263:60;;16319:1;16316;16309:12;16334:131;-1:-1:-1;;;;;;16408:32:1;;16398:43;;16388:71;;16455:1;16452;16445:12

Swarm Source

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