ETH Price: $2,917.38 (-3.72%)
Gas: 1 Gwei

Contract

0x8aFDe8be6D047A0ECa574abF89De10E288A229a2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve201964702024-06-29 9:32:478 days ago1719653567IN
0x8aFDe8be...288A229a2
0 ETH0.000057612.30969049
Approve201318702024-06-20 8:53:1117 days ago1718873591IN
0x8aFDe8be...288A229a2
0 ETH0.000347613.93479482
Transfer197565442024-04-28 21:38:1170 days ago1714340291IN
0x8aFDe8be...288A229a2
0 ETH0.000269945.44381602
Approve197318502024-04-25 10:41:3573 days ago1714041695IN
0x8aFDe8be...288A229a2
0 ETH0.0003241712.99545283
Approve196845142024-04-18 19:45:5980 days ago1713469559IN
0x8aFDe8be...288A229a2
0 ETH0.000218638.76455216
Approve195285802024-03-27 22:46:35102 days ago1711579595IN
0x8aFDe8be...288A229a2
0 ETH0.0014417130.52599576
Approve192323032024-02-15 9:01:35143 days ago1707987695IN
0x8aFDe8be...288A229a2
0 ETH0.0008927419.01839501
Approve191726622024-02-07 0:09:35152 days ago1707264575IN
0x8aFDe8be...288A229a2
0 ETH0.0006043424.22703237
Approve191418772024-02-02 16:23:35156 days ago1706891015IN
0x8aFDe8be...288A229a2
0 ETH0.0007076423.72336314
Approve191418672024-02-02 16:21:35156 days ago1706890895IN
0x8aFDe8be...288A229a2
0 ETH0.0012923127.36264696
Claim191418242024-02-02 16:12:59156 days ago1706890379IN
0x8aFDe8be...288A229a2
0 ETH0.0029422531.16366083
Claim189303062024-01-04 0:10:47186 days ago1704327047IN
0x8aFDe8be...288A229a2
0 ETH0.0017037928.29148667
Approve189149692024-01-01 20:30:59188 days ago1704141059IN
0x8aFDe8be...288A229a2
0 ETH0.0008175317.41631029
Claim189149652024-01-01 20:30:11188 days ago1704141011IN
0x8aFDe8be...288A229a2
0 ETH0.0010954318.19928561
Approve188277602023-12-20 14:37:23200 days ago1703083043IN
0x8aFDe8be...288A229a2
0 ETH0.0018783575.29978533
Approve188064932023-12-17 14:59:35203 days ago1702825175IN
0x8aFDe8be...288A229a2
0 ETH0.0010926143.80111185
Approve188058322023-12-17 12:46:23203 days ago1702817183IN
0x8aFDe8be...288A229a2
0 ETH0.0008998736.07421691
Approve188047112023-12-17 8:58:47203 days ago1702803527IN
0x8aFDe8be...288A229a2
0 ETH0.0007370629.54742862
Approve188036072023-12-17 5:14:59203 days ago1702790099IN
0x8aFDe8be...288A229a2
0 ETH0.0006926427.76706947
Approve188003352023-12-16 18:14:47204 days ago1702750487IN
0x8aFDe8be...288A229a2
0 ETH0.0012128148.61957253
Approve187987292023-12-16 12:49:11204 days ago1702730951IN
0x8aFDe8be...288A229a2
0 ETH0.00260052104.2503295
Approve187817372023-12-14 3:33:59207 days ago1702524839IN
0x8aFDe8be...288A229a2
0 ETH0.0011295545.28199975
Claim186180062023-11-21 5:17:35229 days ago1700543855IN
0x8aFDe8be...288A229a2
0 ETH0.0016803727.91096378
Approve185982452023-11-18 10:51:35232 days ago1700304695IN
0x8aFDe8be...288A229a2
0 ETH0.0009954521.21196501
Claim185982372023-11-18 10:49:59232 days ago1700304599IN
0x8aFDe8be...288A229a2
0 ETH0.0025461426.9646905
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:
Gotterdammerung

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Gotterdammerung.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

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

