ETH Price: $3,292.75 (-0.60%)
Gas: 9 Gwei

Token

Birb Protocol (BIRB)
 

Overview

Max Total Supply

999,999,999,999,999 BIRB

Holders

46

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
141,595,438,205.928016375505142792 BIRB

Value
$0.00
0x719aE4f6ed9220caDfE869Fa44dF189053DE7b8D
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:
ERC20Token

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

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


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

pragma solidity ^0.8.0;

/**
 * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow
 * checks.
 *
 * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can
 * easily result in undesired exploitation or bugs, since developers usually
 * assume that overflows raise errors. `SafeCast` restores this intuition by
 * reverting the transaction when such an operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 *
 * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing
 * all math on `uint256` and `int256` and then downcasting.
 */
library SafeCast {
    /**
     * @dev Returns the downcasted uint224 from uint256, reverting on
     * overflow (when the input is greater than largest uint224).
     *
     * Counterpart to Solidity's `uint224` operator.
     *
     * Requirements:
     *
     * - input must fit into 224 bits
     */
    function toUint224(uint256 value) internal pure returns (uint224) {
        require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits");
        return uint224(value);
    }

    /**
     * @dev Returns the downcasted uint128 from uint256, reverting on
     * overflow (when the input is greater than largest uint128).
     *
     * Counterpart to Solidity's `uint128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     */
    function toUint128(uint256 value) internal pure returns (uint128) {
        require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits");
        return uint128(value);
    }

    /**
     * @dev Returns the downcasted uint96 from uint256, reverting on
     * overflow (when the input is greater than largest uint96).
     *
     * Counterpart to Solidity's `uint96` operator.
     *
     * Requirements:
     *
     * - input must fit into 96 bits
     */
    function toUint96(uint256 value) internal pure returns (uint96) {
        require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits");
        return uint96(value);
    }

    /**
     * @dev Returns the downcasted uint64 from uint256, reverting on
     * overflow (when the input is greater than largest uint64).
     *
     * Counterpart to Solidity's `uint64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     */
    function toUint64(uint256 value) internal pure returns (uint64) {
        require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits");
        return uint64(value);
    }

    /**
     * @dev Returns the downcasted uint32 from uint256, reverting on
     * overflow (when the input is greater than largest uint32).
     *
     * Counterpart to Solidity's `uint32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     */
    function toUint32(uint256 value) internal pure returns (uint32) {
        require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits");
        return uint32(value);
    }

    /**
     * @dev Returns the downcasted uint16 from uint256, reverting on
     * overflow (when the input is greater than largest uint16).
     *
     * Counterpart to Solidity's `uint16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     */
    function toUint16(uint256 value) internal pure returns (uint16) {
        require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits");
        return uint16(value);
    }

    /**
     * @dev Returns the downcasted uint8 from uint256, reverting on
     * overflow (when the input is greater than largest uint8).
     *
     * Counterpart to Solidity's `uint8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     */
    function toUint8(uint256 value) internal pure returns (uint8) {
        require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits");
        return uint8(value);
    }

    /**
     * @dev Converts a signed int256 into an unsigned uint256.
     *
     * Requirements:
     *
     * - input must be greater than or equal to 0.
     */
    function toUint256(int256 value) internal pure returns (uint256) {
        require(value >= 0, "SafeCast: value must be positive");
        return uint256(value);
    }

    /**
     * @dev Returns the downcasted int128 from int256, reverting on
     * overflow (when the input is less than smallest int128 or
     * greater than largest int128).
     *
     * Counterpart to Solidity's `int128` operator.
     *
     * Requirements:
     *
     * - input must fit into 128 bits
     *
     * _Available since v3.1._
     */
    function toInt128(int256 value) internal pure returns (int128) {
        require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits");
        return int128(value);
    }

    /**
     * @dev Returns the downcasted int64 from int256, reverting on
     * overflow (when the input is less than smallest int64 or
     * greater than largest int64).
     *
     * Counterpart to Solidity's `int64` operator.
     *
     * Requirements:
     *
     * - input must fit into 64 bits
     *
     * _Available since v3.1._
     */
    function toInt64(int256 value) internal pure returns (int64) {
        require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits");
        return int64(value);
    }

    /**
     * @dev Returns the downcasted int32 from int256, reverting on
     * overflow (when the input is less than smallest int32 or
     * greater than largest int32).
     *
     * Counterpart to Solidity's `int32` operator.
     *
     * Requirements:
     *
     * - input must fit into 32 bits
     *
     * _Available since v3.1._
     */
    function toInt32(int256 value) internal pure returns (int32) {
        require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits");
        return int32(value);
    }

    /**
     * @dev Returns the downcasted int16 from int256, reverting on
     * overflow (when the input is less than smallest int16 or
     * greater than largest int16).
     *
     * Counterpart to Solidity's `int16` operator.
     *
     * Requirements:
     *
     * - input must fit into 16 bits
     *
     * _Available since v3.1._
     */
    function toInt16(int256 value) internal pure returns (int16) {
        require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits");
        return int16(value);
    }

    /**
     * @dev Returns the downcasted int8 from int256, reverting on
     * overflow (when the input is less than smallest int8 or
     * greater than largest int8).
     *
     * Counterpart to Solidity's `int8` operator.
     *
     * Requirements:
     *
     * - input must fit into 8 bits.
     *
     * _Available since v3.1._
     */
    function toInt8(int256 value) internal pure returns (int8) {
        require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits");
        return int8(value);
    }

    /**
     * @dev Converts an unsigned uint256 into a signed int256.
     *
     * Requirements:
     *
     * - input must be less than or equal to maxInt256.
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
        require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}

// File: @openzeppelin/contracts/governance/utils/IVotes.sol


// OpenZeppelin Contracts (last updated v4.5.0) (governance/utils/IVotes.sol)
pragma solidity ^0.8.0;

/**
 * @dev Common interface for {ERC20Votes}, {ERC721Votes}, and other {Votes}-enabled contracts.
 *
 * _Available since v4.5._
 */
interface IVotes {
    /**
     * @dev Emitted when an account changes their delegate.
     */
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

    /**
     * @dev Emitted when a token transfer or delegate change results in changes to a delegate's number of votes.
     */
    event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance);

    /**
     * @dev Returns the current amount of votes that `account` has.
     */
    function getVotes(address account) external view returns (uint256);

    /**
     * @dev Returns the amount of votes that `account` had at the end of a past block (`blockNumber`).
     */
    function getPastVotes(address account, uint256 blockNumber) external view returns (uint256);

    /**
     * @dev Returns the total supply of votes available at the end of a past block (`blockNumber`).
     *
     * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.
     * Votes that have not been delegated are still part of total supply, even though they would not participate in a
     * vote.
     */
    function getPastTotalSupply(uint256 blockNumber) external view returns (uint256);

    /**
     * @dev Returns the delegate that `account` has chosen.
     */
    function delegates(address account) external view returns (address);

    /**
     * @dev Delegates votes from the sender to `delegatee`.
     */
    function delegate(address delegatee) external;

    /**
     * @dev Delegates votes from signer to `delegatee`.
     */
    function delegateBySig(
        address delegatee,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;
}

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


// OpenZeppelin Contracts (last updated v4.5.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a / b + (a % b == 0 ? 0 : 1);
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol


// OpenZeppelin Contracts (last updated v4.5.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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 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.1 (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/token/ERC20/extensions/draft-IERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

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


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;




/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    bool public stealthMinted = false;
    bool public mintPrivilegesRevoked = false;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-ERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-ERC20Permit.sol)

pragma solidity ^0.8.0;






/**
 * @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * _Available since v3.4._
 */
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private immutable _PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    /**
     * @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
     *
     * It's a good idea to use the same `name` that is defined as the ERC20 token name.
     */
    constructor(string memory name) EIP712(name, "1") {}

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        require(signer == owner, "ERC20Permit: invalid signature");

        _approve(owner, spender, value);
    }

    /**
     * @dev See {IERC20Permit-nonces}.
     */
    function nonces(address owner) public view virtual override returns (uint256) {
        return _nonces[owner].current();
    }

    /**
     * @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view override returns (bytes32) {
        return _domainSeparatorV4();
    }

    /**
     * @dev "Consume a nonce": return the current value and increment.
     *
     * _Available since v4.1._
     */
    function _useNonce(address owner) internal virtual returns (uint256 current) {
        Counters.Counter storage nonce = _nonces[owner];
        current = nonce.current();
        nonce.increment();
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Votes.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Votes.sol)

pragma solidity ^0.8.0;






/**
 * @dev Extension of ERC20 to support Compound-like voting and delegation. This version is more generic than Compound's,
 * and supports token supply up to 2^224^ - 1, while COMP is limited to 2^96^ - 1.
 *
 * NOTE: If exact COMP compatibility is required, use the {ERC20VotesComp} variant of this module.
 *
 * This extension keeps a history (checkpoints) of each account's vote power. Vote power can be delegated either
 * by calling the {delegate} function directly, or by providing a signature to be used with {delegateBySig}. Voting
 * power can be queried through the public accessors {getVotes} and {getPastVotes}.
 *
 * By default, token balance does not account for voting power. This makes transfers cheaper. The downside is that it
 * requires users to delegate to themselves in order to activate checkpoints and have their voting power tracked.
 *
 * _Available since v4.2._
 */
