ETH Price: $2,665.80 (+1.16%)
Gas: 1 Gwei

Token

Doubloon (DBL)
 

Overview

Max Total Supply

3,713,871,853 DBL

Holders

129 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
vabbledao.eth
Balance
6,355,073 DBL

Value
$0.00
0x0cb005ab128702ed62a2f93844edf41f3864da45
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A real-life brand built around strong community, solid art and real rum.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Doubloon

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-06-28
*/

////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

////import "./math/Math.sol";

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

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

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

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

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

            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: 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;
    }
}

            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// 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);
}

            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

////import "../IERC20.sol";

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

      
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

////import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 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));
    }
}

         
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

////import "../utils/Context.sol";

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


            
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

////import "../utils/Context.sol";

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

         
////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

////import "./IERC20.sol";
////import "./extensions/IERC20Metadata.sol";
////import "../../utils/Context.sol";

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev 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;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _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;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

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

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

        _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 {}
}


////// SPDX-License-Identifier-FLATTEN-SUPPRESS-WARNING: MIT
pragma solidity ^0.8.11;

////import '@openzeppelin/contracts/token/ERC20/ERC20.sol';
////import '@openzeppelin/contracts/access/Ownable.sol';
////import '@openzeppelin/contracts/security/Pausable.sol';
////import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol';