contract Gotterdammerung is ERC20, ERC20Burnable, Pausable, Ownable {
    bool public supplyCapped = false;
    bytes32 public allowanceMerkleRoot;

    mapping(address => uint256) public claimed;

    constructor(bytes32 merkleRoot) ERC20("HausToken", "HT") {
        allowanceMerkleRoot = merkleRoot;
    }

    function setAllowanceMerkleRoot(bytes32 merkleRoot) public onlyOwner {
        allowanceMerkleRoot = merkleRoot;
    }

    function claim(uint256 amount, uint256 allowance, bytes32[] calldata proof) public whenNotPaused whenSupplyNotCapped {
        require(verifyAllowance(msg.sender, allowance, proof), "Failed allowance verification");
        require(claimed[msg.sender] + amount <= allowance, "Request higher than allowance");

        claimed[msg.sender] = claimed[msg.sender] + amount;

        _mint(msg.sender, amount * 10**uint(decimals()));
    }

    function getQuantityClaimed(address claimee) public view returns (uint256) {
        return claimed[claimee];
    }

    function _beforeTokenTransfer(address from, address to, uint256 amount)
        internal
        whenNotPaused
        override
    {
        super._beforeTokenTransfer(from, to, amount);
    }

    function verifyAllowance(address account, uint256 allowance, bytes32[] calldata proof) public view returns (bool) {
        return MerkleProof.verify(proof, allowanceMerkleRoot, generateAllowanceMerkleLeaf(account, allowance));
    }

    function generateAllowanceMerkleLeaf(address account, uint256 allowance) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(account, allowance));
    }

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

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

    function capSupply() public onlyOwner {
        supplyCapped = true;
    }

    modifier whenSupplyNotCapped() {
        require(!supplyCapped, "Supply permanently capped");
        _;
    }
}

