false
true
0

Contract Address Details

0x4688a8b1F292FDaB17E9a90c8Bc379dC1DBd8713

Token
Cover Protocol Governance Token (COVER)
Creator
0xdd79dc–34f4b0 at 0x5369d8–4766ac
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
36,125 Transactions
Transfers
0 Transfers
Gas Used
1,480,183,455
Last Balance Update
25931571
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been partially verified via Sourcify. View contract in Sourcify repository
Contract name:
COVER




Optimization enabled
true
Compiler version
v0.8.0+commit.c7dfd78e




Optimization runs
200
EVM Version
istanbul




Verified at
2026-03-03T12:59:30.220254Z

Constructor Arguments

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001f436f7665722050726f746f636f6c20476f7665726e616e636520546f6b656e000000000000000000000000000000000000000000000000000000000000000005434f564552000000000000000000000000000000000000000000000000000000

Arg [0] (string) : Cover Protocol Governance Token
Arg [1] (string) : COVER

              

COVER.sol

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

// File contracts/ERC20/IERC20.sol

// SPDX-License-Identifier: No License

pragma solidity ^0.8.0;

/**
 * @title Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    function balanceOf(address account) external view returns (uint256);
    function totalSupply() external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    function increaseAllowance(address spender, uint256 addedValue) external returns (bool);
    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
}


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 guidelines: functions revert instead
 * of 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 IERC20 {

  mapping (address => uint256) private _balances;

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

  uint256 private _totalSupply;

  string public name;
  uint8 public decimals;
  string public symbol;

  constructor (string memory name_, string memory symbol_) {
    name = name_;
    symbol = symbol_;
    decimals = 18;
  }

  function balanceOf(address account) external view override returns (uint256) {
    return _balances[account];
  }

  function totalSupply() external view override returns (uint256) {
    return _totalSupply;
  }

  function transfer(address recipient, uint256 amount) external virtual override returns (bool) {
    _transfer(msg.sender, recipient, amount);
    return true;
  }

  function allowance(address owner, address spender) external view virtual override returns (uint256) {
    return _allowances[owner][spender];
  }

  function approve(address spender, uint256 amount) external virtual override returns (bool) {
    _approve(msg.sender, spender, amount);
    return true;
  }

  function transferFrom(address sender, address recipient, uint256 amount)
    external virtual override returns (bool)
  {
    _transfer(sender, recipient, amount);
    _approve(sender, msg.sender, _allowances[sender][msg.sender] - amount);
    return true;
  }

  function increaseAllowance(address spender, uint256 addedValue) public virtual override returns (bool) {
    _approve(msg.sender, spender, _allowances[msg.sender][spender] + addedValue);
    return true;
  }

  function decreaseAllowance(address spender, uint256 subtractedValue) public virtual override returns (bool) {
    _approve(msg.sender, spender, _allowances[msg.sender][spender] - subtractedValue);
    return true;
  }

  function _mint(address _account, uint256 _amount) internal virtual {
    require(_account != address(0), "ERC20: mint to the zero address");

    _totalSupply = _totalSupply + _amount;
    _balances[_account] = _balances[_account] + _amount;
    emit Transfer(address(0), _account, _amount);
  }

  function _approve(address owner, address spender, uint256 amount) internal {
    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);
  }

  function _transfer(address sender, address recipient, uint256 amount) internal {
    require(sender != address(0), "ERC20: transfer from the zero address");
    require(recipient != address(0), "ERC20: transfer to the zero address");

    _balances[sender] = _balances[sender] - amount;
    _balances[recipient] = _balances[recipient] + amount;
    emit Transfer(sender, recipient, amount);
  }

  function _burn(address account, uint256 amount) internal {
    require(account != address(0), "ERC20: burn from the zero address");

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


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 `amount` 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 amount, 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);
}

/**
 * @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 {
    /**
     * @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) {
        // Check the signature length
        if (signature.length != 65) {
            revert("ECDSA: invalid signature length");
        }

        // Divide the signature in r, s and v variables
        bytes32 r;
        bytes32 s;
        uint8 v;

        // ecrecover takes the signature parameters, and the only way to get them
        // currently is to use assembly.
        // solhint-disable-next-line no-inline-assembly
        assembly {
            r := mload(add(signature, 0x20))
            s := mload(add(signature, 0x40))
            v := byte(0, mload(add(signature, 0x60)))
        }

        return recover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover-bytes32-bytes-} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        // 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 (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): 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.
        require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
        require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        require(signer != address(0), "ECDSA: invalid signature");

        return signer;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * replicates the behavior of the
     * https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign[`eth_sign`]
     * JSON-RPC method.
     *
     * 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));
    }
}

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].
 *
 */
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;

    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 = _getChainId();
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _TYPE_HASH = typeHash;
    }

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

    function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
        return keccak256(
            abi.encode(
                typeHash,
                name,
                version,
                _getChainId(),
                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 returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", _domainSeparatorV4(), structHash));
    }

    function _getChainId() private view returns (uint256 chainId) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        // solhint-disable-next-line no-inline-assembly
        assembly {
            chainId := chainid()
        }
    }
}

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

    mapping (address => uint256) private _nonces;

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

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

    /**
     * @dev See {IERC20Permit-permit}.
     */
    function permit(address owner, address spender, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
        // solhint-disable-next-line not-rely-on-time
        require(block.timestamp <= deadline, "ERC20Permit: expired deadline");

        bytes32 structHash = keccak256(
            abi.encode(
                _PERMIT_TYPEHASH,
                owner,
                spender,
                amount,
                _nonces[owner],
                deadline
            )
        );

        bytes32 hash = _hashTypedDataV4(structHash);

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

        _nonces[owner]++;
        _approve(owner, spender, amount);
    }

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

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


