ETH Price: $3,308.79 (-3.65%)
Gas: 14 Gwei

Contract

0x99394F6193C749674fF442763C6cdB27f0aa1d9c
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Claim198727572024-05-15 3:41:3549 days ago1715744495IN
0x99394F61...7f0aa1d9c
0 ETH0.000549126.15226527
Approve195542422024-03-31 13:42:5994 days ago1711892579IN
0x99394F61...7f0aa1d9c
0 ETH0.0005135221.10590192
Approve189106552024-01-01 5:56:47184 days ago1704088607IN
0x99394F61...7f0aa1d9c
0 ETH0.0002573910.57894842
Claim187237372023-12-06 0:32:11210 days ago1701822731IN
0x99394F61...7f0aa1d9c
0 ETH0.0051950357.64640512
Approve181806122023-09-21 0:14:11286 days ago1695255251IN
0x99394F61...7f0aa1d9c
0 ETH0.0002669510.97185911
Approve180316412023-08-31 2:42:35307 days ago1693449755IN
0x99394F61...7f0aa1d9c
0 ETH0.0003221313.23963346
Approve178493742023-08-05 14:30:23333 days ago1691245823IN
0x99394F61...7f0aa1d9c
0 ETH0.0004578818.81889962
Transfer177446742023-07-21 23:03:47347 days ago1689980627IN
0x99394F61...7f0aa1d9c
0 ETH0.0008319224.11726605
Transfer173457932023-05-26 20:58:23403 days ago1685134703IN
0x99394F61...7f0aa1d9c
0 ETH0.0017125936.58850184
Claim172487222023-05-13 4:33:35417 days ago1683952415IN
0x99394F61...7f0aa1d9c
0 ETH0.0035015639.21210693
Transfer171190122023-04-24 22:07:35435 days ago1682374055IN
0x99394F61...7f0aa1d9c
0 ETH0.0013524139.23334572
Transfer169438492023-03-31 1:14:35460 days ago1680225275IN
0x99394F61...7f0aa1d9c
0 ETH0.0008309424.10574509
Claim169020732023-03-25 4:21:35466 days ago1679718095IN
0x99394F61...7f0aa1d9c
0 ETH0.0013643518.8973459
Transfer168843232023-03-22 16:29:47468 days ago1679502587IN
0x99394F61...7f0aa1d9c
0 ETH0.0012402226.51685981
Transfer168294882023-03-14 23:35:35476 days ago1678836935IN
0x99394F61...7f0aa1d9c
0 ETH0.0009217626.74025655
Transfer168186082023-03-13 10:54:47478 days ago1678704887IN
0x99394F61...7f0aa1d9c
0 ETH0.0006813419.7656781
Transfer168170022023-03-13 5:31:23478 days ago1678685483IN
0x99394F61...7f0aa1d9c
0 ETH0.0005880117.05830392
Transfer168071702023-03-11 20:20:35479 days ago1678566035IN
0x99394F61...7f0aa1d9c
0 ETH0.0012824737.2174037
Transfer168069632023-03-11 19:38:23479 days ago1678563503IN
0x99394F61...7f0aa1d9c
0 ETH0.0013501539.18138302
Transfer168069502023-03-11 19:35:47479 days ago1678563347IN
0x99394F61...7f0aa1d9c
0 ETH0.001329338.57634909
Transfer168062462023-03-11 17:13:11479 days ago1678554791IN
0x99394F61...7f0aa1d9c
0 ETH0.0026063150.53840644
Transfer167992072023-03-10 17:28:11480 days ago1678469291IN
0x99394F61...7f0aa1d9c
0 ETH0.0012260935.5687818
Transfer167876882023-03-09 2:29:11482 days ago1678328951IN
0x99394F61...7f0aa1d9c
0 ETH0.0015089943.77582753
Transfer167507202023-03-03 21:44:11487 days ago1677879851IN
0x99394F61...7f0aa1d9c
0 ETH0.0008552524.81090051
Transfer167387092023-03-02 5:07:59489 days ago1677733679IN
0x99394F61...7f0aa1d9c
0 ETH0.0006692419.41469164
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CROAK

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 7 : Croak.sol
// SPDX-License-Identifier: MIT LICENSE
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import { MerkleProof } from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/// @title $CROAK
/// @author @ryeshrimp