abstract contract ERC20Votes is IVotes, ERC20Permit {
    struct Checkpoint {
        uint32 fromBlock;
        uint224 votes;
    }

    bytes32 private constant _DELEGATION_TYPEHASH =
        keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");

    mapping(address => address) private _delegates;
    mapping(address => Checkpoint[]) private _checkpoints;
    Checkpoint[] private _totalSupplyCheckpoints;

    /**
     * @dev Get the `pos`-th checkpoint for `account`.
     */
    function checkpoints(address account, uint32 pos) public view virtual returns (Checkpoint memory) {
        return _checkpoints[account][pos];
    }

    /**
     * @dev Get number of checkpoints for `account`.
     */
    function numCheckpoints(address account) public view virtual returns (uint32) {
        return SafeCast.toUint32(_checkpoints[account].length);
    }

    /**
     * @dev Get the address `account` is currently delegating to.
     */
    function delegates(address account) public view virtual override returns (address) {
        return _delegates[account];
    }

    /**
     * @dev Gets the current votes balance for `account`
     */
    function getVotes(address account) public view virtual override returns (uint256) {
        uint256 pos = _checkpoints[account].length;
        return pos == 0 ? 0 : _checkpoints[account][pos - 1].votes;
    }

    /**
     * @dev Retrieve the number of votes for `account` at the end of `blockNumber`.
     *
     * Requirements:
     *
     * - `blockNumber` must have been already mined
     */
    function getPastVotes(address account, uint256 blockNumber) public view virtual override returns (uint256) {
        require(blockNumber < block.number, "ERC20Votes: block not yet mined");
        return _checkpointsLookup(_checkpoints[account], blockNumber);
    }

    /**
     * @dev Retrieve the `totalSupply` at the end of `blockNumber`. Note, this value is the sum of all balances.
     * It is but NOT the sum of all the delegated votes!
     *
     * Requirements:
     *
     * - `blockNumber` must have been already mined
     */
    function getPastTotalSupply(uint256 blockNumber) public view virtual override returns (uint256) {
        require(blockNumber < block.number, "ERC20Votes: block not yet mined");
        return _checkpointsLookup(_totalSupplyCheckpoints, blockNumber);
    }

    /**
     * @dev Lookup a value in a list of (sorted) checkpoints.
     */
    function _checkpointsLookup(Checkpoint[] storage ckpts, uint256 blockNumber) private view returns (uint256) {
        // We run a binary search to look for the earliest checkpoint taken after `blockNumber`.
        //
        // During the loop, the index of the wanted checkpoint remains in the range [low-1, high).
        // With each iteration, either `low` or `high` is moved towards the middle of the range to maintain the invariant.
        // - If the middle checkpoint is after `blockNumber`, we look in [low, mid)
        // - If the middle checkpoint is before or equal to `blockNumber`, we look in [mid+1, high)
        // Once we reach a single value (when low == high), we've found the right checkpoint at the index high-1, if not
        // out of bounds (in which case we're looking too far in the past and the result is 0).
        // Note that if the latest checkpoint available is exactly for `blockNumber`, we end up with an index that is
        // past the end of the array, so we technically don't find a checkpoint after `blockNumber`, but it works out
        // the same.
        uint256 high = ckpts.length;
        uint256 low = 0;
        while (low < high) {
            uint256 mid = Math.average(low, high);
            if (ckpts[mid].fromBlock > blockNumber) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        return high == 0 ? 0 : ckpts[high - 1].votes;
    }

    /**
     * @dev Delegate votes from the sender to `delegatee`.
     */
    function delegate(address delegatee) public virtual override {
        _delegate(_msgSender(), delegatee);
    }

    /**
     * @dev Delegates votes from signer to `delegatee`
     */
    function delegateBySig(
        address delegatee,
        uint256 nonce,
        uint256 expiry,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= expiry, "ERC20Votes: signature expired");
        address signer = ECDSA.recover(
            _hashTypedDataV4(keccak256(abi.encode(_DELEGATION_TYPEHASH, delegatee, nonce, expiry))),
            v,
            r,
            s
        );
        require(nonce == _useNonce(signer), "ERC20Votes: invalid nonce");
        _delegate(signer, delegatee);
    }

    /**
     * @dev Maximum token supply. Defaults to `type(uint224).max` (2^224^ - 1).
     */
    function _maxSupply() internal view virtual returns (uint224) {
        return type(uint224).max;
    }

    /**
     * @dev Snapshots the totalSupply after it has been increased.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        super._mint(account, amount);
        require(totalSupply() <= _maxSupply(), "ERC20Votes: total supply risks overflowing votes");

        _writeCheckpoint(_totalSupplyCheckpoints, _add, amount);
    }

    /**
     * @dev Snapshots the totalSupply after it has been decreased.
     */
    function _burn(address account, uint256 amount) internal virtual override {
        super._burn(account, amount);

        _writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount);
    }

    /**
     * @dev Move voting power when tokens are transferred.
     *
     * Emits a {DelegateVotesChanged} event.
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        super._afterTokenTransfer(from, to, amount);

        _moveVotingPower(delegates(from), delegates(to), amount);
    }

    /**
     * @dev Change delegation for `delegator` to `delegatee`.
     *
     * Emits events {DelegateChanged} and {DelegateVotesChanged}.
     */
    function _delegate(address delegator, address delegatee) internal virtual {
        address currentDelegate = delegates(delegator);
        uint256 delegatorBalance = balanceOf(delegator);
        _delegates[delegator] = delegatee;

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveVotingPower(currentDelegate, delegatee, delegatorBalance);
    }

    function _moveVotingPower(
        address src,
        address dst,
        uint256 amount
    ) private {
        if (src != dst && amount > 0) {
            if (src != address(0)) {
                (uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[src], _subtract, amount);
                emit DelegateVotesChanged(src, oldWeight, newWeight);
            }

            if (dst != address(0)) {
                (uint256 oldWeight, uint256 newWeight) = _writeCheckpoint(_checkpoints[dst], _add, amount);
                emit DelegateVotesChanged(dst, oldWeight, newWeight);
            }
        }
    }

    function _writeCheckpoint(
        Checkpoint[] storage ckpts,
        function(uint256, uint256) view returns (uint256) op,
        uint256 delta
    ) private returns (uint256 oldWeight, uint256 newWeight) {
        uint256 pos = ckpts.length;
        oldWeight = pos == 0 ? 0 : ckpts[pos - 1].votes;
        newWeight = op(oldWeight, delta);

        if (pos > 0 && ckpts[pos - 1].fromBlock == block.number) {
            ckpts[pos - 1].votes = SafeCast.toUint224(newWeight);
        } else {
            ckpts.push(Checkpoint({fromBlock: SafeCast.toUint32(block.number), votes: SafeCast.toUint224(newWeight)}));
        }
    }

    function _add(uint256 a, uint256 b) private pure returns (uint256) {
        return a + b;
    }

    function _subtract(uint256 a, uint256 b) private pure returns (uint256) {
        return a - b;
    }
}

// File: Birb.sol


pragma solidity ^0.8.4;


