ETH Price: $3,374.24 (-1.38%)

Contract

0xED5464bd5c477b7F71739Ce1d741b43E932b97b0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer212624352024-11-25 4:38:4747 hrs ago1732509527IN
0xED5464bd...E932b97b0
0 ETH0.000395477.55163146
Transfer212041132024-11-17 1:22:2310 days ago1731806543IN
0xED5464bd...E932b97b0
0 ETH0.0005926212.45829264
Transfer211482802024-11-09 6:23:3517 days ago1731133415IN
0xED5464bd...E932b97b0
0 ETH0.0006085611.62064691
Transfer211329152024-11-07 2:53:3520 days ago1730948015IN
0xED5464bd...E932b97b0
0 ETH0.0010780720.58617246
Transfer211329052024-11-07 2:51:3520 days ago1730947895IN
0xED5464bd...E932b97b0
0 ETH0.0006938619.67337123
Transfer210997742024-11-02 11:51:4724 days ago1730548307IN
0xED5464bd...E932b97b0
0 ETH0.000215864.12191623
Transfer209462272024-10-12 1:23:5946 days ago1728696239IN
0xED5464bd...E932b97b0
0 ETH0.000405548.52763458
Transfer209254172024-10-09 3:42:5949 days ago1728445379IN
0xED5464bd...E932b97b0
0 ETH0.0006205411.84943034
Transfer208902242024-10-04 6:00:1153 days ago1728021611IN
0xED5464bd...E932b97b0
0 ETH0.000288035.50132018
Transfer208755682024-10-02 4:57:4755 days ago1727845067IN
0xED5464bd...E932b97b0
0 ETH0.000318226.07652384
Transfer208744502024-10-02 1:13:1156 days ago1727831591IN
0xED5464bd...E932b97b0
0 ETH0.000330526.31138778
Transfer208594632024-09-29 23:04:3558 days ago1727651075IN
0xED5464bd...E932b97b0
0 ETH0.000221956.29309518
Transfer208579332024-09-29 17:56:4758 days ago1727632607IN
0xED5464bd...E932b97b0
0 ETH0.000293198.31607459
Transfer208181422024-09-24 4:44:3563 days ago1727153075IN
0xED5464bd...E932b97b0
0 ETH0.0005734712.05571736
Transfer208178132024-09-24 3:38:3564 days ago1727149115IN
0xED5464bd...E932b97b0
0 ETH0.0006825414.34490775
Transfer207939792024-09-20 19:46:1167 days ago1726861571IN
0xED5464bd...E932b97b0
0 ETH0.0007564514.44142577
Transfer207784662024-09-18 15:46:5969 days ago1726674419IN
0xED5464bd...E932b97b0
0 ETH0.0006406318.16439333
Transfer207643272024-09-16 16:20:1171 days ago1726503611IN
0xED5464bd...E932b97b0
0 ETH0.0006337612.10195987
Transfer206782732024-09-04 16:00:1183 days ago1725465611IN
0xED5464bd...E932b97b0
0 ETH0.0003209910.53500223
Transfer206448122024-08-30 23:55:5988 days ago1725062159IN
0xED5464bd...E932b97b0
0 ETH0.000035810.75292016
Transfer206447802024-08-30 23:49:3588 days ago1725061775IN
0xED5464bd...E932b97b0
0 ETH0.000089343.22916145
Transfer206326202024-08-29 7:02:3589 days ago1724914955IN
0xED5464bd...E932b97b0
0 ETH0.000167973.53124963
Approve205413282024-08-16 12:55:35102 days ago1723812935IN
0xED5464bd...E932b97b0
0 ETH0.000103644.15107911
Transfer205401472024-08-16 8:58:23102 days ago1723798703IN
0xED5464bd...E932b97b0
0 ETH0.000084781.78230422
Transfer204456892024-08-03 4:40:59115 days ago1722660059IN
0xED5464bd...E932b97b0
0 ETH0.000068382.24444576
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:
BAPMethane

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : BAPMethane.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * A number of codes are defined as error messages.
 * Codes are resembling HTTP statuses. This is the structure
 * CODE:SHORT
 * Where CODE is a number and SHORT is a short word or phrase
 * describing the condition
 * CODES:
 * 100  contract status: open/closed, depleted. In general for any flag
 *     causing the mint too not to happen.
 * 200  parameters validation errors, like zero address or wrong values
 * 300  User payment amount errors like not enough funds.
 * 400  Contract amount/availability errors like not enough tokens or empty vault.
 * 500  permission errors, like not whitelisted, wrong address, not the owner.
 */