contract Doubloon is ERC20, Pausable, Ownable {
  using ECDSA for bytes32;

  uint256 public maxSupplyCap;

  address public verifier;

  mapping(address => uint256) public nonces;
  mapping(address => uint256) public claims;

  error SIGNATURE_VALIDATION_FAILED();
  error INVALID_CLAIM();
  error MAX_SUPPLY_EXCEEDED();

  event Claimed(address indexed account, uint256 amount, uint256 blockNumber);

  constructor(
    address verifier_,
    uint256 totalSupply_
  ) payable ERC20('Doubloon', 'DBL') {
    maxSupplyCap = totalSupply_;
    verifier = verifier_;
    _mint(
      0xE23159ea1f120449F07c4Ab27e5eF1a820D1Eb44,
      ((totalSupply_ * 700) / 1000)
    ); // 70% to project
  }

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

  function unpause() public onlyOwner {
    _unpause();
  }

  function burn(uint256 value) external {
    maxSupplyCap -= value;
    _burn(msg.sender, value);
  }

  function claim(
    uint256 amount,
    uint256 nonce,
    bytes calldata sig
  ) external whenNotPaused {
    if (amount + totalSupply() > maxSupplyCap) revert MAX_SUPPLY_EXCEEDED();

    if (++nonces[msg.sender] != nonce) revert INVALID_CLAIM();

    if (_verifyClaim(amount, nonce, sig) == false)
      revert SIGNATURE_VALIDATION_FAILED();

    claims[msg.sender] = block.number;

    _mint(msg.sender, amount);

    emit Claimed(msg.sender, amount, block.number);
  }

  function _verifyClaim(
    uint256 amount,
    uint256 nonce,
    bytes calldata sig
  ) private view returns (bool) {
    bytes32 messageHash = keccak256(
      abi.encodePacked(amount, msg.sender, nonce)
    );
    return verifier == messageHash.toEthSignedMessageHash().recover(sig);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"verifier_","type":"address"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"INVALID_CLAIM","type":"error"},{"inputs":[],"name":"MAX_SUPPLY_EXCEEDED","type":"error"},{"inputs":[],"name":"SIGNATURE_VALIDATION_FAILED","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"Claimed","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claims","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupplyCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"verifier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040526040516200181d3803806200181d833981016040819052620000269162000224565b604051806040016040528060088152602001672237bab13637b7b760c11b8152506040518060400160405280600381526020016211109360ea1b815250816003908162000074919062000304565b50600462000083828262000304565b50506005805460ff19169055506200009b33620000ff565b6006819055600780546001600160a01b0319166001600160a01b038416179055620000f773e23159ea1f120449f07c4ab27e5ef1a820d1eb446103e8620000e5846102bc620003e6565b620000f1919062000408565b62000159565b505062000447565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001b45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001c891906200042b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b600080604083850312156200023857600080fd5b82516001600160a01b03811681146200025057600080fd5b6020939093015192949293505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200028b57607f821691505b602082108103620002ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021f57600081815260208120601f850160051c81016020861015620002db5750805b601f850160051c820191505b81811015620002fc57828155600101620002e7565b505050505050565b81516001600160401b0381111562000320576200032062000260565b620003388162000331845462000276565b84620002b2565b602080601f831160018114620003705760008415620003575750858301515b600019600386901b1c1916600185901b178555620002fc565b600085815260208120601f198616915b82811015620003a15788860151825594840194600190910190840162000380565b5085821015620003c05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615620004035762000403620003d0565b500290565b6000826200042657634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620004415762000441620003d0565b92915050565b6113c680620004576000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c35780639d70902f1161007c5780639d70902f146102b7578063a457c2d7146102c0578063a9059cbb146102d3578063c6788bdd146102e6578063dd62ed3e14610306578063f2fde38b1461031957600080fd5b806370a0823114610240578063715018a6146102695780637ecebe00146102715780638456cb59146102915780638da5cb5b1461029957806395d89b41146102af57600080fd5b8063313ce56711610115578063313ce567146101e357806339509351146101f25780633f4ba83a1461020557806342966c681461020f5780635c975abb146102225780635eddd1571461022d57600080fd5b806306fdde0314610152578063095ea7b31461017057806318160ddd1461019357806323b872dd146101a55780632b7ac3f3146101b8575b600080fd5b61015a61032c565b604051610167919061112d565b60405180910390f35b61018361017e366004611197565b6103be565b6040519015158152602001610167565b6002545b604051908152602001610167565b6101836101b33660046111c1565b6103d8565b6007546101cb906001600160a01b031681565b6040516001600160a01b039091168152602001610167565b60405160128152602001610167565b610183610200366004611197565b6103fc565b61020d61041e565b005b61020d61021d3660046111fd565b610430565b60055460ff16610183565b61020d61023b366004611216565b610455565b61019761024e366004611296565b6001600160a01b031660009081526020819052604090205490565b61020d610556565b61019761027f366004611296565b60086020526000908152604090205481565b61020d610568565b60055461010090046001600160a01b03166101cb565b61015a610578565b61019760065481565b6101836102ce366004611197565b610587565b6101836102e1366004611197565b610607565b6101976102f4366004611296565b60096020526000908152604090205481565b6101976103143660046112b8565b610615565b61020d610327366004611296565b610640565b60606003805461033b906112eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610367906112eb565b80156103b45780601f10610389576101008083540402835291602001916103b4565b820191906000526020600020905b81548152906001019060200180831161039757829003601f168201915b5050505050905090565b6000336103cc8185856106b6565b60019150505b92915050565b6000336103e68582856107db565b6103f1858585610855565b506001949350505050565b6000336103cc81858561040f8383610615565b610419919061133b565b6106b6565b6104266109f9565b61042e610a59565b565b8060066000828254610442919061134e565b9091555061045290503382610aab565b50565b61045d610bd5565b60065460025461046d908661133b565b111561048c5760405163ed0f594f60e01b815260040160405180910390fd5b33600090815260086020526040812080548592906104a990611361565b9182905550146104cc5760405163095f258360e01b815260040160405180910390fd5b6104d884848484610c1b565b15156000036104fa576040516329d96dcb60e11b815260040160405180910390fd5b3360008181526009602052604090204390556105169085610cc4565b6040805185815243602082015233917f987d620f307ff6b94d58743cb7a7509f24071586a77759b77c2d4e29f75a2f9a910160405180910390a250505050565b61055e6109f9565b61042e6000610d83565b6105706109f9565b61042e610ddd565b60606004805461033b906112eb565b600033816105958286610615565b9050838110156105fa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103f182868684036106b6565b6000336103cc818585610855565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6106486109f9565b6001600160a01b0381166106ad5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f1565b61045281610d83565b6001600160a01b0383166107185760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105f1565b6001600160a01b0382166107795760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105f1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006107e78484610615565b9050600019811461084f57818110156108425760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105f1565b61084f84848484036106b6565b50505050565b6001600160a01b0383166108b95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105f1565b6001600160a01b03821661091b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105f1565b6001600160a01b038316600090815260208190526040902054818110156109935760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105f1565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361084f565b6005546001600160a01b0361010090910416331461042e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105f1565b610a61610e1a565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610b0b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105f1565b6001600160a01b03821660009081526020819052604090205481811015610b7f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105f1565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016107ce565b60055460ff161561042e5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105f1565b6040805160208082018790523360601b6bffffffffffffffffffffffff191682840152605480830187905283518084039091018152607483018085528151918301919091206094601f87018490049093028401830190945284815260009392610ca99287918791829101838280828437600092019190915250610ca39250859150610e639050565b90610eb6565b6007546001600160a01b039182169116149695505050505050565b6001600160a01b038216610d1a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105f1565b8060026000828254610d2c919061133b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610de5610bd5565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610a8e3390565b60055460ff1661042e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105f1565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6000806000610ec58585610eda565b91509150610ed281610f1f565b509392505050565b6000808251604103610f105760208301516040840151606085015160001a610f0487828585611069565b94509450505050610f18565b506000905060025b9250929050565b6000816004811115610f3357610f3361137a565b03610f3b5750565b6001816004811115610f4f57610f4f61137a565b03610f9c5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105f1565b6002816004811115610fb057610fb061137a565b03610ffd5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105f1565b60038160048111156110115761101161137a565b036104525760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105f1565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156110a05750600090506003611124565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156110f4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661111d57600060019250925050611124565b9150600090505b94509492505050565b600060208083528351808285015260005b8181101561115a5785810183015185820160400152820161113e565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461119257600080fd5b919050565b600080604083850312156111aa57600080fd5b6111b38361117b565b946020939093013593505050565b6000806000606084860312156111d657600080fd5b6111df8461117b565b92506111ed6020850161117b565b9150604084013590509250925092565b60006020828403121561120f57600080fd5b5035919050565b6000806000806060858703121561122c57600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561125257600080fd5b818701915087601f83011261126657600080fd5b81358181111561127557600080fd5b88602082850101111561128757600080fd5b95989497505060200194505050565b6000602082840312156112a857600080fd5b6112b18261117b565b9392505050565b600080604083850312156112cb57600080fd5b6112d48361117b565b91506112e26020840161117b565b90509250929050565b600181811c908216806112ff57607f821691505b60208210810361131f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103d2576103d2611325565b818103818111156103d2576103d2611325565b60006001820161137357611373611325565b5060010190565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220bb6935cf99ff66d138ee8c9d635e69dc79bb794369deaa189e6044935146839d64736f6c634300081000330000000000000000000000003ad97de69b7242f9e378f874625190680c28057000000000000000000000000000000000000000001027e72f1f12813088000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806370a08231116100c35780639d70902f1161007c5780639d70902f146102b7578063a457c2d7146102c0578063a9059cbb146102d3578063c6788bdd146102e6578063dd62ed3e14610306578063f2fde38b1461031957600080fd5b806370a0823114610240578063715018a6146102695780637ecebe00146102715780638456cb59146102915780638da5cb5b1461029957806395d89b41146102af57600080fd5b8063313ce56711610115578063313ce567146101e357806339509351146101f25780633f4ba83a1461020557806342966c681461020f5780635c975abb146102225780635eddd1571461022d57600080fd5b806306fdde0314610152578063095ea7b31461017057806318160ddd1461019357806323b872dd146101a55780632b7ac3f3146101b8575b600080fd5b61015a61032c565b604051610167919061112d565b60405180910390f35b61018361017e366004611197565b6103be565b6040519015158152602001610167565b6002545b604051908152602001610167565b6101836101b33660046111c1565b6103d8565b6007546101cb906001600160a01b031681565b6040516001600160a01b039091168152602001610167565b60405160128152602001610167565b610183610200366004611197565b6103fc565b61020d61041e565b005b61020d61021d3660046111fd565b610430565b60055460ff16610183565b61020d61023b366004611216565b610455565b61019761024e366004611296565b6001600160a01b031660009081526020819052604090205490565b61020d610556565b61019761027f366004611296565b60086020526000908152604090205481565b61020d610568565b60055461010090046001600160a01b03166101cb565b61015a610578565b61019760065481565b6101836102ce366004611197565b610587565b6101836102e1366004611197565b610607565b6101976102f4366004611296565b60096020526000908152604090205481565b6101976103143660046112b8565b610615565b61020d610327366004611296565b610640565b60606003805461033b906112eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610367906112eb565b80156103b45780601f10610389576101008083540402835291602001916103b4565b820191906000526020600020905b81548152906001019060200180831161039757829003601f168201915b5050505050905090565b6000336103cc8185856106b6565b60019150505b92915050565b6000336103e68582856107db565b6103f1858585610855565b506001949350505050565b6000336103cc81858561040f8383610615565b610419919061133b565b6106b6565b6104266109f9565b61042e610a59565b565b8060066000828254610442919061134e565b9091555061045290503382610aab565b50565b61045d610bd5565b60065460025461046d908661133b565b111561048c5760405163ed0f594f60e01b815260040160405180910390fd5b33600090815260086020526040812080548592906104a990611361565b9182905550146104cc5760405163095f258360e01b815260040160405180910390fd5b6104d884848484610c1b565b15156000036104fa576040516329d96dcb60e11b815260040160405180910390fd5b3360008181526009602052604090204390556105169085610cc4565b6040805185815243602082015233917f987d620f307ff6b94d58743cb7a7509f24071586a77759b77c2d4e29f75a2f9a910160405180910390a250505050565b61055e6109f9565b61042e6000610d83565b6105706109f9565b61042e610ddd565b60606004805461033b906112eb565b600033816105958286610615565b9050838110156105fa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103f182868684036106b6565b6000336103cc818585610855565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6106486109f9565b6001600160a01b0381166106ad5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105f1565b61045281610d83565b6001600160a01b0383166107185760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105f1565b6001600160a01b0382166107795760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105f1565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60006107e78484610615565b9050600019811461084f57818110156108425760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016105f1565b61084f84848484036106b6565b50505050565b6001600160a01b0383166108b95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105f1565b6001600160a01b03821661091b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105f1565b6001600160a01b038316600090815260208190526040902054818110156109935760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105f1565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a361084f565b6005546001600160a01b0361010090910416331461042e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105f1565b610a61610e1a565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216610b0b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105f1565b6001600160a01b03821660009081526020819052604090205481811015610b7f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105f1565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016107ce565b60055460ff161561042e5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016105f1565b6040805160208082018790523360601b6bffffffffffffffffffffffff191682840152605480830187905283518084039091018152607483018085528151918301919091206094601f87018490049093028401830190945284815260009392610ca99287918791829101838280828437600092019190915250610ca39250859150610e639050565b90610eb6565b6007546001600160a01b039182169116149695505050505050565b6001600160a01b038216610d1a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105f1565b8060026000828254610d2c919061133b565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610de5610bd5565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610a8e3390565b60055460ff1661042e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105f1565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6000806000610ec58585610eda565b91509150610ed281610f1f565b509392505050565b6000808251604103610f105760208301516040840151606085015160001a610f0487828585611069565b94509450505050610f18565b506000905060025b9250929050565b6000816004811115610f3357610f3361137a565b03610f3b5750565b6001816004811115610f4f57610f4f61137a565b03610f9c5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105f1565b6002816004811115610fb057610fb061137a565b03610ffd5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105f1565b60038160048111156110115761101161137a565b036104525760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105f1565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156110a05750600090506003611124565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156110f4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661111d57600060019250925050611124565b9150600090505b94509492505050565b600060208083528351808285015260005b8181101561115a5785810183015185820160400152820161113e565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461119257600080fd5b919050565b600080604083850312156111aa57600080fd5b6111b38361117b565b946020939093013593505050565b6000806000606084860312156111d657600080fd5b6111df8461117b565b92506111ed6020850161117b565b9150604084013590509250925092565b60006020828403121561120f57600080fd5b5035919050565b6000806000806060858703121561122c57600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561125257600080fd5b818701915087601f83011261126657600080fd5b81358181111561127557600080fd5b88602082850101111561128757600080fd5b95989497505060200194505050565b6000602082840312156112a857600080fd5b6112b18261117b565b9392505050565b600080604083850312156112cb57600080fd5b6112d48361117b565b91506112e26020840161117b565b90509250929050565b600181811c908216806112ff57607f821691505b60208210810361131f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156103d2576103d2611325565b818103818111156103d2576103d2611325565b60006001820161137357611373611325565b5060010190565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220bb6935cf99ff66d138ee8c9d635e69dc79bb794369deaa189e6044935146839d64736f6c63430008100033

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

0000000000000000000000003ad97de69b7242f9e378f874625190680c28057000000000000000000000000000000000000000001027e72f1f12813088000000

-----Decoded View---------------
Arg [0] : verifier_ (address): 0x3AD97de69b7242F9E378F874625190680C280570
Arg [1] : totalSupply_ (uint256): 5000000000000000000000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003ad97de69b7242f9e378f874625190680c280570
Arg [1] : 00000000000000000000000000000000000000001027e72f1f12813088000000


Deployed Bytecode Sourcemap

47881:1753:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36351:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;38702:201;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;38702:201:0;1004:187:1;37471:108:0;37559:12;;37471:108;;;1342:25:1;;;1330:2;1315:18;37471:108:0;1196:177:1;39483:295:0;;;;;;:::i;:::-;;:::i;47996:23::-;;;;;-1:-1:-1;;;;;47996:23:0;;;;;;-1:-1:-1;;;;;1875:32:1;;;1857:51;;1845:2;1830:18;47996:23:0;1711:203:1;37313:93:0;;;37396:2;2061:36:1;;2049:2;2034:18;37313:93:0;1919:184:1;40187:238:0;;;;;;:::i;:::-;;:::i;48663:59::-;;;:::i;:::-;;48728:103;;;;;;:::i;:::-;;:::i;30345:86::-;30416:7;;;;30345:86;;48837:489;;;;;;:::i;:::-;;:::i;37642:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;37743:18:0;37716:7;37743:18;;;;;;;;;;;;37642:127;33267:103;;;:::i;48026:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;48602:55;;;:::i;32619:87::-;32692:6;;;;;-1:-1:-1;;;;;32692:6:0;32619:87;;36570:104;;;:::i;47962:27::-;;;;;;40928:436;;;;;;:::i;:::-;;:::i;37975:193::-;;;;;;:::i;:::-;;:::i;48072:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;38231:151;;;;;;:::i;:::-;;:::i;33525:201::-;;;;;;:::i;:::-;;:::i;36351:100::-;36405:13;36438:5;36431:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36351:100;:::o;38702:201::-;38785:4;16029:10;38841:32;16029:10;38857:7;38866:6;38841:8;:32::i;:::-;38891:4;38884:11;;;38702:201;;;;;:::o;39483:295::-;39614:4;16029:10;39672:38;39688:4;16029:10;39703:6;39672:15;:38::i;:::-;39721:27;39731:4;39737:2;39741:6;39721:9;:27::i;:::-;-1:-1:-1;39766:4:0;;39483:295;-1:-1:-1;;;;39483:295:0:o;40187:238::-;40275:4;16029:10;40331:64;16029:10;40347:7;40384:10;40356:25;16029:10;40347:7;40356:9;:25::i;:::-;:38;;;;:::i;:::-;40331:8;:64::i;48663:59::-;32505:13;:11;:13::i;:::-;48706:10:::1;:8;:10::i;:::-;48663:59::o:0;48728:103::-;48789:5;48773:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;48801:24:0;;-1:-1:-1;48807:10:0;48819:5;48801;:24::i;:::-;48728:103;:::o;48837:489::-;29950:19;:17;:19::i;:::-;48982:12:::1;::::0;37559;;48957:22:::1;::::0;:6;:22:::1;:::i;:::-;:37;48953:71;;;49003:21;;-1:-1:-1::0;;;49003:21:0::1;;;;;;;;;;;48953:71;49046:10;49039:18;::::0;;;:6:::1;:18;::::0;;;;49037:20;;49061:5;;49039:18;49037:20:::1;::::0;::::1;:::i;:::-;::::0;;;;-1:-1:-1;49037:29:0::1;49033:57;;49075:15;;-1:-1:-1::0;;;49075:15:0::1;;;;;;;;;;;49033:57;49103:32;49116:6;49124:5;49131:3;;49103:12;:32::i;:::-;:41;;49139:5;49103:41:::0;49099:90:::1;;49160:29;;-1:-1:-1::0;;;49160:29:0::1;;;;;;;;;;;49099:90;49205:10;49198:18;::::0;;;:6:::1;:18;::::0;;;;49219:12:::1;49198:33:::0;;49240:25:::1;::::0;49258:6;49240:5:::1;:25::i;:::-;49279:41;::::0;;4575:25:1;;;49307:12:0::1;4631:2:1::0;4616:18;;4609:34;49287:10:0::1;::::0;49279:41:::1;::::0;4548:18:1;49279:41:0::1;;;;;;;48837:489:::0;;;;:::o;33267:103::-;32505:13;:11;:13::i;:::-;33332:30:::1;33359:1;33332:18;:30::i;48602:55::-:0;32505:13;:11;:13::i;:::-;48643:8:::1;:6;:8::i;36570:104::-:0;36626:13;36659:7;36652:14;;;;;:::i;40928:436::-;41021:4;16029:10;41021:4;41104:25;16029:10;41121:7;41104:9;:25::i;:::-;41077:52;;41168:15;41148:16;:35;;41140:85;;;;-1:-1:-1;;;41140:85:0;;4856:2:1;41140:85:0;;;4838:21:1;4895:2;4875:18;;;4868:30;4934:34;4914:18;;;4907:62;-1:-1:-1;;;4985:18:1;;;4978:35;5030:19;;41140:85:0;;;;;;;;;41261:60;41270:5;41277:7;41305:15;41286:16;:34;41261:8;:60::i;37975:193::-;38054:4;16029:10;38110:28;16029:10;38127:2;38131:6;38110:9;:28::i;38231:151::-;-1:-1:-1;;;;;38347:18:0;;;38320:7;38347:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;38231:151::o;33525:201::-;32505:13;:11;:13::i;:::-;-1:-1:-1;;;;;33614:22:0;::::1;33606:73;;;::::0;-1:-1:-1;;;33606:73:0;;5262:2:1;33606:73:0::1;::::0;::::1;5244:21:1::0;5301:2;5281:18;;;5274:30;5340:34;5320:18;;;5313:62;-1:-1:-1;;;5391:18:1;;;5384:36;5437:19;;33606:73:0::1;5060:402:1::0;33606:73:0::1;33690:28;33709:8;33690:18;:28::i;44955:380::-:0;-1:-1:-1;;;;;45091:19:0;;45083:68;;;;-1:-1:-1;;;45083:68:0;;5669:2:1;45083:68:0;;;5651:21:1;5708:2;5688:18;;;5681:30;5747:34;5727:18;;;5720:62;-1:-1:-1;;;5798:18:1;;;5791:34;5842:19;;45083:68:0;5467:400:1;45083:68:0;-1:-1:-1;;;;;45170:21:0;;45162:68;;;;-1:-1:-1;;;45162:68:0;;6074:2:1;45162:68:0;;;6056:21:1;6113:2;6093:18;;;6086:30;6152:34;6132:18;;;6125:62;-1:-1:-1;;;6203:18:1;;;6196:32;6245:19;;45162:68:0;5872:398:1;45162:68:0;-1:-1:-1;;;;;45243:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;45295:32;;1342:25:1;;;45295:32:0;;1315:18:1;45295:32:0;;;;;;;;44955:380;;;:::o;45626:453::-;45761:24;45788:25;45798:5;45805:7;45788:9;:25::i;:::-;45761:52;;-1:-1:-1;;45828:16:0;:37;45824:248;;45910:6;45890:16;:26;;45882:68;;;;-1:-1:-1;;;45882:68:0;;6477:2:1;45882:68:0;;;6459:21:1;6516:2;6496:18;;;6489:30;6555:31;6535:18;;;6528:59;6604:18;;45882:68:0;6275:353:1;45882:68:0;45994:51;46003:5;46010:7;46038:6;46019:16;:25;45994:8;:51::i;:::-;45750:329;45626:453;;;:::o;41834:840::-;-1:-1:-1;;;;;41965:18:0;;41957:68;;;;-1:-1:-1;;;41957:68:0;;6835:2:1;41957:68:0;;;6817:21:1;6874:2;6854:18;;;6847:30;6913:34;6893:18;;;6886:62;-1:-1:-1;;;6964:18:1;;;6957:35;7009:19;;41957:68:0;6633:401:1;41957:68:0;-1:-1:-1;;;;;42044:16:0;;42036:64;;;;-1:-1:-1;;;42036:64:0;;7241:2:1;42036:64:0;;;7223:21:1;7280:2;7260:18;;;7253:30;7319:34;7299:18;;;7292:62;-1:-1:-1;;;7370:18:1;;;7363:33;7413:19;;42036:64:0;7039:399:1;42036:64:0;-1:-1:-1;;;;;42186:15:0;;42164:19;42186:15;;;;;;;;;;;42220:21;;;;42212:72;;;;-1:-1:-1;;;42212:72:0;;7645:2:1;42212:72:0;;;7627:21:1;7684:2;7664:18;;;7657:30;7723:34;7703:18;;;7696:62;-1:-1:-1;;;7774:18:1;;;7767:36;7820:19;;42212:72:0;7443:402:1;42212:72:0;-1:-1:-1;;;;;42320:15:0;;;:9;:15;;;;;;;;;;;42338:20;;;42320:38;;42538:13;;;;;;;;;;:23;;;;;;42590:26;;1342:25:1;;;42538:13:0;;42590:26;;1315:18:1;42590:26:0;;;;;;;42629:37;43842:675;32784:132;32692:6;;-1:-1:-1;;;;;32692:6:0;;;;;16029:10;32848:23;32840:68;;;;-1:-1:-1;;;32840:68:0;;8052:2:1;32840:68:0;;;8034:21:1;;;8071:18;;;8064:30;8130:34;8110:18;;;8103:62;8182:18;;32840:68:0;7850:356:1;31200:120:0;30209:16;:14;:16::i;:::-;31259:7:::1;:15:::0;;-1:-1:-1;;31259:15:0::1;::::0;;31290:22:::1;16029:10:::0;31299:12:::1;31290:22;::::0;-1:-1:-1;;;;;1875:32:1;;;1857:51;;1845:2;1830:18;31290:22:0::1;;;;;;;31200:120::o:0;43842:675::-;-1:-1:-1;;;;;43926:21:0;;43918:67;;;;-1:-1:-1;;;43918:67:0;;8413:2:1;43918:67:0;;;8395:21:1;8452:2;8432:18;;;8425:30;8491:34;8471:18;;;8464:62;-1:-1:-1;;;8542:18:1;;;8535:31;8583:19;;43918:67:0;8211:397:1;43918:67:0;-1:-1:-1;;;;;44085:18:0;;44060:22;44085:18;;;;;;;;;;;44122:24;;;;44114:71;;;;-1:-1:-1;;;44114:71:0;;8815:2:1;44114:71:0;;;8797:21:1;8854:2;8834:18;;;8827:30;8893:34;8873:18;;;8866:62;-1:-1:-1;;;8944:18:1;;;8937:32;8986:19;;44114:71:0;8613:398:1;44114:71:0;-1:-1:-1;;;;;44221:18:0;;:9;:18;;;;;;;;;;;44242:23;;;44221:44;;44360:12;:22;;;;;;;44411:37;1342:25:1;;;44221:9:0;;:18;44411:37;;1315:18:1;44411:37:0;1196:177:1;30504:108:0;30416:7;;;;30574:9;30566:38;;;;-1:-1:-1;;;30566:38:0;;9218:2:1;30566:38:0;;;9200:21:1;9257:2;9237:18;;;9230:30;-1:-1:-1;;;9276:18:1;;;9269:46;9332:18;;30566:38:0;9016:340:1;49332:299:0;49500:43;;;;;;;9546:19:1;;;49525:10:0;9603:2:1;9599:15;-1:-1:-1;;9595:53:1;9581:12;;;9574:75;9665:12;;;;9658:28;;;49500:43:0;;;;;;;;;;9702:12:1;;;49500:43:0;;;49482:68;;;;;;;;;49576:49;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;49482:68:0;49576:49;;49621:3;;;;;;49576:49;49621:3;;;;49576:49;;;;;;;;;-1:-1:-1;49576:36:0;;-1:-1:-1;49576:11:0;;-1:-1:-1;49576:34:0;;-1:-1:-1;49576:36:0:i;:::-;:44;;:49::i;:::-;49564:8;;-1:-1:-1;;;;;49564:61:0;;;:8;;:61;;49332:299;-1:-1:-1;;;;;;49332:299:0:o;42961:548::-;-1:-1:-1;;;;;43045:21:0;;43037:65;;;;-1:-1:-1;;;43037:65:0;;9927:2:1;43037:65:0;;;9909:21:1;9966:2;9946:18;;;9939:30;10005:33;9985:18;;;9978:61;10056:18;;43037:65:0;9725:355:1;43037:65:0;43193:6;43177:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;43348:18:0;;:9;:18;;;;;;;;;;;:28;;;;;;43403:37;1342:25:1;;;43403:37:0;;1315:18:1;43403:37:0;;;;;;;42961:548;;:::o;33886:191::-;33979:6;;;-1:-1:-1;;;;;33996:17:0;;;33979:6;33996:17;;;-1:-1:-1;;;;;;33996:17:0;;;;;;34029:40;;33979:6;;;;;;;;34029:40;;33960:16;;34029:40;33949:128;33886:191;:::o;30941:118::-;29950:19;:17;:19::i;:::-;31001:7:::1;:14:::0;;-1:-1:-1;;31001:14:0::1;31011:4;31001:14;::::0;;31031:20:::1;31038:12;16029:10:::0;;15949:98;30689:108;30416:7;;;;30748:41;;;;-1:-1:-1;;;30748:41:0;;10287:2:1;30748:41:0;;;10269:21:1;10326:2;10306:18;;;10299:30;-1:-1:-1;;;10345:18:1;;;10338:50;10405:18;;30748:41:0;10085:344:1;27308:269:0;27510:58;;10676:66:1;27510:58:0;;;10664:79:1;10759:12;;;10752:28;;;27377:7:0;;10796:12:1;;27510:58:0;;;;;;;;;;;;27500:69;;;;;;27493:76;;27308:269;;;:::o;23618:231::-;23696:7;23717:17;23736:18;23758:27;23769:4;23775:9;23758:10;:27::i;:::-;23716:69;;;;23796:18;23808:5;23796:11;:18::i;:::-;-1:-1:-1;23832:9:0;23618:231;-1:-1:-1;;;23618:231:0:o;22065:747::-;22146:7;22155:12;22184:9;:16;22204:2;22184:22;22180:625;;22528:4;22513:20;;22507:27;22578:4;22563:20;;22557:27;22636:4;22621:20;;22615:27;22223:9;22607:36;22679:25;22690:4;22607:36;22507:27;22557;22679:10;:25::i;:::-;22672:32;;;;;;;;;22180:625;-1:-1:-1;22753:1:0;;-1:-1:-1;22757:35:0;22180:625;22065:747;;;;;:::o;20454:521::-;20532:20;20523:5;:29;;;;;;;;:::i;:::-;;20519:449;;20454:521;:::o;20519:449::-;20630:29;20621:5;:38;;;;;;;;:::i;:::-;;20617:351;;20676:34;;-1:-1:-1;;;20676:34:0;;11153:2:1;20676:34:0;;;11135:21:1;11192:2;11172:18;;;11165:30;11231:26;11211:18;;;11204:54;11275:18;;20676:34:0;10951:348:1;20617:351:0;20741:35;20732:5;:44;;;;;;;;:::i;:::-;;20728:240;;20793:41;;-1:-1:-1;;;20793:41:0;;11506:2:1;20793:41:0;;;11488:21:1;11545:2;11525:18;;;11518:30;11584:33;11564:18;;;11557:61;11635:18;;20793:41:0;11304:355:1;20728:240:0;20865:30;20856:5;:39;;;;;;;;:::i;:::-;;20852:116;;20912:44;;-1:-1:-1;;;20912:44:0;;11866:2:1;20912:44:0;;;11848:21:1;11905:2;11885:18;;;11878:30;11944:34;11924:18;;;11917:62;-1:-1:-1;;;11995:18:1;;;11988:32;12037:19;;20912:44:0;11664:398:1;25070:1520:0;25201:7;;26135:66;26122:79;;26118:163;;;-1:-1:-1;26234:1:0;;-1:-1:-1;26238:30:0;26218:51;;26118:163;26395:24;;;26378:14;26395:24;;;;;;;;;12294:25:1;;;12367:4;12355:17;;12335:18;;;12328:45;;;;12389:18;;;12382:34;;;12432:18;;;12425:34;;;26395:24:0;;12266:19:1;;26395:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26395:24:0;;-1:-1:-1;;26395:24:0;;;-1:-1:-1;;;;;;;26434:20:0;;26430:103;;26487:1;26491:29;26471:50;;;;;;;26430:103;26553:6;-1:-1:-1;26561:20:0;;-1:-1:-1;25070:1520:0;;;;;;;;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;2108:180::-;2167:6;2220:2;2208:9;2199:7;2195:23;2191:32;2188:52;;;2236:1;2233;2226:12;2188:52;-1:-1:-1;2259:23:1;;2108:180;-1:-1:-1;2108:180:1:o;2293:727::-;2381:6;2389;2397;2405;2458:2;2446:9;2437:7;2433:23;2429:32;2426:52;;;2474:1;2471;2464:12;2426:52;2510:9;2497:23;2487:33;;2567:2;2556:9;2552:18;2539:32;2529:42;;2622:2;2611:9;2607:18;2594:32;2645:18;2686:2;2678:6;2675:14;2672:34;;;2702:1;2699;2692:12;2672:34;2740:6;2729:9;2725:22;2715:32;;2785:7;2778:4;2774:2;2770:13;2766:27;2756:55;;2807:1;2804;2797:12;2756:55;2847:2;2834:16;2873:2;2865:6;2862:14;2859:34;;;2889:1;2886;2879:12;2859:34;2934:7;2929:2;2920:6;2916:2;2912:15;2908:24;2905:37;2902:57;;;2955:1;2952;2945:12;2902:57;2293:727;;;;-1:-1:-1;;2986:2:1;2978:11;;-1:-1:-1;;;2293:727:1:o;3025:186::-;3084:6;3137:2;3125:9;3116:7;3112:23;3108:32;3105:52;;;3153:1;3150;3143:12;3105:52;3176:29;3195:9;3176:29;:::i;:::-;3166:39;3025:186;-1:-1:-1;;;3025:186:1:o;3216:260::-;3284:6;3292;3345:2;3333:9;3324:7;3320:23;3316:32;3313:52;;;3361:1;3358;3351:12;3313:52;3384:29;3403:9;3384:29;:::i;:::-;3374:39;;3432:38;3466:2;3455:9;3451:18;3432:38;:::i;:::-;3422:48;;3216:260;;;;;:::o;3481:380::-;3560:1;3556:12;;;;3603;;;3624:61;;3678:4;3670:6;3666:17;3656:27;;3624:61;3731:2;3723:6;3720:14;3700:18;3697:38;3694:161;;3777:10;3772:3;3768:20;3765:1;3758:31;3812:4;3809:1;3802:15;3840:4;3837:1;3830:15;3694:161;;3481:380;;;:::o;3866:127::-;3927:10;3922:3;3918:20;3915:1;3908:31;3958:4;3955:1;3948:15;3982:4;3979:1;3972:15;3998:125;4063:9;;;4084:10;;;4081:36;;;4097:18;;:::i;4128:128::-;4195:9;;;4216:11;;;4213:37;;;4230:18;;:::i;4261:135::-;4300:3;4321:17;;;4318:43;;4341:18;;:::i;:::-;-1:-1:-1;4388:1:1;4377:13;;4261:135::o;10819:127::-;10880:10;10875:3;10871:20;10868:1;10861:31;10911:4;10908:1;10901:15;10935:4;10932:1;10925:15

Swarm Source

ipfs://bb6935cf99ff66d138ee8c9d635e69dc79bb794369deaa189e6044935146839d
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.