ETH Price: $2,571.11 (-2.97%)

Contract

0xf2C9E332466d3CBDBc5D2215484d85Cc203C6A3f
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim166453322023-02-17 2:00:59723 days ago1676599259IN
0xf2C9E332...c203C6A3f
0 ETH0.0013162134.68277688
Claim166453322023-02-17 2:00:59723 days ago1676599259IN
0xf2C9E332...c203C6A3f
0 ETH0.0013351835.18277688
Claim166453322023-02-17 2:00:59723 days ago1676599259IN
0xf2C9E332...c203C6A3f
0 ETH0.0032023334.68277688
Claim166224062023-02-13 21:05:47727 days ago1676322347IN
0xf2C9E332...c203C6A3f
0 ETH0.0019795121.43907549
Claim165192882023-01-30 11:17:35741 days ago1675077455IN
0xf2C9E332...c203C6A3f
0 ETH0.0014121615.29642995
Claim165119552023-01-29 10:43:47742 days ago1674989027IN
0xf2C9E332...c203C6A3f
0 ETH0.0013313214.4226161
Claim164857102023-01-25 18:45:35746 days ago1674672335IN
0xf2C9E332...c203C6A3f
0 ETH0.0020005821.66732225
Claim164698452023-01-23 13:36:35748 days ago1674480995IN
0xf2C9E332...c203C6A3f
0 ETH0.0012870813.93974185
Claim164493302023-01-20 16:51:59751 days ago1674233519IN
0xf2C9E332...c203C6A3f
0 ETH0.0028101230.4389937
Claim164051352023-01-14 12:46:35757 days ago1673700395IN
0xf2C9E332...c203C6A3f
0 ETH0.0005572814.68478434
Claim163914472023-01-12 14:53:47759 days ago1673535227IN
0xf2C9E332...c203C6A3f
0 ETH0.0018417819.95
Claim163914402023-01-12 14:52:23759 days ago1673535143IN
0xf2C9E332...c203C6A3f
0 ETH0.0020359222.05
Claim163914212023-01-12 14:48:35759 days ago1673534915IN
0xf2C9E332...c203C6A3f
0 ETH0.0020426922.12337398
Claim163911072023-01-12 13:45:23759 days ago1673531123IN
0xf2C9E332...c203C6A3f
0 ETH0.002341625.36404882
Claim163855902023-01-11 19:16:11760 days ago1673464571IN
0xf2C9E332...c203C6A3f
0 ETH0.0022100923.93948817
Claim163763722023-01-10 12:21:11761 days ago1673353271IN
0xf2C9E332...c203C6A3f
0 ETH0.0014287415.47400411
Claim163727852023-01-10 0:21:23762 days ago1673310083IN
0xf2C9E332...c203C6A3f
0 ETH0.0021406223.18404648
Claim163695592023-01-09 13:31:23762 days ago1673271083IN
0xf2C9E332...c203C6A3f
0 ETH0.001755819.01619981
Claim163649302023-01-08 22:02:59763 days ago1673215379IN
0xf2C9E332...c203C6A3f
0 ETH0.0021031922.78158948
Claim163614722023-01-08 10:27:59763 days ago1673173679IN
0xf2C9E332...c203C6A3f
0 ETH0.0013572814.7
Claim163553042023-01-07 13:48:35764 days ago1673099315IN
0xf2C9E332...c203C6A3f
0 ETH0.0013404314.51754821
Claim163539862023-01-07 9:23:35764 days ago1673083415IN
0xf2C9E332...c203C6A3f
0 ETH0.0013588214.7205271
Claim163486832023-01-06 15:37:47765 days ago1673019467IN
0xf2C9E332...c203C6A3f
0 ETH0.0020194821.87201319
Claim163467812023-01-06 9:14:47765 days ago1672996487IN
0xf2C9E332...c203C6A3f
0 ETH0.0014687215.9070119
Claim163429592023-01-05 20:25:35766 days ago1672950335IN
0xf2C9E332...c203C6A3f
0 ETH0.0017478618.9326957
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Airdrop

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-12-17
*/

// Sources flattened with hardhat v2.12.2 https://hardhat.org

// File @openzeppelin/contracts/utils/[email protected]

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

// File @openzeppelin/contracts/access/[email protected]

// OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

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

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

// File @openzeppelin/contracts/security/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File @openzeppelin/contracts/security/[email protected]

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_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) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

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

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

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

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

// File @openzeppelin/contracts/utils/cryptography/[email protected]

// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature)
        internal
        pure
        returns (address, RecoverError)
    {
        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 (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

// File @openzeppelin/contracts/utils/cryptography/[email protected]

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

// File @openzeppelin/contracts/token/ERC20/[email protected]

// OpenZeppelin Contracts (last updated v4.6.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);
}

// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

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

pragma solidity ^0.8.0;

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

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

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

// File @openzeppelin/contracts/token/ERC20/[email protected]

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

pragma solidity ^0.8.0;

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// File @openzeppelin/contracts/utils/math/[email protected]

// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b)
        internal
        pure
        returns (bool, uint256)
    {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File @openzeppelin/contracts/utils/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(
            address(this).balance >= amount,
            "Address: insufficient balance"
        );

        (bool success, ) = recipient.call{value: amount}("");
        require(
            success,
            "Address: unable to send value, recipient may have reverted"
        );
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return
            functionCallWithValue(
                target,
                data,
                value,
                "Address: low-level call with value failed"
            );
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(
            address(this).balance >= value,
            "Address: insufficient balance for call"
        );
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(
            data
        );
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data)
        internal
        view
        returns (bytes memory)
    {
        return
            functionStaticCall(
                target,
                data,
                "Address: low-level static call failed"
            );
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data)
        internal
        returns (bytes memory)
    {
        return
            functionDelegateCall(
                target,
                data,
                "Address: low-level delegate call failed"
            );
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

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

pragma solidity ^0.8.0;

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

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

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

// File @openzeppelin/contracts/token/ERC20/utils/[email protected]

// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transfer.selector, to, value)
        );
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.transferFrom.selector, from, to, value)
        );
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(token.approve.selector, spender, value)
        );
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(
            token,
            abi.encodeWithSelector(
                token.approve.selector,
                spender,
                newAllowance
            )
        );
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(
                oldAllowance >= value,
                "SafeERC20: decreased allowance below zero"
            );
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(
                token,
                abi.encodeWithSelector(
                    token.approve.selector,
                    spender,
                    newAllowance
                )
            );
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(
            nonceAfter == nonceBefore + 1,
            "SafeERC20: permit did not succeed"
        );
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(
            data,
            "SafeERC20: low-level call failed"
        );
        if (returndata.length > 0) {
            // Return data is optional
            require(
                abi.decode(returndata, (bool)),
                "SafeERC20: ERC20 operation did not succeed"
            );
        }
    }
}

// File contracts/Airdrop.sol

pragma solidity ^0.8.4;