File 2 of 9 : 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 3 of 9 : 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 4 of 9 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowanceMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[],"name":"capSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","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":"claimee","type":"address"}],"name":"getQuantityClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setAllowanceMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyCapped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verifyAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040526000600560156101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040516200313f3803806200313f8339818101604052810190620000529190620002f9565b6040518060400160405280600981526020017f48617573546f6b656e00000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f48540000000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000d692919062000209565b508060049080519060200190620000ef92919062000209565b5050506000600560006101000a81548160ff0219169083151502179055506200012d620001216200013b60201b60201c565b6200014360201b60201c565b806006819055505062000390565b600033905090565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000217906200035a565b90600052602060002090601f0160209004810192826200023b576000855562000287565b82601f106200025657805160ff191683800117855562000287565b8280016001018555821562000287579182015b828111156200028657825182559160200191906001019062000269565b5b5090506200029691906200029a565b5090565b5b80821115620002b55760008160009055506001016200029b565b5090565b600080fd5b6000819050919050565b620002d381620002be565b8114620002df57600080fd5b50565b600081519050620002f381620002c8565b92915050565b600060208284031215620003125762000311620002b9565b5b60006200032284828501620002e2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200037357607f821691505b602082108114156200038a57620003896200032b565b5b50919050565b612d9f80620003a06000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063715018a6116100f9578063a9059cbb11610097578063c884ef8311610071578063c884ef8314610498578063dd3c8181146104c8578063dd62ed3e146104e6578063f2fde38b14610516576101a9565b8063a9059cbb1461041c578063ae0b51df1461044c578063b0f37f4114610468576101a9565b8063881d603e116100d3578063881d603e146103945780638da5cb5b146103b057806395d89b41146103ce578063a457c2d7146103ec576101a9565b8063715018a61461036457806379cc67901461036e5780638456cb591461038a576101a9565b8063313ce567116101665780633f4ba83a116101405780633f4ba83a146102f057806342966c68146102fa5780635c975abb1461031657806370a0823114610334576101a9565b8063313ce5671461027257806336bc89ad1461029057806339509351146102c0576101a9565b806306fdde03146101ae578063095ea7b3146101cc57806318160ddd146101fc57806320f037251461021a57806323b872dd146102385780632426285714610268575b600080fd5b6101b6610532565b6040516101c39190611c60565b60405180910390f35b6101e660048036038101906101e19190611d20565b6105c4565b6040516101f39190611d7b565b60405180910390f35b6102046105e7565b6040516102119190611da5565b60405180910390f35b6102226105f1565b60405161022f9190611dd9565b60405180910390f35b610252600480360381019061024d9190611df4565b6105f7565b60405161025f9190611d7b565b60405180910390f35b610270610626565b005b61027a6106bf565b6040516102879190611e63565b60405180910390f35b6102aa60048036038101906102a59190611e7e565b6106c8565b6040516102b79190611da5565b60405180910390f35b6102da60048036038101906102d59190611d20565b610711565b6040516102e79190611d7b565b60405180910390f35b6102f86107bb565b005b610314600480360381019061030f9190611eab565b610841565b005b61031e610855565b60405161032b9190611d7b565b60405180910390f35b61034e60048036038101906103499190611e7e565b61086c565b60405161035b9190611da5565b60405180910390f35b61036c6108b4565b005b61038860048036038101906103839190611d20565b61093c565b005b61039261095c565b005b6103ae60048036038101906103a99190611f04565b6109e2565b005b6103b8610a68565b6040516103c59190611f40565b60405180910390f35b6103d6610a92565b6040516103e39190611c60565b60405180910390f35b61040660048036038101906104019190611d20565b610b24565b6040516104139190611d7b565b60405180910390f35b61043660048036038101906104319190611d20565b610c0e565b6040516104439190611d7b565b60405180910390f35b61046660048036038101906104619190611fc0565b610c31565b005b610482600480360381019061047d9190612034565b610e60565b60405161048f9190611d7b565b60405180910390f35b6104b260048036038101906104ad9190611e7e565b610ec3565b6040516104bf9190611da5565b60405180910390f35b6104d0610edb565b6040516104dd9190611d7b565b60405180910390f35b61050060048036038101906104fb91906120a8565b610eee565b60405161050d9190611da5565b60405180910390f35b610530600480360381019061052b9190611e7e565b610f75565b005b60606003805461054190612117565b80601f016020809104026020016040519081016040528092919081815260200182805461056d90612117565b80156105ba5780601f1061058f576101008083540402835291602001916105ba565b820191906000526020600020905b81548152906001019060200180831161059d57829003601f168201915b5050505050905090565b6000806105cf61106d565b90506105dc818585611075565b600191505092915050565b6000600254905090565b60065481565b60008061060261106d565b905061060f858285611240565b61061a8585856112cc565b60019150509392505050565b61062e61106d565b73ffffffffffffffffffffffffffffffffffffffff1661064c610a68565b73ffffffffffffffffffffffffffffffffffffffff16146106a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069990612195565b60405180910390fd5b6001600560156101000a81548160ff021916908315150217905550565b60006012905090565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008061071c61106d565b90506107b0818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107ab91906121e4565b611075565b600191505092915050565b6107c361106d565b73ffffffffffffffffffffffffffffffffffffffff166107e1610a68565b73ffffffffffffffffffffffffffffffffffffffff1614610837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082e90612195565b60405180910390fd5b61083f61154d565b565b61085261084c61106d565b826115ef565b50565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6108bc61106d565b73ffffffffffffffffffffffffffffffffffffffff166108da610a68565b73ffffffffffffffffffffffffffffffffffffffff1614610930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092790612195565b60405180910390fd5b61093a60006117c6565b565b61094e8261094861106d565b83611240565b61095882826115ef565b5050565b61096461106d565b73ffffffffffffffffffffffffffffffffffffffff16610982610a68565b73ffffffffffffffffffffffffffffffffffffffff16146109d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cf90612195565b60405180910390fd5b6109e061188c565b565b6109ea61106d565b73ffffffffffffffffffffffffffffffffffffffff16610a08610a68565b73ffffffffffffffffffffffffffffffffffffffff1614610a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5590612195565b60405180910390fd5b8060068190555050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610aa190612117565b80601f0160208091040260200160405190810160405280929190818152602001828054610acd90612117565b8015610b1a5780601f10610aef57610100808354040283529160200191610b1a565b820191906000526020600020905b815481529060010190602001808311610afd57829003601f168201915b5050505050905090565b600080610b2f61106d565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec906122ac565b60405180910390fd5b610c028286868403611075565b60019250505092915050565b600080610c1961106d565b9050610c268185856112cc565b600191505092915050565b610c39610855565b15610c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7090612318565b60405180910390fd5b600560159054906101000a900460ff1615610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc090612384565b60405180910390fd5b610cd533848484610e60565b610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b906123f0565b60405180910390fd5b8284600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d6091906121e4565b1115610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d989061245c565b60405180910390fd5b83600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610dec91906121e4565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e5a33610e3b6106bf565b60ff16600a610e4a91906125af565b86610e5591906125fa565b61192f565b50505050565b6000610eb9838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600654610eb48888611a8f565b611ac2565b9050949350505050565b60076020528060005260406000206000915090505481565b600560159054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610f7d61106d565b73ffffffffffffffffffffffffffffffffffffffff16610f9b610a68565b73ffffffffffffffffffffffffffffffffffffffff1614610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe890612195565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611061576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611058906126c6565b60405180910390fd5b61106a816117c6565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dc90612758565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c906127ea565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516112339190611da5565b60405180910390a3505050565b600061124c8484610eee565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112c657818110156112b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112af90612856565b60405180910390fd5b6112c58484848403611075565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561133c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611333906128e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a39061297a565b60405180910390fd5b6113b7838383611ad9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561143d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143490612a0c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114d091906121e4565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115349190611da5565b60405180910390a3611547848484611b31565b50505050565b611555610855565b611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90612a78565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6115d861106d565b6040516115e59190611f40565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690612b0a565b60405180910390fd5b61166b82600083611ad9565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e890612b9c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546117489190612bbc565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117ad9190611da5565b60405180910390a36117c183600084611b31565b505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611894610855565b156118d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cb90612318565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861191861106d565b6040516119259190611f40565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561199f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199690612c3c565b60405180910390fd5b6119ab60008383611ad9565b80600260008282546119bd91906121e4565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a1291906121e4565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611a779190611da5565b60405180910390a3611a8b60008383611b31565b5050565b60008282604051602001611aa4929190612cc5565b60405160208183030381529060405280519060200120905092915050565b600082611acf8584611b36565b1490509392505050565b611ae1610855565b15611b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1890612318565b60405180910390fd5b611b2c838383611bab565b505050565b505050565b60008082905060005b8451811015611ba0576000858281518110611b5d57611b5c612cf1565b5b60200260200101519050808311611b7f57611b788382611bb0565b9250611b8c565b611b898184611bb0565b92505b508080611b9890612d20565b915050611b3f565b508091505092915050565b505050565b600082600052816020526040600020905092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611c01578082015181840152602081019050611be6565b83811115611c10576000848401525b50505050565b6000601f19601f8301169050919050565b6000611c3282611bc7565b611c3c8185611bd2565b9350611c4c818560208601611be3565b611c5581611c16565b840191505092915050565b60006020820190508181036000830152611c7a8184611c27565b905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611cb782611c8c565b9050919050565b611cc781611cac565b8114611cd257600080fd5b50565b600081359050611ce481611cbe565b92915050565b6000819050919050565b611cfd81611cea565b8114611d0857600080fd5b50565b600081359050611d1a81611cf4565b92915050565b60008060408385031215611d3757611d36611c82565b5b6000611d4585828601611cd5565b9250506020611d5685828601611d0b565b9150509250929050565b60008115159050919050565b611d7581611d60565b82525050565b6000602082019050611d906000830184611d6c565b92915050565b611d9f81611cea565b82525050565b6000602082019050611dba6000830184611d96565b92915050565b6000819050919050565b611dd381611dc0565b82525050565b6000602082019050611dee6000830184611dca565b92915050565b600080600060608486031215611e0d57611e0c611c82565b5b6000611e1b86828701611cd5565b9350506020611e2c86828701611cd5565b9250506040611e3d86828701611d0b565b9150509250925092565b600060ff82169050919050565b611e5d81611e47565b82525050565b6000602082019050611e786000830184611e54565b92915050565b600060208284031215611e9457611e93611c82565b5b6000611ea284828501611cd5565b91505092915050565b600060208284031215611ec157611ec0611c82565b5b6000611ecf84828501611d0b565b91505092915050565b611ee181611dc0565b8114611eec57600080fd5b50565b600081359050611efe81611ed8565b92915050565b600060208284031215611f1a57611f19611c82565b5b6000611f2884828501611eef565b91505092915050565b611f3a81611cac565b82525050565b6000602082019050611f556000830184611f31565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611f8057611f7f611f5b565b5b8235905067ffffffffffffffff811115611f9d57611f9c611f60565b5b602083019150836020820283011115611fb957611fb8611f65565b5b9250929050565b60008060008060608587031215611fda57611fd9611c82565b5b6000611fe887828801611d0b565b9450506020611ff987828801611d0b565b935050604085013567ffffffffffffffff81111561201a57612019611c87565b5b61202687828801611f6a565b925092505092959194509250565b6000806000806060858703121561204e5761204d611c82565b5b600061205c87828801611cd5565b945050602061206d87828801611d0b565b935050604085013567ffffffffffffffff81111561208e5761208d611c87565b5b61209a87828801611f6a565b925092505092959194509250565b600080604083850312156120bf576120be611c82565b5b60006120cd85828601611cd5565b92505060206120de85828601611cd5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061212f57607f821691505b60208210811415612143576121426120e8565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061217f602083611bd2565b915061218a82612149565b602082019050919050565b600060208201905081810360008301526121ae81612172565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006121ef82611cea565b91506121fa83611cea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561222f5761222e6121b5565b5b828201905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612296602583611bd2565b91506122a18261223a565b604082019050919050565b600060208201905081810360008301526122c581612289565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612302601083611bd2565b915061230d826122cc565b602082019050919050565b60006020820190508181036000830152612331816122f5565b9050919050565b7f537570706c79207065726d616e656e746c792063617070656400000000000000600082015250565b600061236e601983611bd2565b915061237982612338565b602082019050919050565b6000602082019050818103600083015261239d81612361565b9050919050565b7f4661696c656420616c6c6f77616e636520766572696669636174696f6e000000600082015250565b60006123da601d83611bd2565b91506123e5826123a4565b602082019050919050565b60006020820190508181036000830152612409816123cd565b9050919050565b7f5265717565737420686967686572207468616e20616c6c6f77616e6365000000600082015250565b6000612446601d83611bd2565b915061245182612410565b602082019050919050565b6000602082019050818103600083015261247581612439565b9050919050565b60008160011c9050919050565b6000808291508390505b60018511156124d3578086048111156124af576124ae6121b5565b5b60018516156124be5780820291505b80810290506124cc8561247c565b9450612493565b94509492505050565b6000826124ec57600190506125a8565b816124fa57600090506125a8565b8160018114612510576002811461251a57612549565b60019150506125a8565b60ff84111561252c5761252b6121b5565b5b8360020a915084821115612543576125426121b5565b5b506125a8565b5060208310610133831016604e8410600b841016171561257e5782820a905083811115612579576125786121b5565b5b6125a8565b61258b8484846001612489565b925090508184048111156125a2576125a16121b5565b5b81810290505b9392505050565b60006125ba82611cea565b91506125c583611cea565b92506125f27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846124dc565b905092915050565b600061260582611cea565b915061261083611cea565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612649576126486121b5565b5b828202905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006126b0602683611bd2565b91506126bb82612654565b604082019050919050565b600060208201905081810360008301526126df816126a3565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612742602483611bd2565b915061274d826126e6565b604082019050919050565b6000602082019050818103600083015261277181612735565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006127d4602283611bd2565b91506127df82612778565b604082019050919050565b60006020820190508181036000830152612803816127c7565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612840601d83611bd2565b915061284b8261280a565b602082019050919050565b6000602082019050818103600083015261286f81612833565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006128d2602583611bd2565b91506128dd82612876565b604082019050919050565b60006020820190508181036000830152612901816128c5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612964602383611bd2565b915061296f82612908565b604082019050919050565b6000602082019050818103600083015261299381612957565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006129f6602683611bd2565b9150612a018261299a565b604082019050919050565b60006020820190508181036000830152612a25816129e9565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000612a62601483611bd2565b9150612a6d82612a2c565b602082019050919050565b60006020820190508181036000830152612a9181612a55565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612af4602183611bd2565b9150612aff82612a98565b604082019050919050565b60006020820190508181036000830152612b2381612ae7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612b86602283611bd2565b9150612b9182612b2a565b604082019050919050565b60006020820190508181036000830152612bb581612b79565b9050919050565b6000612bc782611cea565b9150612bd283611cea565b925082821015612be557612be46121b5565b5b828203905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612c26601f83611bd2565b9150612c3182612bf0565b602082019050919050565b60006020820190508181036000830152612c5581612c19565b9050919050565b60008160601b9050919050565b6000612c7482612c5c565b9050919050565b6000612c8682612c69565b9050919050565b612c9e612c9982611cac565b612c7b565b82525050565b6000819050919050565b612cbf612cba82611cea565b612ca4565b82525050565b6000612cd18285612c8d565b601482019150612ce18284612cae565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612d2b82611cea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612d5e57612d5d6121b5565b5b60018201905091905056fea26469706673582212204ae765d376a4355fdda878770ed779ac9f19228a2b4046c507458fcc85de1e8864736f6c634300080b0033f0ebd16f75f2b956e869391796786171e976a5005e01518c563ab5510ba0bc68

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063715018a6116100f9578063a9059cbb11610097578063c884ef8311610071578063c884ef8314610498578063dd3c8181146104c8578063dd62ed3e146104e6578063f2fde38b14610516576101a9565b8063a9059cbb1461041c578063ae0b51df1461044c578063b0f37f4114610468576101a9565b8063881d603e116100d3578063881d603e146103945780638da5cb5b146103b057806395d89b41146103ce578063a457c2d7146103ec576101a9565b8063715018a61461036457806379cc67901461036e5780638456cb591461038a576101a9565b8063313ce567116101665780633f4ba83a116101405780633f4ba83a146102f057806342966c68146102fa5780635c975abb1461031657806370a0823114610334576101a9565b8063313ce5671461027257806336bc89ad1461029057806339509351146102c0576101a9565b806306fdde03146101ae578063095ea7b3146101cc57806318160ddd146101fc57806320f037251461021a57806323b872dd146102385780632426285714610268575b600080fd5b6101b6610532565b6040516101c39190611c60565b60405180910390f35b6101e660048036038101906101e19190611d20565b6105c4565b6040516101f39190611d7b565b60405180910390f35b6102046105e7565b6040516102119190611da5565b60405180910390f35b6102226105f1565b60405161022f9190611dd9565b60405180910390f35b610252600480360381019061024d9190611df4565b6105f7565b60405161025f9190611d7b565b60405180910390f35b610270610626565b005b61027a6106bf565b6040516102879190611e63565b60405180910390f35b6102aa60048036038101906102a59190611e7e565b6106c8565b6040516102b79190611da5565b60405180910390f35b6102da60048036038101906102d59190611d20565b610711565b6040516102e79190611d7b565b60405180910390f35b6102f86107bb565b005b610314600480360381019061030f9190611eab565b610841565b005b61031e610855565b60405161032b9190611d7b565b60405180910390f35b61034e60048036038101906103499190611e7e565b61086c565b60405161035b9190611da5565b60405180910390f35b61036c6108b4565b005b61038860048036038101906103839190611d20565b61093c565b005b61039261095c565b005b6103ae60048036038101906103a99190611f04565b6109e2565b005b6103b8610a68565b6040516103c59190611f40565b60405180910390f35b6103d6610a92565b6040516103e39190611c60565b60405180910390f35b61040660048036038101906104019190611d20565b610b24565b6040516104139190611d7b565b60405180910390f35b61043660048036038101906104319190611d20565b610c0e565b6040516104439190611d7b565b60405180910390f35b61046660048036038101906104619190611fc0565b610c31565b005b610482600480360381019061047d9190612034565b610e60565b60405161048f9190611d7b565b60405180910390f35b6104b260048036038101906104ad9190611e7e565b610ec3565b6040516104bf9190611da5565b60405180910390f35b6104d0610edb565b6040516104dd9190611d7b565b60405180910390f35b61050060048036038101906104fb91906120a8565b610eee565b60405161050d9190611da5565b60405180910390f35b610530600480360381019061052b9190611e7e565b610f75565b005b60606003805461054190612117565b80601f016020809104026020016040519081016040528092919081815260200182805461056d90612117565b80156105ba5780601f1061058f576101008083540402835291602001916105ba565b820191906000526020600020905b81548152906001019060200180831161059d57829003601f168201915b5050505050905090565b6000806105cf61106d565b90506105dc818585611075565b600191505092915050565b6000600254905090565b60065481565b60008061060261106d565b905061060f858285611240565b61061a8585856112cc565b60019150509392505050565b61062e61106d565b73ffffffffffffffffffffffffffffffffffffffff1661064c610a68565b73ffffffffffffffffffffffffffffffffffffffff16146106a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069990612195565b60405180910390fd5b6001600560156101000a81548160ff021916908315150217905550565b60006012905090565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008061071c61106d565b90506107b0818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107ab91906121e4565b611075565b600191505092915050565b6107c361106d565b73ffffffffffffffffffffffffffffffffffffffff166107e1610a68565b73ffffffffffffffffffffffffffffffffffffffff1614610837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082e90612195565b60405180910390fd5b61083f61154d565b565b61085261084c61106d565b826115ef565b50565b6000600560009054906101000a900460ff16905090565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6108bc61106d565b73ffffffffffffffffffffffffffffffffffffffff166108da610a68565b73ffffffffffffffffffffffffffffffffffffffff1614610930576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092790612195565b60405180910390fd5b61093a60006117c6565b565b61094e8261094861106d565b83611240565b61095882826115ef565b5050565b61096461106d565b73ffffffffffffffffffffffffffffffffffffffff16610982610a68565b73ffffffffffffffffffffffffffffffffffffffff16146109d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cf90612195565b60405180910390fd5b6109e061188c565b565b6109ea61106d565b73ffffffffffffffffffffffffffffffffffffffff16610a08610a68565b73ffffffffffffffffffffffffffffffffffffffff1614610a5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5590612195565b60405180910390fd5b8060068190555050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610aa190612117565b80601f0160208091040260200160405190810160405280929190818152602001828054610acd90612117565b8015610b1a5780601f10610aef57610100808354040283529160200191610b1a565b820191906000526020600020905b815481529060010190602001808311610afd57829003601f168201915b5050505050905090565b600080610b2f61106d565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bec906122ac565b60405180910390fd5b610c028286868403611075565b60019250505092915050565b600080610c1961106d565b9050610c268185856112cc565b600191505092915050565b610c39610855565b15610c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7090612318565b60405180910390fd5b600560159054906101000a900460ff1615610cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc090612384565b60405180910390fd5b610cd533848484610e60565b610d14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0b906123f0565b60405180910390fd5b8284600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d6091906121e4565b1115610da1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d989061245c565b60405180910390fd5b83600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610dec91906121e4565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e5a33610e3b6106bf565b60ff16600a610e4a91906125af565b86610e5591906125fa565b61192f565b50505050565b6000610eb9838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600654610eb48888611a8f565b611ac2565b9050949350505050565b60076020528060005260406000206000915090505481565b600560159054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b610f7d61106d565b73ffffffffffffffffffffffffffffffffffffffff16610f9b610a68565b73ffffffffffffffffffffffffffffffffffffffff1614610ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe890612195565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611061576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611058906126c6565b60405180910390fd5b61106a816117c6565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dc90612758565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114c906127ea565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516112339190611da5565b60405180910390a3505050565b600061124c8484610eee565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146112c657818110156112b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112af90612856565b60405180910390fd5b6112c58484848403611075565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561133c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611333906128e8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a39061297a565b60405180910390fd5b6113b7838383611ad9565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561143d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143490612a0c565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114d091906121e4565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516115349190611da5565b60405180910390a3611547848484611b31565b50505050565b611555610855565b611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b90612a78565b60405180910390fd5b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6115d861106d565b6040516115e59190611f40565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690612b0a565b60405180910390fd5b61166b82600083611ad9565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156116f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e890612b9c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282546117489190612bbc565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117ad9190611da5565b60405180910390a36117c183600084611b31565b505050565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611894610855565b156118d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cb90612318565b60405180910390fd5b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861191861106d565b6040516119259190611f40565b60405180910390a1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561199f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199690612c3c565b60405180910390fd5b6119ab60008383611ad9565b80600260008282546119bd91906121e4565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a1291906121e4565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611a779190611da5565b60405180910390a3611a8b60008383611b31565b5050565b60008282604051602001611aa4929190612cc5565b60405160208183030381529060405280519060200120905092915050565b600082611acf8584611b36565b1490509392505050565b611ae1610855565b15611b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1890612318565b60405180910390fd5b611b2c838383611bab565b505050565b505050565b60008082905060005b8451811015611ba0576000858281518110611b5d57611b5c612cf1565b5b60200260200101519050808311611b7f57611b788382611bb0565b9250611b8c565b611b898184611bb0565b92505b508080611b9890612d20565b915050611b3f565b508091505092915050565b505050565b600082600052816020526040600020905092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611c01578082015181840152602081019050611be6565b83811115611c10576000848401525b50505050565b6000601f19601f8301169050919050565b6000611c3282611bc7565b611c3c8185611bd2565b9350611c4c818560208601611be3565b611c5581611c16565b840191505092915050565b60006020820190508181036000830152611c7a8184611c27565b905092915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611cb782611c8c565b9050919050565b611cc781611cac565b8114611cd257600080fd5b50565b600081359050611ce481611cbe565b92915050565b6000819050919050565b611cfd81611cea565b8114611d0857600080fd5b50565b600081359050611d1a81611cf4565b92915050565b60008060408385031215611d3757611d36611c82565b5b6000611d4585828601611cd5565b9250506020611d5685828601611d0b565b9150509250929050565b60008115159050919050565b611d7581611d60565b82525050565b6000602082019050611d906000830184611d6c565b92915050565b611d9f81611cea565b82525050565b6000602082019050611dba6000830184611d96565b92915050565b6000819050919050565b611dd381611dc0565b82525050565b6000602082019050611dee6000830184611dca565b92915050565b600080600060608486031215611e0d57611e0c611c82565b5b6000611e1b86828701611cd5565b9350506020611e2c86828701611cd5565b9250506040611e3d86828701611d0b565b9150509250925092565b600060ff82169050919050565b611e5d81611e47565b82525050565b6000602082019050611e786000830184611e54565b92915050565b600060208284031215611e9457611e93611c82565b5b6000611ea284828501611cd5565b91505092915050565b600060208284031215611ec157611ec0611c82565b5b6000611ecf84828501611d0b565b91505092915050565b611ee181611dc0565b8114611eec57600080fd5b50565b600081359050611efe81611ed8565b92915050565b600060208284031215611f1a57611f19611c82565b5b6000611f2884828501611eef565b91505092915050565b611f3a81611cac565b82525050565b6000602082019050611f556000830184611f31565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611f8057611f7f611f5b565b5b8235905067ffffffffffffffff811115611f9d57611f9c611f60565b5b602083019150836020820283011115611fb957611fb8611f65565b5b9250929050565b60008060008060608587031215611fda57611fd9611c82565b5b6000611fe887828801611d0b565b9450506020611ff987828801611d0b565b935050604085013567ffffffffffffffff81111561201a57612019611c87565b5b61202687828801611f6a565b925092505092959194509250565b6000806000806060858703121561204e5761204d611c82565b5b600061205c87828801611cd5565b945050602061206d87828801611d0b565b935050604085013567ffffffffffffffff81111561208e5761208d611c87565b5b61209a87828801611f6a565b925092505092959194509250565b600080604083850312156120bf576120be611c82565b5b60006120cd85828601611cd5565b92505060206120de85828601611cd5565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061212f57607f821691505b60208210811415612143576121426120e8565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061217f602083611bd2565b915061218a82612149565b602082019050919050565b600060208201905081810360008301526121ae81612172565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006121ef82611cea565b91506121fa83611cea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561222f5761222e6121b5565b5b828201905092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000612296602583611bd2565b91506122a18261223a565b604082019050919050565b600060208201905081810360008301526122c581612289565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000612302601083611bd2565b915061230d826122cc565b602082019050919050565b60006020820190508181036000830152612331816122f5565b9050919050565b7f537570706c79207065726d616e656e746c792063617070656400000000000000600082015250565b600061236e601983611bd2565b915061237982612338565b602082019050919050565b6000602082019050818103600083015261239d81612361565b9050919050565b7f4661696c656420616c6c6f77616e636520766572696669636174696f6e000000600082015250565b60006123da601d83611bd2565b91506123e5826123a4565b602082019050919050565b60006020820190508181036000830152612409816123cd565b9050919050565b7f5265717565737420686967686572207468616e20616c6c6f77616e6365000000600082015250565b6000612446601d83611bd2565b915061245182612410565b602082019050919050565b6000602082019050818103600083015261247581612439565b9050919050565b60008160011c9050919050565b6000808291508390505b60018511156124d3578086048111156124af576124ae6121b5565b5b60018516156124be5780820291505b80810290506124cc8561247c565b9450612493565b94509492505050565b6000826124ec57600190506125a8565b816124fa57600090506125a8565b8160018114612510576002811461251a57612549565b60019150506125a8565b60ff84111561252c5761252b6121b5565b5b8360020a915084821115612543576125426121b5565b5b506125a8565b5060208310610133831016604e8410600b841016171561257e5782820a905083811115612579576125786121b5565b5b6125a8565b61258b8484846001612489565b925090508184048111156125a2576125a16121b5565b5b81810290505b9392505050565b60006125ba82611cea565b91506125c583611cea565b92506125f27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846124dc565b905092915050565b600061260582611cea565b915061261083611cea565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612649576126486121b5565b5b828202905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006126b0602683611bd2565b91506126bb82612654565b604082019050919050565b600060208201905081810360008301526126df816126a3565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612742602483611bd2565b915061274d826126e6565b604082019050919050565b6000602082019050818103600083015261277181612735565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b60006127d4602283611bd2565b91506127df82612778565b604082019050919050565b60006020820190508181036000830152612803816127c7565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612840601d83611bd2565b915061284b8261280a565b602082019050919050565b6000602082019050818103600083015261286f81612833565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006128d2602583611bd2565b91506128dd82612876565b604082019050919050565b60006020820190508181036000830152612901816128c5565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612964602383611bd2565b915061296f82612908565b604082019050919050565b6000602082019050818103600083015261299381612957565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006129f6602683611bd2565b9150612a018261299a565b604082019050919050565b60006020820190508181036000830152612a25816129e9565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000612a62601483611bd2565b9150612a6d82612a2c565b602082019050919050565b60006020820190508181036000830152612a9181612a55565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612af4602183611bd2565b9150612aff82612a98565b604082019050919050565b60006020820190508181036000830152612b2381612ae7565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612b86602283611bd2565b9150612b9182612b2a565b604082019050919050565b60006020820190508181036000830152612bb581612b79565b9050919050565b6000612bc782611cea565b9150612bd283611cea565b925082821015612be557612be46121b5565b5b828203905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612c26601f83611bd2565b9150612c3182612bf0565b602082019050919050565b60006020820190508181036000830152612c5581612c19565b9050919050565b60008160601b9050919050565b6000612c7482612c5c565b9050919050565b6000612c8682612c69565b9050919050565b612c9e612c9982611cac565b612c7b565b82525050565b6000819050919050565b612cbf612cba82611cea565b612ca4565b82525050565b6000612cd18285612c8d565b601482019150612ce18284612cae565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000612d2b82611cea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612d5e57612d5d6121b5565b5b60018201905091905056fea26469706673582212204ae765d376a4355fdda878770ed779ac9f19228a2b4046c507458fcc85de1e8864736f6c634300080b0033

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

f0ebd16f75f2b956e869391796786171e976a5005e01518c563ab5510ba0bc68

-----Decoded View---------------
Arg [0] : merkleRoot (bytes32): 0xf0ebd16f75f2b956e869391796786171e976a5005e01518c563ab5510ba0bc68

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


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.