/**
 * @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.
 * @author crypto-pumpkin@github
 *
 * By initialization, the owner account will be the one that called initializeOwner. 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.
 */
contract Ownable {
    address private _owner;

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

    /**
     * @dev COVER: Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        _owner = msg.sender;
        emit OwnershipTransferred(address(0), _owner);
    }

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

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

    /**
     * @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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}


/**
 * @title Cover Protocol Governance Token contract
 * @author crypto-pumpkin
 */
contract COVER is ERC20Permit, Ownable {

  address public distributor; // cover distributor

  constructor (
    string memory _name,
    string memory _symbol
  ) ERC20(_name, _symbol) ERC20Permit(_name) {
  }

  function mint(address _account, uint256 _amount) public {
    require(msg.sender == distributor, "COVER: caller not distributor");
    _mint(_account, _amount);
  }

  function setDistributor(address _distributor) external onlyOwner {
    distributor = _distributor;
  }
}
        

Compiler Settings

{"remappings":[],"optimizer":{"runs":200,"enabled":true},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"istanbul","compilationTarget":{"COVER.sol":"COVER"}}
              

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_symbol","internalType":"string"}]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"DOMAIN_SEPARATOR","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"distributor","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"_account","internalType":"address"},{"type":"uint256","name":"_amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"nonces","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"permit","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"},{"type":"uint256","name":"deadline","internalType":"uint256"},{"type":"uint8","name":"v","internalType":"uint8"},{"type":"bytes32","name":"r","internalType":"bytes32"},{"type":"bytes32","name":"s","internalType":"bytes32"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setDistributor","inputs":[{"type":"address","name":"_distributor","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
              

Contract Creation Code

Verify & Publish
0x6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b506040516200162b3803806200162b8339810160408190526200005a9162000309565b8180604051806040016040528060018152602001603160f81b8152508484816003908051906020019062000090929190620001b8565b508051620000a6906005906020840190620001b8565b50506004805460ff1916601217905550815160208084019190912082519183019190912060c082905260e08190527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620000ff6200016f565b60a0526200010f81848462000173565b608052610100525050600780546001600160a01b0319163317908190556040516001600160a01b03919091169350600092507f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091508290a35050620003ef565b4690565b6000838383620001826200016f565b306040516020016200019995949392919062000370565b6040516020818303038152906040528051906020012090509392505050565b828054620001c6906200039c565b90600052602060002090601f016020900481019282620001ea576000855562000235565b82601f106200020557805160ff191683800117855562000235565b8280016001018555821562000235579182015b828111156200023557825182559160200191906001019062000218565b506200024392915062000247565b5090565b5b8082111562000243576000815560010162000248565b600082601f8301126200026f578081fd5b81516001600160401b03808211156200028c576200028c620003d9565b6040516020601f8401601f1916820181018381118382101715620002b457620002b4620003d9565b6040528382528584018101871015620002cb578485fd5b8492505b83831015620002ee5785830181015182840182015291820191620002cf565b83831115620002ff57848185840101525b5095945050505050565b600080604083850312156200031c578182fd5b82516001600160401b038082111562000333578384fd5b62000341868387016200025e565b9350602085015191508082111562000357578283fd5b5062000366858286016200025e565b9150509250929050565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b600281046001821680620003b157607f821691505b60208210811415620003d357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160e05161010051610120516111ec6200043f6000396000610554015260006109030152600061094501526000610924015260006108aa015260006108da01526111ec6000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806375619ab5116100ad578063a9059cbb11610071578063a9059cbb1461023a578063bfe109281461024d578063d505accf14610255578063dd62ed3e14610268578063f2fde38b1461027b57610121565b806375619ab5146101e45780637ecebe00146101f75780638da5cb5b1461020a57806395d89b411461021f578063a457c2d71461022757610121565b8063313ce567116100f4578063313ce5671461018c5780633644e515146101a157806339509351146101a957806340c10f19146101bc57806370a08231146101d157610121565b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016457806323b872dd14610179575b600080fd5b61012e61028e565b60405161013b9190610d9a565b60405180910390f35b610157610152366004610cb0565b61031c565b60405161013b9190610d08565b61016c610332565b60405161013b9190610d13565b610157610187366004610c04565b610339565b61019461038b565b60405161013b919061110d565b61016c610394565b6101576101b7366004610cb0565b6103a3565b6101cf6101ca366004610cb0565b6103da565b005b61016c6101df366004610bb1565b61041b565b6101cf6101f2366004610bb1565b61043a565b61016c610205366004610bb1565b610486565b6102126104a1565b60405161013b9190610cf4565b61012e6104b0565b610157610235366004610cb0565b6104bd565b610157610248366004610cb0565b6104f4565b610212610501565b6101cf610263366004610c3f565b610510565b61016c610276366004610bd2565b610629565b6101cf610289366004610bb1565b610654565b6003805461029b9061114a565b80601f01602080910402602001604051908101604052809291908181526020018280546102c79061114a565b80156103145780601f106102e957610100808354040283529160200191610314565b820191906000526020600020905b8154815290600101906020018083116102f757829003601f168201915b505050505081565b6000610329338484610700565b50600192915050565b6002545b90565b60006103468484846107b4565b6001600160a01b03841660009081526001602090815260408083203380855292529091205461038191869161037c908690611133565b610700565b5060019392505050565b60045460ff1681565b600061039e6108a6565b905090565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161032991859061037c90869061111b565b6008546001600160a01b0316331461040d5760405162461bcd60e51b81526004016104049061109f565b60405180910390fd5b6104178282610970565b5050565b6001600160a01b0381166000908152602081905260409020545b919050565b6007546001600160a01b031633146104645760405162461bcd60e51b815260040161040490610fe1565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526006602052604090205490565b6007546001600160a01b031690565b6005805461029b9061114a565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161032991859061037c908690611133565b60006103293384846107b4565b6008546001600160a01b031681565b834211156105305760405162461bcd60e51b815260040161040490610eef565b6001600160a01b0387166000908152600660209081526040808320549051610583927f0000000000000000000000000000000000000000000000000000000000000000928c928c928c92918c9101610d1c565b60405160208183030381529060405280519060200120905060006105a682610a26565b905060006105b682878787610a5f565b9050896001600160a01b0316816001600160a01b0316146105e95760405162461bcd60e51b815260040161040490610faa565b6001600160a01b038a16600090815260066020526040812080549161060d83611185565b919050555061061d8a8a8a610700565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6007546001600160a01b0316331461067e5760405162461bcd60e51b815260040161040490610fe1565b6001600160a01b0381166106a45760405162461bcd60e51b815260040161040490610e67565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107265760405162461bcd60e51b81526004016104049061105b565b6001600160a01b03821661074c5760405162461bcd60e51b815260040161040490610ead565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107a7908590610d13565b60405180910390a3505050565b6001600160a01b0383166107da5760405162461bcd60e51b815260040161040490611016565b6001600160a01b0382166108005760405162461bcd60e51b815260040161040490610e24565b6001600160a01b038316600090815260208190526040902054610824908290611133565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461085490829061111b565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107a7908590610d13565b60007f00000000000000000000000000000000000000000000000000000000000000006108d1610b55565b14156108fe57507f0000000000000000000000000000000000000000000000000000000000000000610336565b6109697f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000610b59565b9050610336565b6001600160a01b0382166109965760405162461bcd60e51b8152600401610404906110d6565b806002546109a4919061111b565b6002556001600160a01b0382166000908152602081905260409020546109cb90829061111b565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a1a908590610d13565b60405180910390a35050565b6000610a306108a6565b82604051602001610a42929190610cd9565b604051602081830303815290604052805190602001209050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115610aa15760405162461bcd60e51b815260040161040490610f26565b8360ff16601b1480610ab657508360ff16601c145b610ad25760405162461bcd60e51b815260040161040490610f68565b600060018686868660405160008152602001604052604051610af79493929190610d7c565b6020604051602081039080840390855afa158015610b19573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610b4c5760405162461bcd60e51b815260040161040490610ded565b95945050505050565b4690565b6000838383610b66610b55565b30604051602001610b7b959493929190610d50565b6040516020818303038152906040528051906020012090509392505050565b80356001600160a01b038116811461043557600080fd5b600060208284031215610bc2578081fd5b610bcb82610b9a565b9392505050565b60008060408385031215610be4578081fd5b610bed83610b9a565b9150610bfb60208401610b9a565b90509250929050565b600080600060608486031215610c18578081fd5b610c2184610b9a565b9250610c2f60208501610b9a565b9150604084013590509250925092565b600080600080600080600060e0888a031215610c59578283fd5b610c6288610b9a565b9650610c7060208901610b9a565b95506040880135945060608801359350608088013560ff81168114610c93578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610cc2578182fd5b610ccb83610b9a565b946020939093013593505050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015610dc657858101830151858201604001528201610daa565b81811115610dd75783604083870101525b50601f01601f1916929092016040019392505050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332305065726d69743a206578706972656420646561646c696e65000000604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252601e908201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601d908201527f434f5645523a2063616c6c6572206e6f74206469737472696275746f72000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b60ff91909116815260200190565b6000821982111561112e5761112e6111a0565b500190565b600082821015611145576111456111a0565b500390565b60028104600182168061115e57607f821691505b6020821081141561117f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611199576111996111a0565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212208177b45069a4bb283e982c622275a50eb292e56077be8eddc8149be165b2bedb64736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000001f436f7665722050726f746f636f6c20476f7665726e616e636520546f6b656e000000000000000000000000000000000000000000000000000000000000000005434f564552000000000000000000000000000000000000000000000000000000

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c806375619ab5116100ad578063a9059cbb11610071578063a9059cbb1461023a578063bfe109281461024d578063d505accf14610255578063dd62ed3e14610268578063f2fde38b1461027b57610121565b806375619ab5146101e45780637ecebe00146101f75780638da5cb5b1461020a57806395d89b411461021f578063a457c2d71461022757610121565b8063313ce567116100f4578063313ce5671461018c5780633644e515146101a157806339509351146101a957806340c10f19146101bc57806370a08231146101d157610121565b806306fdde0314610126578063095ea7b31461014457806318160ddd1461016457806323b872dd14610179575b600080fd5b61012e61028e565b60405161013b9190610d9a565b60405180910390f35b610157610152366004610cb0565b61031c565b60405161013b9190610d08565b61016c610332565b60405161013b9190610d13565b610157610187366004610c04565b610339565b61019461038b565b60405161013b919061110d565b61016c610394565b6101576101b7366004610cb0565b6103a3565b6101cf6101ca366004610cb0565b6103da565b005b61016c6101df366004610bb1565b61041b565b6101cf6101f2366004610bb1565b61043a565b61016c610205366004610bb1565b610486565b6102126104a1565b60405161013b9190610cf4565b61012e6104b0565b610157610235366004610cb0565b6104bd565b610157610248366004610cb0565b6104f4565b610212610501565b6101cf610263366004610c3f565b610510565b61016c610276366004610bd2565b610629565b6101cf610289366004610bb1565b610654565b6003805461029b9061114a565b80601f01602080910402602001604051908101604052809291908181526020018280546102c79061114a565b80156103145780601f106102e957610100808354040283529160200191610314565b820191906000526020600020905b8154815290600101906020018083116102f757829003601f168201915b505050505081565b6000610329338484610700565b50600192915050565b6002545b90565b60006103468484846107b4565b6001600160a01b03841660009081526001602090815260408083203380855292529091205461038191869161037c908690611133565b610700565b5060019392505050565b60045460ff1681565b600061039e6108a6565b905090565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161032991859061037c90869061111b565b6008546001600160a01b0316331461040d5760405162461bcd60e51b81526004016104049061109f565b60405180910390fd5b6104178282610970565b5050565b6001600160a01b0381166000908152602081905260409020545b919050565b6007546001600160a01b031633146104645760405162461bcd60e51b815260040161040490610fe1565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526006602052604090205490565b6007546001600160a01b031690565b6005805461029b9061114a565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161032991859061037c908690611133565b60006103293384846107b4565b6008546001600160a01b031681565b834211156105305760405162461bcd60e51b815260040161040490610eef565b6001600160a01b0387166000908152600660209081526040808320549051610583927f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9928c928c928c92918c9101610d1c565b60405160208183030381529060405280519060200120905060006105a682610a26565b905060006105b682878787610a5f565b9050896001600160a01b0316816001600160a01b0316146105e95760405162461bcd60e51b815260040161040490610faa565b6001600160a01b038a16600090815260066020526040812080549161060d83611185565b919050555061061d8a8a8a610700565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6007546001600160a01b0316331461067e5760405162461bcd60e51b815260040161040490610fe1565b6001600160a01b0381166106a45760405162461bcd60e51b815260040161040490610e67565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166107265760405162461bcd60e51b81526004016104049061105b565b6001600160a01b03821661074c5760405162461bcd60e51b815260040161040490610ead565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906107a7908590610d13565b60405180910390a3505050565b6001600160a01b0383166107da5760405162461bcd60e51b815260040161040490611016565b6001600160a01b0382166108005760405162461bcd60e51b815260040161040490610e24565b6001600160a01b038316600090815260208190526040902054610824908290611133565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461085490829061111b565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906107a7908590610d13565b60007f00000000000000000000000000000000000000000000000000000000000000016108d1610b55565b14156108fe57507f7e876bc52a178a59a7c85f7d258e331be2a2f82627cefe5b877d2d3de362996d610336565b6109697f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7f918612b029cef754877b481f232730afd2d54c729da473a4f0c86d93c8b3a0d37fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6610b59565b9050610336565b6001600160a01b0382166109965760405162461bcd60e51b8152600401610404906110d6565b806002546109a4919061111b565b6002556001600160a01b0382166000908152602081905260409020546109cb90829061111b565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610a1a908590610d13565b60405180910390a35050565b6000610a306108a6565b82604051602001610a42929190610cd9565b604051602081830303815290604052805190602001209050919050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115610aa15760405162461bcd60e51b815260040161040490610f26565b8360ff16601b1480610ab657508360ff16601c145b610ad25760405162461bcd60e51b815260040161040490610f68565b600060018686868660405160008152602001604052604051610af79493929190610d7c565b6020604051602081039080840390855afa158015610b19573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610b4c5760405162461bcd60e51b815260040161040490610ded565b95945050505050565b4690565b6000838383610b66610b55565b30604051602001610b7b959493929190610d50565b6040516020818303038152906040528051906020012090509392505050565b80356001600160a01b038116811461043557600080fd5b600060208284031215610bc2578081fd5b610bcb82610b9a565b9392505050565b60008060408385031215610be4578081fd5b610bed83610b9a565b9150610bfb60208401610b9a565b90509250929050565b600080600060608486031215610c18578081fd5b610c2184610b9a565b9250610c2f60208501610b9a565b9150604084013590509250925092565b600080600080600080600060e0888a031215610c59578283fd5b610c6288610b9a565b9650610c7060208901610b9a565b95506040880135945060608801359350608088013560ff81168114610c93578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610cc2578182fd5b610ccb83610b9a565b946020939093013593505050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015610dc657858101830151858201604001528201610daa565b81811115610dd75783604083870101525b50601f01601f1916929092016040019392505050565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601d908201527f45524332305065726d69743a206578706972656420646561646c696e65000000604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252601e908201527f45524332305065726d69743a20696e76616c6964207369676e61747572650000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601d908201527f434f5645523a2063616c6c6572206e6f74206469737472696275746f72000000604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b60ff91909116815260200190565b6000821982111561112e5761112e6111a0565b500190565b600082821015611145576111456111a0565b500390565b60028104600182168061115e57607f821691505b6020821081141561117f57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611199576111996111a0565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212208177b45069a4bb283e982c622275a50eb292e56077be8eddc8149be165b2bedb64736f6c63430008000033