ETH Price: $3,191.23 (+1.43%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim187268142023-12-06 10:53:11420 days ago1701859991IN
0x8E108507...2d5F8D91c
0 ETH0.0023560348.94236912
Claim176843562023-07-13 11:43:11566 days ago1689248591IN
0x8E108507...2d5F8D91c
0 ETH0.0021594233.11243315
Claim176423032023-07-07 13:44:35572 days ago1688737475IN
0x8E108507...2d5F8D91c
0 ETH0.0019285929.56199472
Claim176054922023-07-02 9:39:59577 days ago1688290799IN
0x8E108507...2d5F8D91c
0 ETH0.0009133114
Claim175278172023-06-21 11:43:59588 days ago1687347839IN
0x8E108507...2d5F8D91c
0 ETH0.0010582216.21583813
Claim175264192023-06-21 7:01:23588 days ago1687330883IN
0x8E108507...2d5F8D91c
0 ETH0.0009843915.10111413
Claim175263092023-06-21 6:39:11589 days ago1687329551IN
0x8E108507...2d5F8D91c
0 ETH0.0008702613.3358995
Claim175262942023-06-21 6:36:11589 days ago1687329371IN
0x8E108507...2d5F8D91c
0 ETH0.0009256514.20520833
Claim175262322023-06-21 6:23:23589 days ago1687328603IN
0x8E108507...2d5F8D91c
0 ETH0.0006071612.63365108
Claim175262172023-06-21 6:20:23589 days ago1687328423IN
0x8E108507...2d5F8D91c
0 ETH0.0008504113.04893778
Claim174846822023-06-15 10:26:23594 days ago1686824783IN
0x8E108507...2d5F8D91c
0 ETH0.0009078218.8624004
Claim174846712023-06-15 10:23:59594 days ago1686824639IN
0x8E108507...2d5F8D91c
0 ETH0.0011360917.41700929
Claim174797952023-06-14 17:55:59595 days ago1686765359IN
0x8E108507...2d5F8D91c
0 ETH0.0015388323.59630299
Claim174752332023-06-14 2:29:47596 days ago1686709787IN
0x8E108507...2d5F8D91c
0 ETH0.0009872915.13668956
Claim174746712023-06-14 0:35:59596 days ago1686702959IN
0x8E108507...2d5F8D91c
0 ETH0.0008950913.71850038
Claim174739832023-06-13 22:16:11596 days ago1686694571IN
0x8E108507...2d5F8D91c
0 ETH0.0008152416.93169682
Claim174737452023-06-13 21:28:23596 days ago1686691703IN
0x8E108507...2d5F8D91c
0 ETH0.0009523814.60374922
Claim174737232023-06-13 21:23:59596 days ago1686691439IN
0x8E108507...2d5F8D91c
0 ETH0.0007099714.75338589
Claim174737082023-06-13 21:20:59596 days ago1686691259IN
0x8E108507...2d5F8D91c
0 ETH0.0010312415.80816484
Claim174730522023-06-13 19:08:59596 days ago1686683339IN
0x8E108507...2d5F8D91c
0 ETH0.0009573914.67841857
Claim174728352023-06-13 18:25:23596 days ago1686680723IN
0x8E108507...2d5F8D91c
0 ETH0.000983115.08091459
Claim174728322023-06-13 18:24:35596 days ago1686680675IN
0x8E108507...2d5F8D91c
0 ETH0.0010133515.53575573
Claim174726472023-06-13 17:46:47596 days ago1686678407IN
0x8E108507...2d5F8D91c
0 ETH0.0010084515.45829157
Set Cost174726392023-06-13 17:45:11596 days ago1686678311IN
0x8E108507...2d5F8D91c
0 ETH0.0004494615.62556534
Claim174726092023-06-13 17:38:59596 days ago1686677939IN
0x8E108507...2d5F8D91c
0 ETH0.0011744418
View all transactions

Advanced mode:
Parent Transaction Hash Block
From
To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Robotronix_Token

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 8 : Robotronix_Token.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract Robotronix_Token is ERC20, ERC20Burnable, Ownable {
    bytes32 public merkleRoot;
    uint256 public cost = 0.00001 ether;
    uint256 public maxTx = 300000 * 10 ** decimals();
    uint256 public _totalSupply;

    mapping(address => uint256) balances;

    constructor() ERC20("Robotronix", "RBT") {
        _totalSupply = 10000000000 * 10 ** decimals();
        balances[owner()] = _totalSupply;
        emit Transfer(address(0), owner(), _totalSupply);
    }

    function totalSupply() public view override returns (uint256) {
        return _totalSupply - balances[address(0)];
    }

    function claim(
        uint256 _mintAmount,
        bytes32[] calldata _merkleProof
    ) public payable {
        require(
            _mintAmount > 0 && _mintAmount <= maxTx,
            "Invalid mint amount!"
        );
        if (isAllowlist(_merkleProof)) {
            require(msg.value >= 0, "Insufficient funds!");
        } else {
            require(msg.value >= cost * _mintAmount, "Insufficient funds!");
        }
        _mint(msg.sender, _mintAmount);
    }

    function airdrop(uint256 _mintAmount, address _to) public payable {
        _mint(_to, _mintAmount);
    }

    function isAllowlist(
        bytes32[] calldata _merkleProof
    ) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        if (MerkleProof.verify(_merkleProof, merkleRoot, leaf)) {
            return true;
        }
        return false;
    }

    function setAllowlist(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setCost(uint256 _cost) public onlyOwner {
        cost = _cost;
    }

    function setMaxTx(uint256 _maxTx) public onlyOwner {
        maxTx = _maxTx * 10 ** decimals();
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 3 of 8 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

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

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

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

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

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

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

File 4 of 8 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}

File 5 of 8 : 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);
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 7 of 8 : 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 8 of 8 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"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":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"payable","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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isAllowlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setAllowlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTx","type":"uint256"}],"name":"setMaxTx","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"}]