contract CROAK is ERC20, Ownable {

  /// @notice a mapping from an address to whether or not it can mint / burn
  mapping(address => bool) controllers;

  /// @notice Mapping of addresses who have claimed tokens
  mapping(address => bool) public hasClaimed;
  bytes32 public merkleRoot;
  bool claimPaused;
  
  constructor(bytes32 _merkleRoot) ERC20("Croakens", "CROAK") {
    controllers[msg.sender] = true;
    merkleRoot = _merkleRoot;
  }

  /// @notice mints $CROAK to a recipient
  /// @param to the recipient of the $CROAK
  /// @param amount the amount of $CROAK to mint
  function mint(address to, uint256 amount) external {
    require(controllers[msg.sender], "Only controllers can mint");
    _mint(to, amount);
  }

  /// @notice burns $CROAK from a holder
  /// @param from the holder of the $CROAK
  /// @param amount the amount of $CROAK to burn
  function burn(address from, uint256 amount) external {
    require(controllers[msg.sender], "Only controllers can burn");
    _burn(from, amount);
  }

  /// @notice Allows claiming tokens if address is part of merkle tree
  /// @param to address of claimee
  /// @param amount of tokens owed to claimee
  /// @param proof merkle proof to prove address and amount are in tree
  function claim(address to, uint256 amount, bytes32[] calldata proof) external {
    require(claimPaused == false, "Claim is paused");

    // Throw if address has already claimed tokens
    if (hasClaimed[to]) revert("Already claimed");

    // Verify merkle proof, or revert if not in tree
    bytes32 leaf = keccak256(abi.encodePacked(to, amount));
    bool isValidLeaf = MerkleProof.verify(proof, merkleRoot, leaf);
    if (!isValidLeaf) revert("Claim not found");

    // Set address to claimed
    hasClaimed[to] = true;

    // Mint tokens to address
    _mint(to, amount);

    // Emit claim event
    emit Claim(to, amount);
  }


  /// @notice Adds an address from controller
  /// @dev This is used for contracts to burn/mint
  function addController(address controller) external onlyOwner {
    controllers[controller] = true;
  }

  /// @notice Removes an address from controller
  /// @dev This is used for contracts to burn/mint
  function removeController(address controller) external onlyOwner {
    controllers[controller] = false;
  }

  /// @notice Sets the merkel root for token claim
  function setRoot(bytes32 _merkleRoot) public onlyOwner {
    merkleRoot = _merkleRoot;
  }

  /// @notice Sets the ability to pause the initial snapshot cliam of token
  /// @param _value true or false
  function setClaimPause(bool _value) public onlyOwner {
    claimPaused = _value;
  }


  /// @notice Emitted after a successful token claim
  /// @param to recipient of claim
  /// @param amount of tokens claimed
  event Claim(address indexed to, uint256 amount);

}

File 2 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 3 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 7 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 5 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 6 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 7 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: 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);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"addController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"controller","type":"address"}],"name":"removeController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_value","type":"bool"}],"name":"setClaimPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setRoot","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"}]