/// @custom:security-contact
contract ERC20Token is ERC20, Ownable, ERC20Permit, ERC20Votes {
  constructor() ERC20('Birb Protocol', 'BIRB') ERC20Permit('BirbProtocol') {}

      /**
     * @dev Mints tokens to a secondary wallet, permanently disables minting while capping
     * suppy, and transfers ownership to the secondary wallet.
     * 
     * Mint priveleges are revoked after initial mint. This alows deployers to get
     * ahead of snipers who monitor and snipe 'trade open' transactions like addLiq or
     * enableTrading. Ownership is also transfered to a second wallet as a precaution
     * against the most common launch snipe technique: 'deployer snipe'.
     */
  function stealthMint(address to, uint256 amount) public onlyOwner {
    require(!mintPrivilegesRevoked, "Mint priveleges revoked after stealth token mint.");
    _mint(to, amount);
    mintPrivilegesRevoked = true;
    transferOwnership(to);
    stealthMinted = true;
  }

  function burn(address from, uint256 amount) public virtual onlyOwner {
    _burn(from, amount);
  }

  // The following functions are overrides required by Solidity.

  function _afterTokenTransfer(
    address from,
    address to,
    uint256 amount
  ) internal override(ERC20, ERC20Votes) {
    super._afterTokenTransfer(from, to, amount);
  }

  function _mint(address to, uint256 amount) internal override(ERC20, ERC20Votes) {
    super._mint(to, amount);
  }

  function _burn(address account, uint256 amount) internal override(ERC20, ERC20Votes) {
    super._burn(account, amount);
  }
}

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":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint32","name":"pos","type":"uint32"}],"name":"checkpoints","outputs":[{"components":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint224","name":"votes","type":"uint224"}],"internalType":"struct ERC20Votes.Checkpoint","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrivilegesRevoked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stealthMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stealthMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","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":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101606040526005805461ffff191690557f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610140523480156200004257600080fd5b506040518060400160405280600c81526020016b109a5c98941c9bdd1bd8dbdb60a21b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600d81526020016c109a5c9888141c9bdd1bd8dbdb609a1b815250604051806040016040528060048152602001632124a92160e11b8152508160039080519060200190620000de9291906200020d565b508051620000f49060049060208401906200020d565b505050620001116200010b620001ad60201b60201c565b620001b1565b815160208084019190912082518383012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c00190528051940193909320919290916080523060601b60c0526101205250620002f09350505050565b3390565b600580546001600160a01b038381166201000081810262010000600160b01b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200021b90620002b3565b90600052602060002090601f0160209004810192826200023f57600085556200028a565b82601f106200025a57805160ff19168380011785556200028a565b828001600101855582156200028a579182015b828111156200028a5782518255916020019190600101906200026d565b50620002989291506200029c565b5090565b5b808211156200029857600081556001016200029d565b600181811c90821680620002c857607f821691505b60208210811415620002ea57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160601c60e0516101005161012051610140516121266200034e6000396000610a210152600061113e0152600061118d01526000611168015260006110c1015260006110eb0152600061111501526121266000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80638da5cb5b11610104578063a9059cbb116100a2578063d6431e7411610071578063d6431e74146103ff578063dd62ed3e14610412578063f1127ed81461044b578063f2fde38b1461048857600080fd5b8063a9059cbb146103b4578063c025ebb7146103c7578063c3cda520146103d9578063d505accf146103ec57600080fd5b80639ab24eb0116100de5780639ab24eb01461036e5780639dc29fac14610381578063a457c2d714610394578063a88ee090146103a757600080fd5b80638da5cb5b1461033c5780638e539e8c1461035357806395d89b411461036657600080fd5b80633a46b1a8116101715780636fcfff451161014b5780636fcfff45146102d057806370a08231146102f8578063715018a6146103215780637ecebe001461032957600080fd5b80633a46b1a814610264578063587cde1e146102775780635c19a95c146102bb57600080fd5b806323b872dd116101ad57806323b872dd14610227578063313ce5671461023a5780633644e51514610249578063395093511461025157600080fd5b806306fdde03146101d4578063095ea7b3146101f257806318160ddd14610215575b600080fd5b6101dc61049b565b6040516101e99190611f9e565b60405180910390f35b610205610200366004611ec3565b61052d565b60405190151581526020016101e9565b6002545b6040519081526020016101e9565b610205610235366004611e1d565b610545565b604051601281526020016101e9565b610219610569565b61020561025f366004611ec3565b610578565b610219610272366004611ec3565b6105b7565b6102a3610285366004611dcf565b6001600160a01b039081166000908152600760205260409020541690565b6040516001600160a01b0390911681526020016101e9565b6102ce6102c9366004611dcf565b610636565b005b6102e36102de366004611dcf565b610643565b60405163ffffffff90911681526020016101e9565b610219610306366004611dcf565b6001600160a01b031660009081526020819052604090205490565b6102ce61066b565b610219610337366004611dcf565b6106a8565b6005546201000090046001600160a01b03166102a3565b610219610361366004611f85565b6106c6565b6101dc610722565b61021961037c366004611dcf565b610731565b6102ce61038f366004611ec3565b6107b8565b6102056103a2366004611ec3565b6107f7565b6005546102059060ff1681565b6102056103c2366004611ec3565b610889565b60055461020590610100900460ff1681565b6102ce6103e7366004611eed565b610897565b6102ce6103fa366004611e59565b6109cd565b6102ce61040d366004611ec3565b610b31565b610219610420366004611dea565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61045e610459366004611f45565b610c07565b60408051825163ffffffff1681526020928301516001600160e01b031692810192909252016101e9565b6102ce610496366004611dcf565b610c8b565b6060600380546104aa90612079565b80601f01602080910402602001604051908101604052809291908181526020018280546104d690612079565b80156105235780601f106104f857610100808354040283529160200191610523565b820191906000526020600020905b81548152906001019060200180831161050657829003601f168201915b5050505050905090565b60003361053b818585610d2a565b5060019392505050565b600033610553858285610e4e565b61055e858585610ee0565b506001949350505050565b60006105736110b4565b905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061053b90829086906105b2908790612028565b610d2a565b600043821061060d5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064015b60405180910390fd5b6001600160a01b038316600090815260086020526040902061062f90836111db565b9392505050565b6106403382611298565b50565b6001600160a01b03811660009081526008602052604081205461066590611311565b92915050565b6005546001600160a01b036201000090910416331461069c5760405162461bcd60e51b815260040161060490611ff3565b6106a6600061137a565b565b6001600160a01b038116600090815260066020526040812054610665565b60004382106107175760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610604565b6106656009836111db565b6060600480546104aa90612079565b6001600160a01b03811660009081526008602052604081205480156107a5576001600160a01b0383166000908152600860205260409020610773600183612062565b81548110610783576107836120da565b60009182526020909120015464010000000090046001600160e01b03166107a8565b60005b6001600160e01b03169392505050565b6005546001600160a01b03620100009091041633146107e95760405162461bcd60e51b815260040161060490611ff3565b6107f382826113d6565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561087c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610604565b61055e8286868403610d2a565b60003361053b818585610ee0565b834211156108e75760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610604565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610961906109599060a001604051602081830303815290604052805190602001206113e0565b85858561142e565b905061096c81611456565b86146109ba5760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610604565b6109c48188611298565b50505050505050565b83421115610a1d5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610604565b60007f0000000000000000000000000000000000000000000000000000000000000000888888610a4c8c611456565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610aa7826113e0565b90506000610ab78287878761142e565b9050896001600160a01b0316816001600160a01b031614610b1a5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610604565b610b258a8a8a610d2a565b50505050505050505050565b6005546001600160a01b0362010000909104163314610b625760405162461bcd60e51b815260040161060490611ff3565b600554610100900460ff1615610bd45760405162461bcd60e51b815260206004820152603160248201527f4d696e742070726976656c65676573207265766f6b656420616674657220737460448201527032b0b63a34103a37b5b2b71036b4b73a1760791b6064820152608401610604565b610bde828261147e565b6005805461ff001916610100179055610bf682610c8b565b50506005805460ff19166001179055565b60408051808201909152600080825260208201526001600160a01b0383166000908152600860205260409020805463ffffffff8416908110610c4b57610c4b6120da565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6005546001600160a01b0362010000909104163314610cbc5760405162461bcd60e51b815260040161060490611ff3565b6001600160a01b038116610d215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610604565b6106408161137a565b6001600160a01b038316610d8c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610604565b6001600160a01b038216610ded5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610604565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610eda5781811015610ecd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610604565b610eda8484848403610d2a565b50505050565b6001600160a01b038316610f445760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610604565b6001600160a01b038216610fa65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610604565b6001600160a01b0383166000908152602081905260409020548181101561101e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610604565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611055908490612028565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110a191815260200190565b60405180910390a3610eda84848461148d565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561110d57507f000000000000000000000000000000000000000000000000000000000000000046145b1561113757507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b8154600090815b8181101561123f5760006111f68284611498565b90508486828154811061120b5761120b6120da565b60009182526020909120015463ffffffff16111561122b57809250611239565b611236816001612028565b91505b506111e2565b81156112835784611251600184612062565b81548110611261576112616120da565b60009182526020909120015464010000000090046001600160e01b0316611286565b60005b6001600160e01b031695945050505050565b6001600160a01b038281166000818152600760208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610eda8284836114b3565b600063ffffffff8211156113765760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610604565b5090565b600580546001600160a01b038381166201000081810262010000600160b01b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6107f382826115f0565b60006106656113ed6110b4565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061143f87878787611608565b9150915061144c816116f5565b5095945050505050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b6107f382826118b0565b505050565b61148883838361193a565b60006114a76002848418612040565b61062f90848416612028565b816001600160a01b0316836001600160a01b0316141580156114d55750600081115b15611488576001600160a01b03831615611563576001600160a01b038316600090815260086020526040812081906115109061196c85611978565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611558929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615611488576001600160a01b0382166000908152600860205260408120819061159990611af185611978565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516115e1929190918252602082015260400190565b60405180910390a25050505050565b6115fa8282611afd565b610eda600961196c83611978565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561163f57506000905060036116ec565b8460ff16601b1415801561165757508460ff16601c14155b1561166857506000905060046116ec565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156116bc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116e5576000600192509250506116ec565b9150600090505b94509492505050565b6000816004811115611709576117096120c4565b14156117125750565b6001816004811115611726576117266120c4565b14156117745760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610604565b6002816004811115611788576117886120c4565b14156117d65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610604565b60038160048111156117ea576117ea6120c4565b14156118435760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610604565b6004816004811115611857576118576120c4565b14156106405760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610604565b6118ba8282611c52565b6002546001600160e01b03101561192c5760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610604565b610eda6009611af183611978565b6001600160a01b03838116600090815260076020526040808220548584168352912054611488929182169116836114b3565b600061062f8284612062565b8254600090819080156119c35785611991600183612062565b815481106119a1576119a16120da565b60009182526020909120015464010000000090046001600160e01b03166119c6565b60005b6001600160e01b031692506119df83858763ffffffff16565b9150600081118015611a1d575043866119f9600184612062565b81548110611a0957611a096120da565b60009182526020909120015463ffffffff16145b15611a7d57611a2b82611d39565b86611a37600184612062565b81548110611a4757611a476120da565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611ae8565b856040518060400160405280611a9243611311565b63ffffffff168152602001611aa685611d39565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b600061062f8284612028565b6001600160a01b038216611b5d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610604565b6001600160a01b03821660009081526020819052604090205481811015611bd15760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610604565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611c00908490612062565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36114888360008461148d565b6001600160a01b038216611ca85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610604565b8060026000828254611cba9190612028565b90915550506001600160a01b03821660009081526020819052604081208054839290611ce7908490612028565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36107f36000838361148d565b60006001600160e01b038211156113765760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610604565b80356001600160a01b0381168114611db957600080fd5b919050565b803560ff81168114611db957600080fd5b600060208284031215611de157600080fd5b61062f82611da2565b60008060408385031215611dfd57600080fd5b611e0683611da2565b9150611e1460208401611da2565b90509250929050565b600080600060608486031215611e3257600080fd5b611e3b84611da2565b9250611e4960208501611da2565b9150604084013590509250925092565b600080600080600080600060e0888a031215611e7457600080fd5b611e7d88611da2565b9650611e8b60208901611da2565b95506040880135945060608801359350611ea760808901611dbe565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611ed657600080fd5b611edf83611da2565b946020939093013593505050565b60008060008060008060c08789031215611f0657600080fd5b611f0f87611da2565b95506020870135945060408701359350611f2b60608801611dbe565b92506080870135915060a087013590509295509295509295565b60008060408385031215611f5857600080fd5b611f6183611da2565b9150602083013563ffffffff81168114611f7a57600080fd5b809150509250929050565b600060208284031215611f9757600080fd5b5035919050565b600060208083528351808285015260005b81811015611fcb57858101830151858201604001528201611faf565b81811115611fdd576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561203b5761203b6120ae565b500190565b60008261205d57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612074576120746120ae565b500390565b600181811c9082168061208d57607f821691505b6020821081141561147857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea2646970667358221220dbe37f8a4df71e4c4ba84f34cb50fbfa1b9f54b492fcbb557e632b17730ac1d964736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c80638da5cb5b11610104578063a9059cbb116100a2578063d6431e7411610071578063d6431e74146103ff578063dd62ed3e14610412578063f1127ed81461044b578063f2fde38b1461048857600080fd5b8063a9059cbb146103b4578063c025ebb7146103c7578063c3cda520146103d9578063d505accf146103ec57600080fd5b80639ab24eb0116100de5780639ab24eb01461036e5780639dc29fac14610381578063a457c2d714610394578063a88ee090146103a757600080fd5b80638da5cb5b1461033c5780638e539e8c1461035357806395d89b411461036657600080fd5b80633a46b1a8116101715780636fcfff451161014b5780636fcfff45146102d057806370a08231146102f8578063715018a6146103215780637ecebe001461032957600080fd5b80633a46b1a814610264578063587cde1e146102775780635c19a95c146102bb57600080fd5b806323b872dd116101ad57806323b872dd14610227578063313ce5671461023a5780633644e51514610249578063395093511461025157600080fd5b806306fdde03146101d4578063095ea7b3146101f257806318160ddd14610215575b600080fd5b6101dc61049b565b6040516101e99190611f9e565b60405180910390f35b610205610200366004611ec3565b61052d565b60405190151581526020016101e9565b6002545b6040519081526020016101e9565b610205610235366004611e1d565b610545565b604051601281526020016101e9565b610219610569565b61020561025f366004611ec3565b610578565b610219610272366004611ec3565b6105b7565b6102a3610285366004611dcf565b6001600160a01b039081166000908152600760205260409020541690565b6040516001600160a01b0390911681526020016101e9565b6102ce6102c9366004611dcf565b610636565b005b6102e36102de366004611dcf565b610643565b60405163ffffffff90911681526020016101e9565b610219610306366004611dcf565b6001600160a01b031660009081526020819052604090205490565b6102ce61066b565b610219610337366004611dcf565b6106a8565b6005546201000090046001600160a01b03166102a3565b610219610361366004611f85565b6106c6565b6101dc610722565b61021961037c366004611dcf565b610731565b6102ce61038f366004611ec3565b6107b8565b6102056103a2366004611ec3565b6107f7565b6005546102059060ff1681565b6102056103c2366004611ec3565b610889565b60055461020590610100900460ff1681565b6102ce6103e7366004611eed565b610897565b6102ce6103fa366004611e59565b6109cd565b6102ce61040d366004611ec3565b610b31565b610219610420366004611dea565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61045e610459366004611f45565b610c07565b60408051825163ffffffff1681526020928301516001600160e01b031692810192909252016101e9565b6102ce610496366004611dcf565b610c8b565b6060600380546104aa90612079565b80601f01602080910402602001604051908101604052809291908181526020018280546104d690612079565b80156105235780601f106104f857610100808354040283529160200191610523565b820191906000526020600020905b81548152906001019060200180831161050657829003601f168201915b5050505050905090565b60003361053b818585610d2a565b5060019392505050565b600033610553858285610e4e565b61055e858585610ee0565b506001949350505050565b60006105736110b4565b905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061053b90829086906105b2908790612028565b610d2a565b600043821061060d5760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064015b60405180910390fd5b6001600160a01b038316600090815260086020526040902061062f90836111db565b9392505050565b6106403382611298565b50565b6001600160a01b03811660009081526008602052604081205461066590611311565b92915050565b6005546001600160a01b036201000090910416331461069c5760405162461bcd60e51b815260040161060490611ff3565b6106a6600061137a565b565b6001600160a01b038116600090815260066020526040812054610665565b60004382106107175760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e6564006044820152606401610604565b6106656009836111db565b6060600480546104aa90612079565b6001600160a01b03811660009081526008602052604081205480156107a5576001600160a01b0383166000908152600860205260409020610773600183612062565b81548110610783576107836120da565b60009182526020909120015464010000000090046001600160e01b03166107a8565b60005b6001600160e01b03169392505050565b6005546001600160a01b03620100009091041633146107e95760405162461bcd60e51b815260040161060490611ff3565b6107f382826113d6565b5050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561087c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610604565b61055e8286868403610d2a565b60003361053b818585610ee0565b834211156108e75760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e617475726520657870697265640000006044820152606401610604565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610961906109599060a001604051602081830303815290604052805190602001206113e0565b85858561142e565b905061096c81611456565b86146109ba5760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e6365000000000000006044820152606401610604565b6109c48188611298565b50505050505050565b83421115610a1d5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610604565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610a4c8c611456565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610aa7826113e0565b90506000610ab78287878761142e565b9050896001600160a01b0316816001600160a01b031614610b1a5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610604565b610b258a8a8a610d2a565b50505050505050505050565b6005546001600160a01b0362010000909104163314610b625760405162461bcd60e51b815260040161060490611ff3565b600554610100900460ff1615610bd45760405162461bcd60e51b815260206004820152603160248201527f4d696e742070726976656c65676573207265766f6b656420616674657220737460448201527032b0b63a34103a37b5b2b71036b4b73a1760791b6064820152608401610604565b610bde828261147e565b6005805461ff001916610100179055610bf682610c8b565b50506005805460ff19166001179055565b60408051808201909152600080825260208201526001600160a01b0383166000908152600860205260409020805463ffffffff8416908110610c4b57610c4b6120da565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6005546001600160a01b0362010000909104163314610cbc5760405162461bcd60e51b815260040161060490611ff3565b6001600160a01b038116610d215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610604565b6106408161137a565b6001600160a01b038316610d8c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610604565b6001600160a01b038216610ded5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610604565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610eda5781811015610ecd5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610604565b610eda8484848403610d2a565b50505050565b6001600160a01b038316610f445760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610604565b6001600160a01b038216610fa65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610604565b6001600160a01b0383166000908152602081905260409020548181101561101e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610604565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611055908490612028565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516110a191815260200190565b60405180910390a3610eda84848461148d565b6000306001600160a01b037f000000000000000000000000792bd90083e555a6f7fe75d6e26044f5e330b51a1614801561110d57507f000000000000000000000000000000000000000000000000000000000000000146145b1561113757507f2ac730f5ef6fb44115e4a1d80e906395d8955a449f2803dbaa41c7ca0c2d888090565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f475a137eb23bcb55497503ea45e5cb945530108119538ca3925d5cd92993ec80828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b8154600090815b8181101561123f5760006111f68284611498565b90508486828154811061120b5761120b6120da565b60009182526020909120015463ffffffff16111561122b57809250611239565b611236816001612028565b91505b506111e2565b81156112835784611251600184612062565b81548110611261576112616120da565b60009182526020909120015464010000000090046001600160e01b0316611286565b60005b6001600160e01b031695945050505050565b6001600160a01b038281166000818152600760208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a4610eda8284836114b3565b600063ffffffff8211156113765760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b6064820152608401610604565b5090565b600580546001600160a01b038381166201000081810262010000600160b01b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6107f382826115f0565b60006106656113ed6110b4565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061143f87878787611608565b9150915061144c816116f5565b5095945050505050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b6107f382826118b0565b505050565b61148883838361193a565b60006114a76002848418612040565b61062f90848416612028565b816001600160a01b0316836001600160a01b0316141580156114d55750600081115b15611488576001600160a01b03831615611563576001600160a01b038316600090815260086020526040812081906115109061196c85611978565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611558929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615611488576001600160a01b0382166000908152600860205260408120819061159990611af185611978565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a72483836040516115e1929190918252602082015260400190565b60405180910390a25050505050565b6115fa8282611afd565b610eda600961196c83611978565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561163f57506000905060036116ec565b8460ff16601b1415801561165757508460ff16601c14155b1561166857506000905060046116ec565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156116bc573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166116e5576000600192509250506116ec565b9150600090505b94509492505050565b6000816004811115611709576117096120c4565b14156117125750565b6001816004811115611726576117266120c4565b14156117745760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610604565b6002816004811115611788576117886120c4565b14156117d65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610604565b60038160048111156117ea576117ea6120c4565b14156118435760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610604565b6004816004811115611857576118576120c4565b14156106405760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610604565b6118ba8282611c52565b6002546001600160e01b03101561192c5760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b6064820152608401610604565b610eda6009611af183611978565b6001600160a01b03838116600090815260076020526040808220548584168352912054611488929182169116836114b3565b600061062f8284612062565b8254600090819080156119c35785611991600183612062565b815481106119a1576119a16120da565b60009182526020909120015464010000000090046001600160e01b03166119c6565b60005b6001600160e01b031692506119df83858763ffffffff16565b9150600081118015611a1d575043866119f9600184612062565b81548110611a0957611a096120da565b60009182526020909120015463ffffffff16145b15611a7d57611a2b82611d39565b86611a37600184612062565b81548110611a4757611a476120da565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b03160217905550611ae8565b856040518060400160405280611a9243611311565b63ffffffff168152602001611aa685611d39565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b600061062f8284612028565b6001600160a01b038216611b5d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610604565b6001600160a01b03821660009081526020819052604090205481811015611bd15760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610604565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611c00908490612062565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36114888360008461148d565b6001600160a01b038216611ca85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610604565b8060026000828254611cba9190612028565b90915550506001600160a01b03821660009081526020819052604081208054839290611ce7908490612028565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36107f36000838361148d565b60006001600160e01b038211156113765760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b6064820152608401610604565b80356001600160a01b0381168114611db957600080fd5b919050565b803560ff81168114611db957600080fd5b600060208284031215611de157600080fd5b61062f82611da2565b60008060408385031215611dfd57600080fd5b611e0683611da2565b9150611e1460208401611da2565b90509250929050565b600080600060608486031215611e3257600080fd5b611e3b84611da2565b9250611e4960208501611da2565b9150604084013590509250925092565b600080600080600080600060e0888a031215611e7457600080fd5b611e7d88611da2565b9650611e8b60208901611da2565b95506040880135945060608801359350611ea760808901611dbe565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611ed657600080fd5b611edf83611da2565b946020939093013593505050565b60008060008060008060c08789031215611f0657600080fd5b611f0f87611da2565b95506020870135945060408701359350611f2b60608801611dbe565b92506080870135915060a087013590509295509295509295565b60008060408385031215611f5857600080fd5b611f6183611da2565b9150602083013563ffffffff81168114611f7a57600080fd5b809150509250929050565b600060208284031215611f9757600080fd5b5035919050565b600060208083528351808285015260005b81811015611fcb57858101830151858201604001528201611faf565b81811115611fdd576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561203b5761203b6120ae565b500190565b60008261205d57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612074576120746120ae565b500390565b600181811c9082168061208d57607f821691505b6020821081141561147857634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea2646970667358221220dbe37f8a4df71e4c4ba84f34cb50fbfa1b9f54b492fcbb557e632b17730ac1d964736f6c63430008070033

Deployed Bytecode Sourcemap

64111:1566:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40974:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;43325:201;;;;;;:::i;:::-;;:::i;:::-;;;3858:14:1;;3851:22;3833:41;;3821:2;3806:18;43325:201:0;3693:187:1;42094:108:0;42182:12;;42094:108;;;4031:25:1;;;4019:2;4004:18;42094:108:0;3885:177:1;44106:295:0;;;;;;:::i;:::-;;:::i;41936:93::-;;;42019:2;17389:36:1;;17377:2;17362:18;41936:93:0;17247:184:1;54201:115:0;;;:::i;44810:240::-;;;;;;:::i;:::-;;:::i;57403:268::-;;;;;;:::i;:::-;;:::i;56777:128::-;;;;;;:::i;:::-;-1:-1:-1;;;;;56878:19:0;;;56851:7;56878:19;;;:10;:19;;;;;;;;56777:128;;;;-1:-1:-1;;;;;3649:32:1;;;3631:51;;3619:2;3604:18;56777:128:0;3485:203:1;59876:114:0;;;;;;:::i;:::-;;:::i;:::-;;56533:151;;;;;;:::i;:::-;;:::i;:::-;;;17224:10:1;17212:23;;;17194:42;;17182:2;17167:18;56533:151:0;17050:192:1;42265:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;42366:18:0;42339:7;42366:18;;;;;;;;;;;;42265:127;34307:103;;;:::i;53943:128::-;;;;;;:::i;:::-;;:::i;33656:87::-;33729:6;;;;;-1:-1:-1;;;;;33729:6:0;33656:87;;57960:259;;;;;;:::i;:::-;;:::i;41193:104::-;;;:::i;56989:212::-;;;;;;:::i;:::-;;:::i;65061:101::-;;;;;;:::i;:::-;;:::i;45553:438::-;;;;;;:::i;:::-;;:::i;40386:33::-;;;;;;;;;42598:193;;;;;;:::i;:::-;;:::i;40426:41::-;;;;;;;;;;;;60072:591;;;;;;:::i;:::-;;:::i;53232:645::-;;;;;;:::i;:::-;;:::i;64778:277::-;;;;;;:::i;:::-;;:::i;42854:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;42970:18:0;;;42943:7;42970:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;42854:151;56303:150;;;;;;:::i;:::-;;:::i;:::-;;;;16488:13:1;;16503:10;16484:30;16466:49;;16575:4;16563:17;;;16557:24;-1:-1:-1;;;;;16553:50:1;16531:20;;;16524:80;;;;16439:18;56303:150:0;16264:346:1;34565:201:0;;;;;;:::i;:::-;;:::i;40974:100::-;41028:13;41061:5;41054:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40974:100;:::o;43325:201::-;43408:4;32460:10;43464:32;32460:10;43480:7;43489:6;43464:8;:32::i;:::-;-1:-1:-1;43514:4:0;;43325:201;-1:-1:-1;;;43325:201:0:o;44106:295::-;44237:4;32460:10;44295:38;44311:4;32460:10;44326:6;44295:15;:38::i;:::-;44344:27;44354:4;44360:2;44364:6;44344:9;:27::i;:::-;-1:-1:-1;44389:4:0;;44106:295;-1:-1:-1;;;;44106:295:0:o;54201:115::-;54261:7;54288:20;:18;:20::i;:::-;54281:27;;54201:115;:::o;44810:240::-;32460:10;44898:4;44979:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;44979:27:0;;;;;;;;;;44898:4;;32460:10;44954:66;;32460:10;;44979:27;;:40;;45009:10;;44979:40;:::i;:::-;44954:8;:66::i;57403:268::-;57501:7;57543:12;57529:11;:26;57521:70;;;;-1:-1:-1;;;57521:70:0;;7961:2:1;57521:70:0;;;7943:21:1;8000:2;7980:18;;;7973:30;8039:33;8019:18;;;8012:61;8090:18;;57521:70:0;;;;;;;;;-1:-1:-1;;;;;57628:21:0;;;;;;:12;:21;;;;;57609:54;;57651:11;57609:18;:54::i;:::-;57602:61;57403:268;-1:-1:-1;;;57403:268:0:o;59876:114::-;59948:34;32460:10;59972:9;59948;:34::i;:::-;59876:114;:::o;56533:151::-;-1:-1:-1;;;;;56647:21:0;;56603:6;56647:21;;;:12;:21;;;;;:28;56629:47;;:17;:47::i;:::-;56622:54;56533:151;-1:-1:-1;;56533:151:0:o;34307:103::-;33729:6;;-1:-1:-1;;;;;33729:6:0;;;;;32460:10;33876:23;33868:68;;;;-1:-1:-1;;;33868:68:0;;;;;;;:::i;:::-;34372:30:::1;34399:1;34372:18;:30::i;:::-;34307:103::o:0;53943:128::-;-1:-1:-1;;;;;54039:14:0;;54012:7;54039:14;;;:7;:14;;;;;12546;54039:24;12454:114;57960:259;58047:7;58089:12;58075:11;:26;58067:70;;;;-1:-1:-1;;;58067:70:0;;7961:2:1;58067:70:0;;;7943:21:1;8000:2;7980:18;;;7973:30;8039:33;8019:18;;;8012:61;8090:18;;58067:70:0;7759:355:1;58067:70:0;58155:56;58174:23;58199:11;58155:18;:56::i;41193:104::-;41249:13;41282:7;41275:14;;;;;:::i;56989:212::-;-1:-1:-1;;;;;57096:21:0;;57062:7;57096:21;;;:12;:21;;;;;:28;57142:8;;:51;;-1:-1:-1;;;;;57157:21:0;;;;;;:12;:21;;;;;57179:7;57185:1;57179:3;:7;:::i;:::-;57157:30;;;;;;;;:::i;:::-;;;;;;;;;;:36;;;;-1:-1:-1;;;;;57157:36:0;57142:51;;;57153:1;57142:51;-1:-1:-1;;;;;57135:58:0;;56989:212;-1:-1:-1;;;56989:212:0:o;65061:101::-;33729:6;;-1:-1:-1;;;;;33729:6:0;;;;;32460:10;33876:23;33868:68;;;;-1:-1:-1;;;33868:68:0;;;;;;;:::i;:::-;65137:19:::1;65143:4;65149:6;65137:5;:19::i;:::-;65061:101:::0;;:::o;45553:438::-;32460:10;45646:4;45729:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;45729:27:0;;;;;;;;;;45646:4;;32460:10;45775:35;;;;45767:85;;;;-1:-1:-1;;;45767:85:0;;15700:2:1;45767:85:0;;;15682:21:1;15739:2;15719:18;;;15712:30;15778:34;15758:18;;;15751:62;-1:-1:-1;;;15829:18:1;;;15822:35;15874:19;;45767:85:0;15498:401:1;45767:85:0;45888:60;45897:5;45904:7;45932:15;45913:16;:34;45888:8;:60::i;42598:193::-;42677:4;32460:10;42733:28;32460:10;42750:2;42754:6;42733:9;:28::i;60072:591::-;60299:6;60280:15;:25;;60272:67;;;;-1:-1:-1;;;60272:67:0;;8321:2:1;60272:67:0;;;8303:21:1;8360:2;8340:18;;;8333:30;8399:31;8379:18;;;8372:59;8448:18;;60272:67:0;8119:353:1;60272:67:0;60422:58;;;55983:71;60422:58;;;4894:25:1;-1:-1:-1;;;;;4955:32:1;;4935:18;;;4928:60;;;;5004:18;;;4997:34;;;5047:18;;;5040:34;;;60350:14:0;;60367:174;;60395:87;;4866:19:1;;60422:58:0;;;;;;;;;;;;60412:69;;;;;;60395:16;:87::i;:::-;60497:1;60513;60529;60367:13;:174::i;:::-;60350:191;;60569:17;60579:6;60569:9;:17::i;:::-;60560:5;:26;60552:64;;;;-1:-1:-1;;;60552:64:0;;9442:2:1;60552:64:0;;;9424:21:1;9481:2;9461:18;;;9454:30;9520:27;9500:18;;;9493:55;9565:18;;60552:64:0;9240:349:1;60552:64:0;60627:28;60637:6;60645:9;60627;:28::i;:::-;60261:402;60072:591;;;;;;:::o;53232:645::-;53476:8;53457:15;:27;;53449:69;;;;-1:-1:-1;;;53449:69:0;;10964:2:1;53449:69:0;;;10946:21:1;11003:2;10983:18;;;10976:30;11042:31;11022:18;;;11015:59;11091:18;;53449:69:0;10762:353:1;53449:69:0;53531:18;53573:16;53591:5;53598:7;53607:5;53614:16;53624:5;53614:9;:16::i;:::-;53562:79;;;;;;4354:25:1;;;;-1:-1:-1;;;;;4453:15:1;;;4433:18;;;4426:43;4505:15;;;;4485:18;;;4478:43;4537:18;;;4530:34;4580:19;;;4573:35;4624:19;;;4617:35;;;4326:19;;53562:79:0;;;;;;;;;;;;53552:90;;;;;;53531:111;;53655:12;53670:28;53687:10;53670:16;:28::i;:::-;53655:43;;53711:14;53728:28;53742:4;53748:1;53751;53754;53728:13;:28::i;:::-;53711:45;;53785:5;-1:-1:-1;;;;;53775:15:0;:6;-1:-1:-1;;;;;53775:15:0;;53767:58;;;;-1:-1:-1;;;53767:58:0;;12535:2:1;53767:58:0;;;12517:21:1;12574:2;12554:18;;;12547:30;12613:32;12593:18;;;12586:60;12663:18;;53767:58:0;12333:354:1;53767:58:0;53838:31;53847:5;53854:7;53863:5;53838:8;:31::i;:::-;53438:439;;;53232:645;;;;;;;:::o;64778:277::-;33729:6;;-1:-1:-1;;;;;33729:6:0;;;;;32460:10;33876:23;33868:68;;;;-1:-1:-1;;;33868:68:0;;;;;;;:::i;:::-;64860:21:::1;::::0;::::1;::::0;::::1;;;64859:22;64851:84;;;::::0;-1:-1:-1;;;64851:84:0;;7139:2:1;64851:84:0::1;::::0;::::1;7121:21:1::0;7178:2;7158:18;;;7151:30;7217:34;7197:18;;;7190:62;-1:-1:-1;;;7268:18:1;;;7261:47;7325:19;;64851:84:0::1;6937:413:1::0;64851:84:0::1;64942:17;64948:2;64952:6;64942:5;:17::i;:::-;64966:21;:28:::0;;-1:-1:-1;;64966:28:0::1;;;::::0;;65001:21:::1;65019:2:::0;65001:17:::1;:21::i;:::-;-1:-1:-1::0;;65029:13:0::1;:20:::0;;-1:-1:-1;;65029:20:0::1;65045:4;65029:20;::::0;;64778:277::o;56303:150::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;56419:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;;;:::i;:::-;;;;;;;;;;56412:33;;;;;;;;;56419:26;;56412:33;;;;;;;;;-1:-1:-1;;;;;56412:33:0;;;;;;;;;56303:150;-1:-1:-1;;;56303:150:0:o;34565:201::-;33729:6;;-1:-1:-1;;;;;33729:6:0;;;;;32460:10;33876:23;33868:68;;;;-1:-1:-1;;;33868:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34654:22:0;::::1;34646:73;;;::::0;-1:-1:-1;;;34646:73:0;;9796:2:1;34646:73:0::1;::::0;::::1;9778:21:1::0;9835:2;9815:18;;;9808:30;9874:34;9854:18;;;9847:62;-1:-1:-1;;;9925:18:1;;;9918:36;9971:19;;34646:73:0::1;9594:402:1::0;34646:73:0::1;34730:28;34749:8;34730:18;:28::i;49189:380::-:0;-1:-1:-1;;;;;49325:19:0;;49317:68;;;;-1:-1:-1;;;49317:68:0;;15295:2:1;49317:68:0;;;15277:21:1;15334:2;15314:18;;;15307:30;15373:34;15353:18;;;15346:62;-1:-1:-1;;;15424:18:1;;;15417:34;15468:19;;49317:68:0;15093:400:1;49317:68:0;-1:-1:-1;;;;;49404:21:0;;49396:68;;;;-1:-1:-1;;;49396:68:0;;10203:2:1;49396:68:0;;;10185:21:1;10242:2;10222:18;;;10215:30;10281:34;10261:18;;;10254:62;-1:-1:-1;;;10332:18:1;;;10325:32;10374:19;;49396:68:0;10001:398:1;49396:68:0;-1:-1:-1;;;;;49477:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;49529:32;;4031:25:1;;;49529:32:0;;4004:18:1;49529:32:0;;;;;;;49189:380;;;:::o;49856:453::-;-1:-1:-1;;;;;42970:18:0;;;49991:24;42970:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;50058:37:0;;50054:248;;50140:6;50120:16;:26;;50112:68;;;;-1:-1:-1;;;50112:68:0;;10606:2:1;50112:68:0;;;10588:21:1;10645:2;10625:18;;;10618:30;10684:31;10664:18;;;10657:59;10733:18;;50112:68:0;10404:353:1;50112:68:0;50224:51;50233:5;50240:7;50268:6;50249:16;:25;50224:8;:51::i;:::-;49980:329;49856:453;;;:::o;46470:671::-;-1:-1:-1;;;;;46601:18:0;;46593:68;;;;-1:-1:-1;;;46593:68:0;;14482:2:1;46593:68:0;;;14464:21:1;14521:2;14501:18;;;14494:30;14560:34;14540:18;;;14533:62;-1:-1:-1;;;14611:18:1;;;14604:35;14656:19;;46593:68:0;14280:401:1;46593:68:0;-1:-1:-1;;;;;46680:16:0;;46672:64;;;;-1:-1:-1;;;46672:64:0;;7557:2:1;46672:64:0;;;7539:21:1;7596:2;7576:18;;;7569:30;7635:34;7615:18;;;7608:62;-1:-1:-1;;;7686:18:1;;;7679:33;7729:19;;46672:64:0;7355:399:1;46672:64:0;-1:-1:-1;;;;;46822:15:0;;46800:19;46822:15;;;;;;;;;;;46856:21;;;;46848:72;;;;-1:-1:-1;;;46848:72:0;;11322:2:1;46848:72:0;;;11304:21:1;11361:2;11341:18;;;11334:30;11400:34;11380:18;;;11373:62;-1:-1:-1;;;11451:18:1;;;11444:36;11497:19;;46848:72:0;11120:402:1;46848:72:0;-1:-1:-1;;;;;46956:15:0;;;:9;:15;;;;;;;;;;;46974:20;;;46956:38;;47016:13;;;;;;;;:23;;46988:6;;46956:9;47016:23;;46988:6;;47016:23;:::i;:::-;;;;;;;;47072:2;-1:-1:-1;;;;;47057:26:0;47066:4;-1:-1:-1;;;;;47057:26:0;;47076:6;47057:26;;;;4031:25:1;;4019:2;4004:18;;3885:177;47057:26:0;;;;;;;;47096:37;47116:4;47122:2;47126:6;47096:19;:37::i;27935:314::-;27988:7;28020:4;-1:-1:-1;;;;;28029:12:0;28012:29;;:66;;;;;28062:16;28045:13;:33;28012:66;28008:234;;;-1:-1:-1;28102:24:0;;27935:314::o;28008:234::-;-1:-1:-1;28438:73:0;;;28188:10;28438:73;;;;5344:25:1;;;;28200:12:0;5385:18:1;;;5378:34;28214:15:0;5428:18:1;;;5421:34;28482:13:0;5471:18:1;;;5464:34;28505:4:0;5514:19:1;;;;5507:61;;;;28438:73:0;;;;;;;;;;5316:19:1;;;;28438:73:0;;;28428:84;;;;;;54201:115::o;58308:1482::-;59441:12;;58407:7;;;59490:236;59503:4;59497:3;:10;59490:236;;;59524:11;59538:23;59551:3;59556:4;59538:12;:23::i;:::-;59524:37;;59603:11;59580:5;59586:3;59580:10;;;;;;;;:::i;:::-;;;;;;;;;;:20;;;:34;59576:139;;;59642:3;59635:10;;59576:139;;;59692:7;:3;59698:1;59692:7;:::i;:::-;59686:13;;59576:139;59509:217;59490:236;;;59745:9;;:37;;59761:5;59767:8;59774:1;59767:4;:8;:::i;:::-;59761:15;;;;;;;;:::i;:::-;;;;;;;;;;:21;;;;-1:-1:-1;;;;;59761:21:0;59745:37;;;59757:1;59745:37;-1:-1:-1;;;;;59738:44:0;;58308:1482;-1:-1:-1;;;;;58308:1482:0:o;62113:388::-;-1:-1:-1;;;;;56878:19:0;;;62198:23;56878:19;;;:10;:19;;;;;;;;;;42366:18;;;;;;;62313:21;;;;:33;;;-1:-1:-1;;;;;;62313:33:0;;;;;;;62364:54;;56878:19;;;;;42366:18;;62313:33;;56878:19;;;62364:54;;62198:23;62364:54;62431:62;62448:15;62465:9;62476:16;62431;:62::i;3200:190::-;3256:6;3292:16;3283:25;;;3275:76;;;;-1:-1:-1;;;3275:76:0;;14888:2:1;3275:76:0;;;14870:21:1;14927:2;14907:18;;;14900:30;14966:34;14946:18;;;14939:62;-1:-1:-1;;;15017:18:1;;;15010:36;15063:19;;3275:76:0;14686:402:1;3275:76:0;-1:-1:-1;3376:5:0;3200:190::o;34926:191::-;35019:6;;;-1:-1:-1;;;;;35036:17:0;;;35019:6;35036:17;;;-1:-1:-1;;;;;;35036:17:0;;;;;;35069:40;;35019:6;;;;;;;;35069:40;;35000:16;;35069:40;34989:128;34926:191;:::o;65548:126::-;65640:28;65652:7;65661:6;65640:11;:28::i;29162:167::-;29239:7;29266:55;29288:20;:18;:20::i;:::-;29310:10;24632:57;;-1:-1:-1;;;24632:57:0;;;3346:27:1;3389:11;;;3382:27;;;3425:12;;;3418:28;;;24595:7:0;;3462:12:1;;24632:57:0;;;;;;;;;;;;24622:68;;;;;;24615:75;;24502:196;;;;;22811:279;22939:7;22960:17;22979:18;23001:25;23012:4;23018:1;23021;23024;23001:10;:25::i;:::-;22959:67;;;;23037:18;23049:5;23037:11;:18::i;:::-;-1:-1:-1;23073:9:0;22811:279;-1:-1:-1;;;;;22811:279:0:o;54454:207::-;-1:-1:-1;;;;;54575:14:0;;54514:15;54575:14;;;:7;:14;;;;;12546;;12683:1;12665:19;;;;12546:14;54636:17;54531:130;54454:207;;;:::o;65426:116::-;65513:23;65525:2;65529:6;65513:11;:23::i;50909:125::-;;;;:::o;65236:184::-;65371:43;65397:4;65403:2;65407:6;65371:25;:43::i;11015:156::-;11077:7;11152:11;11162:1;11153:5;;;11152:11;:::i;:::-;11142:21;;11143:5;;;11142:21;:::i;62509:643::-;62641:3;-1:-1:-1;;;;;62634:10:0;:3;-1:-1:-1;;;;;62634:10:0;;;:24;;;;;62657:1;62648:6;:10;62634:24;62630:515;;;-1:-1:-1;;;;;62679:17:0;;;62675:224;;-1:-1:-1;;;;;62775:17:0;;62718;62775;;;:12;:17;;;;;62718;;62758:54;;62794:9;62805:6;62758:16;:54::i;:::-;62717:95;;;;62857:3;-1:-1:-1;;;;;62836:47:0;;62862:9;62873;62836:47;;;;;;16971:25:1;;;17027:2;17012:18;;17005:34;16959:2;16944:18;;16797:248;62836:47:0;;;;;;;;62698:201;;62675:224;-1:-1:-1;;;;;62919:17:0;;;62915:219;;-1:-1:-1;;;;;63015:17:0;;62958;63015;;;:12;:17;;;;;62958;;62998:49;;63034:4;63040:6;62998:16;:49::i;:::-;62957:90;;;;63092:3;-1:-1:-1;;;;;63071:47:0;;63097:9;63108;63071:47;;;;;;16971:25:1;;;17027:2;17012:18;;17005:34;16959:2;16944:18;;16797:248;63071:47:0;;;;;;;;62938:196;;62509:643;;;:::o;61353:194::-;61438:28;61450:7;61459:6;61438:11;:28::i;:::-;61479:60;61496:23;61521:9;61532:6;61479:16;:60::i;21040:1632::-;21171:7;;22105:66;22092:79;;22088:163;;;-1:-1:-1;22204:1:0;;-1:-1:-1;22208:30:0;22188:51;;22088:163;22265:1;:7;;22270:2;22265:7;;:18;;;;;22276:1;:7;;22281:2;22276:7;;22265:18;22261:102;;;-1:-1:-1;22316:1:0;;-1:-1:-1;22320:30:0;22300:51;;22261:102;22477:24;;;22460:14;22477:24;;;;;;;;;5806:25:1;;;5879:4;5867:17;;5847:18;;;5840:45;;;;5901:18;;;5894:34;;;5944:18;;;5937:34;;;22477:24:0;;5778:19:1;;22477:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22477:24:0;;-1:-1:-1;;22477:24:0;;;-1:-1:-1;;;;;;;22516:20:0;;22512:103;;22569:1;22573:29;22553:50;;;;;;;22512:103;22635:6;-1:-1:-1;22643:20:0;;-1:-1:-1;21040:1632:0;;;;;;;;:::o;15749:643::-;15827:20;15818:5;:29;;;;;;;;:::i;:::-;;15814:571;;;15749:643;:::o;15814:571::-;15925:29;15916:5;:38;;;;;;;;:::i;:::-;;15912:473;;;15971:34;;-1:-1:-1;;;15971:34:0;;6786:2:1;15971:34:0;;;6768:21:1;6825:2;6805:18;;;6798:30;6864:26;6844:18;;;6837:54;6908:18;;15971:34:0;6584:348:1;15912:473:0;16036:35;16027:5;:44;;;;;;;;:::i;:::-;;16023:362;;;16088:41;;-1:-1:-1;;;16088:41:0;;9082:2:1;16088:41:0;;;9064:21:1;9121:2;9101:18;;;9094:30;9160:33;9140:18;;;9133:61;9211:18;;16088:41:0;8880:355:1;16023:362:0;16160:30;16151:5;:39;;;;;;;;:::i;:::-;;16147:238;;;16207:44;;-1:-1:-1;;;16207:44:0;;11729:2:1;16207:44:0;;;11711:21:1;11768:2;11748:18;;;11741:30;11807:34;11787:18;;;11780:62;-1:-1:-1;;;11858:18:1;;;11851:32;11900:19;;16207:44:0;11527:398:1;16147:238:0;16282:30;16273:5;:39;;;;;;;;:::i;:::-;;16269:116;;;16329:44;;-1:-1:-1;;;16329:44:0;;12132:2:1;16329:44:0;;;12114:21:1;12171:2;12151:18;;;12144:30;12210:34;12190:18;;;12183:62;-1:-1:-1;;;12261:18:1;;;12254:32;12303:19;;16329:44:0;11930:398:1;60969:290:0;61054:28;61066:7;61075:6;61054:11;:28::i;:::-;42182:12;;-1:-1:-1;;;;;;61101:29:0;61093:90;;;;-1:-1:-1;;;61093:90:0;;12894:2:1;61093:90:0;;;12876:21:1;12933:2;12913:18;;;12906:30;12972:34;12952:18;;;12945:62;-1:-1:-1;;;13023:18:1;;;13016:46;13079:19;;61093:90:0;12692:412:1;61093:90:0;61196:55;61213:23;61238:4;61244:6;61196:16;:55::i;61687:262::-;-1:-1:-1;;;;;56878:19:0;;;56851:7;56878:19;;;:10;:19;;;;;;;;;;;;;;;61885:56;;56878:19;;;;;61934:6;61885:16;:56::i;63919:103::-;63982:7;64009:5;64013:1;64009;:5;:::i;63160:645::-;63397:12;;63334:17;;;;63432:8;;:35;;63447:5;63453:7;63459:1;63453:3;:7;:::i;:::-;63447:14;;;;;;;;:::i;:::-;;;;;;;;;;:20;;;;-1:-1:-1;;;;;63447:20:0;63432:35;;;63443:1;63432:35;-1:-1:-1;;;;;63420:47:0;;;63490:20;63493:9;63504:5;63490:2;:20;;:::i;:::-;63478:32;;63533:1;63527:3;:7;:51;;;;-1:-1:-1;63566:12:0;63538:5;63544:7;63550:1;63544:3;:7;:::i;:::-;63538:14;;;;;;;;:::i;:::-;;;;;;;;;;:24;;;:40;63527:51;63523:275;;;63618:29;63637:9;63618:18;:29::i;:::-;63595:5;63601:7;63607:1;63601:3;:7;:::i;:::-;63595:14;;;;;;;;:::i;:::-;;;;;;;;:20;;;:52;;;;;-1:-1:-1;;;;;63595:52:0;;;;;-1:-1:-1;;;;;63595:52:0;;;;;;63523:275;;;63680:5;63691:94;;;;;;;;63714:31;63732:12;63714:17;:31::i;:::-;63691:94;;;;;;63754:29;63773:9;63754:18;:29::i;:::-;-1:-1:-1;;;;;63691:94:0;;;;;;63680:106;;;;;;;-1:-1:-1;63680:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63523:275;63372:433;63160:645;;;;;;:::o;63813:98::-;63871:7;63898:5;63902:1;63898;:5;:::i;48160:591::-;-1:-1:-1;;;;;48244:21:0;;48236:67;;;;-1:-1:-1;;;48236:67:0;;14080:2:1;48236:67:0;;;14062:21:1;14119:2;14099:18;;;14092:30;14158:34;14138:18;;;14131:62;-1:-1:-1;;;14209:18:1;;;14202:31;14250:19;;48236:67:0;13878:397:1;48236:67:0;-1:-1:-1;;;;;48403:18:0;;48378:22;48403:18;;;;;;;;;;;48440:24;;;;48432:71;;;;-1:-1:-1;;;48432:71:0;;8679:2:1;48432:71:0;;;8661:21:1;8718:2;8698:18;;;8691:30;8757:34;8737:18;;;8730:62;-1:-1:-1;;;8808:18:1;;;8801:32;8850:19;;48432:71:0;8477:398:1;48432:71:0;-1:-1:-1;;;;;48539:18:0;;:9;:18;;;;;;;;;;48560:23;;;48539:44;;48605:12;:22;;48577:6;;48539:9;48605:22;;48577:6;;48605:22;:::i;:::-;;;;-1:-1:-1;;48645:37:0;;4031:25:1;;;48671:1:0;;-1:-1:-1;;;;;48645:37:0;;;;;4019:2:1;4004:18;48645:37:0;;;;;;;48695:48;48715:7;48732:1;48736:6;48695:19;:48::i;47428:399::-;-1:-1:-1;;;;;47512:21:0;;47504:65;;;;-1:-1:-1;;;47504:65:0;;16106:2:1;47504:65:0;;;16088:21:1;16145:2;16125:18;;;16118:30;16184:33;16164:18;;;16157:61;16235:18;;47504:65:0;15904:355:1;47504:65:0;47660:6;47644:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;47677:18:0;;:9;:18;;;;;;;;;;:28;;47699:6;;47677:9;:28;;47699:6;;47677:28;:::i;:::-;;;;-1:-1:-1;;47721:37:0;;4031:25:1;;;-1:-1:-1;;;;;47721:37:0;;;47738:1;;47721:37;;4019:2:1;4004:18;47721:37:0;;;;;;;47771:48;47799:1;47803:7;47812:6;47771:19;:48::i;1230:195::-;1287:7;-1:-1:-1;;;;;1315:26:0;;;1307:78;;;;-1:-1:-1;;;1307:78:0;;13672:2:1;1307:78:0;;;13654:21:1;13711:2;13691:18;;;13684:30;13750:34;13730:18;;;13723:62;-1:-1:-1;;;13801:18:1;;;13794:37;13848:19;;1307:78:0;13470:403:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:156::-;258:20;;318:4;307:16;;297:27;;287:55;;338:1;335;328:12;353:186;412:6;465:2;453:9;444:7;440:23;436:32;433:52;;;481:1;478;471:12;433:52;504:29;523:9;504:29;:::i;544:260::-;612:6;620;673:2;661:9;652:7;648:23;644:32;641:52;;;689:1;686;679:12;641:52;712:29;731:9;712:29;:::i;:::-;702:39;;760:38;794:2;783:9;779:18;760:38;:::i;:::-;750:48;;544:260;;;;;:::o;809:328::-;886:6;894;902;955:2;943:9;934:7;930:23;926:32;923:52;;;971:1;968;961:12;923:52;994:29;1013:9;994:29;:::i;:::-;984:39;;1042:38;1076:2;1065:9;1061:18;1042:38;:::i;:::-;1032:48;;1127:2;1116:9;1112:18;1099:32;1089:42;;809:328;;;;;:::o;1142:606::-;1253:6;1261;1269;1277;1285;1293;1301;1354:3;1342:9;1333:7;1329:23;1325:33;1322:53;;;1371:1;1368;1361:12;1322:53;1394:29;1413:9;1394:29;:::i;:::-;1384:39;;1442:38;1476:2;1465:9;1461:18;1442:38;:::i;:::-;1432:48;;1527:2;1516:9;1512:18;1499:32;1489:42;;1578:2;1567:9;1563:18;1550:32;1540:42;;1601:37;1633:3;1622:9;1618:19;1601:37;:::i;:::-;1591:47;;1685:3;1674:9;1670:19;1657:33;1647:43;;1737:3;1726:9;1722:19;1709:33;1699:43;;1142:606;;;;;;;;;;:::o;1753:254::-;1821:6;1829;1882:2;1870:9;1861:7;1857:23;1853:32;1850:52;;;1898:1;1895;1888:12;1850:52;1921:29;1940:9;1921:29;:::i;:::-;1911:39;1997:2;1982:18;;;;1969:32;;-1:-1:-1;;;1753:254:1:o;2012:531::-;2114:6;2122;2130;2138;2146;2154;2207:3;2195:9;2186:7;2182:23;2178:33;2175:53;;;2224:1;2221;2214:12;2175:53;2247:29;2266:9;2247:29;:::i;:::-;2237:39;;2323:2;2312:9;2308:18;2295:32;2285:42;;2374:2;2363:9;2359:18;2346:32;2336:42;;2397:36;2429:2;2418:9;2414:18;2397:36;:::i;:::-;2387:46;;2480:3;2469:9;2465:19;2452:33;2442:43;;2532:3;2521:9;2517:19;2504:33;2494:43;;2012:531;;;;;;;;:::o;2548:350::-;2615:6;2623;2676:2;2664:9;2655:7;2651:23;2647:32;2644:52;;;2692:1;2689;2682:12;2644:52;2715:29;2734:9;2715:29;:::i;:::-;2705:39;;2794:2;2783:9;2779:18;2766:32;2838:10;2831:5;2827:22;2820:5;2817:33;2807:61;;2864:1;2861;2854:12;2807:61;2887:5;2877:15;;;2548:350;;;;;:::o;2903:180::-;2962:6;3015:2;3003:9;2994:7;2990:23;2986:32;2983:52;;;3031:1;3028;3021:12;2983:52;-1:-1:-1;3054:23:1;;2903:180;-1:-1:-1;2903:180:1:o;5982:597::-;6094:4;6123:2;6152;6141:9;6134:21;6184:6;6178:13;6227:6;6222:2;6211:9;6207:18;6200:34;6252:1;6262:140;6276:6;6273:1;6270:13;6262:140;;;6371:14;;;6367:23;;6361:30;6337:17;;;6356:2;6333:26;6326:66;6291:10;;6262:140;;;6420:6;6417:1;6414:13;6411:91;;;6490:1;6485:2;6476:6;6465:9;6461:22;6457:31;6450:42;6411:91;-1:-1:-1;6563:2:1;6542:15;-1:-1:-1;;6538:29:1;6523:45;;;;6570:2;6519:54;;5982:597;-1:-1:-1;;;5982:597:1:o;13109:356::-;13311:2;13293:21;;;13330:18;;;13323:30;13389:34;13384:2;13369:18;;13362:62;13456:2;13441:18;;13109:356::o;17436:128::-;17476:3;17507:1;17503:6;17500:1;17497:13;17494:39;;;17513:18;;:::i;:::-;-1:-1:-1;17549:9:1;;17436:128::o;17569:217::-;17609:1;17635;17625:132;;17679:10;17674:3;17670:20;17667:1;17660:31;17714:4;17711:1;17704:15;17742:4;17739:1;17732:15;17625:132;-1:-1:-1;17771:9:1;;17569:217::o;17791:125::-;17831:4;17859:1;17856;17853:8;17850:34;;;17864:18;;:::i;:::-;-1:-1:-1;17901:9:1;;17791:125::o;17921:380::-;18000:1;17996:12;;;;18043;;;18064:61;;18118:4;18110:6;18106:17;18096:27;;18064:61;18171:2;18163:6;18160:14;18140:18;18137:38;18134:161;;;18217:10;18212:3;18208:20;18205:1;18198:31;18252:4;18249:1;18242:15;18280:4;18277:1;18270:15;18306:127;18367:10;18362:3;18358:20;18355:1;18348:31;18398:4;18395:1;18388:15;18422:4;18419:1;18412:15;18438:127;18499:10;18494:3;18490:20;18487:1;18480:31;18530:4;18527:1;18520:15;18554:4;18551:1;18544:15;18570:127;18631:10;18626:3;18622:20;18619:1;18612:31;18662:4;18659:1;18652:15;18686:4;18683:1;18676:15

Swarm Source

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