60806040526509184e72a0006007556200001c6012600a620002c9565b6200002b90620493e062000397565b6008553480156200003b57600080fd5b506040518060400160405280600a8152602001690a4dec4dee8e4dedcd2f60b31b8152506040518060400160405280600381526020016214909560ea1b815250816003908051906020019062000093929190620001da565b508051620000a9906004906020840190620001da565b505050620000c6620000c06200018460201b60201c565b62000188565b620000d46012600a620002c9565b620000e5906402540be40062000397565b6009819055600a6000620001016005546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020556200012e6005546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6009546040516200017691815260200190565b60405180910390a36200040c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001e890620003b9565b90600052602060002090601f0160209004810192826200020c576000855562000257565b82601f106200022757805160ff191683800117855562000257565b8280016001018555821562000257579182015b82811115620002575782518255916020019190600101906200023a565b506200026592915062000269565b5090565b5b808211156200026557600081556001016200026a565b600181815b80851115620002c1578160001904821115620002a557620002a5620003f6565b80851615620002b357918102915b93841c939080029062000285565b509250929050565b6000620002da60ff841683620002e1565b9392505050565b600082620002f25750600162000391565b81620003015750600062000391565b81600181146200031a5760028114620003255762000345565b600191505062000391565b60ff841115620003395762000339620003f6565b50506001821b62000391565b5060208310610133831016604e8410600b84101617156200036a575081810a62000391565b62000376838362000280565b80600019048211156200038d576200038d620003f6565b0290505b92915050565b6000816000190483118215151615620003b457620003b4620003f6565b500290565b600181811c90821680620003ce57607f821691505b60208210811415620003f057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61139b806200041c6000396000f3fe6080604052600436106101815760003560e01c8063715018a6116100d1578063a457c2d71161008a578063bc63f02e11610064578063bc63f02e14610435578063cf1c73b214610448578063dd62ed3e14610468578063f2fde38b1461048857600080fd5b8063a457c2d7146103d5578063a9059cbb146103f5578063bc3371821461041557600080fd5b8063715018a61461032d5780637437681e1461034257806379cc6790146103585780638da5cb5b14610378578063958aedeb146103a057806395d89b41146103c057600080fd5b80632f52ebb71161013e5780633eaaf86b116101185780633eaaf86b146102a157806342966c68146102b757806344a0d68a146102d757806370a08231146102f757600080fd5b80632f52ebb714610250578063313ce56714610265578063395093511461028157600080fd5b806306fdde0314610186578063095ea7b3146101b157806313faede6146101e157806318160ddd1461020557806323b872dd1461021a5780632eb4a7ab1461023a575b600080fd5b34801561019257600080fd5b5061019b6104a8565b6040516101a89190611152565b60405180910390f35b3480156101bd57600080fd5b506101d16101cc36600461105e565b61053a565b60405190151581526020016101a8565b3480156101ed57600080fd5b506101f760075481565b6040519081526020016101a8565b34801561021157600080fd5b506101f7610554565b34801561022657600080fd5b506101d1610235366004611022565b610592565b34801561024657600080fd5b506101f760065481565b61026361025e366004611106565b6105b6565b005b34801561027157600080fd5b50604051601281526020016101a8565b34801561028d57600080fd5b506101d161029c36600461105e565b610686565b3480156102ad57600080fd5b506101f760095481565b3480156102c357600080fd5b506102636102d23660046110ca565b6106a8565b3480156102e357600080fd5b506102636102f23660046110ca565b6106b5565b34801561030357600080fd5b506101f7610312366004610fd4565b6001600160a01b031660009081526020819052604090205490565b34801561033957600080fd5b506102636106c2565b34801561034e57600080fd5b506101f760085481565b34801561036457600080fd5b5061026361037336600461105e565b6106d6565b34801561038457600080fd5b506005546040516001600160a01b0390911681526020016101a8565b3480156103ac57600080fd5b506101d16103bb366004611088565b6106ef565b3480156103cc57600080fd5b5061019b610784565b3480156103e157600080fd5b506101d16103f036600461105e565b610793565b34801561040157600080fd5b506101d161041036600461105e565b61080e565b34801561042157600080fd5b506102636104303660046110ca565b61081c565b6102636104433660046110e3565b610840565b34801561045457600080fd5b506102636104633660046110ca565b61084a565b34801561047457600080fd5b506101f7610483366004610fef565b610857565b34801561049457600080fd5b506102636104a3366004610fd4565b610882565b6060600380546104b7906112e3565b80601f01602080910402602001604051908101604052809291908181526020018280546104e3906112e3565b80156105305780601f1061050557610100808354040283529160200191610530565b820191906000526020600020905b81548152906001019060200180831161051357829003601f168201915b5050505050905090565b6000336105488185856108f8565b60019150505b92915050565b6000808052600a6020527f13da86008ba1c6922daee3e07db95305ef49ebced9f5467a0b8613fcc6b343e35460095461058d91906112cc565b905090565b6000336105a0858285610a1c565b6105ab858585610a96565b506001949350505050565b6000831180156105c857506008548311155b6106105760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064015b60405180910390fd5b61061a82826106ef565b1561062457610677565b8260075461063291906112ad565b3410156106775760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610607565b6106813384610c3a565b505050565b6000336105488185856106998383610857565b6106a391906111a7565b6108f8565b6106b23382610cf9565b50565b6106bd610e2b565b600755565b6106ca610e2b565b6106d46000610e85565b565b6106e1823383610a1c565b6106eb8282610cf9565b5050565b6040516bffffffffffffffffffffffff193360601b166020820152600090819060340160405160208183030381529060405280519060200120905061076b848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506006549150849050610ed7565b1561077a57600191505061054e565b5060009392505050565b6060600480546104b7906112e3565b600033816107a18286610857565b9050838110156108015760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610607565b6105ab82868684036108f8565b600033610548818585610a96565b610824610e2b565b6108306012600a611202565b61083a90826112ad565b60085550565b6106eb8183610c3a565b610852610e2b565b600655565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61088a610e2b565b6001600160a01b0381166108ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610607565b6106b281610e85565b6001600160a01b03831661095a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610607565b6001600160a01b0382166109bb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610607565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a288484610857565b90506000198114610a905781811015610a835760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610607565b610a9084848484036108f8565b50505050565b6001600160a01b038316610afa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610607565b6001600160a01b038216610b5c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610607565b6001600160a01b03831660009081526020819052604090205481811015610bd45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610607565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a90565b6001600160a01b038216610c905760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610607565b8060026000828254610ca291906111a7565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610d595760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610607565b6001600160a01b03821660009081526020819052604090205481811015610dcd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610607565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b031633146106d45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610607565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082610ee48584610eed565b14949350505050565b600081815b8451811015610f3257610f1e82868381518110610f1157610f1161134f565b6020026020010151610f3a565b915080610f2a8161131e565b915050610ef2565b509392505050565b6000818310610f56576000828152602084905260409020610f65565b60008381526020839052604090205b9392505050565b80356001600160a01b0381168114610f8357600080fd5b919050565b60008083601f840112610f9a57600080fd5b50813567ffffffffffffffff811115610fb257600080fd5b6020830191508360208260051b8501011115610fcd57600080fd5b9250929050565b600060208284031215610fe657600080fd5b610f6582610f6c565b6000806040838503121561100257600080fd5b61100b83610f6c565b915061101960208401610f6c565b90509250929050565b60008060006060848603121561103757600080fd5b61104084610f6c565b925061104e60208501610f6c565b9150604084013590509250925092565b6000806040838503121561107157600080fd5b61107a83610f6c565b946020939093013593505050565b6000806020838503121561109b57600080fd5b823567ffffffffffffffff8111156110b257600080fd5b6110be85828601610f88565b90969095509350505050565b6000602082840312156110dc57600080fd5b5035919050565b600080604083850312156110f657600080fd5b8235915061101960208401610f6c565b60008060006040848603121561111b57600080fd5b83359250602084013567ffffffffffffffff81111561113957600080fd5b61114586828701610f88565b9497909650939450505050565b600060208083528351808285015260005b8181101561117f57858101830151858201604001528201611163565b81811115611191576000604083870101525b50601f01601f1916929092016040019392505050565b600082198211156111ba576111ba611339565b500190565b600181815b808511156111fa5781600019048211156111e0576111e0611339565b808516156111ed57918102915b93841c93908002906111c4565b509250929050565b6000610f6560ff84168360008261121b5750600161054e565b816112285750600061054e565b816001811461123e576002811461124857611264565b600191505061054e565b60ff84111561125957611259611339565b50506001821b61054e565b5060208310610133831016604e8410600b8410161715611287575081810a61054e565b61129183836111bf565b80600019048211156112a5576112a5611339565b029392505050565b60008160001904831182151516156112c7576112c7611339565b500290565b6000828210156112de576112de611339565b500390565b600181811c908216806112f757607f821691505b6020821081141561131857634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561133257611332611339565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea264697066735822122029311de68a6da3a2fd4ffe4ab869fb89b867fe868905d94365348912cd19f8db64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101815760003560e01c8063715018a6116100d1578063a457c2d71161008a578063bc63f02e11610064578063bc63f02e14610435578063cf1c73b214610448578063dd62ed3e14610468578063f2fde38b1461048857600080fd5b8063a457c2d7146103d5578063a9059cbb146103f5578063bc3371821461041557600080fd5b8063715018a61461032d5780637437681e1461034257806379cc6790146103585780638da5cb5b14610378578063958aedeb146103a057806395d89b41146103c057600080fd5b80632f52ebb71161013e5780633eaaf86b116101185780633eaaf86b146102a157806342966c68146102b757806344a0d68a146102d757806370a08231146102f757600080fd5b80632f52ebb714610250578063313ce56714610265578063395093511461028157600080fd5b806306fdde0314610186578063095ea7b3146101b157806313faede6146101e157806318160ddd1461020557806323b872dd1461021a5780632eb4a7ab1461023a575b600080fd5b34801561019257600080fd5b5061019b6104a8565b6040516101a89190611152565b60405180910390f35b3480156101bd57600080fd5b506101d16101cc36600461105e565b61053a565b60405190151581526020016101a8565b3480156101ed57600080fd5b506101f760075481565b6040519081526020016101a8565b34801561021157600080fd5b506101f7610554565b34801561022657600080fd5b506101d1610235366004611022565b610592565b34801561024657600080fd5b506101f760065481565b61026361025e366004611106565b6105b6565b005b34801561027157600080fd5b50604051601281526020016101a8565b34801561028d57600080fd5b506101d161029c36600461105e565b610686565b3480156102ad57600080fd5b506101f760095481565b3480156102c357600080fd5b506102636102d23660046110ca565b6106a8565b3480156102e357600080fd5b506102636102f23660046110ca565b6106b5565b34801561030357600080fd5b506101f7610312366004610fd4565b6001600160a01b031660009081526020819052604090205490565b34801561033957600080fd5b506102636106c2565b34801561034e57600080fd5b506101f760085481565b34801561036457600080fd5b5061026361037336600461105e565b6106d6565b34801561038457600080fd5b506005546040516001600160a01b0390911681526020016101a8565b3480156103ac57600080fd5b506101d16103bb366004611088565b6106ef565b3480156103cc57600080fd5b5061019b610784565b3480156103e157600080fd5b506101d16103f036600461105e565b610793565b34801561040157600080fd5b506101d161041036600461105e565b61080e565b34801561042157600080fd5b506102636104303660046110ca565b61081c565b6102636104433660046110e3565b610840565b34801561045457600080fd5b506102636104633660046110ca565b61084a565b34801561047457600080fd5b506101f7610483366004610fef565b610857565b34801561049457600080fd5b506102636104a3366004610fd4565b610882565b6060600380546104b7906112e3565b80601f01602080910402602001604051908101604052809291908181526020018280546104e3906112e3565b80156105305780601f1061050557610100808354040283529160200191610530565b820191906000526020600020905b81548152906001019060200180831161051357829003601f168201915b5050505050905090565b6000336105488185856108f8565b60019150505b92915050565b6000808052600a6020527f13da86008ba1c6922daee3e07db95305ef49ebced9f5467a0b8613fcc6b343e35460095461058d91906112cc565b905090565b6000336105a0858285610a1c565b6105ab858585610a96565b506001949350505050565b6000831180156105c857506008548311155b6106105760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064015b60405180910390fd5b61061a82826106ef565b1561062457610677565b8260075461063291906112ad565b3410156106775760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610607565b6106813384610c3a565b505050565b6000336105488185856106998383610857565b6106a391906111a7565b6108f8565b6106b23382610cf9565b50565b6106bd610e2b565b600755565b6106ca610e2b565b6106d46000610e85565b565b6106e1823383610a1c565b6106eb8282610cf9565b5050565b6040516bffffffffffffffffffffffff193360601b166020820152600090819060340160405160208183030381529060405280519060200120905061076b848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506006549150849050610ed7565b1561077a57600191505061054e565b5060009392505050565b6060600480546104b7906112e3565b600033816107a18286610857565b9050838110156108015760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610607565b6105ab82868684036108f8565b600033610548818585610a96565b610824610e2b565b6108306012600a611202565b61083a90826112ad565b60085550565b6106eb8183610c3a565b610852610e2b565b600655565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61088a610e2b565b6001600160a01b0381166108ef5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610607565b6106b281610e85565b6001600160a01b03831661095a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610607565b6001600160a01b0382166109bb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610607565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000610a288484610857565b90506000198114610a905781811015610a835760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610607565b610a9084848484036108f8565b50505050565b6001600160a01b038316610afa5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610607565b6001600160a01b038216610b5c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610607565b6001600160a01b03831660009081526020819052604090205481811015610bd45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610607565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610a90565b6001600160a01b038216610c905760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610607565b8060026000828254610ca291906111a7565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038216610d595760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610607565b6001600160a01b03821660009081526020819052604090205481811015610dcd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610607565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b031633146106d45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610607565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082610ee48584610eed565b14949350505050565b600081815b8451811015610f3257610f1e82868381518110610f1157610f1161134f565b6020026020010151610f3a565b915080610f2a8161131e565b915050610ef2565b509392505050565b6000818310610f56576000828152602084905260409020610f65565b60008381526020839052604090205b9392505050565b80356001600160a01b0381168114610f8357600080fd5b919050565b60008083601f840112610f9a57600080fd5b50813567ffffffffffffffff811115610fb257600080fd5b6020830191508360208260051b8501011115610fcd57600080fd5b9250929050565b600060208284031215610fe657600080fd5b610f6582610f6c565b6000806040838503121561100257600080fd5b61100b83610f6c565b915061101960208401610f6c565b90509250929050565b60008060006060848603121561103757600080fd5b61104084610f6c565b925061104e60208501610f6c565b9150604084013590509250925092565b6000806040838503121561107157600080fd5b61107a83610f6c565b946020939093013593505050565b6000806020838503121561109b57600080fd5b823567ffffffffffffffff8111156110b257600080fd5b6110be85828601610f88565b90969095509350505050565b6000602082840312156110dc57600080fd5b5035919050565b600080604083850312156110f657600080fd5b8235915061101960208401610f6c565b60008060006040848603121561111b57600080fd5b83359250602084013567ffffffffffffffff81111561113957600080fd5b61114586828701610f88565b9497909650939450505050565b600060208083528351808285015260005b8181101561117f57858101830151858201604001528201611163565b81811115611191576000604083870101525b50601f01601f1916929092016040019392505050565b600082198211156111ba576111ba611339565b500190565b600181815b808511156111fa5781600019048211156111e0576111e0611339565b808516156111ed57918102915b93841c93908002906111c4565b509250929050565b6000610f6560ff84168360008261121b5750600161054e565b816112285750600061054e565b816001811461123e576002811461124857611264565b600191505061054e565b60ff84111561125957611259611339565b50506001821b61054e565b5060208310610133831016604e8410600b8410161715611287575081810a61054e565b61129183836111bf565b80600019048211156112a5576112a5611339565b029392505050565b60008160001904831182151516156112c7576112c7611339565b500290565b6000828210156112de576112de611339565b500390565b600181811c908216806112f757607f821691505b6020821081141561131857634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561133257611332611339565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea264697066735822122029311de68a6da3a2fd4ffe4ab869fb89b867fe868905d94365348912cd19f8db64736f6c63430008070033

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.