contract Airdrop is EIP712, Ownable, ReentrancyGuard, Pausable {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    event ChangeSigner(
        address indexed previousSigner,
        address indexed newSigner
    );
    event OtherTokensWithdrawn(address indexed currency, uint256 amount);

    uint256 public immutable MAX;
    bytes32 public constant MINT_CALL_HASH_TYPE =
        keccak256("mint(address receiver,uint256 amount)");

    IERC20 public token;
    address public cSigner;
    mapping(address => bool) public hasClaimed;

    constructor(
        address _signer,
        address _token,
        uint256 _max
    ) EIP712("Airdrop", "1") {
        require(_signer != address(0), "Signer is the zero address");
        token = IERC20(_token);
        MAX = _max;
        cSigner = _signer;
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unPause() external onlyOwner {
        _unpause();
    }

    function changeSigner(address _signer) external onlyOwner {
        require(_signer != address(0), "Signer is the zero address");
        address oldSigner = cSigner;
        cSigner = _signer;
        emit ChangeSigner(oldSigner, cSigner);
    }

    function signMessage(address user, uint256 amount)
        external
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked(
                    "\x19Ethereum Signed Message:\n32",
                    ECDSA.toTypedDataHash(
                        _domainSeparatorV4(),
                        keccak256(abi.encode(MINT_CALL_HASH_TYPE, user, amount))
                    )
                )
            );
    }

    function withdrawOtherCurrency(address _currency)
        external
        nonReentrant
        onlyOwner
    {
        uint256 balanceToWithdraw = IERC20(_currency).balanceOf(address(this));
        // Transfer token to owner if not null
        require(balanceToWithdraw != 0, "Nothing to withdraw");
        IERC20(_currency).safeTransfer(msg.sender, balanceToWithdraw);
        emit OtherTokensWithdrawn(_currency, balanceToWithdraw);
    }

    function claim(
        uint256 amountV,
        bytes32 r,
        bytes32 s
    ) external nonReentrant whenNotPaused {
        uint256 amount = uint248(amountV);
        uint8 v = uint8(amountV >> 248);
        uint256 total = MAX - token.balanceOf(address(this)) + amount;
        require(total <= MAX, "Airdrop: Exceed max supply");
        require(!hasClaimed[msg.sender], "Airdrop: Claimed");
        bytes32 digest = keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                ECDSA.toTypedDataHash(
                    _domainSeparatorV4(),
                    keccak256(
                        abi.encode(MINT_CALL_HASH_TYPE, msg.sender, amount)
                    )
                )
            )
        );
        require(
            ecrecover(digest, v, r, s) == cSigner,
            "Airdrop: Invalid signer"
        );
        hasClaimed[msg.sender] = true;
        if (token.balanceOf(address(this)) <= MAX / 2) {
            amount = amount / 2;
        }
        token.safeTransfer(msg.sender, amount);
    }

    function recoverERC20(address _tokenAddress, uint256 _tokenAmount)
        external
        onlyOwner
    {
        IERC20(_tokenAddress).safeTransfer(owner(), _tokenAmount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_signer","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_max","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousSigner","type":"address"},{"indexed":true,"internalType":"address","name":"newSigner","type":"address"}],"name":"ChangeSigner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"currency","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"OtherTokensWithdrawn","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":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_CALL_HASH_TYPE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"changeSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountV","type":"uint256"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"signMessage","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_currency","type":"address"}],"name":"withdrawOtherCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101606040523480156200001257600080fd5b50604051620015293803806200152983398101604081905262000035916200024e565b6040805180820182526007815266041697264726f760cc1b6020808301918252835180850190945260018452603160f81b908401528151902060e08190527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc66101008190524660a0529192917f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620001128184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b6080523060c05261012052506200013592506200012f9150503390565b620001e1565b600180556002805460ff191690556001600160a01b0383166200019e5760405162461bcd60e51b815260206004820152601a60248201527f5369676e657220697320746865207a65726f2061646472657373000000000000604482015260640160405180910390fd5b60028054610100600160a81b0319166101006001600160a01b039485160217905561014052600380546001600160a01b031916929091169190911790556200028f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200024957600080fd5b919050565b6000806000606084860312156200026457600080fd5b6200026f8462000231565b92506200027f6020850162000231565b9150604084015190509250925092565b60805160a05160c05160e05161010051610120516101405161122a620002ff6000396000818161022b015281816106a7015281816106d9015261091301526000610bf501526000610c3701526000610c1601526000610b7a01526000610ba401526000610bce015261122a6000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063d49d518111610066578063d49d518114610226578063f2fde38b1461024d578063f7b188a514610260578063fc0c546a1461026857600080fd5b80638da5cb5b146101c8578063aad2b723146101d9578063abf2ebd8146101ec578063c688387f146101ff57600080fd5b806373b2e80e116100d357806373b2e80e1461016957806382920bf91461018c5780638456cb59146101ad5780638980f11f146101b557600080fd5b8063087b8261146101055780635760cc5d1461011a5780635c975abb1461014a578063715018a614610161575b600080fd5b610118610113366004611062565b610280565b005b60035461012d906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b60025460ff165b6040519015158152602001610141565b6101186103f4565b610151610177366004611062565b60046020526000908152604090205460ff1681565b61019f61019a36600461107d565b610408565b604051908152602001610141565b6101186104c9565b6101186101c336600461107d565b6104d9565b6000546001600160a01b031661012d565b6101186101e7366004611062565b61050b565b6101186101fa3660046110a7565b6105bb565b61019f7f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea81565b61019f7f000000000000000000000000000000000000000000000000000000000000000081565b61011861025b366004611062565b6109e3565b610118610a5c565b60025461012d9061010090046001600160a01b031681565b600260015414156102d85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001556102e5610a6c565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561032c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035091906110d3565b9050806103955760405162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20776974686472617760681b60448201526064016102cf565b6103a96001600160a01b0383163383610ac6565b816001600160a01b03167f5676510805b862db723e047a98c2fc1877f1ca77de43b7d78a4860dcdcec997e826040516103e491815260200190565b60405180910390a2505060018055565b6103fc610a6c565b6104066000610b1d565b565b6000610476610415610b6d565b604080517f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea60208201526001600160a01b03871691810191909152606081018590526080015b60405160208183030381529060405280519060200120610c60565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c015b60405160208183030381529060405280519060200120905092915050565b6104d1610a6c565b610406610c87565b6104e1610a6c565b6105076104f66000546001600160a01b031690565b6001600160a01b0384169083610ac6565b5050565b610513610a6c565b6001600160a01b0381166105695760405162461bcd60e51b815260206004820152601a60248201527f5369676e657220697320746865207a65726f206164647265737300000000000060448201526064016102cf565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907ff9c6fa562c9d8326f8518a29a53ef18ab03cd6b9eead73ac667c5e289354c73e90600090a35050565b6002600154141561060e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102cf565b600260015561061b610ce1565b6002546040516370a0823160e01b81523060048201526001600160f81b0385169160f886901c9160009184916101009091046001600160a01b0316906370a0823190602401602060405180830381865afa15801561067d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a191906110d3565b6106cb907f0000000000000000000000000000000000000000000000000000000000000000611102565b6106d59190611119565b90507f00000000000000000000000000000000000000000000000000000000000000008111156107475760405162461bcd60e51b815260206004820152601a60248201527f41697264726f703a20457863656564206d617820737570706c7900000000000060448201526064016102cf565b3360009081526004602052604090205460ff161561079a5760405162461bcd60e51b815260206004820152601060248201526f105a5c991c9bdc0e8810db185a5b595960821b60448201526064016102cf565b60006107e86107a7610b6d565b604080517f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea602082015233918101919091526060810187905260800161045b565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c0160408051808303601f1901815282825280516020918201206003546000855291840180845281905260ff87169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015610892573d6000803e3d6000fd5b505050602060405103516001600160a01b0316146108f25760405162461bcd60e51b815260206004820152601760248201527f41697264726f703a20496e76616c6964207369676e657200000000000000000060448201526064016102cf565b336000908152600460205260409020805460ff1916600117905561093760027f0000000000000000000000000000000000000000000000000000000000000000611131565b6002546040516370a0823160e01b81523060048201526101009091046001600160a01b0316906370a0823190602401602060405180830381865afa158015610983573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a791906110d3565b116109ba576109b7600285611131565b93505b6002546109d69061010090046001600160a01b03163386610ac6565b5050600180555050505050565b6109eb610a6c565b6001600160a01b038116610a505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102cf565b610a5981610b1d565b50565b610a64610a6c565b610406610d27565b6000546001600160a01b031633146104065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102cf565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610b18908490610d60565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610bc657507f000000000000000000000000000000000000000000000000000000000000000046145b15610bf057507f000000000000000000000000000000000000000000000000000000000000000090565b610c5b7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610e32565b905090565b60405161190160f01b602082015260228101839052604281018290526000906062016104ab565b610c8f610ce1565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610cc43390565b6040516001600160a01b03909116815260200160405180910390a1565b60025460ff16156104065760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102cf565b610d2f610e7c565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610cc4565b6000610db5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610ec59092919063ffffffff16565b805190915015610b185780806020019051810190610dd39190611153565b610b185760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102cf565b6040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090505b9392505050565b60025460ff166104065760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102cf565b6060610ed48484600085610edc565b949350505050565b606082471015610f3d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102cf565b6001600160a01b0385163b610f945760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102cf565b600080866001600160a01b03168587604051610fb091906111a5565b60006040518083038185875af1925050503d8060008114610fed576040519150601f19603f3d011682016040523d82523d6000602084013e610ff2565b606091505b509150915061100282828661100d565b979650505050505050565b6060831561101c575081610e75565b82511561102c5782518084602001fd5b8160405162461bcd60e51b81526004016102cf91906111c1565b80356001600160a01b038116811461105d57600080fd5b919050565b60006020828403121561107457600080fd5b610e7582611046565b6000806040838503121561109057600080fd5b61109983611046565b946020939093013593505050565b6000806000606084860312156110bc57600080fd5b505081359360208301359350604090920135919050565b6000602082840312156110e557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082821015611114576111146110ec565b500390565b6000821982111561112c5761112c6110ec565b500190565b60008261114e57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561116557600080fd5b81518015158114610e7557600080fd5b60005b83811015611190578181015183820152602001611178565b8381111561119f576000848401525b50505050565b600082516111b7818460208701611175565b9190910192915050565b60208152600082518060208401526111e0816040850160208701611175565b601f01601f1916919091016040019291505056fea2646970667358221220d709971011055968e1e29d836f3da338ae7db71549dee37d3e06581bfcfa6e6964736f6c634300080a0033000000000000000000000000cd2a3d9f938e13cd947ec05abc7fe734df8dd826000000000000000000000000b44e11153316bd02d26c2f7c5b402e8a95ea66d8000000000000000000000000000000000000000000295be96e64066972000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063d49d518111610066578063d49d518114610226578063f2fde38b1461024d578063f7b188a514610260578063fc0c546a1461026857600080fd5b80638da5cb5b146101c8578063aad2b723146101d9578063abf2ebd8146101ec578063c688387f146101ff57600080fd5b806373b2e80e116100d357806373b2e80e1461016957806382920bf91461018c5780638456cb59146101ad5780638980f11f146101b557600080fd5b8063087b8261146101055780635760cc5d1461011a5780635c975abb1461014a578063715018a614610161575b600080fd5b610118610113366004611062565b610280565b005b60035461012d906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b60025460ff165b6040519015158152602001610141565b6101186103f4565b610151610177366004611062565b60046020526000908152604090205460ff1681565b61019f61019a36600461107d565b610408565b604051908152602001610141565b6101186104c9565b6101186101c336600461107d565b6104d9565b6000546001600160a01b031661012d565b6101186101e7366004611062565b61050b565b6101186101fa3660046110a7565b6105bb565b61019f7f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea81565b61019f7f000000000000000000000000000000000000000000295be96e6406697200000081565b61011861025b366004611062565b6109e3565b610118610a5c565b60025461012d9061010090046001600160a01b031681565b600260015414156102d85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001556102e5610a6c565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561032c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035091906110d3565b9050806103955760405162461bcd60e51b81526020600482015260136024820152724e6f7468696e6720746f20776974686472617760681b60448201526064016102cf565b6103a96001600160a01b0383163383610ac6565b816001600160a01b03167f5676510805b862db723e047a98c2fc1877f1ca77de43b7d78a4860dcdcec997e826040516103e491815260200190565b60405180910390a2505060018055565b6103fc610a6c565b6104066000610b1d565b565b6000610476610415610b6d565b604080517f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea60208201526001600160a01b03871691810191909152606081018590526080015b60405160208183030381529060405280519060200120610c60565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c015b60405160208183030381529060405280519060200120905092915050565b6104d1610a6c565b610406610c87565b6104e1610a6c565b6105076104f66000546001600160a01b031690565b6001600160a01b0384169083610ac6565b5050565b610513610a6c565b6001600160a01b0381166105695760405162461bcd60e51b815260206004820152601a60248201527f5369676e657220697320746865207a65726f206164647265737300000000000060448201526064016102cf565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907ff9c6fa562c9d8326f8518a29a53ef18ab03cd6b9eead73ac667c5e289354c73e90600090a35050565b6002600154141561060e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016102cf565b600260015561061b610ce1565b6002546040516370a0823160e01b81523060048201526001600160f81b0385169160f886901c9160009184916101009091046001600160a01b0316906370a0823190602401602060405180830381865afa15801561067d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a191906110d3565b6106cb907f000000000000000000000000000000000000000000295be96e64066972000000611102565b6106d59190611119565b90507f000000000000000000000000000000000000000000295be96e640669720000008111156107475760405162461bcd60e51b815260206004820152601a60248201527f41697264726f703a20457863656564206d617820737570706c7900000000000060448201526064016102cf565b3360009081526004602052604090205460ff161561079a5760405162461bcd60e51b815260206004820152601060248201526f105a5c991c9bdc0e8810db185a5b595960821b60448201526064016102cf565b60006107e86107a7610b6d565b604080517f6ac0707cac0c442e03ae738b183f3fb620ee941711ca779bae1b0422a39331ea602082015233918101919091526060810187905260800161045b565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c810191909152605c0160408051808303601f1901815282825280516020918201206003546000855291840180845281905260ff87169284019290925260608301899052608083018890529092506001600160a01b03169060019060a0016020604051602081039080840390855afa158015610892573d6000803e3d6000fd5b505050602060405103516001600160a01b0316146108f25760405162461bcd60e51b815260206004820152601760248201527f41697264726f703a20496e76616c6964207369676e657200000000000000000060448201526064016102cf565b336000908152600460205260409020805460ff1916600117905561093760027f000000000000000000000000000000000000000000295be96e64066972000000611131565b6002546040516370a0823160e01b81523060048201526101009091046001600160a01b0316906370a0823190602401602060405180830381865afa158015610983573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109a791906110d3565b116109ba576109b7600285611131565b93505b6002546109d69061010090046001600160a01b03163386610ac6565b5050600180555050505050565b6109eb610a6c565b6001600160a01b038116610a505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102cf565b610a5981610b1d565b50565b610a64610a6c565b610406610d27565b6000546001600160a01b031633146104065760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102cf565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610b18908490610d60565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000306001600160a01b037f000000000000000000000000f2c9e332466d3cbdbc5d2215484d85cc203c6a3f16148015610bc657507f000000000000000000000000000000000000000000000000000000000000000146145b15610bf057507f5f3d8e4e74511c4c1d3a88d2689389ae7a16f3177e62643c0371001bc889841b90565b610c5b7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f73f4c0aa766adaa78011b661027ed697948dd97907ada7c35529d5d1dda1546c7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6610e32565b905090565b60405161190160f01b602082015260228101839052604281018290526000906062016104ab565b610c8f610ce1565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610cc43390565b6040516001600160a01b03909116815260200160405180910390a1565b60025460ff16156104065760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102cf565b610d2f610e7c565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa33610cc4565b6000610db5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610ec59092919063ffffffff16565b805190915015610b185780806020019051810190610dd39190611153565b610b185760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102cf565b6040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090505b9392505050565b60025460ff166104065760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102cf565b6060610ed48484600085610edc565b949350505050565b606082471015610f3d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102cf565b6001600160a01b0385163b610f945760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102cf565b600080866001600160a01b03168587604051610fb091906111a5565b60006040518083038185875af1925050503d8060008114610fed576040519150601f19603f3d011682016040523d82523d6000602084013e610ff2565b606091505b509150915061100282828661100d565b979650505050505050565b6060831561101c575081610e75565b82511561102c5782518084602001fd5b8160405162461bcd60e51b81526004016102cf91906111c1565b80356001600160a01b038116811461105d57600080fd5b919050565b60006020828403121561107457600080fd5b610e7582611046565b6000806040838503121561109057600080fd5b61109983611046565b946020939093013593505050565b6000806000606084860312156110bc57600080fd5b505081359360208301359350604090920135919050565b6000602082840312156110e557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082821015611114576111146110ec565b500390565b6000821982111561112c5761112c6110ec565b500190565b60008261114e57634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561116557600080fd5b81518015158114610e7557600080fd5b60005b83811015611190578181015183820152602001611178565b8381111561119f576000848401525b50505050565b600082516111b7818460208701611175565b9190910192915050565b60208152600082518060208401526111e0816040850160208701611175565b601f01601f1916919091016040019291505056fea2646970667358221220d709971011055968e1e29d836f3da338ae7db71549dee37d3e06581bfcfa6e6964736f6c634300080a0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000cd2a3d9f938e13cd947ec05abc7fe734df8dd826000000000000000000000000b44e11153316bd02d26c2f7c5b402e8a95ea66d8000000000000000000000000000000000000000000295be96e64066972000000

-----Decoded View---------------
Arg [0] : _signer (address): 0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826
Arg [1] : _token (address): 0xB44e11153316BD02D26C2F7C5B402E8a95Ea66d8
Arg [2] : _max (uint256): 50000000000000000000000000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000cd2a3d9f938e13cd947ec05abc7fe734df8dd826
Arg [1] : 000000000000000000000000b44e11153316bd02d26c2f7c5b402e8a95ea66d8
Arg [2] : 000000000000000000000000000000000000000000295be96e64066972000000


Deployed Bytecode Sourcemap

66819:3531:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68582:454;;;;;;:::i;:::-;;:::i;:::-;;67318:22;;;;;-1:-1:-1;;;;;67318:22:0;;;;;;-1:-1:-1;;;;;547:32:1;;;529:51;;517:2;502:18;67318:22:0;;;;;;;;5434:86;5505:7;;;;5434:86;;;756:14:1;;749:22;731:41;;719:2;704:18;5434:86:0;591:187:1;2905:103:0;;;:::i;67347:42::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;68088:486;;;;;;:::i;:::-;;:::i;:::-;;;1188:25:1;;;1176:2;1161:18;68088:486:0;1042:177:1;67683:63:0;;;:::i;70162:185::-;;;;;;:::i;:::-;;:::i;2257:87::-;2303:7;2330:6;-1:-1:-1;;;;;2330:6:0;2257:87;;67829:251;;;;;;:::i;:::-;;:::i;69044:1110::-;;;;;;:::i;:::-;;:::i;67178:105::-;;67233:50;67178:105;;67143:28;;;;;3163:238;;;;;;:::i;:::-;;:::i;67754:67::-;;;:::i;67292:19::-;;;;;;;;-1:-1:-1;;;;;67292:19:0;;;68582:454;8232:1;8830:7;;:19;;8822:63;;;;-1:-1:-1;;;8822:63:0;;2152:2:1;8822:63:0;;;2134:21:1;2191:2;2171:18;;;2164:30;2230:33;2210:18;;;2203:61;2281:18;;8822:63:0;;;;;;;;;8232:1;8963:7;:18;2143:13:::1;:11;:13::i;:::-;68735:42:::2;::::0;-1:-1:-1;;;68735:42:0;;68771:4:::2;68735:42;::::0;::::2;529:51:1::0;68707:25:0::2;::::0;-1:-1:-1;;;;;68735:27:0;::::2;::::0;::::2;::::0;502:18:1;;68735:42:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68707:70:::0;-1:-1:-1;68844:22:0;68836:54:::2;;;::::0;-1:-1:-1;;;68836:54:0;;2701:2:1;68836:54:0::2;::::0;::::2;2683:21:1::0;2740:2;2720:18;;;2713:30;-1:-1:-1;;;2759:18:1;;;2752:49;2818:18;;68836:54:0::2;2499:343:1::0;68836:54:0::2;68901:61;-1:-1:-1::0;;;;;68901:30:0;::::2;68932:10;68944:17:::0;68901:30:::2;:61::i;:::-;68999:9;-1:-1:-1::0;;;;;68978:50:0::2;;69010:17;68978:50;;;;1188:25:1::0;;1176:2;1161:18;;1042:177;68978:50:0::2;;;;;;;;-1:-1:-1::0;;8188:1:0;9142:22;;68582:454::o;2905:103::-;2143:13;:11;:13::i;:::-;2970:30:::1;2997:1;2970:18;:30::i;:::-;2905:103::o:0;68088:486::-;68189:7;68358:174;68406:20;:18;:20::i;:::-;68463:45;;;67233:50;68463:45;;;3049:25:1;-1:-1:-1;;;;;3110:32:1;;3090:18;;;3083:60;;;;3159:18;;;3152:34;;;3022:18;;68463:45:0;;;;;;;;;;;;;68453:56;;;;;;68358:21;:174::i;:::-;68262:289;;3439:66:1;68262:289:0;;;3427:79:1;3522:12;;;3515:28;;;;3559:12;;68262:289:0;;;;;;;;;;;;;68234:332;;;;;;68214:352;;68088:486;;;;:::o;67683:63::-;2143:13;:11;:13::i;:::-;67730:8:::1;:6;:8::i;70162:185::-:0;2143:13;:11;:13::i;:::-;70282:57:::1;70317:7;2303::::0;2330:6;-1:-1:-1;;;;;2330:6:0;;2257:87;70317:7:::1;-1:-1:-1::0;;;;;70282:34:0;::::1;::::0;70326:12;70282:34:::1;:57::i;:::-;70162:185:::0;;:::o;67829:251::-;2143:13;:11;:13::i;:::-;-1:-1:-1;;;;;67906:21:0;::::1;67898:60;;;::::0;-1:-1:-1;;;67898:60:0;;3784:2:1;67898:60:0::1;::::0;::::1;3766:21:1::0;3823:2;3803:18;;;3796:30;3862:28;3842:18;;;3835:56;3908:18;;67898:60:0::1;3582:350:1::0;67898:60:0::1;67989:7;::::0;;-1:-1:-1;;;;;68007:17:0;;::::1;-1:-1:-1::0;;;;;;68007:17:0;::::1;::::0;::::1;::::0;;;68040:32:::1;::::0;67989:7;::::1;::::0;68007:17;67989:7;;68040:32:::1;::::0;67969:17:::1;::::0;68040:32:::1;67887:193;67829:251:::0;:::o;69044:1110::-;8232:1;8830:7;;:19;;8822:63;;;;-1:-1:-1;;;8822:63:0;;2152:2:1;8822:63:0;;;2134:21:1;2191:2;2171:18;;;2164:30;2230:33;2210:18;;;2203:61;2281:18;;8822:63:0;1950:355:1;8822:63:0;8232:1;8963:7;:18;5039:19:::1;:17;:19::i;:::-;69287:5:::2;::::0;:30:::2;::::0;-1:-1:-1;;;69287:30:0;;69311:4:::2;69287:30;::::0;::::2;529:51:1::0;-1:-1:-1;;;;;69179:33:0;::::2;::::0;69250:3:::2;69239:14:::0;;::::2;::::0;69179::::2;::::0;:33;;69287:5:::2;::::0;;::::2;-1:-1:-1::0;;;;;69287:5:0::2;::::0;:15:::2;::::0;502:18:1;;69287:30:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69281:36;::::0;:3:::2;:36;:::i;:::-;:45;;;;:::i;:::-;69265:61;;69354:3;69345:5;:12;;69337:51;;;::::0;-1:-1:-1;;;69337:51:0;;4534:2:1;69337:51:0::2;::::0;::::2;4516:21:1::0;4573:2;4553:18;;;4546:30;4612:28;4592:18;;;4585:56;4658:18;;69337:51:0::2;4332:350:1::0;69337:51:0::2;69419:10;69408:22;::::0;;;:10:::2;:22;::::0;;;;;::::2;;69407:23;69399:52;;;::::0;-1:-1:-1;;;69399:52:0;;4889:2:1;69399:52:0::2;::::0;::::2;4871:21:1::0;4928:2;4908:18;;;4901:30;-1:-1:-1;;;4947:18:1;;;4940:46;5003:18;;69399:52:0::2;4687:340:1::0;69399:52:0::2;69462:14;69591:216;69635:20;:18;:20::i;:::-;69714:51;::::0;;67233:50:::2;69714:51;::::0;::::2;3049:25:1::0;69746:10:0::2;3090:18:1::0;;;3083:60;;;;3159:18;;;3152:34;;;3022:18;;69714:51:0::2;2847:345:1::0;69591:216:0::2;69503:319;::::0;3439:66:1;69503:319:0::2;::::0;::::2;3427:79:1::0;3522:12;;;3515:28;;;;3559:12;;69503:319:0::2;::::0;;;;::::2;-1:-1:-1::0;;69503:319:0;;;;;;69479:354;;69503:319:::2;69479:354:::0;;::::2;::::0;69896:7:::2;::::0;::::2;69866:26:::0;;;;::::2;::::0;;;5259:25:1;;;5332:4;5320:17;;5300:18;;;5293:45;;;;5354:18;;;5347:34;;;5397:18;;;5390:34;;;69479:354:0;;-1:-1:-1;;;;;;69896:7:0::2;::::0;;;5231:19:1;;69866:26:0::2;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;-1:-1:-1::0;;;;;69866:37:0::2;;69844:110;;;::::0;-1:-1:-1;;;69844:110:0;;5637:2:1;69844:110:0::2;::::0;::::2;5619:21:1::0;5676:2;5656:18;;;5649:30;5715:25;5695:18;;;5688:53;5758:18;;69844:110:0::2;5435:347:1::0;69844:110:0::2;69976:10;69965:22;::::0;;;:10:::2;:22;::::0;;;;:29;;-1:-1:-1;;69965:29:0::2;69990:4;69965:29;::::0;;70043:7:::2;70049:1;70043:3;:7;:::i;:::-;70009:5;::::0;:30:::2;::::0;-1:-1:-1;;;70009:30:0;;70033:4:::2;70009:30;::::0;::::2;529:51:1::0;70009:5:0::2;::::0;;::::2;-1:-1:-1::0;;;;;70009:5:0::2;::::0;:15:::2;::::0;502:18:1;;70009:30:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;70005:93;;70076:10;70085:1;70076:6:::0;:10:::2;:::i;:::-;70067:19;;70005:93;70108:5;::::0;:38:::2;::::0;:5:::2;::::0;::::2;-1:-1:-1::0;;;;;70108:5:0::2;70127:10;70139:6:::0;70108:18:::2;:38::i;:::-;-1:-1:-1::0;;8188:1:0;9142:22;;-1:-1:-1;;;;;69044:1110:0:o;3163:238::-;2143:13;:11;:13::i;:::-;-1:-1:-1;;;;;3266:22:0;::::1;3244:110;;;::::0;-1:-1:-1;;;3244:110:0;;6211:2:1;3244:110:0::1;::::0;::::1;6193:21:1::0;6250:2;6230:18;;;6223:30;6289:34;6269:18;;;6262:62;-1:-1:-1;;;6340:18:1;;;6333:36;6386:19;;3244:110:0::1;6009:402:1::0;3244:110:0::1;3365:28;3384:8;3365:18;:28::i;:::-;3163:238:::0;:::o;67754:67::-;2143:13;:11;:13::i;:::-;67803:10:::1;:8;:10::i;2422:132::-:0;2303:7;2330:6;-1:-1:-1;;;;;2330:6:0;861:10;2486:23;2478:68;;;;-1:-1:-1;;;2478:68:0;;6618:2:1;2478:68:0;;;6600:21:1;;;6637:18;;;6630:30;6696:34;6676:18;;;6669:62;6748:18;;2478:68:0;6416:356:1;62452:248:0;62623:58;;;-1:-1:-1;;;;;6969:32:1;;62623:58:0;;;6951:51:1;7018:18;;;;7011:34;;;62623:58:0;;;;;;;;;;6924:18:1;;;;62623:58:0;;;;;;;;-1:-1:-1;;;;;62623:58:0;-1:-1:-1;;;62623:58:0;;;62569:123;;62603:5;;62569:19;:123::i;:::-;62452:248;;;:::o;3561:191::-;3635:16;3654:6;;-1:-1:-1;;;;;3671:17:0;;;-1:-1:-1;;;;;;3671:17:0;;;;;;3704:40;;3654:6;;;;;;;3704:40;;3635:16;3704:40;3624:128;3561:191;:::o;24428:437::-;24481:7;24527:4;-1:-1:-1;;;;;24536:12:0;24519:29;;:66;;;;;24569:16;24552:13;:33;24519:66;24501:357;;;-1:-1:-1;24619:24:0;;24428:437::o;24501:357::-;24700:146;24744:10;24777:12;24812:15;24700:21;:146::i;:::-;24676:170;;24428:437;:::o;20866:273::-;21059:57;;-1:-1:-1;;;21059:57:0;;;7314:27:1;7357:11;;;7350:27;;;7393:12;;;7386:28;;;20986:7:0;;7430:12:1;;21059:57:0;7056:392:1;6030:118:0;5039:19;:17;:19::i;:::-;6090:7:::1;:14:::0;;-1:-1:-1;;6090:14:0::1;6100:4;6090:14;::::0;;6120:20:::1;6127:12;861:10:::0;;781:98;6127:12:::1;6120:20;::::0;-1:-1:-1;;;;;547:32:1;;;529:51;;517:2;502:18;6120:20:0::1;;;;;;;6030:118::o:0;5593:108::-;5505:7;;;;5663:9;5655:38;;;;-1:-1:-1;;;5655:38:0;;7655:2:1;5655:38:0;;;7637:21:1;7694:2;7674:18;;;7667:30;-1:-1:-1;;;7713:18:1;;;7706:46;7769:18;;5655:38:0;7453:340:1;6289:120:0;5298:16;:14;:16::i;:::-;6348:7:::1;:15:::0;;-1:-1:-1;;6348:15:0::1;::::0;;6379:22:::1;861:10:::0;6388:12:::1;781:98:::0;65950:802;66374:23;66400:106;66442:4;66400:106;;;;;;;;;;;;;;;;;66408:5;-1:-1:-1;;;;;66400:27:0;;;:106;;;;;:::i;:::-;66521:17;;66374:132;;-1:-1:-1;66521:21:0;66517:228;;66636:10;66625:30;;;;;;;;;;;;:::i;:::-;66599:134;;;;-1:-1:-1;;;66599:134:0;;8282:2:1;66599:134:0;;;8264:21:1;8321:2;8301:18;;;8294:30;8360:34;8340:18;;;8333:62;-1:-1:-1;;;8411:18:1;;;8404:40;8461:19;;66599:134:0;8080:406:1;24873:432:0;25085:197;;;;;;8750:25:1;;;8791:18;;;8784:34;;;8834:18;;;8827:34;;;25214:13:0;8877:18:1;;;8870:34;25258:4:0;8920:19:1;;;8913:61;25017:7:0;;8722:19:1;;25085:197:0;;;;;;;;;;;;25057:240;;;;;;25037:260;;24873:432;;;;;;:::o;5778:108::-;5505:7;;;;5837:41;;;;-1:-1:-1;;;5837:41:0;;9187:2:1;5837:41:0;;;9169:21:1;9226:2;9206:18;;;9199:30;-1:-1:-1;;;9245:18:1;;;9238:50;9305:18;;5837:41:0;8985:344:1;54426:229:0;54563:12;54595:52;54617:6;54625:4;54631:1;54634:12;54595:21;:52::i;:::-;54588:59;54426:229;-1:-1:-1;;;;54426:229:0:o;55642:571::-;55812:12;55884:5;55859:21;:30;;55837:118;;;;-1:-1:-1;;;55837:118:0;;9536:2:1;55837:118:0;;;9518:21:1;9575:2;9555:18;;;9548:30;9614:34;9594:18;;;9587:62;-1:-1:-1;;;9665:18:1;;;9658:36;9711:19;;55837:118:0;9334:402:1;55837:118:0;-1:-1:-1;;;;;51879:19:0;;;55966:60;;;;-1:-1:-1;;;55966:60:0;;9943:2:1;55966:60:0;;;9925:21:1;9982:2;9962:18;;;9955:30;10021:31;10001:18;;;9994:59;10070:18;;55966:60:0;9741:353:1;55966:60:0;56040:12;56054:23;56081:6;-1:-1:-1;;;;;56081:11:0;56100:5;56121:4;56081:55;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56039:97;;;;56154:51;56171:7;56180:10;56192:12;56154:16;:51::i;:::-;56147:58;55642:571;-1:-1:-1;;;;;;;55642:571:0:o;58602:762::-;58752:12;58781:7;58777:580;;;-1:-1:-1;58812:10:0;58805:17;;58777:580;58926:17;;:21;58922:424;;59174:10;59168:17;59235:15;59222:10;59218:2;59214:19;59207:44;58922:424;59317:12;59310:20;;-1:-1:-1;;;59310:20:0;;;;;;;;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;783:254::-;851:6;859;912:2;900:9;891:7;887:23;883:32;880:52;;;928:1;925;918:12;880:52;951:29;970:9;951:29;:::i;:::-;941:39;1027:2;1012:18;;;;999:32;;-1:-1:-1;;;783:254:1:o;1224:316::-;1301:6;1309;1317;1370:2;1358:9;1349:7;1345:23;1341:32;1338:52;;;1386:1;1383;1376:12;1338:52;-1:-1:-1;;1409:23:1;;;1479:2;1464:18;;1451:32;;-1:-1:-1;1530:2:1;1515:18;;;1502:32;;1224:316;-1:-1:-1;1224:316:1:o;2310:184::-;2380:6;2433:2;2421:9;2412:7;2408:23;2404:32;2401:52;;;2449:1;2446;2439:12;2401:52;-1:-1:-1;2472:16:1;;2310:184;-1:-1:-1;2310:184:1:o;3937:127::-;3998:10;3993:3;3989:20;3986:1;3979:31;4029:4;4026:1;4019:15;4053:4;4050:1;4043:15;4069:125;4109:4;4137:1;4134;4131:8;4128:34;;;4142:18;;:::i;:::-;-1:-1:-1;4179:9:1;;4069:125::o;4199:128::-;4239:3;4270:1;4266:6;4263:1;4260:13;4257:39;;;4276:18;;:::i;:::-;-1:-1:-1;4312:9:1;;4199:128::o;5787:217::-;5827:1;5853;5843:132;;5897:10;5892:3;5888:20;5885:1;5878:31;5932:4;5929:1;5922:15;5960:4;5957:1;5950:15;5843:132;-1:-1:-1;5989:9:1;;5787:217::o;7798:277::-;7865:6;7918:2;7906:9;7897:7;7893:23;7889:32;7886:52;;;7934:1;7931;7924:12;7886:52;7966:9;7960:16;8019:5;8012:13;8005:21;7998:5;7995:32;7985:60;;8041:1;8038;8031:12;10099:258;10171:1;10181:113;10195:6;10192:1;10189:13;10181:113;;;10271:11;;;10265:18;10252:11;;;10245:39;10217:2;10210:10;10181:113;;;10312:6;10309:1;10306:13;10303:48;;;10347:1;10338:6;10333:3;10329:16;10322:27;10303:48;;10099:258;;;:::o;10362:274::-;10491:3;10529:6;10523:13;10545:53;10591:6;10586:3;10579:4;10571:6;10567:17;10545:53;:::i;:::-;10614:16;;;;;10362:274;-1:-1:-1;;10362:274:1:o;10641:383::-;10790:2;10779:9;10772:21;10753:4;10822:6;10816:13;10865:6;10860:2;10849:9;10845:18;10838:34;10881:66;10940:6;10935:2;10924:9;10920:18;10915:2;10907:6;10903:15;10881:66;:::i;:::-;11008:2;10987:15;-1:-1:-1;;10983:29:1;10968:45;;;;11015:2;10964:54;;10641:383;-1:-1:-1;;10641:383:1:o

Swarm Source

ipfs://d709971011055968e1e29d836f3da338ae7db71549dee37d3e06581bfcfa6e69

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.