contract BAPMethane is ERC20, Ownable {
    uint8 public constant decimalPlaces = 0;
    uint256 public mintingMin = 10;
    uint256 public maxSupply = 560000000;
    uint256 public constant treasuryLiquidity = 22400000;
    uint256 public burned;
    address public treasuryWallet;
    bool public open = false;
    address public orchestrator;
    address public vestingManager;
    mapping(address => uint256) public claims;

    constructor(address _treasuryWallet) ERC20("BAP Methane", "METH") {
        treasuryWallet = _treasuryWallet;
        // Fund treasury immediately
        require(
            treasuryWallet != address(0),
            "Treasury Wallet cannot be Address Zero"
        );
        _mint(treasuryWallet, treasuryLiquidity);
    }

    function airdrop(address wallet, uint256 tokenAmount) public onlyOwner {
        require(open, "100:CLOSED");
        require(_verifyMethAvailability(tokenAmount), "400:EXCEEDS_SUPPLY");
        _mint(wallet, tokenAmount);
        claims[wallet] += tokenAmount;
    }

    function claim(address wallet, uint256 tokenAmount) public {
        require(open, "100:CLOSED");
        require(verifyOrigin(), "500:UNAUTHORIZED");
        require(mintingMin <= tokenAmount, "300:INSUFFICIENT_METH");
        require(_verifyMethAvailability(tokenAmount), "400:EXCEEDS_SUPPLY");
        _mint(wallet, tokenAmount);
        claims[wallet] += tokenAmount;
    }

    function decimals() public view virtual override returns (uint8) {
        return decimalPlaces;
    }

    function pay(uint256 paymentAmount, uint256 fee) public {
        require(open, "100:CLOSED");
        require(orchestrator == msg.sender, "500:UNAUTHORIZED");
        require(balanceOf(tx.origin) >= paymentAmount, "300:INSUFFICIENT_METH");
        uint256 _fee = fee;
        // Protect unsingned operation
        if (fee > paymentAmount) {
            _fee = paymentAmount;
        }
        uint256 toBurn = paymentAmount - _fee;
        _transfer(tx.origin, treasuryWallet, _fee);
        if (toBurn > 0) {
            _burn(tx.origin, toBurn);
            burned += toBurn;
        }
    }

    function verifyOrigin() internal view returns (bool) {
        return msg.sender == orchestrator || msg.sender == vestingManager;
    }

    function setMintingMin(uint256 min) public onlyOwner {
        require(min > 0, "200:INVALID_PARAM");
        mintingMin = min;
    }

    function setOpen(bool _open) public onlyOwner {
        open = _open;
    }

    function setMaxSupply(uint256 _maxSupply) public onlyOwner {
        require(_maxSupply > burned + totalSupply(), "200:INVALID_PARAM");
        maxSupply = _maxSupply;
    }

    function setTreasuryWallet(address wallet) public onlyOwner {
        require(wallet != address(0), "200:ZERO_ADDRESS");
        treasuryWallet = wallet;
    }

    function setOrchestrator(address contractAddress) external onlyOwner {
        require(contractAddress != address(0), "200:ZERO_ADDRESS");
        orchestrator = contractAddress;
    }

    function setVestingManager(address contractAddress) external onlyOwner {
        require(contractAddress != address(0), "200:ZERO_ADDRESS");
        vestingManager = contractAddress;
    }

    function _verifyMethAvailability(uint256 tokenAmount)
        internal
        view
        returns (bool)
    {
        // To burn a token, modifies the total supply. Therefore, we need to use the burn tracker
        return (tokenAmount + burned + totalSupply()) < maxSupply;
    }
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"}],"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":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claims","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimalPlaces","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingMin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"open","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"orchestrator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"paymentAmount","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"pay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"min","type":"uint256"}],"name":"setMintingMin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_open","type":"bool"}],"name":"setOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setOrchestrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"setTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setVestingManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryLiquidity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052600a600655632160ec006007556000600960146101000a81548160ff0219169083151502179055503480156200003957600080fd5b50604051620037303803806200373083398181016040528101906200005f91906200059f565b6040518060400160405280600b81526020017f424150204d657468616e650000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d455448000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000e392919062000485565b508060049080519060200190620000fc92919062000485565b5050506200011f620001136200023460201b60201c565b6200023c60201b60201c565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff16600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415620001f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001ec9062000658565b60405180910390fd5b6200022d600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16630155cc006200030260201b60201c565b5062000815565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000375576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200036c90620006ca565b60405180910390fd5b62000389600083836200047b60201b60201c565b80600260008282546200039d919062000725565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620003f4919062000725565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200045b919062000793565b60405180910390a362000477600083836200048060201b60201c565b5050565b505050565b505050565b8280546200049390620007df565b90600052602060002090601f016020900481019282620004b7576000855562000503565b82601f10620004d257805160ff191683800117855562000503565b8280016001018555821562000503579182015b8281111562000502578251825591602001919060010190620004e5565b5b50905062000512919062000516565b5090565b5b808211156200053157600081600090555060010162000517565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000567826200053a565b9050919050565b62000579816200055a565b81146200058557600080fd5b50565b60008151905062000599816200056e565b92915050565b600060208284031215620005b857620005b762000535565b5b6000620005c88482850162000588565b91505092915050565b600082825260208201905092915050565b7f54726561737572792057616c6c65742063616e6e6f742062652041646472657360008201527f73205a65726f0000000000000000000000000000000000000000000000000000602082015250565b600062000640602683620005d1565b91506200064d82620005e2565b604082019050919050565b60006020820190508181036000830152620006738162000631565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000620006b2601f83620005d1565b9150620006bf826200067a565b602082019050919050565b60006020820190508181036000830152620006e581620006a3565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200073282620006ec565b91506200073f83620006ec565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620007775762000776620006f6565b5b828201905092915050565b6200078d81620006ec565b82525050565b6000602082019050620007aa600083018462000782565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007f857607f821691505b602082108114156200080f576200080e620007b0565b5b50919050565b612f0b80620008256000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c806395d89b411161011a578063d5abeb01116100ad578063ef48eee61161007c578063ef48eee6146105b6578063f2fde38b146105d2578063fac57cf5146105ee578063fcfff16f1461060a578063fe610ece14610628576101fb565b8063d5abeb011461052c578063db27b8dd1461054a578063dd62ed3e14610568578063e1725c9214610598576101fb565b8063aad3ec96116100e9578063aad3ec96146104a6578063b74795d9146104c2578063c6788bdd146104e0578063cd28ef0d14610510576101fb565b806395d89b411461040c578063a457c2d71461042a578063a8602fea1461045a578063a9059cbb14610476576101fb565b80634626402b11610192578063715018a611610161578063715018a6146103aa57806373f42561146103b45780638ba4cc3c146103d25780638da5cb5b146103ee576101fb565b80634626402b146103245780636f8b44b0146103425780636fdca5e01461035e57806370a082311461037a576101fb565b806318160ddd116101ce57806318160ddd1461028857806323b872dd146102a6578063313ce567146102d657806339509351146102f4576101fb565b806306fdde0314610200578063095ea7b31461021e57806309fb66981461024e57806315d7b2c41461026c575b600080fd5b610208610646565b604051610215919061218b565b60405180910390f35b61023860048036038101906102339190612246565b6106d8565b60405161024591906122a1565b60405180910390f35b6102566106fb565b60405161026391906122cb565b60405180910390f35b610286600480360381019061028191906122e6565b610703565b005b610290610833565b60405161029d91906122cb565b60405180910390f35b6102c060048036038101906102bb9190612313565b61083d565b6040516102cd91906122a1565b60405180910390f35b6102de61086c565b6040516102eb9190612382565b60405180910390f35b61030e60048036038101906103099190612246565b610871565b60405161031b91906122a1565b60405180910390f35b61032c61091b565b60405161033991906123ac565b60405180910390f35b61035c600480360381019061035791906123c7565b610941565b005b61037860048036038101906103739190612420565b610a1d565b005b610394600480360381019061038f91906122e6565b610ab6565b6040516103a191906122cb565b60405180910390f35b6103b2610afe565b005b6103bc610b86565b6040516103c991906122cb565b60405180910390f35b6103ec60048036038101906103e79190612246565b610b8c565b005b6103f6610d03565b60405161040391906123ac565b60405180910390f35b610414610d2d565b604051610421919061218b565b60405180910390f35b610444600480360381019061043f9190612246565b610dbf565b60405161045191906122a1565b60405180910390f35b610474600480360381019061046f91906122e6565b610ea9565b005b610490600480360381019061048b9190612246565b610fd9565b60405161049d91906122a1565b60405180910390f35b6104c060048036038101906104bb9190612246565b610ffc565b005b6104ca611183565b6040516104d791906123ac565b60405180910390f35b6104fa60048036038101906104f591906122e6565b6111a9565b60405161050791906122cb565b60405180910390f35b61052a600480360381019061052591906122e6565b6111c1565b005b6105346112f1565b60405161054191906122cb565b60405180910390f35b6105526112f7565b60405161055f91906123ac565b60405180910390f35b610582600480360381019061057d919061244d565b61131d565b60405161058f91906122cb565b60405180910390f35b6105a06113a4565b6040516105ad9190612382565b60405180910390f35b6105d060048036038101906105cb919061248d565b6113a9565b005b6105ec60048036038101906105e791906122e6565b611554565b005b610608600480360381019061060391906123c7565b61164c565b005b610612611715565b60405161061f91906122a1565b60405180910390f35b610630611728565b60405161063d91906122cb565b60405180910390f35b606060038054610655906124fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610681906124fc565b80156106ce5780601f106106a3576101008083540402835291602001916106ce565b820191906000526020600020905b8154815290600101906020018083116106b157829003601f168201915b5050505050905090565b6000806106e361172e565b90506106f0818585611736565b600191505092915050565b630155cc0081565b61070b61172e565b73ffffffffffffffffffffffffffffffffffffffff16610729610d03565b73ffffffffffffffffffffffffffffffffffffffff161461077f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107769061257a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e6906125e6565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600254905090565b60008061084861172e565b9050610855858285611901565b61086085858561198d565b60019150509392505050565b600090565b60008061087c61172e565b9050610910818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461090b9190612635565b611736565b600191505092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61094961172e565b73ffffffffffffffffffffffffffffffffffffffff16610967610d03565b73ffffffffffffffffffffffffffffffffffffffff16146109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b49061257a565b60405180910390fd5b6109c5610833565b6008546109d29190612635565b8111610a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0a906126d7565b60405180910390fd5b8060078190555050565b610a2561172e565b73ffffffffffffffffffffffffffffffffffffffff16610a43610d03565b73ffffffffffffffffffffffffffffffffffffffff1614610a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a909061257a565b60405180910390fd5b80600960146101000a81548160ff02191690831515021790555050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b0661172e565b73ffffffffffffffffffffffffffffffffffffffff16610b24610d03565b73ffffffffffffffffffffffffffffffffffffffff1614610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b719061257a565b60405180910390fd5b610b846000611c0e565b565b60085481565b610b9461172e565b73ffffffffffffffffffffffffffffffffffffffff16610bb2610d03565b73ffffffffffffffffffffffffffffffffffffffff1614610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff9061257a565b60405180910390fd5b600960149054906101000a900460ff16610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e90612743565b60405180910390fd5b610c6081611cd4565b610c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c96906127af565b60405180910390fd5b610ca98282611d01565b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610cf89190612635565b925050819055505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610d3c906124fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610d68906124fc565b8015610db55780601f10610d8a57610100808354040283529160200191610db5565b820191906000526020600020905b815481529060010190602001808311610d9857829003601f168201915b5050505050905090565b600080610dca61172e565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8790612841565b60405180910390fd5b610e9d8286868403611736565b60019250505092915050565b610eb161172e565b73ffffffffffffffffffffffffffffffffffffffff16610ecf610d03565b73ffffffffffffffffffffffffffffffffffffffff1614610f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1c9061257a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c906125e6565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080610fe461172e565b9050610ff181858561198d565b600191505092915050565b600960149054906101000a900460ff1661104b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104290612743565b60405180910390fd5b611053611e61565b611092576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611089906128ad565b60405180910390fd5b8060065411156110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90612919565b60405180910390fd5b6110e081611cd4565b61111f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611116906127af565b60405180910390fd5b6111298282611d01565b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111789190612635565b925050819055505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c6020528060005260406000206000915090505481565b6111c961172e565b73ffffffffffffffffffffffffffffffffffffffff166111e7610d03565b73ffffffffffffffffffffffffffffffffffffffff161461123d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112349061257a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a4906125e6565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60075481565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600081565b600960149054906101000a900460ff166113f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ef90612743565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f906128ad565b60405180910390fd5b8161149232610ab6565b10156114d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ca90612919565b60405180910390fd5b6000819050828211156114e4578290505b600081846114f29190612939565b905061152132600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461198d565b600081111561154e576115343282611f11565b80600860008282546115469190612635565b925050819055505b50505050565b61155c61172e565b73ffffffffffffffffffffffffffffffffffffffff1661157a610d03565b73ffffffffffffffffffffffffffffffffffffffff16146115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c79061257a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611640576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611637906129df565b60405180910390fd5b61164981611c0e565b50565b61165461172e565b73ffffffffffffffffffffffffffffffffffffffff16611672610d03565b73ffffffffffffffffffffffffffffffffffffffff16146116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf9061257a565b60405180910390fd5b6000811161170b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611702906126d7565b60405180910390fd5b8060068190555050565b600960149054906101000a900460ff1681565b60065481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d90612a71565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d90612b03565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118f491906122cb565b60405180910390a3505050565b600061190d848461131d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146119875781811015611979576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197090612b6f565b60405180910390fd5b6119868484848403611736565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f490612c01565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6490612c93565b60405180910390fd5b611a788383836120e8565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af590612d25565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b919190612635565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bf591906122cb565b60405180910390a3611c088484846120ed565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600754611ce1610833565b60085484611cef9190612635565b611cf99190612635565b109050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890612d91565b60405180910390fd5b611d7d600083836120e8565b8060026000828254611d8f9190612635565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611de49190612635565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e4991906122cb565b60405180910390a3611e5d600083836120ed565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611f0c5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7890612e23565b60405180910390fd5b611f8d826000836120e8565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612013576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200a90612eb5565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461206a9190612939565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120cf91906122cb565b60405180910390a36120e3836000846120ed565b505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561212c578082015181840152602081019050612111565b8381111561213b576000848401525b50505050565b6000601f19601f8301169050919050565b600061215d826120f2565b61216781856120fd565b935061217781856020860161210e565b61218081612141565b840191505092915050565b600060208201905081810360008301526121a58184612152565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121dd826121b2565b9050919050565b6121ed816121d2565b81146121f857600080fd5b50565b60008135905061220a816121e4565b92915050565b6000819050919050565b61222381612210565b811461222e57600080fd5b50565b6000813590506122408161221a565b92915050565b6000806040838503121561225d5761225c6121ad565b5b600061226b858286016121fb565b925050602061227c85828601612231565b9150509250929050565b60008115159050919050565b61229b81612286565b82525050565b60006020820190506122b66000830184612292565b92915050565b6122c581612210565b82525050565b60006020820190506122e060008301846122bc565b92915050565b6000602082840312156122fc576122fb6121ad565b5b600061230a848285016121fb565b91505092915050565b60008060006060848603121561232c5761232b6121ad565b5b600061233a868287016121fb565b935050602061234b868287016121fb565b925050604061235c86828701612231565b9150509250925092565b600060ff82169050919050565b61237c81612366565b82525050565b60006020820190506123976000830184612373565b92915050565b6123a6816121d2565b82525050565b60006020820190506123c1600083018461239d565b92915050565b6000602082840312156123dd576123dc6121ad565b5b60006123eb84828501612231565b91505092915050565b6123fd81612286565b811461240857600080fd5b50565b60008135905061241a816123f4565b92915050565b600060208284031215612436576124356121ad565b5b60006124448482850161240b565b91505092915050565b60008060408385031215612464576124636121ad565b5b6000612472858286016121fb565b9250506020612483858286016121fb565b9150509250929050565b600080604083850312156124a4576124a36121ad565b5b60006124b285828601612231565b92505060206124c385828601612231565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061251457607f821691505b60208210811415612528576125276124cd565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006125646020836120fd565b915061256f8261252e565b602082019050919050565b6000602082019050818103600083015261259381612557565b9050919050565b7f3230303a5a45524f5f4144445245535300000000000000000000000000000000600082015250565b60006125d06010836120fd565b91506125db8261259a565b602082019050919050565b600060208201905081810360008301526125ff816125c3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061264082612210565b915061264b83612210565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156126805761267f612606565b5b828201905092915050565b7f3230303a494e56414c49445f504152414d000000000000000000000000000000600082015250565b60006126c16011836120fd565b91506126cc8261268b565b602082019050919050565b600060208201905081810360008301526126f0816126b4565b9050919050565b7f3130303a434c4f53454400000000000000000000000000000000000000000000600082015250565b600061272d600a836120fd565b9150612738826126f7565b602082019050919050565b6000602082019050818103600083015261275c81612720565b9050919050565b7f3430303a455843454544535f535550504c590000000000000000000000000000600082015250565b60006127996012836120fd565b91506127a482612763565b602082019050919050565b600060208201905081810360008301526127c88161278c565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061282b6025836120fd565b9150612836826127cf565b604082019050919050565b6000602082019050818103600083015261285a8161281e565b9050919050565b7f3530303a554e415554484f52495a454400000000000000000000000000000000600082015250565b60006128976010836120fd565b91506128a282612861565b602082019050919050565b600060208201905081810360008301526128c68161288a565b9050919050565b7f3330303a494e53554646494349454e545f4d4554480000000000000000000000600082015250565b60006129036015836120fd565b915061290e826128cd565b602082019050919050565b60006020820190508181036000830152612932816128f6565b9050919050565b600061294482612210565b915061294f83612210565b92508282101561296257612961612606565b5b828203905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006129c96026836120fd565b91506129d48261296d565b604082019050919050565b600060208201905081810360008301526129f8816129bc565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612a5b6024836120fd565b9150612a66826129ff565b604082019050919050565b60006020820190508181036000830152612a8a81612a4e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612aed6022836120fd565b9150612af882612a91565b604082019050919050565b60006020820190508181036000830152612b1c81612ae0565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612b59601d836120fd565b9150612b6482612b23565b602082019050919050565b60006020820190508181036000830152612b8881612b4c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612beb6025836120fd565b9150612bf682612b8f565b604082019050919050565b60006020820190508181036000830152612c1a81612bde565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612c7d6023836120fd565b9150612c8882612c21565b604082019050919050565b60006020820190508181036000830152612cac81612c70565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612d0f6026836120fd565b9150612d1a82612cb3565b604082019050919050565b60006020820190508181036000830152612d3e81612d02565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612d7b601f836120fd565b9150612d8682612d45565b602082019050919050565b60006020820190508181036000830152612daa81612d6e565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e0d6021836120fd565b9150612e1882612db1565b604082019050919050565b60006020820190508181036000830152612e3c81612e00565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e9f6022836120fd565b9150612eaa82612e43565b604082019050919050565b60006020820190508181036000830152612ece81612e92565b905091905056fea2646970667358221220e8f6492b3b49379e18975d717b9fef51a9dcb9b2581b58be2187175084ef4d1264736f6c634300080c0033000000000000000000000000b207801d0fa6afe0c47e9d062adbe9894832df38

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c806395d89b411161011a578063d5abeb01116100ad578063ef48eee61161007c578063ef48eee6146105b6578063f2fde38b146105d2578063fac57cf5146105ee578063fcfff16f1461060a578063fe610ece14610628576101fb565b8063d5abeb011461052c578063db27b8dd1461054a578063dd62ed3e14610568578063e1725c9214610598576101fb565b8063aad3ec96116100e9578063aad3ec96146104a6578063b74795d9146104c2578063c6788bdd146104e0578063cd28ef0d14610510576101fb565b806395d89b411461040c578063a457c2d71461042a578063a8602fea1461045a578063a9059cbb14610476576101fb565b80634626402b11610192578063715018a611610161578063715018a6146103aa57806373f42561146103b45780638ba4cc3c146103d25780638da5cb5b146103ee576101fb565b80634626402b146103245780636f8b44b0146103425780636fdca5e01461035e57806370a082311461037a576101fb565b806318160ddd116101ce57806318160ddd1461028857806323b872dd146102a6578063313ce567146102d657806339509351146102f4576101fb565b806306fdde0314610200578063095ea7b31461021e57806309fb66981461024e57806315d7b2c41461026c575b600080fd5b610208610646565b604051610215919061218b565b60405180910390f35b61023860048036038101906102339190612246565b6106d8565b60405161024591906122a1565b60405180910390f35b6102566106fb565b60405161026391906122cb565b60405180910390f35b610286600480360381019061028191906122e6565b610703565b005b610290610833565b60405161029d91906122cb565b60405180910390f35b6102c060048036038101906102bb9190612313565b61083d565b6040516102cd91906122a1565b60405180910390f35b6102de61086c565b6040516102eb9190612382565b60405180910390f35b61030e60048036038101906103099190612246565b610871565b60405161031b91906122a1565b60405180910390f35b61032c61091b565b60405161033991906123ac565b60405180910390f35b61035c600480360381019061035791906123c7565b610941565b005b61037860048036038101906103739190612420565b610a1d565b005b610394600480360381019061038f91906122e6565b610ab6565b6040516103a191906122cb565b60405180910390f35b6103b2610afe565b005b6103bc610b86565b6040516103c991906122cb565b60405180910390f35b6103ec60048036038101906103e79190612246565b610b8c565b005b6103f6610d03565b60405161040391906123ac565b60405180910390f35b610414610d2d565b604051610421919061218b565b60405180910390f35b610444600480360381019061043f9190612246565b610dbf565b60405161045191906122a1565b60405180910390f35b610474600480360381019061046f91906122e6565b610ea9565b005b610490600480360381019061048b9190612246565b610fd9565b60405161049d91906122a1565b60405180910390f35b6104c060048036038101906104bb9190612246565b610ffc565b005b6104ca611183565b6040516104d791906123ac565b60405180910390f35b6104fa60048036038101906104f591906122e6565b6111a9565b60405161050791906122cb565b60405180910390f35b61052a600480360381019061052591906122e6565b6111c1565b005b6105346112f1565b60405161054191906122cb565b60405180910390f35b6105526112f7565b60405161055f91906123ac565b60405180910390f35b610582600480360381019061057d919061244d565b61131d565b60405161058f91906122cb565b60405180910390f35b6105a06113a4565b6040516105ad9190612382565b60405180910390f35b6105d060048036038101906105cb919061248d565b6113a9565b005b6105ec60048036038101906105e791906122e6565b611554565b005b610608600480360381019061060391906123c7565b61164c565b005b610612611715565b60405161061f91906122a1565b60405180910390f35b610630611728565b60405161063d91906122cb565b60405180910390f35b606060038054610655906124fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610681906124fc565b80156106ce5780601f106106a3576101008083540402835291602001916106ce565b820191906000526020600020905b8154815290600101906020018083116106b157829003601f168201915b5050505050905090565b6000806106e361172e565b90506106f0818585611736565b600191505092915050565b630155cc0081565b61070b61172e565b73ffffffffffffffffffffffffffffffffffffffff16610729610d03565b73ffffffffffffffffffffffffffffffffffffffff161461077f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107769061257a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156107ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e6906125e6565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600254905090565b60008061084861172e565b9050610855858285611901565b61086085858561198d565b60019150509392505050565b600090565b60008061087c61172e565b9050610910818585600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461090b9190612635565b611736565b600191505092915050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61094961172e565b73ffffffffffffffffffffffffffffffffffffffff16610967610d03565b73ffffffffffffffffffffffffffffffffffffffff16146109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b49061257a565b60405180910390fd5b6109c5610833565b6008546109d29190612635565b8111610a13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0a906126d7565b60405180910390fd5b8060078190555050565b610a2561172e565b73ffffffffffffffffffffffffffffffffffffffff16610a43610d03565b73ffffffffffffffffffffffffffffffffffffffff1614610a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a909061257a565b60405180910390fd5b80600960146101000a81548160ff02191690831515021790555050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610b0661172e565b73ffffffffffffffffffffffffffffffffffffffff16610b24610d03565b73ffffffffffffffffffffffffffffffffffffffff1614610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b719061257a565b60405180910390fd5b610b846000611c0e565b565b60085481565b610b9461172e565b73ffffffffffffffffffffffffffffffffffffffff16610bb2610d03565b73ffffffffffffffffffffffffffffffffffffffff1614610c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bff9061257a565b60405180910390fd5b600960149054906101000a900460ff16610c57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4e90612743565b60405180910390fd5b610c6081611cd4565b610c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c96906127af565b60405180910390fd5b610ca98282611d01565b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610cf89190612635565b925050819055505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610d3c906124fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610d68906124fc565b8015610db55780601f10610d8a57610100808354040283529160200191610db5565b820191906000526020600020905b815481529060010190602001808311610d9857829003601f168201915b5050505050905090565b600080610dca61172e565b90506000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015610e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8790612841565b60405180910390fd5b610e9d8286868403611736565b60019250505092915050565b610eb161172e565b73ffffffffffffffffffffffffffffffffffffffff16610ecf610d03565b73ffffffffffffffffffffffffffffffffffffffff1614610f25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1c9061257a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8c906125e6565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080610fe461172e565b9050610ff181858561198d565b600191505092915050565b600960149054906101000a900460ff1661104b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104290612743565b60405180910390fd5b611053611e61565b611092576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611089906128ad565b60405180910390fd5b8060065411156110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90612919565b60405180910390fd5b6110e081611cd4565b61111f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611116906127af565b60405180910390fd5b6111298282611d01565b80600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111789190612635565b925050819055505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c6020528060005260406000206000915090505481565b6111c961172e565b73ffffffffffffffffffffffffffffffffffffffff166111e7610d03565b73ffffffffffffffffffffffffffffffffffffffff161461123d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112349061257a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a4906125e6565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60075481565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600081565b600960149054906101000a900460ff166113f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ef90612743565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611488576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147f906128ad565b60405180910390fd5b8161149232610ab6565b10156114d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ca90612919565b60405180910390fd5b6000819050828211156114e4578290505b600081846114f29190612939565b905061152132600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461198d565b600081111561154e576115343282611f11565b80600860008282546115469190612635565b925050819055505b50505050565b61155c61172e565b73ffffffffffffffffffffffffffffffffffffffff1661157a610d03565b73ffffffffffffffffffffffffffffffffffffffff16146115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c79061257a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611640576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611637906129df565b60405180910390fd5b61164981611c0e565b50565b61165461172e565b73ffffffffffffffffffffffffffffffffffffffff16611672610d03565b73ffffffffffffffffffffffffffffffffffffffff16146116c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bf9061257a565b60405180910390fd5b6000811161170b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611702906126d7565b60405180910390fd5b8060068190555050565b600960149054906101000a900460ff1681565b60065481565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d90612a71565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611816576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180d90612b03565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516118f491906122cb565b60405180910390a3505050565b600061190d848461131d565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146119875781811015611979576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197090612b6f565b60405180910390fd5b6119868484848403611736565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f490612c01565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6490612c93565b60405180910390fd5b611a788383836120e8565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af590612d25565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b919190612635565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bf591906122cb565b60405180910390a3611c088484846120ed565b50505050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600754611ce1610833565b60085484611cef9190612635565b611cf99190612635565b109050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6890612d91565b60405180910390fd5b611d7d600083836120e8565b8060026000828254611d8f9190612635565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611de49190612635565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611e4991906122cb565b60405180910390a3611e5d600083836120ed565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611f0c5750600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b905090565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7890612e23565b60405180910390fd5b611f8d826000836120e8565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612013576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200a90612eb5565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600082825461206a9190612939565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120cf91906122cb565b60405180910390a36120e3836000846120ed565b505050565b505050565b505050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561212c578082015181840152602081019050612111565b8381111561213b576000848401525b50505050565b6000601f19601f8301169050919050565b600061215d826120f2565b61216781856120fd565b935061217781856020860161210e565b61218081612141565b840191505092915050565b600060208201905081810360008301526121a58184612152565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121dd826121b2565b9050919050565b6121ed816121d2565b81146121f857600080fd5b50565b60008135905061220a816121e4565b92915050565b6000819050919050565b61222381612210565b811461222e57600080fd5b50565b6000813590506122408161221a565b92915050565b6000806040838503121561225d5761225c6121ad565b5b600061226b858286016121fb565b925050602061227c85828601612231565b9150509250929050565b60008115159050919050565b61229b81612286565b82525050565b60006020820190506122b66000830184612292565b92915050565b6122c581612210565b82525050565b60006020820190506122e060008301846122bc565b92915050565b6000602082840312156122fc576122fb6121ad565b5b600061230a848285016121fb565b91505092915050565b60008060006060848603121561232c5761232b6121ad565b5b600061233a868287016121fb565b935050602061234b868287016121fb565b925050604061235c86828701612231565b9150509250925092565b600060ff82169050919050565b61237c81612366565b82525050565b60006020820190506123976000830184612373565b92915050565b6123a6816121d2565b82525050565b60006020820190506123c1600083018461239d565b92915050565b6000602082840312156123dd576123dc6121ad565b5b60006123eb84828501612231565b91505092915050565b6123fd81612286565b811461240857600080fd5b50565b60008135905061241a816123f4565b92915050565b600060208284031215612436576124356121ad565b5b60006124448482850161240b565b91505092915050565b60008060408385031215612464576124636121ad565b5b6000612472858286016121fb565b9250506020612483858286016121fb565b9150509250929050565b600080604083850312156124a4576124a36121ad565b5b60006124b285828601612231565b92505060206124c385828601612231565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061251457607f821691505b60208210811415612528576125276124cd565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006125646020836120fd565b915061256f8261252e565b602082019050919050565b6000602082019050818103600083015261259381612557565b9050919050565b7f3230303a5a45524f5f4144445245535300000000000000000000000000000000600082015250565b60006125d06010836120fd565b91506125db8261259a565b602082019050919050565b600060208201905081810360008301526125ff816125c3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061264082612210565b915061264b83612210565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156126805761267f612606565b5b828201905092915050565b7f3230303a494e56414c49445f504152414d000000000000000000000000000000600082015250565b60006126c16011836120fd565b91506126cc8261268b565b602082019050919050565b600060208201905081810360008301526126f0816126b4565b9050919050565b7f3130303a434c4f53454400000000000000000000000000000000000000000000600082015250565b600061272d600a836120fd565b9150612738826126f7565b602082019050919050565b6000602082019050818103600083015261275c81612720565b9050919050565b7f3430303a455843454544535f535550504c590000000000000000000000000000600082015250565b60006127996012836120fd565b91506127a482612763565b602082019050919050565b600060208201905081810360008301526127c88161278c565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061282b6025836120fd565b9150612836826127cf565b604082019050919050565b6000602082019050818103600083015261285a8161281e565b9050919050565b7f3530303a554e415554484f52495a454400000000000000000000000000000000600082015250565b60006128976010836120fd565b91506128a282612861565b602082019050919050565b600060208201905081810360008301526128c68161288a565b9050919050565b7f3330303a494e53554646494349454e545f4d4554480000000000000000000000600082015250565b60006129036015836120fd565b915061290e826128cd565b602082019050919050565b60006020820190508181036000830152612932816128f6565b9050919050565b600061294482612210565b915061294f83612210565b92508282101561296257612961612606565b5b828203905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006129c96026836120fd565b91506129d48261296d565b604082019050919050565b600060208201905081810360008301526129f8816129bc565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612a5b6024836120fd565b9150612a66826129ff565b604082019050919050565b60006020820190508181036000830152612a8a81612a4e565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612aed6022836120fd565b9150612af882612a91565b604082019050919050565b60006020820190508181036000830152612b1c81612ae0565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612b59601d836120fd565b9150612b6482612b23565b602082019050919050565b60006020820190508181036000830152612b8881612b4c565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000612beb6025836120fd565b9150612bf682612b8f565b604082019050919050565b60006020820190508181036000830152612c1a81612bde565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000612c7d6023836120fd565b9150612c8882612c21565b604082019050919050565b60006020820190508181036000830152612cac81612c70565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b6000612d0f6026836120fd565b9150612d1a82612cb3565b604082019050919050565b60006020820190508181036000830152612d3e81612d02565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612d7b601f836120fd565b9150612d8682612d45565b602082019050919050565b60006020820190508181036000830152612daa81612d6e565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e0d6021836120fd565b9150612e1882612db1565b604082019050919050565b60006020820190508181036000830152612e3c81612e00565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e9f6022836120fd565b9150612eaa82612e43565b604082019050919050565b60006020820190508181036000830152612ece81612e92565b905091905056fea2646970667358221220e8f6492b3b49379e18975d717b9fef51a9dcb9b2581b58be2187175084ef4d1264736f6c634300080c0033

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

000000000000000000000000b207801d0fa6afe0c47e9d062adbe9894832df38

-----Decoded View---------------
Arg [0] : _treasuryWallet (address): 0xb207801D0fa6aFe0C47E9D062Adbe9894832df38

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


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.