ETH Price: $3,451.19 (+1.54%)

Token

PowerSurge (PWR)
 

Overview

Max Total Supply

208 PWR

Holders

44

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
schiffanee.eth
Balance
2 PWR
0x368753e88f4677a529a17083f9044d476493ecbb
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:
PowerSurge

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-12-06
*/

// File: powersurge/ContentMixin.sol



pragma solidity ^0.8.1;

abstract contract ContextMixin {
    function msgSender() internal view returns (address payable sender) {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

// File: powersurge/SafeMath.sol



pragma solidity ^0.8.1;

// 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 no longer needed starting with Solidity 0.8. 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.0 (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/utils/Strings.sol


// OpenZeppelin Contracts v4.4.0 (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/cryptography/ECDSA.sol


// OpenZeppelin Contracts v4.4.0 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

// File: @openzeppelin/contracts/utils/cryptography/draft-EIP712.sol


// OpenZeppelin Contracts v4.4.0 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;


/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

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


// OpenZeppelin Contracts v4.4.0 (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.0 (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev 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.0 (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.0 (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.0 (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/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (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.0 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


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

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

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

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


// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @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 {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: powersurge/powersurgenft.sol



pragma solidity ^0.8.1;









/**
 * @title PowerSurgeNFT
 */
contract PowerSurge is
    ContextMixin,
    ERC721Enumerable,
    EIP712,
    Ownable
{
    using SafeMath for uint256;

    string public baseTokenURI;
    uint256 private _currentTokenId = 0;
    uint256 MAX_SUPPLY = 9999;
    uint256 private mintPrice = 4e16;

    bool public isPublicMintEnabled = false;
    bool public isPresaleMintEnabled = false;

    mapping(address => bool) public whitelist;

    constructor() ERC721("PowerSurge", "PWR") EIP712("PowerSurge", "1.0.0") {
        baseTokenURI = "https://api.powersurgenft.io/api/v1/";
    }


    /**
     * @dev Airdrop nft to several addresses.
     * @param _recipients addresss of the future owner of the token
     */
    function mintTo(address[] memory _recipients) external onlyOwner {
        for (uint256 i = 0; i < _recipients.length; i++) {
            uint256 newTokenId = _getNextTokenId();
            _mint(_recipients[i], newTokenId);
            _incrementTokenId();
        }
    }

    /**
     * @dev Mint to msg.sender.
     * @param _num number of tokens to be minted
     */
    function mint(uint256 _num) external payable {
        require(
            isPublicMintEnabled || (isPresaleMintEnabled && whitelist[msg.sender]),
            "Minting is not currently enabled."
        );
        require(
            totalSupply() + _num <= MAX_SUPPLY,
            "Sorry, all nfts are sold out."
        );
        require(
            _num <= 30,
            "Up to 30 PowerSurge can be minted in a tx."
        );
        require(
            msg.value == _num * mintPrice,
            "You need to pay the exact price."
        );
        _mintList(_num);
    }


    /**
     * @dev add addresses to the whitelist
     * @param addrs addresses
     */
    function addAddressesToWhitelist(address[] memory addrs) public onlyOwner {
        for (uint256 i = 0; i < addrs.length; i++) {
            whitelist[addrs[i]] = true;
        }
    }
    
        /**
     * @dev remove addresses from the whitelist
     * @param addrs addresses
     */
    function removeAddressesFromWhitelist(address[] memory addrs)
        public
        onlyOwner
    {
        for (uint256 i = 0; i < addrs.length; i++) {
            whitelist[addrs[i]] = false;
        }
    }

    function _mintList(uint256 _num) private {
        for (uint8 i = 0; i < _num; i++) {
            uint256 newTokenId = _getNextTokenId();
            _mint(msg.sender, newTokenId);
            _incrementTokenId();
        }
    }


    /**
     * @dev calculates the next token ID based on value of _currentTokenId
     * @return uint256 for the next token ID
     */
    function _getNextTokenId() private view returns (uint256) {
        return _currentTokenId.add(1);
    }

    /**
     * @dev increments the value of _currentTokenId
     */
    function _incrementTokenId() private {
        require(_currentTokenId < MAX_SUPPLY);
        _currentTokenId++;
    }

    /**
     * @dev change the baseTokenURI only by Admin
     */
    function setBaseUri(string memory _uri) external onlyOwner {
        baseTokenURI = _uri;
    }

    /**
     * @dev set minting price
     */
    function setMintPrice(uint256 price) external onlyOwner {
        mintPrice = price;
    }
    
    /**
     * @dev enable public minting
     */
    function enablePublicMinting() external onlyOwner {
        isPublicMintEnabled = true;
    }
    
    /**
     * @dev disable public minting
     */
    function disablePublicMinting() external onlyOwner {
        isPublicMintEnabled = false;
    }
    
    
        /**
     * @dev enable presale minting
     */
    function enablePresaleMinting() external onlyOwner {
        isPresaleMintEnabled = true;
    }
    
    /**
     * @dev disable presale minting
     */
    function disablePresaleMinting() external onlyOwner {
        isPresaleMintEnabled = false;
    }
    
    /**
     * @dev withdraw balance to owner
     */
    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        return
            string(abi.encodePacked(baseTokenURI, Strings.toString(_tokenId)));
    }
    
    function premint(uint8 _num) external onlyOwner {
        _mintList(_num);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender() internal view override returns (address sender) {
        return ContextMixin.msgSender();
    }

    function totalSupply() public view override returns (uint) {
        return _currentTokenId;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"addAddressesToWhitelist","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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disablePresaleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disablePublicMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enablePresaleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enablePublicMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_num","type":"uint8"}],"name":"premint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"removeAddressesFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040526000600c5561270f600d55668e1bc9bf040000600e55600f805461ffff191690553480156200003357600080fd5b506040518060400160405280600a815260200169506f776572537572676560b01b815250604051806040016040528060058152602001640312e302e360dc1b8152506040518060400160405280600a815260200169506f776572537572676560b01b81525060405180604001604052806003815260200162282ba960e91b8152508160009080519060200190620000cc92919062000293565b508051620000e290600190602084019062000293565b5050825160208085019190912083518483012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c0019052805194019390932091935091906080523060601b60c05261012052506200018f925062000189915050620001c6565b620001e2565b60405180606001604052806024815260200162002b35602491398051620001bf91600b9160209091019062000293565b5062000376565b6000620001dd6200023460201b620014261760201c565b905090565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000333014156200028d57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620002909050565b50335b90565b828054620002a19062000339565b90600052602060002090601f016020900481019282620002c5576000855562000310565b82601f10620002e057805160ff191683800117855562000310565b8280016001018555821562000310579182015b8281111562000310578251825591602001919060010190620002f3565b506200031e92915062000322565b5090565b5b808211156200031e576000815560010162000323565b600181811c908216806200034e57607f821691505b602082108114156200037057634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160601c60e051610100516101205161277e620003b760003960005050600050506000505060005050600050506000505061277e6000f3fe6080604052600436106102045760003560e01c8063715018a611610118578063b88d4fde116100a0578063e2ec6ec31161006f578063e2ec6ec3146105a6578063e985e9c5146105c6578063f2fde38b1461060f578063f4a0a5281461062f578063f7beb98a1461064f57600080fd5b8063b88d4fde14610531578063c87b56dd14610551578063ce7c8b4914610571578063d547cfb71461059157600080fd5b80639b19251a116100e75780639b19251a146104995780639f74211b146104c9578063a0712d68146104de578063a0bcfc7f146104f1578063a22cb4651461051157600080fd5b8063715018a61461043c5780638da5cb5b146104515780639190ad471461046f57806395d89b411461048457600080fd5b80632f745c591161019b5780634f6ccce71161016a5780634f6ccce7146103a75780635605b09d146103c75780635832a346146103dc5780636352211e146103fc57806370a082311461041c57600080fd5b80632f745c59146103335780633b6ea4af146103535780633ccfd60b1461037257806342842e0e1461038757600080fd5b8063095ea7b3116101d7578063095ea7b3146102b257806318160ddd146102d457806323b872dd146102f357806324953eaa1461031357600080fd5b80630116bc2d1461020957806301ffc9a71461023857806306fdde0314610258578063081812fc1461027a575b600080fd5b34801561021557600080fd5b50600f546102239060ff1681565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b506102236102533660046122a5565b610664565b34801561026457600080fd5b5061026d61068f565b60405161022f9190612490565b34801561028657600080fd5b5061029a610295366004612328565b610721565b6040516001600160a01b03909116815260200161022f565b3480156102be57600080fd5b506102d26102cd3660046121c7565b6107bb565b005b3480156102e057600080fd5b50600c545b60405190815260200161022f565b3480156102ff57600080fd5b506102d261030e3660046120d3565b6108e3565b34801561031f57600080fd5b506102d261032e3660046121f1565b61091b565b34801561033f57600080fd5b506102e561034e3660046121c7565b6109d0565b34801561035f57600080fd5b50600f5461022390610100900460ff1681565b34801561037e57600080fd5b506102d2610a66565b34801561039357600080fd5b506102d26103a23660046120d3565b610aeb565b3480156103b357600080fd5b506102e56103c2366004612328565b610b06565b3480156103d357600080fd5b506102d2610b99565b3480156103e857600080fd5b506102d26103f7366004612341565b610bf3565b34801561040857600080fd5b5061029a610417366004612328565b610c48565b34801561042857600080fd5b506102e5610437366004612085565b610cbf565b34801561044857600080fd5b506102d2610d46565b34801561045d57600080fd5b50600a546001600160a01b031661029a565b34801561047b57600080fd5b506102d2610d9b565b34801561049057600080fd5b5061026d610df0565b3480156104a557600080fd5b506102236104b4366004612085565b60106020526000908152604090205460ff1681565b3480156104d557600080fd5b506102d2610dff565b6102d26104ec366004612328565b610e55565b3480156104fd57600080fd5b506102d261050c3660046122df565b61100a565b34801561051d57600080fd5b506102d261052c36600461218b565b611066565b34801561053d57600080fd5b506102d261054c36600461210f565b611078565b34801561055d57600080fd5b5061026d61056c366004612328565b6110b7565b34801561057d57600080fd5b506102d261058c3660046121f1565b6110eb565b34801561059d57600080fd5b5061026d61118a565b3480156105b257600080fd5b506102d26105c13660046121f1565b611218565b3480156105d257600080fd5b506102236105e13660046120a0565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561061b57600080fd5b506102d261062a366004612085565b6112c9565b34801561063b57600080fd5b506102d261064a366004612328565b611380565b34801561065b57600080fd5b506102d26113ce565b60006001600160e01b0319821663780e9d6360e01b1480610689575061068982611483565b92915050565b60606000805461069e9061263a565b80601f01602080910402602001604051908101604052809291908181526020018280546106ca9061263a565b80156107175780601f106106ec57610100808354040283529160200191610717565b820191906000526020600020905b8154815290600101906020018083116106fa57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661079f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107c682610c48565b9050806001600160a01b0316836001600160a01b031614156108345760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610796565b806001600160a01b03166108466114d3565b6001600160a01b031614806108625750610862816105e16114d3565b6108d45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610796565b6108de83836114e2565b505050565b6108f46108ee6114d3565b82611550565b6109105760405162461bcd60e51b81526004016107969061252a565b6108de838383611647565b6109236114d3565b6001600160a01b031661093e600a546001600160a01b031690565b6001600160a01b0316146109645760405162461bcd60e51b8152600401610796906124f5565b60005b81518110156109cc5760006010600084848151811061098857610988612706565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806109c481612675565b915050610967565b5050565b60006109db83610cbf565b8210610a3d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610796565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610a6e6114d3565b6001600160a01b0316610a89600a546001600160a01b031690565b6001600160a01b031614610aaf5760405162461bcd60e51b8152600401610796906124f5565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610ae8573d6000803e3d6000fd5b50565b6108de83838360405180602001604052806000815250611078565b6000610b1160085490565b8210610b745760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610796565b60088281548110610b8757610b87612706565b90600052602060002001549050919050565b610ba16114d3565b6001600160a01b0316610bbc600a546001600160a01b031690565b6001600160a01b031614610be25760405162461bcd60e51b8152600401610796906124f5565b600f805461ff001916610100179055565b610bfb6114d3565b6001600160a01b0316610c16600a546001600160a01b031690565b6001600160a01b031614610c3c5760405162461bcd60e51b8152600401610796906124f5565b610ae88160ff166117f2565b6000818152600260205260408120546001600160a01b0316806106895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610796565b60006001600160a01b038216610d2a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610796565b506001600160a01b031660009081526003602052604090205490565b610d4e6114d3565b6001600160a01b0316610d69600a546001600160a01b031690565b6001600160a01b031614610d8f5760405162461bcd60e51b8152600401610796906124f5565b610d996000611831565b565b610da36114d3565b6001600160a01b0316610dbe600a546001600160a01b031690565b6001600160a01b031614610de45760405162461bcd60e51b8152600401610796906124f5565b600f805460ff19169055565b60606001805461069e9061263a565b610e076114d3565b6001600160a01b0316610e22600a546001600160a01b031690565b6001600160a01b031614610e485760405162461bcd60e51b8152600401610796906124f5565b600f805461ff0019169055565b600f5460ff1680610e875750600f54610100900460ff168015610e8757503360009081526010602052604090205460ff165b610edd5760405162461bcd60e51b815260206004820152602160248201527f4d696e74696e67206973206e6f742063757272656e746c7920656e61626c65646044820152601760f91b6064820152608401610796565b600d5481610eea600c5490565b610ef491906125ac565b1115610f425760405162461bcd60e51b815260206004820152601d60248201527f536f7272792c20616c6c206e6674732061726520736f6c64206f75742e0000006044820152606401610796565b601e811115610fa65760405162461bcd60e51b815260206004820152602a60248201527f557020746f20333020506f77657253757267652063616e206265206d696e7465604482015269321034b71030903a3c1760b11b6064820152608401610796565b600e54610fb390826125d8565b34146110015760405162461bcd60e51b815260206004820181905260248201527f596f75206e65656420746f20706179207468652065786163742070726963652e6044820152606401610796565b610ae8816117f2565b6110126114d3565b6001600160a01b031661102d600a546001600160a01b031690565b6001600160a01b0316146110535760405162461bcd60e51b8152600401610796906124f5565b80516109cc90600b906020840190611f78565b6109cc6110716114d3565b8383611883565b6110896110836114d3565b83611550565b6110a55760405162461bcd60e51b81526004016107969061252a565b6110b184848484611952565b50505050565b6060600b6110c483611985565b6040516020016110d59291906123ac565b6040516020818303038152906040529050919050565b6110f36114d3565b6001600160a01b031661110e600a546001600160a01b031690565b6001600160a01b0316146111345760405162461bcd60e51b8152600401610796906124f5565b60005b81518110156109cc57600061114a611a83565b905061116f83838151811061116157611161612706565b602002602001015182611a94565b611177611be2565b508061118281612675565b915050611137565b600b80546111979061263a565b80601f01602080910402602001604051908101604052809291908181526020018280546111c39061263a565b80156112105780601f106111e557610100808354040283529160200191611210565b820191906000526020600020905b8154815290600101906020018083116111f357829003601f168201915b505050505081565b6112206114d3565b6001600160a01b031661123b600a546001600160a01b031690565b6001600160a01b0316146112615760405162461bcd60e51b8152600401610796906124f5565b60005b81518110156109cc5760016010600084848151811061128557611285612706565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806112c181612675565b915050611264565b6112d16114d3565b6001600160a01b03166112ec600a546001600160a01b031690565b6001600160a01b0316146113125760405162461bcd60e51b8152600401610796906124f5565b6001600160a01b0381166113775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610796565b610ae881611831565b6113886114d3565b6001600160a01b03166113a3600a546001600160a01b031690565b6001600160a01b0316146113c95760405162461bcd60e51b8152600401610796906124f5565b600e55565b6113d66114d3565b6001600160a01b03166113f1600a546001600160a01b031690565b6001600160a01b0316146114175760405162461bcd60e51b8152600401610796906124f5565b600f805460ff19166001179055565b60003330141561147d57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506114809050565b50335b90565b60006001600160e01b031982166380ac58cd60e01b14806114b457506001600160e01b03198216635b5e139f60e01b145b8061068957506301ffc9a760e01b6001600160e01b0319831614610689565b60006114dd611426565b905090565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061151782610c48565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166115c95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610796565b60006115d483610c48565b9050806001600160a01b0316846001600160a01b0316148061160f5750836001600160a01b031661160484610721565b6001600160a01b0316145b8061163f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661165a82610c48565b6001600160a01b0316146116c25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610796565b6001600160a01b0382166117245760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610796565b61172f838383611c09565b61173a6000826114e2565b6001600160a01b03831660009081526003602052604081208054600192906117639084906125f7565b90915550506001600160a01b03821660009081526003602052604081208054600192906117919084906125ac565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60005b818160ff1610156109cc57600061180a611a83565b90506118163382611a94565b61181e611be2565b508061182981612690565b9150506117f5565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156118e55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610796565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61195d848484611647565b61196984848484611cc1565b6110b15760405162461bcd60e51b8152600401610796906124a3565b6060816119a95750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119d357806119bd81612675565b91506119cc9050600a836125c4565b91506119ad565b60008167ffffffffffffffff8111156119ee576119ee61271c565b6040519080825280601f01601f191660200182016040528015611a18576020820181803683370190505b5090505b841561163f57611a2d6001836125f7565b9150611a3a600a866126b0565b611a459060306125ac565b60f81b818381518110611a5a57611a5a612706565b60200101906001600160f81b031916908160001a905350611a7c600a866125c4565b9450611a1c565b600c546000906114dd906001611dd5565b6001600160a01b038216611aea5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610796565b6000818152600260205260409020546001600160a01b031615611b4f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610796565b611b5b60008383611c09565b6001600160a01b0382166000908152600360205260408120805460019290611b849084906125ac565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600d54600c5410611bf257600080fd5b600c8054906000611c0283612675565b9190505550565b6001600160a01b038316611c6457611c5f81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611c87565b816001600160a01b0316836001600160a01b031614611c8757611c878382611de8565b6001600160a01b038216611c9e576108de81611e85565b826001600160a01b0316826001600160a01b0316146108de576108de8282611f34565b60006001600160a01b0384163b15611dca57836001600160a01b031663150b7a02611cea6114d3565b8786866040518563ffffffff1660e01b8152600401611d0c9493929190612453565b602060405180830381600087803b158015611d2657600080fd5b505af1925050508015611d56575060408051601f3d908101601f19168201909252611d53918101906122c2565b60015b611db0573d808015611d84576040519150601f19603f3d011682016040523d82523d6000602084013e611d89565b606091505b508051611da85760405162461bcd60e51b8152600401610796906124a3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061163f565b506001949350505050565b6000611de182846125ac565b9392505050565b60006001611df584610cbf565b611dff91906125f7565b600083815260076020526040902054909150808214611e52576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611e97906001906125f7565b60008381526009602052604081205460088054939450909284908110611ebf57611ebf612706565b906000526020600020015490508060088381548110611ee057611ee0612706565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611f1857611f186126f0565b6001900381819060005260206000200160009055905550505050565b6000611f3f83610cbf565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611f849061263a565b90600052602060002090601f016020900481019282611fa65760008555611fec565b82601f10611fbf57805160ff1916838001178555611fec565b82800160010185558215611fec579182015b82811115611fec578251825591602001919060010190611fd1565b50611ff8929150611ffc565b5090565b5b80821115611ff85760008155600101611ffd565b600067ffffffffffffffff83111561202b5761202b61271c565b61203e601f8401601f191660200161257b565b905082815283838301111561205257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461208057600080fd5b919050565b60006020828403121561209757600080fd5b611de182612069565b600080604083850312156120b357600080fd5b6120bc83612069565b91506120ca60208401612069565b90509250929050565b6000806000606084860312156120e857600080fd5b6120f184612069565b92506120ff60208501612069565b9150604084013590509250925092565b6000806000806080858703121561212557600080fd5b61212e85612069565b935061213c60208601612069565b925060408501359150606085013567ffffffffffffffff81111561215f57600080fd5b8501601f8101871361217057600080fd5b61217f87823560208401612011565b91505092959194509250565b6000806040838503121561219e57600080fd5b6121a783612069565b9150602083013580151581146121bc57600080fd5b809150509250929050565b600080604083850312156121da57600080fd5b6121e383612069565b946020939093013593505050565b6000602080838503121561220457600080fd5b823567ffffffffffffffff8082111561221c57600080fd5b818501915085601f83011261223057600080fd5b8135818111156122425761224261271c565b8060051b915061225384830161257b565b8181528481019084860184860187018a101561226e57600080fd5b600095505b838610156122985761228481612069565b835260019590950194918601918601612273565b5098975050505050505050565b6000602082840312156122b757600080fd5b8135611de181612732565b6000602082840312156122d457600080fd5b8151611de181612732565b6000602082840312156122f157600080fd5b813567ffffffffffffffff81111561230857600080fd5b8201601f8101841361231957600080fd5b61163f84823560208401612011565b60006020828403121561233a57600080fd5b5035919050565b60006020828403121561235357600080fd5b813560ff81168114611de157600080fd5b6000815180845261237c81602086016020860161260e565b601f01601f19169290920160200192915050565b600081516123a281856020860161260e565b9290920192915050565b600080845481600182811c9150808316806123c857607f831692505b60208084108214156123e857634e487b7160e01b86526022600452602486fd5b8180156123fc576001811461240d5761243a565b60ff1986168952848901965061243a565b60008b81526020902060005b868110156124325781548b820152908501908301612419565b505084890196505b50505050505061244a8185612390565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061248690830184612364565b9695505050505050565b602081526000611de16020830184612364565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156125a4576125a461271c565b604052919050565b600082198211156125bf576125bf6126c4565b500190565b6000826125d3576125d36126da565b500490565b60008160001904831182151516156125f2576125f26126c4565b500290565b600082821015612609576126096126c4565b500390565b60005b83811015612629578181015183820152602001612611565b838111156110b15750506000910152565b600181811c9082168061264e57607f821691505b6020821081141561266f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612689576126896126c4565b5060010190565b600060ff821660ff8114156126a7576126a76126c4565b60010192915050565b6000826126bf576126bf6126da565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ae857600080fdfea2646970667358221220d85d140566e33818a0471faec35e8605675ba68a79670c95a8d4acea11b72f5064736f6c6343000807003368747470733a2f2f6170692e706f77657273757267656e66742e696f2f6170692f76312f

Deployed Bytecode

0x6080604052600436106102045760003560e01c8063715018a611610118578063b88d4fde116100a0578063e2ec6ec31161006f578063e2ec6ec3146105a6578063e985e9c5146105c6578063f2fde38b1461060f578063f4a0a5281461062f578063f7beb98a1461064f57600080fd5b8063b88d4fde14610531578063c87b56dd14610551578063ce7c8b4914610571578063d547cfb71461059157600080fd5b80639b19251a116100e75780639b19251a146104995780639f74211b146104c9578063a0712d68146104de578063a0bcfc7f146104f1578063a22cb4651461051157600080fd5b8063715018a61461043c5780638da5cb5b146104515780639190ad471461046f57806395d89b411461048457600080fd5b80632f745c591161019b5780634f6ccce71161016a5780634f6ccce7146103a75780635605b09d146103c75780635832a346146103dc5780636352211e146103fc57806370a082311461041c57600080fd5b80632f745c59146103335780633b6ea4af146103535780633ccfd60b1461037257806342842e0e1461038757600080fd5b8063095ea7b3116101d7578063095ea7b3146102b257806318160ddd146102d457806323b872dd146102f357806324953eaa1461031357600080fd5b80630116bc2d1461020957806301ffc9a71461023857806306fdde0314610258578063081812fc1461027a575b600080fd5b34801561021557600080fd5b50600f546102239060ff1681565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b506102236102533660046122a5565b610664565b34801561026457600080fd5b5061026d61068f565b60405161022f9190612490565b34801561028657600080fd5b5061029a610295366004612328565b610721565b6040516001600160a01b03909116815260200161022f565b3480156102be57600080fd5b506102d26102cd3660046121c7565b6107bb565b005b3480156102e057600080fd5b50600c545b60405190815260200161022f565b3480156102ff57600080fd5b506102d261030e3660046120d3565b6108e3565b34801561031f57600080fd5b506102d261032e3660046121f1565b61091b565b34801561033f57600080fd5b506102e561034e3660046121c7565b6109d0565b34801561035f57600080fd5b50600f5461022390610100900460ff1681565b34801561037e57600080fd5b506102d2610a66565b34801561039357600080fd5b506102d26103a23660046120d3565b610aeb565b3480156103b357600080fd5b506102e56103c2366004612328565b610b06565b3480156103d357600080fd5b506102d2610b99565b3480156103e857600080fd5b506102d26103f7366004612341565b610bf3565b34801561040857600080fd5b5061029a610417366004612328565b610c48565b34801561042857600080fd5b506102e5610437366004612085565b610cbf565b34801561044857600080fd5b506102d2610d46565b34801561045d57600080fd5b50600a546001600160a01b031661029a565b34801561047b57600080fd5b506102d2610d9b565b34801561049057600080fd5b5061026d610df0565b3480156104a557600080fd5b506102236104b4366004612085565b60106020526000908152604090205460ff1681565b3480156104d557600080fd5b506102d2610dff565b6102d26104ec366004612328565b610e55565b3480156104fd57600080fd5b506102d261050c3660046122df565b61100a565b34801561051d57600080fd5b506102d261052c36600461218b565b611066565b34801561053d57600080fd5b506102d261054c36600461210f565b611078565b34801561055d57600080fd5b5061026d61056c366004612328565b6110b7565b34801561057d57600080fd5b506102d261058c3660046121f1565b6110eb565b34801561059d57600080fd5b5061026d61118a565b3480156105b257600080fd5b506102d26105c13660046121f1565b611218565b3480156105d257600080fd5b506102236105e13660046120a0565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561061b57600080fd5b506102d261062a366004612085565b6112c9565b34801561063b57600080fd5b506102d261064a366004612328565b611380565b34801561065b57600080fd5b506102d26113ce565b60006001600160e01b0319821663780e9d6360e01b1480610689575061068982611483565b92915050565b60606000805461069e9061263a565b80601f01602080910402602001604051908101604052809291908181526020018280546106ca9061263a565b80156107175780601f106106ec57610100808354040283529160200191610717565b820191906000526020600020905b8154815290600101906020018083116106fa57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661079f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107c682610c48565b9050806001600160a01b0316836001600160a01b031614156108345760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610796565b806001600160a01b03166108466114d3565b6001600160a01b031614806108625750610862816105e16114d3565b6108d45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610796565b6108de83836114e2565b505050565b6108f46108ee6114d3565b82611550565b6109105760405162461bcd60e51b81526004016107969061252a565b6108de838383611647565b6109236114d3565b6001600160a01b031661093e600a546001600160a01b031690565b6001600160a01b0316146109645760405162461bcd60e51b8152600401610796906124f5565b60005b81518110156109cc5760006010600084848151811061098857610988612706565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806109c481612675565b915050610967565b5050565b60006109db83610cbf565b8210610a3d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610796565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610a6e6114d3565b6001600160a01b0316610a89600a546001600160a01b031690565b6001600160a01b031614610aaf5760405162461bcd60e51b8152600401610796906124f5565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610ae8573d6000803e3d6000fd5b50565b6108de83838360405180602001604052806000815250611078565b6000610b1160085490565b8210610b745760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610796565b60088281548110610b8757610b87612706565b90600052602060002001549050919050565b610ba16114d3565b6001600160a01b0316610bbc600a546001600160a01b031690565b6001600160a01b031614610be25760405162461bcd60e51b8152600401610796906124f5565b600f805461ff001916610100179055565b610bfb6114d3565b6001600160a01b0316610c16600a546001600160a01b031690565b6001600160a01b031614610c3c5760405162461bcd60e51b8152600401610796906124f5565b610ae88160ff166117f2565b6000818152600260205260408120546001600160a01b0316806106895760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610796565b60006001600160a01b038216610d2a5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610796565b506001600160a01b031660009081526003602052604090205490565b610d4e6114d3565b6001600160a01b0316610d69600a546001600160a01b031690565b6001600160a01b031614610d8f5760405162461bcd60e51b8152600401610796906124f5565b610d996000611831565b565b610da36114d3565b6001600160a01b0316610dbe600a546001600160a01b031690565b6001600160a01b031614610de45760405162461bcd60e51b8152600401610796906124f5565b600f805460ff19169055565b60606001805461069e9061263a565b610e076114d3565b6001600160a01b0316610e22600a546001600160a01b031690565b6001600160a01b031614610e485760405162461bcd60e51b8152600401610796906124f5565b600f805461ff0019169055565b600f5460ff1680610e875750600f54610100900460ff168015610e8757503360009081526010602052604090205460ff165b610edd5760405162461bcd60e51b815260206004820152602160248201527f4d696e74696e67206973206e6f742063757272656e746c7920656e61626c65646044820152601760f91b6064820152608401610796565b600d5481610eea600c5490565b610ef491906125ac565b1115610f425760405162461bcd60e51b815260206004820152601d60248201527f536f7272792c20616c6c206e6674732061726520736f6c64206f75742e0000006044820152606401610796565b601e811115610fa65760405162461bcd60e51b815260206004820152602a60248201527f557020746f20333020506f77657253757267652063616e206265206d696e7465604482015269321034b71030903a3c1760b11b6064820152608401610796565b600e54610fb390826125d8565b34146110015760405162461bcd60e51b815260206004820181905260248201527f596f75206e65656420746f20706179207468652065786163742070726963652e6044820152606401610796565b610ae8816117f2565b6110126114d3565b6001600160a01b031661102d600a546001600160a01b031690565b6001600160a01b0316146110535760405162461bcd60e51b8152600401610796906124f5565b80516109cc90600b906020840190611f78565b6109cc6110716114d3565b8383611883565b6110896110836114d3565b83611550565b6110a55760405162461bcd60e51b81526004016107969061252a565b6110b184848484611952565b50505050565b6060600b6110c483611985565b6040516020016110d59291906123ac565b6040516020818303038152906040529050919050565b6110f36114d3565b6001600160a01b031661110e600a546001600160a01b031690565b6001600160a01b0316146111345760405162461bcd60e51b8152600401610796906124f5565b60005b81518110156109cc57600061114a611a83565b905061116f83838151811061116157611161612706565b602002602001015182611a94565b611177611be2565b508061118281612675565b915050611137565b600b80546111979061263a565b80601f01602080910402602001604051908101604052809291908181526020018280546111c39061263a565b80156112105780601f106111e557610100808354040283529160200191611210565b820191906000526020600020905b8154815290600101906020018083116111f357829003601f168201915b505050505081565b6112206114d3565b6001600160a01b031661123b600a546001600160a01b031690565b6001600160a01b0316146112615760405162461bcd60e51b8152600401610796906124f5565b60005b81518110156109cc5760016010600084848151811061128557611285612706565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055806112c181612675565b915050611264565b6112d16114d3565b6001600160a01b03166112ec600a546001600160a01b031690565b6001600160a01b0316146113125760405162461bcd60e51b8152600401610796906124f5565b6001600160a01b0381166113775760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610796565b610ae881611831565b6113886114d3565b6001600160a01b03166113a3600a546001600160a01b031690565b6001600160a01b0316146113c95760405162461bcd60e51b8152600401610796906124f5565b600e55565b6113d66114d3565b6001600160a01b03166113f1600a546001600160a01b031690565b6001600160a01b0316146114175760405162461bcd60e51b8152600401610796906124f5565b600f805460ff19166001179055565b60003330141561147d57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506114809050565b50335b90565b60006001600160e01b031982166380ac58cd60e01b14806114b457506001600160e01b03198216635b5e139f60e01b145b8061068957506301ffc9a760e01b6001600160e01b0319831614610689565b60006114dd611426565b905090565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061151782610c48565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166115c95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610796565b60006115d483610c48565b9050806001600160a01b0316846001600160a01b0316148061160f5750836001600160a01b031661160484610721565b6001600160a01b0316145b8061163f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661165a82610c48565b6001600160a01b0316146116c25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610796565b6001600160a01b0382166117245760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610796565b61172f838383611c09565b61173a6000826114e2565b6001600160a01b03831660009081526003602052604081208054600192906117639084906125f7565b90915550506001600160a01b03821660009081526003602052604081208054600192906117919084906125ac565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60005b818160ff1610156109cc57600061180a611a83565b90506118163382611a94565b61181e611be2565b508061182981612690565b9150506117f5565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156118e55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610796565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61195d848484611647565b61196984848484611cc1565b6110b15760405162461bcd60e51b8152600401610796906124a3565b6060816119a95750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119d357806119bd81612675565b91506119cc9050600a836125c4565b91506119ad565b60008167ffffffffffffffff8111156119ee576119ee61271c565b6040519080825280601f01601f191660200182016040528015611a18576020820181803683370190505b5090505b841561163f57611a2d6001836125f7565b9150611a3a600a866126b0565b611a459060306125ac565b60f81b818381518110611a5a57611a5a612706565b60200101906001600160f81b031916908160001a905350611a7c600a866125c4565b9450611a1c565b600c546000906114dd906001611dd5565b6001600160a01b038216611aea5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610796565b6000818152600260205260409020546001600160a01b031615611b4f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610796565b611b5b60008383611c09565b6001600160a01b0382166000908152600360205260408120805460019290611b849084906125ac565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600d54600c5410611bf257600080fd5b600c8054906000611c0283612675565b9190505550565b6001600160a01b038316611c6457611c5f81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611c87565b816001600160a01b0316836001600160a01b031614611c8757611c878382611de8565b6001600160a01b038216611c9e576108de81611e85565b826001600160a01b0316826001600160a01b0316146108de576108de8282611f34565b60006001600160a01b0384163b15611dca57836001600160a01b031663150b7a02611cea6114d3565b8786866040518563ffffffff1660e01b8152600401611d0c9493929190612453565b602060405180830381600087803b158015611d2657600080fd5b505af1925050508015611d56575060408051601f3d908101601f19168201909252611d53918101906122c2565b60015b611db0573d808015611d84576040519150601f19603f3d011682016040523d82523d6000602084013e611d89565b606091505b508051611da85760405162461bcd60e51b8152600401610796906124a3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061163f565b506001949350505050565b6000611de182846125ac565b9392505050565b60006001611df584610cbf565b611dff91906125f7565b600083815260076020526040902054909150808214611e52576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611e97906001906125f7565b60008381526009602052604081205460088054939450909284908110611ebf57611ebf612706565b906000526020600020015490508060088381548110611ee057611ee0612706565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611f1857611f186126f0565b6001900381819060005260206000200160009055905550505050565b6000611f3f83610cbf565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611f849061263a565b90600052602060002090601f016020900481019282611fa65760008555611fec565b82601f10611fbf57805160ff1916838001178555611fec565b82800160010185558215611fec579182015b82811115611fec578251825591602001919060010190611fd1565b50611ff8929150611ffc565b5090565b5b80821115611ff85760008155600101611ffd565b600067ffffffffffffffff83111561202b5761202b61271c565b61203e601f8401601f191660200161257b565b905082815283838301111561205257600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461208057600080fd5b919050565b60006020828403121561209757600080fd5b611de182612069565b600080604083850312156120b357600080fd5b6120bc83612069565b91506120ca60208401612069565b90509250929050565b6000806000606084860312156120e857600080fd5b6120f184612069565b92506120ff60208501612069565b9150604084013590509250925092565b6000806000806080858703121561212557600080fd5b61212e85612069565b935061213c60208601612069565b925060408501359150606085013567ffffffffffffffff81111561215f57600080fd5b8501601f8101871361217057600080fd5b61217f87823560208401612011565b91505092959194509250565b6000806040838503121561219e57600080fd5b6121a783612069565b9150602083013580151581146121bc57600080fd5b809150509250929050565b600080604083850312156121da57600080fd5b6121e383612069565b946020939093013593505050565b6000602080838503121561220457600080fd5b823567ffffffffffffffff8082111561221c57600080fd5b818501915085601f83011261223057600080fd5b8135818111156122425761224261271c565b8060051b915061225384830161257b565b8181528481019084860184860187018a101561226e57600080fd5b600095505b838610156122985761228481612069565b835260019590950194918601918601612273565b5098975050505050505050565b6000602082840312156122b757600080fd5b8135611de181612732565b6000602082840312156122d457600080fd5b8151611de181612732565b6000602082840312156122f157600080fd5b813567ffffffffffffffff81111561230857600080fd5b8201601f8101841361231957600080fd5b61163f84823560208401612011565b60006020828403121561233a57600080fd5b5035919050565b60006020828403121561235357600080fd5b813560ff81168114611de157600080fd5b6000815180845261237c81602086016020860161260e565b601f01601f19169290920160200192915050565b600081516123a281856020860161260e565b9290920192915050565b600080845481600182811c9150808316806123c857607f831692505b60208084108214156123e857634e487b7160e01b86526022600452602486fd5b8180156123fc576001811461240d5761243a565b60ff1986168952848901965061243a565b60008b81526020902060005b868110156124325781548b820152908501908301612419565b505084890196505b50505050505061244a8185612390565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061248690830184612364565b9695505050505050565b602081526000611de16020830184612364565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156125a4576125a461271c565b604052919050565b600082198211156125bf576125bf6126c4565b500190565b6000826125d3576125d36126da565b500490565b60008160001904831182151516156125f2576125f26126c4565b500290565b600082821015612609576126096126c4565b500390565b60005b83811015612629578181015183820152602001612611565b838111156110b15750506000910152565b600181811c9082168061264e57607f821691505b6020821081141561266f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612689576126896126c4565b5060010190565b600060ff821660ff8114156126a7576126a76126c4565b60010192915050565b6000826126bf576126bf6126da565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ae857600080fdfea2646970667358221220d85d140566e33818a0471faec35e8605675ba68a79670c95a8d4acea11b72f5064736f6c63430008070033

Deployed Bytecode Sourcemap

68814:4892:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69096:39;;;;;;;;;;-1:-1:-1;69096:39:0;;;;;;;;;;;7557:14:1;;7550:22;7532:41;;7520:2;7505:18;69096:39:0;;;;;;;;62543:224;;;;;;;;;;-1:-1:-1;62543:224:0;;;;;:::i;:::-;;:::i;49249:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;50808:221::-;;;;;;;;;;-1:-1:-1;50808:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6855:32:1;;;6837:51;;6825:2;6810:18;50808:221:0;6691:203:1;50331:411:0;;;;;;;;;;-1:-1:-1;50331:411:0;;;;;:::i;:::-;;:::i;:::-;;73601:100;;;;;;;;;;-1:-1:-1;73678:15:0;;73601:100;;;16277:25:1;;;16265:2;16250:18;73601:100:0;16131:177:1;51558:339:0;;;;;;;;;;-1:-1:-1;51558:339:0;;;;;:::i;:::-;;:::i;70924:217::-;;;;;;;;;;-1:-1:-1;70924:217:0;;;;;:::i;:::-;;:::i;62851:256::-;;;;;;;;;;-1:-1:-1;62851:256:0;;;;;:::i;:::-;;:::i;69142:40::-;;;;;;;;;;-1:-1:-1;69142:40:0;;;;;;;;;;;72894:106;;;;;;;;;;;;;:::i;51968:185::-;;;;;;;;;;-1:-1:-1;51968:185:0;;;;;:::i;:::-;;:::i;63373:233::-;;;;;;;;;;-1:-1:-1;63373:233:0;;;;;:::i;:::-;;:::i;72562:97::-;;;;;;;;;;;;;:::i;73247:82::-;;;;;;;;;;-1:-1:-1;73247:82:0;;;;;:::i;:::-;;:::i;48943:239::-;;;;;;;;;;-1:-1:-1;48943:239:0;;;;;:::i;:::-;;:::i;48673:208::-;;;;;;;;;;-1:-1:-1;48673:208:0;;;;;:::i;:::-;;:::i;28219:103::-;;;;;;;;;;;;;:::i;27568:87::-;;;;;;;;;;-1:-1:-1;27641:6:0;;-1:-1:-1;;;;;27641:6:0;27568:87;;72389:97;;;;;;;;;;;;;:::i;49418:104::-;;;;;;;;;;;;;:::i;69191:41::-;;;;;;;;;;-1:-1:-1;69191:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;72726:99;;;;;;;;;;;;;:::i;69917:602::-;;;;;;:::i;:::-;;:::i;71917:97::-;;;;;;;;;;-1:-1:-1;71917:97:0;;;;;:::i;:::-;;:::i;51101:155::-;;;;;;;;;;-1:-1:-1;51101:155:0;;;;;:::i;:::-;;:::i;52224:328::-;;;;;;;;;;-1:-1:-1;52224:328:0;;;;;:::i;:::-;;:::i;73008:227::-;;;;;;;;;;-1:-1:-1;73008:227:0;;;;;:::i;:::-;;:::i;69529:279::-;;;;;;;;;;-1:-1:-1;69529:279:0;;;;;:::i;:::-;;:::i;68948:26::-;;;;;;;;;;;;;:::i;70622:188::-;;;;;;;;;;-1:-1:-1;70622:188:0;;;;;:::i;:::-;;:::i;51327:164::-;;;;;;;;;;-1:-1:-1;51327:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;51448:25:0;;;51424:4;51448:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;51327:164;28477:201;;;;;;;;;;-1:-1:-1;28477:201:0;;;;;:::i;:::-;;:::i;72071:92::-;;;;;;;;;;-1:-1:-1;72071:92:0;;;;;:::i;:::-;;:::i;72228:95::-;;;;;;;;;;;;;:::i;62543:224::-;62645:4;-1:-1:-1;;;;;;62669:50:0;;-1:-1:-1;;;62669:50:0;;:90;;;62723:36;62747:11;62723:23;:36::i;:::-;62662:97;62543:224;-1:-1:-1;;62543:224:0:o;49249:100::-;49303:13;49336:5;49329:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49249:100;:::o;50808:221::-;50884:7;54151:16;;;:7;:16;;;;;;-1:-1:-1;;;;;54151:16:0;50904:73;;;;-1:-1:-1;;;50904:73:0;;12786:2:1;50904:73:0;;;12768:21:1;12825:2;12805:18;;;12798:30;12864:34;12844:18;;;12837:62;-1:-1:-1;;;12915:18:1;;;12908:42;12967:19;;50904:73:0;;;;;;;;;-1:-1:-1;50997:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;50997:24:0;;50808:221::o;50331:411::-;50412:13;50428:23;50443:7;50428:14;:23::i;:::-;50412:39;;50476:5;-1:-1:-1;;;;;50470:11:0;:2;-1:-1:-1;;;;;50470:11:0;;;50462:57;;;;-1:-1:-1;;;50462:57:0;;13970:2:1;50462:57:0;;;13952:21:1;14009:2;13989:18;;;13982:30;14048:34;14028:18;;;14021:62;-1:-1:-1;;;14099:18:1;;;14092:31;14140:19;;50462:57:0;13768:397:1;50462:57:0;50570:5;-1:-1:-1;;;;;50554:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;50554:21:0;;:62;;;;50579:37;50596:5;50603:12;:10;:12::i;50579:37::-;50532:168;;;;-1:-1:-1;;;50532:168:0;;11179:2:1;50532:168:0;;;11161:21:1;11218:2;11198:18;;;11191:30;11257:34;11237:18;;;11230:62;11328:26;11308:18;;;11301:54;11372:19;;50532:168:0;10977:420:1;50532:168:0;50713:21;50722:2;50726:7;50713:8;:21::i;:::-;50401:341;50331:411;;:::o;51558:339::-;51753:41;51772:12;:10;:12::i;:::-;51786:7;51753:18;:41::i;:::-;51745:103;;;;-1:-1:-1;;;51745:103:0;;;;;;;:::i;:::-;51861:28;51871:4;51877:2;51881:7;51861:9;:28::i;70924:217::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;71042:9:::1;71037:97;71061:5;:12;71057:1;:16;71037:97;;;71117:5;71095:9;:19;71105:5;71111:1;71105:8;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;71095:19:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;71095:19:0;:27;;-1:-1:-1;;71095:27:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71075:3;::::1;::::0;::::1;:::i;:::-;;;;71037:97;;;;70924:217:::0;:::o;62851:256::-;62948:7;62984:23;63001:5;62984:16;:23::i;:::-;62976:5;:31;62968:87;;;;-1:-1:-1;;;62968:87:0;;8010:2:1;62968:87:0;;;7992:21:1;8049:2;8029:18;;;8022:30;8088:34;8068:18;;;8061:62;-1:-1:-1;;;8139:18:1;;;8132:41;8190:19;;62968:87:0;7808:407:1;62968:87:0;-1:-1:-1;;;;;;63073:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;62851:256::o;72894:106::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;27641:6;;72944:48:::1;::::0;-1:-1:-1;;;;;27641:6:0;;;;72970:21:::1;72944:48:::0;::::1;;;::::0;::::1;::::0;;;72970:21;27641:6;72944:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;72894:106::o:0;51968:185::-;52106:39;52123:4;52129:2;52133:7;52106:39;;;;;;;;;;;;:16;:39::i;63373:233::-;63448:7;63484:30;63271:10;:17;;63183:113;63484:30;63476:5;:38;63468:95;;;;-1:-1:-1;;;63468:95:0;;14790:2:1;63468:95:0;;;14772:21:1;14829:2;14809:18;;;14802:30;14868:34;14848:18;;;14841:62;-1:-1:-1;;;14919:18:1;;;14912:42;14971:19;;63468:95:0;14588:408:1;63468:95:0;63581:10;63592:5;63581:17;;;;;;;;:::i;:::-;;;;;;;;;63574:24;;63373:233;;;:::o;72562:97::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;72624:20:::1;:27:::0;;-1:-1:-1;;72624:27:0::1;;;::::0;;72562:97::o;73247:82::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;73306:15:::1;73316:4;73306:15;;:9;:15::i;48943:239::-:0;49015:7;49051:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49051:16:0;49086:19;49078:73;;;;-1:-1:-1;;;49078:73:0;;12015:2:1;49078:73:0;;;11997:21:1;12054:2;12034:18;;;12027:30;12093:34;12073:18;;;12066:62;-1:-1:-1;;;12144:18:1;;;12137:39;12193:19;;49078:73:0;11813:405:1;48673:208:0;48745:7;-1:-1:-1;;;;;48773:19:0;;48765:74;;;;-1:-1:-1;;;48765:74:0;;11604:2:1;48765:74:0;;;11586:21:1;11643:2;11623:18;;;11616:30;11682:34;11662:18;;;11655:62;-1:-1:-1;;;11733:18:1;;;11726:40;11783:19;;48765:74:0;11402:406:1;48765:74:0;-1:-1:-1;;;;;;48857:16:0;;;;;:9;:16;;;;;;;48673:208::o;28219:103::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;28284:30:::1;28311:1;28284:18;:30::i;:::-;28219:103::o:0;72389:97::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;72451:19:::1;:27:::0;;-1:-1:-1;;72451:27:0::1;::::0;;72389:97::o;49418:104::-;49474:13;49507:7;49500:14;;;;;:::i;72726:99::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;72789:20:::1;:28:::0;;-1:-1:-1;;72789:28:0::1;::::0;;72726:99::o;69917:602::-;69995:19;;;;;:70;;-1:-1:-1;70019:20:0;;;;;;;:45;;;;-1:-1:-1;70053:10:0;70043:21;;;;:9;:21;;;;;;;;70019:45;69973:153;;;;-1:-1:-1;;;69973:153:0;;10777:2:1;69973:153:0;;;10759:21:1;10816:2;10796:18;;;10789:30;10855:34;10835:18;;;10828:62;-1:-1:-1;;;10906:18:1;;;10899:31;10947:19;;69973:153:0;10575:397:1;69973:153:0;70183:10;;70175:4;70159:13;73678:15;;;73601:100;70159:13;:20;;;;:::i;:::-;:34;;70137:113;;;;-1:-1:-1;;;70137:113:0;;15203:2:1;70137:113:0;;;15185:21:1;15242:2;15222:18;;;15215:30;15281:31;15261:18;;;15254:59;15330:18;;70137:113:0;15001:353:1;70137:113:0;70291:2;70283:4;:10;;70261:102;;;;-1:-1:-1;;;70261:102:0;;15922:2:1;70261:102:0;;;15904:21:1;15961:2;15941:18;;;15934:30;16000:34;15980:18;;;15973:62;-1:-1:-1;;;16051:18:1;;;16044:40;16101:19;;70261:102:0;15720:406:1;70261:102:0;70416:9;;70409:16;;:4;:16;:::i;:::-;70396:9;:29;70374:111;;;;-1:-1:-1;;;70374:111:0;;15561:2:1;70374:111:0;;;15543:21:1;;;15580:18;;;15573:30;15639:34;15619:18;;;15612:62;15691:18;;70374:111:0;15359:356:1;70374:111:0;70496:15;70506:4;70496:9;:15::i;71917:97::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;71987:19;;::::1;::::0;:12:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;51101:155::-:0;51196:52;51215:12;:10;:12::i;:::-;51229:8;51239;51196:18;:52::i;52224:328::-;52399:41;52418:12;:10;:12::i;:::-;52432:7;52399:18;:41::i;:::-;52391:103;;;;-1:-1:-1;;;52391:103:0;;;;;;;:::i;:::-;52505:39;52519:4;52525:2;52529:7;52538:5;52505:13;:39::i;:::-;52224:328;;;;:::o;73008:227::-;73110:13;73185:12;73199:26;73216:8;73199:16;:26::i;:::-;73168:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;73141:86;;73008:227;;;:::o;69529:279::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;69610:9:::1;69605:196;69629:11;:18;69625:1;:22;69605:196;;;69669:18;69690:17;:15;:17::i;:::-;69669:38;;69722:33;69728:11;69740:1;69728:14;;;;;;;;:::i;:::-;;;;;;;69744:10;69722:5;:33::i;:::-;69770:19;:17;:19::i;:::-;-1:-1:-1::0;69649:3:0;::::1;::::0;::::1;:::i;:::-;;;;69605:196;;68948:26:::0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;70622:188::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;70712:9:::1;70707:96;70731:5;:12;70727:1;:16;70707:96;;;70787:4;70765:9;:19;70775:5;70781:1;70775:8;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;70765:19:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;70765:19:0;:26;;-1:-1:-1;;70765:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;70745:3;::::1;::::0;::::1;:::i;:::-;;;;70707:96;;28477:201:::0;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;28566:22:0;::::1;28558:73;;;::::0;-1:-1:-1;;;28558:73:0;;8841:2:1;28558:73:0::1;::::0;::::1;8823:21:1::0;8880:2;8860:18;;;8853:30;8919:34;8899:18;;;8892:62;-1:-1:-1;;;8970:18:1;;;8963:36;9016:19;;28558:73:0::1;8639:402:1::0;28558:73:0::1;28642:28;28661:8;28642:18;:28::i;72071:92::-:0;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;72138:9:::1;:17:::0;72071:92::o;72228:95::-;27799:12;:10;:12::i;:::-;-1:-1:-1;;;;;27788:23:0;:7;27641:6;;-1:-1:-1;;;;;27641:6:0;;27568:87;27788:7;-1:-1:-1;;;;;27788:23:0;;27780:68;;;;-1:-1:-1;;;27780:68:0;;;;;;;:::i;:::-;72289:19:::1;:26:::0;;-1:-1:-1;;72289:26:0::1;72311:4;72289:26;::::0;;72228:95::o;109:618::-;153:22;192:10;214:4;192:27;188:508;;;236:18;257:8;;236:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;296:8:0;507:17;501:24;-1:-1:-1;;;;;475:134:0;;-1:-1:-1;188:508:0;;-1:-1:-1;188:508:0;;-1:-1:-1;673:10:0;188:508;109:618;:::o;48304:305::-;48406:4;-1:-1:-1;;;;;;48443:40:0;;-1:-1:-1;;;48443:40:0;;:105;;-1:-1:-1;;;;;;;48500:48:0;;-1:-1:-1;;;48500:48:0;48443:105;:158;;;-1:-1:-1;;;;;;;;;;40109:40:0;;;48565:36;40000:157;73473:120;73527:14;73561:24;:22;:24::i;:::-;73554:31;;73473:120;:::o;58044:174::-;58119:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;58119:29:0;-1:-1:-1;;;;;58119:29:0;;;;;;;;:24;;58173:23;58119:24;58173:14;:23::i;:::-;-1:-1:-1;;;;;58164:46:0;;;;;;;;;;;58044:174;;:::o;54356:348::-;54449:4;54151:16;;;:7;:16;;;;;;-1:-1:-1;;;;;54151:16:0;54466:73;;;;-1:-1:-1;;;54466:73:0;;10364:2:1;54466:73:0;;;10346:21:1;10403:2;10383:18;;;10376:30;10442:34;10422:18;;;10415:62;-1:-1:-1;;;10493:18:1;;;10486:42;10545:19;;54466:73:0;10162:408:1;54466:73:0;54550:13;54566:23;54581:7;54566:14;:23::i;:::-;54550:39;;54619:5;-1:-1:-1;;;;;54608:16:0;:7;-1:-1:-1;;;;;54608:16:0;;:51;;;;54652:7;-1:-1:-1;;;;;54628:31:0;:20;54640:7;54628:11;:20::i;:::-;-1:-1:-1;;;;;54628:31:0;;54608:51;:87;;;-1:-1:-1;;;;;;51448:25:0;;;51424:4;51448:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;54663:32;54600:96;54356:348;-1:-1:-1;;;;54356:348:0:o;57348:578::-;57507:4;-1:-1:-1;;;;;57480:31:0;:23;57495:7;57480:14;:23::i;:::-;-1:-1:-1;;;;;57480:31:0;;57472:85;;;;-1:-1:-1;;;57472:85:0;;13560:2:1;57472:85:0;;;13542:21:1;13599:2;13579:18;;;13572:30;13638:34;13618:18;;;13611:62;-1:-1:-1;;;13689:18:1;;;13682:39;13738:19;;57472:85:0;13358:405:1;57472:85:0;-1:-1:-1;;;;;57576:16:0;;57568:65;;;;-1:-1:-1;;;57568:65:0;;9605:2:1;57568:65:0;;;9587:21:1;9644:2;9624:18;;;9617:30;9683:34;9663:18;;;9656:62;-1:-1:-1;;;9734:18:1;;;9727:34;9778:19;;57568:65:0;9403:400:1;57568:65:0;57646:39;57667:4;57673:2;57677:7;57646:20;:39::i;:::-;57750:29;57767:1;57771:7;57750:8;:29::i;:::-;-1:-1:-1;;;;;57792:15:0;;;;;;:9;:15;;;;;:20;;57811:1;;57792:15;:20;;57811:1;;57792:20;:::i;:::-;;;;-1:-1:-1;;;;;;;57823:13:0;;;;;;:9;:13;;;;;:18;;57840:1;;57823:13;:18;;57840:1;;57823:18;:::i;:::-;;;;-1:-1:-1;;57852:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;57852:21:0;-1:-1:-1;;;;;57852:21:0;;;;;;;;;57891:27;;57852:16;;57891:27;;;;;;;57348:578;;;:::o;71149:235::-;71206:7;71201:176;71223:4;71219:1;:8;;;71201:176;;;71249:18;71270:17;:15;:17::i;:::-;71249:38;;71302:29;71308:10;71320;71302:5;:29::i;:::-;71346:19;:17;:19::i;:::-;-1:-1:-1;71229:3:0;;;;:::i;:::-;;;;71201:176;;28838:191;28931:6;;;-1:-1:-1;;;;;28948:17:0;;;-1:-1:-1;;;;;;28948:17:0;;;;;;;28981:40;;28931:6;;;28948:17;28931:6;;28981:40;;28912:16;;28981:40;28901:128;28838:191;:::o;58360:315::-;58515:8;-1:-1:-1;;;;;58506:17:0;:5;-1:-1:-1;;;;;58506:17:0;;;58498:55;;;;-1:-1:-1;;;58498:55:0;;10010:2:1;58498:55:0;;;9992:21:1;10049:2;10029:18;;;10022:30;10088:27;10068:18;;;10061:55;10133:18;;58498:55:0;9808:349:1;58498:55:0;-1:-1:-1;;;;;58564:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;58564:46:0;;;;;;;;;;58626:41;;7532::1;;;58626::0;;7505:18:1;58626:41:0;;;;;;;58360:315;;;:::o;53434:::-;53591:28;53601:4;53607:2;53611:7;53591:9;:28::i;:::-;53638:48;53661:4;53667:2;53671:7;53680:5;53638:22;:48::i;:::-;53630:111;;;;-1:-1:-1;;;53630:111:0;;;;;;;:::i;9657:723::-;9713:13;9934:10;9930:53;;-1:-1:-1;;9961:10:0;;;;;;;;;;;;-1:-1:-1;;;9961:10:0;;;;;9657:723::o;9930:53::-;10008:5;9993:12;10049:78;10056:9;;10049:78;;10082:8;;;;:::i;:::-;;-1:-1:-1;10105:10:0;;-1:-1:-1;10113:2:0;10105:10;;:::i;:::-;;;10049:78;;;10137:19;10169:6;10159:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10159:17:0;;10137:39;;10187:154;10194:10;;10187:154;;10221:11;10231:1;10221:11;;:::i;:::-;;-1:-1:-1;10290:10:0;10298:2;10290:5;:10;:::i;:::-;10277:24;;:2;:24;:::i;:::-;10264:39;;10247:6;10254;10247:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;10247:56:0;;;;;;;;-1:-1:-1;10318:11:0;10327:2;10318:11;;:::i;:::-;;;10187:154;;71534:106;71610:15;;71583:7;;71610:22;;71630:1;71610:19;:22::i;56040:382::-;-1:-1:-1;;;;;56120:16:0;;56112:61;;;;-1:-1:-1;;;56112:61:0;;12425:2:1;56112:61:0;;;12407:21:1;;;12444:18;;;12437:30;12503:34;12483:18;;;12476:62;12555:18;;56112:61:0;12223:356:1;56112:61:0;54127:4;54151:16;;;:7;:16;;;;;;-1:-1:-1;;;;;54151:16:0;:30;56184:58;;;;-1:-1:-1;;;56184:58:0;;9248:2:1;56184:58:0;;;9230:21:1;9287:2;9267:18;;;9260:30;9326;9306:18;;;9299:58;9374:18;;56184:58:0;9046:352:1;56184:58:0;56255:45;56284:1;56288:2;56292:7;56255:20;:45::i;:::-;-1:-1:-1;;;;;56313:13:0;;;;;;:9;:13;;;;;:18;;56330:1;;56313:13;:18;;56330:1;;56313:18;:::i;:::-;;;;-1:-1:-1;;56342:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;56342:21:0;-1:-1:-1;;;;;56342:21:0;;;;;;;;56381:33;;56342:16;;;56381:33;;56342:16;;56381:33;56040:382;;:::o;71719:121::-;71793:10;;71775:15;;:28;71767:37;;;;;;71815:15;:17;;;:15;:17;;;:::i;:::-;;;;;;71719:121::o;64219:589::-;-1:-1:-1;;;;;64425:18:0;;64421:187;;64460:40;64492:7;65635:10;:17;;65608:24;;;;:15;:24;;;;;:44;;;65663:24;;;;;;;;;;;;65531:164;64460:40;64421:187;;;64530:2;-1:-1:-1;;;;;64522:10:0;:4;-1:-1:-1;;;;;64522:10:0;;64518:90;;64549:47;64582:4;64588:7;64549:32;:47::i;:::-;-1:-1:-1;;;;;64622:16:0;;64618:183;;64655:45;64692:7;64655:36;:45::i;64618:183::-;64728:4;-1:-1:-1;;;;;64722:10:0;:2;-1:-1:-1;;;;;64722:10:0;;64718:83;;64749:40;64777:2;64781:7;64749:27;:40::i;59240:799::-;59395:4;-1:-1:-1;;;;;59416:13:0;;30179:20;30227:8;59412:620;;59468:2;-1:-1:-1;;;;;59452:36:0;;59489:12;:10;:12::i;:::-;59503:4;59509:7;59518:5;59452:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59452:72:0;;;;;;;;-1:-1:-1;;59452:72:0;;;;;;;;;;;;:::i;:::-;;;59448:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59694:13:0;;59690:272;;59737:60;;-1:-1:-1;;;59737:60:0;;;;;;;:::i;59690:272::-;59912:6;59906:13;59897:6;59893:2;59889:15;59882:38;59448:529;-1:-1:-1;;;;;;59575:51:0;-1:-1:-1;;;59575:51:0;;-1:-1:-1;59568:58:0;;59412:620;-1:-1:-1;60016:4:0;59240:799;;;;;;:::o;3662:98::-;3720:7;3747:5;3751:1;3747;:5;:::i;:::-;3740:12;3662:98;-1:-1:-1;;;3662:98:0:o;66322:988::-;66588:22;66638:1;66613:22;66630:4;66613:16;:22::i;:::-;:26;;;;:::i;:::-;66650:18;66671:26;;;:17;:26;;;;;;66588:51;;-1:-1:-1;66804:28:0;;;66800:328;;-1:-1:-1;;;;;66871:18:0;;66849:19;66871:18;;;:12;:18;;;;;;;;:34;;;;;;;;;66922:30;;;;;;:44;;;67039:30;;:17;:30;;;;;:43;;;66800:328;-1:-1:-1;67224:26:0;;;;:17;:26;;;;;;;;67217:33;;;-1:-1:-1;;;;;67268:18:0;;;;;:12;:18;;;;;:34;;;;;;;67261:41;66322:988::o;67605:1079::-;67883:10;:17;67858:22;;67883:21;;67903:1;;67883:21;:::i;:::-;67915:18;67936:24;;;:15;:24;;;;;;68309:10;:26;;67858:46;;-1:-1:-1;67936:24:0;;67858:46;;68309:26;;;;;;:::i;:::-;;;;;;;;;68287:48;;68373:11;68348:10;68359;68348:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;68453:28;;;:15;:28;;;;;;;:41;;;68625:24;;;;;68618:31;68660:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;67676:1008;;;67605:1079;:::o;65109:221::-;65194:14;65211:20;65228:2;65211:16;:20::i;:::-;-1:-1:-1;;;;;65242:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;65287:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;65109:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:186::-;662:6;715:2;703:9;694:7;690:23;686:32;683:52;;;731:1;728;721:12;683:52;754:29;773:9;754:29;:::i;794:260::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;;1010:38;1044:2;1033:9;1029:18;1010:38;:::i;:::-;1000:48;;794:260;;;;;:::o;1059:328::-;1136:6;1144;1152;1205:2;1193:9;1184:7;1180:23;1176:32;1173:52;;;1221:1;1218;1211:12;1173:52;1244:29;1263:9;1244:29;:::i;:::-;1234:39;;1292:38;1326:2;1315:9;1311:18;1292:38;:::i;:::-;1282:48;;1377:2;1366:9;1362:18;1349:32;1339:42;;1059:328;;;;;:::o;1392:666::-;1487:6;1495;1503;1511;1564:3;1552:9;1543:7;1539:23;1535:33;1532:53;;;1581:1;1578;1571:12;1532:53;1604:29;1623:9;1604:29;:::i;:::-;1594:39;;1652:38;1686:2;1675:9;1671:18;1652:38;:::i;:::-;1642:48;;1737:2;1726:9;1722:18;1709:32;1699:42;;1792:2;1781:9;1777:18;1764:32;1819:18;1811:6;1808:30;1805:50;;;1851:1;1848;1841:12;1805:50;1874:22;;1927:4;1919:13;;1915:27;-1:-1:-1;1905:55:1;;1956:1;1953;1946:12;1905:55;1979:73;2044:7;2039:2;2026:16;2021:2;2017;2013:11;1979:73;:::i;:::-;1969:83;;;1392:666;;;;;;;:::o;2063:347::-;2128:6;2136;2189:2;2177:9;2168:7;2164:23;2160:32;2157:52;;;2205:1;2202;2195:12;2157:52;2228:29;2247:9;2228:29;:::i;:::-;2218:39;;2307:2;2296:9;2292:18;2279:32;2354:5;2347:13;2340:21;2333:5;2330:32;2320:60;;2376:1;2373;2366:12;2320:60;2399:5;2389:15;;;2063:347;;;;;:::o;2415:254::-;2483:6;2491;2544:2;2532:9;2523:7;2519:23;2515:32;2512:52;;;2560:1;2557;2550:12;2512:52;2583:29;2602:9;2583:29;:::i;:::-;2573:39;2659:2;2644:18;;;;2631:32;;-1:-1:-1;;;2415:254:1:o;2674:963::-;2758:6;2789:2;2832;2820:9;2811:7;2807:23;2803:32;2800:52;;;2848:1;2845;2838:12;2800:52;2888:9;2875:23;2917:18;2958:2;2950:6;2947:14;2944:34;;;2974:1;2971;2964:12;2944:34;3012:6;3001:9;2997:22;2987:32;;3057:7;3050:4;3046:2;3042:13;3038:27;3028:55;;3079:1;3076;3069:12;3028:55;3115:2;3102:16;3137:2;3133;3130:10;3127:36;;;3143:18;;:::i;:::-;3189:2;3186:1;3182:10;3172:20;;3212:28;3236:2;3232;3228:11;3212:28;:::i;:::-;3274:15;;;3305:12;;;;3337:11;;;3367;;;3363:20;;3360:33;-1:-1:-1;3357:53:1;;;3406:1;3403;3396:12;3357:53;3428:1;3419:10;;3438:169;3452:2;3449:1;3446:9;3438:169;;;3509:23;3528:3;3509:23;:::i;:::-;3497:36;;3470:1;3463:9;;;;;3553:12;;;;3585;;3438:169;;;-1:-1:-1;3626:5:1;2674:963;-1:-1:-1;;;;;;;;2674:963:1:o;3642:245::-;3700:6;3753:2;3741:9;3732:7;3728:23;3724:32;3721:52;;;3769:1;3766;3759:12;3721:52;3808:9;3795:23;3827:30;3851:5;3827:30;:::i;3892:249::-;3961:6;4014:2;4002:9;3993:7;3989:23;3985:32;3982:52;;;4030:1;4027;4020:12;3982:52;4062:9;4056:16;4081:30;4105:5;4081:30;:::i;4146:450::-;4215:6;4268:2;4256:9;4247:7;4243:23;4239:32;4236:52;;;4284:1;4281;4274:12;4236:52;4324:9;4311:23;4357:18;4349:6;4346:30;4343:50;;;4389:1;4386;4379:12;4343:50;4412:22;;4465:4;4457:13;;4453:27;-1:-1:-1;4443:55:1;;4494:1;4491;4484:12;4443:55;4517:73;4582:7;4577:2;4564:16;4559:2;4555;4551:11;4517:73;:::i;4601:180::-;4660:6;4713:2;4701:9;4692:7;4688:23;4684:32;4681:52;;;4729:1;4726;4719:12;4681:52;-1:-1:-1;4752:23:1;;4601:180;-1:-1:-1;4601:180:1:o;4786:269::-;4843:6;4896:2;4884:9;4875:7;4871:23;4867:32;4864:52;;;4912:1;4909;4902:12;4864:52;4951:9;4938:23;5001:4;4994:5;4990:16;4983:5;4980:27;4970:55;;5021:1;5018;5011:12;5060:257;5101:3;5139:5;5133:12;5166:6;5161:3;5154:19;5182:63;5238:6;5231:4;5226:3;5222:14;5215:4;5208:5;5204:16;5182:63;:::i;:::-;5299:2;5278:15;-1:-1:-1;;5274:29:1;5265:39;;;;5306:4;5261:50;;5060:257;-1:-1:-1;;5060:257:1:o;5322:185::-;5364:3;5402:5;5396:12;5417:52;5462:6;5457:3;5450:4;5443:5;5439:16;5417:52;:::i;:::-;5485:16;;;;;5322:185;-1:-1:-1;;5322:185:1:o;5512:1174::-;5688:3;5717:1;5750:6;5744:13;5780:3;5802:1;5830:9;5826:2;5822:18;5812:28;;5890:2;5879:9;5875:18;5912;5902:61;;5956:4;5948:6;5944:17;5934:27;;5902:61;5982:2;6030;6022:6;6019:14;5999:18;5996:38;5993:165;;;-1:-1:-1;;;6057:33:1;;6113:4;6110:1;6103:15;6143:4;6064:3;6131:17;5993:165;6174:18;6201:104;;;;6319:1;6314:320;;;;6167:467;;6201:104;-1:-1:-1;;6234:24:1;;6222:37;;6279:16;;;;-1:-1:-1;6201:104:1;;6314:320;16666:1;16659:14;;;16703:4;16690:18;;6409:1;6423:165;6437:6;6434:1;6431:13;6423:165;;;6515:14;;6502:11;;;6495:35;6558:16;;;;6452:10;;6423:165;;;6427:3;;6617:6;6612:3;6608:16;6601:23;;6167:467;;;;;;;6650:30;6676:3;6668:6;6650:30;:::i;:::-;6643:37;5512:1174;-1:-1:-1;;;;;5512:1174:1:o;6899:488::-;-1:-1:-1;;;;;7168:15:1;;;7150:34;;7220:15;;7215:2;7200:18;;7193:43;7267:2;7252:18;;7245:34;;;7315:3;7310:2;7295:18;;7288:31;;;7093:4;;7336:45;;7361:19;;7353:6;7336:45;:::i;:::-;7328:53;6899:488;-1:-1:-1;;;;;;6899:488:1:o;7584:219::-;7733:2;7722:9;7715:21;7696:4;7753:44;7793:2;7782:9;7778:18;7770:6;7753:44;:::i;8220:414::-;8422:2;8404:21;;;8461:2;8441:18;;;8434:30;8500:34;8495:2;8480:18;;8473:62;-1:-1:-1;;;8566:2:1;8551:18;;8544:48;8624:3;8609:19;;8220:414::o;12997:356::-;13199:2;13181:21;;;13218:18;;;13211:30;13277:34;13272:2;13257:18;;13250:62;13344:2;13329:18;;12997:356::o;14170:413::-;14372:2;14354:21;;;14411:2;14391:18;;;14384:30;14450:34;14445:2;14430:18;;14423:62;-1:-1:-1;;;14516:2:1;14501:18;;14494:47;14573:3;14558:19;;14170:413::o;16313:275::-;16384:2;16378:9;16449:2;16430:13;;-1:-1:-1;;16426:27:1;16414:40;;16484:18;16469:34;;16505:22;;;16466:62;16463:88;;;16531:18;;:::i;:::-;16567:2;16560:22;16313:275;;-1:-1:-1;16313:275:1:o;16719:128::-;16759:3;16790:1;16786:6;16783:1;16780:13;16777:39;;;16796:18;;:::i;:::-;-1:-1:-1;16832:9:1;;16719:128::o;16852:120::-;16892:1;16918;16908:35;;16923:18;;:::i;:::-;-1:-1:-1;16957:9:1;;16852:120::o;16977:168::-;17017:7;17083:1;17079;17075:6;17071:14;17068:1;17065:21;17060:1;17053:9;17046:17;17042:45;17039:71;;;17090:18;;:::i;:::-;-1:-1:-1;17130:9:1;;16977:168::o;17150:125::-;17190:4;17218:1;17215;17212:8;17209:34;;;17223:18;;:::i;:::-;-1:-1:-1;17260:9:1;;17150:125::o;17280:258::-;17352:1;17362:113;17376:6;17373:1;17370:13;17362:113;;;17452:11;;;17446:18;17433:11;;;17426:39;17398:2;17391:10;17362:113;;;17493:6;17490:1;17487:13;17484:48;;;-1:-1:-1;;17528:1:1;17510:16;;17503:27;17280:258::o;17543:380::-;17622:1;17618:12;;;;17665;;;17686:61;;17740:4;17732:6;17728:17;17718:27;;17686:61;17793:2;17785:6;17782:14;17762:18;17759:38;17756:161;;;17839:10;17834:3;17830:20;17827:1;17820:31;17874:4;17871:1;17864:15;17902:4;17899:1;17892:15;17756:161;;17543:380;;;:::o;17928:135::-;17967:3;-1:-1:-1;;17988:17:1;;17985:43;;;18008:18;;:::i;:::-;-1:-1:-1;18055:1:1;18044:13;;17928:135::o;18068:175::-;18105:3;18149:4;18142:5;18138:16;18178:4;18169:7;18166:17;18163:43;;;18186:18;;:::i;:::-;18235:1;18222:15;;18068:175;-1:-1:-1;;18068:175:1:o;18248:112::-;18280:1;18306;18296:35;;18311:18;;:::i;:::-;-1:-1:-1;18345:9:1;;18248:112::o;18365:127::-;18426:10;18421:3;18417:20;18414:1;18407:31;18457:4;18454:1;18447:15;18481:4;18478:1;18471:15;18497:127;18558:10;18553:3;18549:20;18546:1;18539:31;18589:4;18586:1;18579:15;18613:4;18610:1;18603:15;18629:127;18690:10;18685:3;18681:20;18678:1;18671:31;18721:4;18718:1;18711:15;18745:4;18742:1;18735:15;18761:127;18822:10;18817:3;18813:20;18810:1;18803:31;18853:4;18850:1;18843:15;18877:4;18874:1;18867:15;18893:127;18954:10;18949:3;18945:20;18942:1;18935:31;18985:4;18982:1;18975:15;19009:4;19006:1;18999:15;19025:131;-1:-1:-1;;;;;;19099:32:1;;19089:43;;19079:71;;19146:1;19143;19136:12

Swarm Source

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