60806040523480156200001157600080fd5b50604051620017a3380380620017a38339810160408190526200003491620001d3565b604080518082018252600881526743726f616b656e7360c01b60208083019182528351808501909452600584526443524f414b60d81b90840152815191929162000081916003916200012d565b508051620000979060049060208401906200012d565b505050620000b4620000ae620000d760201b60201c565b620000db565b336000908152600660205260409020805460ff1916600117905560085562000229565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200013b90620001ec565b90600052602060002090601f0160209004810192826200015f5760008555620001aa565b82601f106200017a57805160ff1916838001178555620001aa565b82800160010185558215620001aa579182015b82811115620001aa5782518255916020019190600101906200018d565b50620001b8929150620001bc565b5090565b5b80821115620001b85760008155600101620001bd565b600060208284031215620001e5578081fd5b5051919050565b600181811c908216806200020157607f821691505b602082108114156200022357634e487b7160e01b600052602260045260246000fd5b50919050565b61156a80620002396000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c806373b2e80e116100e3578063a9059cbb1161008c578063e94c377511610066578063e94c37751461035a578063f2fde38b1461036d578063f6a74ed71461038057600080fd5b8063a9059cbb146102fb578063dab5f3401461030e578063dd62ed3e1461032157600080fd5b80639dc29fac116100bd5780639dc29fac146102c2578063a457c2d7146102d5578063a7fc7a07146102e857600080fd5b806373b2e80e1461027c5780638da5cb5b1461029f57806395d89b41146102ba57600080fd5b8063313ce5671161014557806340c10f191161011f57806340c10f191461023857806370a082311461024b578063715018a61461027457600080fd5b8063313ce5671461020157806339509351146102105780633d13f8741461022357600080fd5b806318160ddd1161017657806318160ddd146101d357806323b872dd146101e55780632eb4a7ab146101f857600080fd5b806306fdde0314610192578063095ea7b3146101b0575b600080fd5b61019a610393565b6040516101a79190611446565b60405180910390f35b6101c36101be366004611360565b610425565b60405190151581526020016101a7565b6002545b6040519081526020016101a7565b6101c36101f3366004611325565b61043d565b6101d760085481565b604051601281526020016101a7565b6101c361021e366004611360565b610461565b610236610231366004611389565b6104a0565b005b610236610246366004611360565b6106ac565b6101d76102593660046112d2565b6001600160a01b031660009081526020819052604090205490565b610236610719565b6101c361028a3660046112d2565b60076020526000908152604090205460ff1681565b6005546040516001600160a01b0390911681526020016101a7565b61019a61077f565b6102366102d0366004611360565b61078e565b6101c36102e3366004611360565b6107f7565b6102366102f63660046112d2565b6108a1565b6101c3610309366004611360565b61091f565b61023661031c36600461142e565b61092d565b6101d761032f3660046112f3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61023661036836600461140e565b61098c565b61023661037b3660046112d2565b6109f9565b61023661038e3660046112d2565b610adb565b6060600380546103a2906114c8565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce906114c8565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b600033610433818585610b56565b5060019392505050565b60003361044b858285610caf565b610456858585610d41565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610433908290869061049b908790611499565b610b56565b60095460ff16156104f85760405162461bcd60e51b815260206004820152600f60248201527f436c61696d20697320706175736564000000000000000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03841660009081526007602052604090205460ff16156105615760405162461bcd60e51b815260206004820152600f60248201527f416c726561647920636c61696d6564000000000000000000000000000000000060448201526064016104ef565b6040516bffffffffffffffffffffffff19606086901b1660208201526034810184905260009060540160405160208183030381529060405280519060200120905060006105e5848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506008549150859050610f58565b9050806106345760405162461bcd60e51b815260206004820152600f60248201527f436c61696d206e6f7420666f756e64000000000000000000000000000000000060448201526064016104ef565b6001600160a01b0386166000908152600760205260409020805460ff191660011790556106618686610f6e565b856001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d48660405161069c91815260200190565b60405180910390a2505050505050565b3360009081526006602052604090205460ff1661070b5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920636f6e74726f6c6c6572732063616e206d696e740000000000000060448201526064016104ef565b6107158282610f6e565b5050565b6005546001600160a01b031633146107735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b61077d600061104d565b565b6060600480546103a2906114c8565b3360009081526006602052604090205460ff166107ed5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920636f6e74726f6c6c6572732063616e206275726e0000000000000060448201526064016104ef565b61071582826110b7565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156108945760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104ef565b6104568286868403610b56565b6005546001600160a01b031633146108fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b600033610433818585610d41565b6005546001600160a01b031633146109875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b600855565b6005546001600160a01b031633146109e65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b6009805460ff1916911515919091179055565b6005546001600160a01b03163314610a535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b6001600160a01b038116610acf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104ef565b610ad88161104d565b50565b6005546001600160a01b03163314610b355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6001600160a01b038316610bd15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b038216610c4d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610d3b5781811015610d2e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104ef565b610d3b8484848403610b56565b50505050565b6001600160a01b038316610dbd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b038216610e395760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b03831660009081526020819052604090205481811015610ec85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610eff908490611499565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f4b91815260200190565b60405180910390a3610d3b565b600082610f658584611234565b14949350505050565b6001600160a01b038216610fc45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104ef565b8060026000828254610fd69190611499565b90915550506001600160a01b03821660009081526020819052604081208054839290611003908490611499565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166111335760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b038216600090815260208190526040902054818110156111c25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b03831660009081526020819052604081208383039055600280548492906111f19084906114b1565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ca2565b600081815b84518110156112ae57600085828151811061126457634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161128a576000838152602082905260409020925061129b565b600081815260208490526040902092505b50806112a681611503565b915050611239565b509392505050565b80356001600160a01b03811681146112cd57600080fd5b919050565b6000602082840312156112e3578081fd5b6112ec826112b6565b9392505050565b60008060408385031215611305578081fd5b61130e836112b6565b915061131c602084016112b6565b90509250929050565b600080600060608486031215611339578081fd5b611342846112b6565b9250611350602085016112b6565b9150604084013590509250925092565b60008060408385031215611372578182fd5b61137b836112b6565b946020939093013593505050565b6000806000806060858703121561139e578081fd5b6113a7856112b6565b935060208501359250604085013567ffffffffffffffff808211156113ca578283fd5b818701915087601f8301126113dd578283fd5b8135818111156113eb578384fd5b8860208260051b85010111156113ff578384fd5b95989497505060200194505050565b60006020828403121561141f578081fd5b813580151581146112ec578182fd5b60006020828403121561143f578081fd5b5035919050565b6000602080835283518082850152825b8181101561147257858101830151858201604001528201611456565b818111156114835783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156114ac576114ac61151e565b500190565b6000828210156114c3576114c361151e565b500390565b600181811c908216806114dc57607f821691505b602082108114156114fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156115175761151761151e565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220be9acbdb0269536eba05b1428def0fdd7558033f1905ce2b48b317a9a6a1428264736f6c6343000804003311bd586da1ba7edc048fb73039bda40674becca70de86a1402774387d3a24bc4

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018d5760003560e01c806373b2e80e116100e3578063a9059cbb1161008c578063e94c377511610066578063e94c37751461035a578063f2fde38b1461036d578063f6a74ed71461038057600080fd5b8063a9059cbb146102fb578063dab5f3401461030e578063dd62ed3e1461032157600080fd5b80639dc29fac116100bd5780639dc29fac146102c2578063a457c2d7146102d5578063a7fc7a07146102e857600080fd5b806373b2e80e1461027c5780638da5cb5b1461029f57806395d89b41146102ba57600080fd5b8063313ce5671161014557806340c10f191161011f57806340c10f191461023857806370a082311461024b578063715018a61461027457600080fd5b8063313ce5671461020157806339509351146102105780633d13f8741461022357600080fd5b806318160ddd1161017657806318160ddd146101d357806323b872dd146101e55780632eb4a7ab146101f857600080fd5b806306fdde0314610192578063095ea7b3146101b0575b600080fd5b61019a610393565b6040516101a79190611446565b60405180910390f35b6101c36101be366004611360565b610425565b60405190151581526020016101a7565b6002545b6040519081526020016101a7565b6101c36101f3366004611325565b61043d565b6101d760085481565b604051601281526020016101a7565b6101c361021e366004611360565b610461565b610236610231366004611389565b6104a0565b005b610236610246366004611360565b6106ac565b6101d76102593660046112d2565b6001600160a01b031660009081526020819052604090205490565b610236610719565b6101c361028a3660046112d2565b60076020526000908152604090205460ff1681565b6005546040516001600160a01b0390911681526020016101a7565b61019a61077f565b6102366102d0366004611360565b61078e565b6101c36102e3366004611360565b6107f7565b6102366102f63660046112d2565b6108a1565b6101c3610309366004611360565b61091f565b61023661031c36600461142e565b61092d565b6101d761032f3660046112f3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61023661036836600461140e565b61098c565b61023661037b3660046112d2565b6109f9565b61023661038e3660046112d2565b610adb565b6060600380546103a2906114c8565b80601f01602080910402602001604051908101604052809291908181526020018280546103ce906114c8565b801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b5050505050905090565b600033610433818585610b56565b5060019392505050565b60003361044b858285610caf565b610456858585610d41565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190610433908290869061049b908790611499565b610b56565b60095460ff16156104f85760405162461bcd60e51b815260206004820152600f60248201527f436c61696d20697320706175736564000000000000000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b03841660009081526007602052604090205460ff16156105615760405162461bcd60e51b815260206004820152600f60248201527f416c726561647920636c61696d6564000000000000000000000000000000000060448201526064016104ef565b6040516bffffffffffffffffffffffff19606086901b1660208201526034810184905260009060540160405160208183030381529060405280519060200120905060006105e5848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506008549150859050610f58565b9050806106345760405162461bcd60e51b815260206004820152600f60248201527f436c61696d206e6f7420666f756e64000000000000000000000000000000000060448201526064016104ef565b6001600160a01b0386166000908152600760205260409020805460ff191660011790556106618686610f6e565b856001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d48660405161069c91815260200190565b60405180910390a2505050505050565b3360009081526006602052604090205460ff1661070b5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920636f6e74726f6c6c6572732063616e206d696e740000000000000060448201526064016104ef565b6107158282610f6e565b5050565b6005546001600160a01b031633146107735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b61077d600061104d565b565b6060600480546103a2906114c8565b3360009081526006602052604090205460ff166107ed5760405162461bcd60e51b815260206004820152601960248201527f4f6e6c7920636f6e74726f6c6c6572732063616e206275726e0000000000000060448201526064016104ef565b61071582826110b7565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156108945760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104ef565b6104568286868403610b56565b6005546001600160a01b031633146108fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b600033610433818585610d41565b6005546001600160a01b031633146109875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b600855565b6005546001600160a01b031633146109e65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b6009805460ff1916911515919091179055565b6005546001600160a01b03163314610a535760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b6001600160a01b038116610acf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104ef565b610ad88161104d565b50565b6005546001600160a01b03163314610b355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ef565b6001600160a01b03166000908152600660205260409020805460ff19169055565b6001600160a01b038316610bd15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b038216610c4d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610d3b5781811015610d2e5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104ef565b610d3b8484848403610b56565b50505050565b6001600160a01b038316610dbd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b038216610e395760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b03831660009081526020819052604090205481811015610ec85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610eff908490611499565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f4b91815260200190565b60405180910390a3610d3b565b600082610f658584611234565b14949350505050565b6001600160a01b038216610fc45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016104ef565b8060026000828254610fd69190611499565b90915550506001600160a01b03821660009081526020819052604081208054839290611003908490611499565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166111335760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b038216600090815260208190526040902054818110156111c25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016104ef565b6001600160a01b03831660009081526020819052604081208383039055600280548492906111f19084906114b1565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610ca2565b600081815b84518110156112ae57600085828151811061126457634e487b7160e01b600052603260045260246000fd5b6020026020010151905080831161128a576000838152602082905260409020925061129b565b600081815260208490526040902092505b50806112a681611503565b915050611239565b509392505050565b80356001600160a01b03811681146112cd57600080fd5b919050565b6000602082840312156112e3578081fd5b6112ec826112b6565b9392505050565b60008060408385031215611305578081fd5b61130e836112b6565b915061131c602084016112b6565b90509250929050565b600080600060608486031215611339578081fd5b611342846112b6565b9250611350602085016112b6565b9150604084013590509250925092565b60008060408385031215611372578182fd5b61137b836112b6565b946020939093013593505050565b6000806000806060858703121561139e578081fd5b6113a7856112b6565b935060208501359250604085013567ffffffffffffffff808211156113ca578283fd5b818701915087601f8301126113dd578283fd5b8135818111156113eb578384fd5b8860208260051b85010111156113ff578384fd5b95989497505060200194505050565b60006020828403121561141f578081fd5b813580151581146112ec578182fd5b60006020828403121561143f578081fd5b5035919050565b6000602080835283518082850152825b8181101561147257858101830151858201604001528201611456565b818111156114835783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156114ac576114ac61151e565b500190565b6000828210156114c3576114c361151e565b500390565b600181811c908216806114dc57607f821691505b602082108114156114fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156115175761151761151e565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220be9acbdb0269536eba05b1428def0fdd7558033f1905ce2b48b317a9a6a1428264736f6c63430008040033

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

11bd586da1ba7edc048fb73039bda40674becca70de86a1402774387d3a24bc4

-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x11bd586da1ba7edc048fb73039bda40674becca70de86a1402774387d3a24bc4

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 11bd586da1ba7edc048fb73039bda40674becca70de86a1402774387d3a24bc4


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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