FRAX Price: $1.00 (-1.31%)

Contract

0x1266474aBFd29F5AFAA319812285027841A30dFc

Overview

FRAX Balance | FXTL Balance

0 FRAX | 142 FXTL

FRAX Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Bulk Remove Echo...244951162025-08-21 18:29:03156 days ago1755800943IN
0x1266474a...841A30dFc
0 FRAX0.000028070.00100025
Bulk Remove Echo...244951092025-08-21 18:28:49156 days ago1755800929IN
0x1266474a...841A30dFc
0 FRAX0.000028520.00100025
Bulk Remove Echo...244951012025-08-21 18:28:33156 days ago1755800913IN
0x1266474a...841A30dFc
0 FRAX0.000025770.00100025
Bulk Remove Echo...244950912025-08-21 18:28:13156 days ago1755800893IN
0x1266474a...841A30dFc
0 FRAX0.000022910.00100025
Bulk Remove Echo...244950852025-08-21 18:28:01156 days ago1755800881IN
0x1266474a...841A30dFc
0 FRAX0.000024890.00100025
Bulk Remove Echo...244950532025-08-21 18:26:57156 days ago1755800817IN
0x1266474a...841A30dFc
0 FRAX0.000025060.00100025
Bulk Remove Echo...244950462025-08-21 18:26:43156 days ago1755800803IN
0x1266474a...841A30dFc
0 FRAX0.000025510.00100025
Bulk Remove Echo...244950192025-08-21 18:25:49156 days ago1755800749IN
0x1266474a...841A30dFc
0 FRAX0.000025670.00100025
Bulk Remove Echo...244950022025-08-21 18:25:15156 days ago1755800715IN
0x1266474a...841A30dFc
0 FRAX0.000026490.00100025
Bulk Remove Echo...244949962025-08-21 18:25:03156 days ago1755800703IN
0x1266474a...841A30dFc
0 FRAX0.000026390.00100025
Bulk Remove Echo...244949682025-08-21 18:24:07156 days ago1755800647IN
0x1266474a...841A30dFc
0 FRAX0.000028490.00100025
Bulk Remove Echo...244949282025-08-21 18:22:47156 days ago1755800567IN
0x1266474a...841A30dFc
0 FRAX0.000030070.00100025
Bulk Add Echo Po...242179832025-08-15 8:31:17162 days ago1755246677IN
0x1266474a...841A30dFc
0 FRAX0.000040810.00100025
Bulk Add Echo Po...242179782025-08-15 8:31:07162 days ago1755246667IN
0x1266474a...841A30dFc
0 FRAX0.000189070.00100025
Bulk Add Echo Po...242179432025-08-15 8:29:57162 days ago1755246597IN
0x1266474a...841A30dFc
0 FRAX0.000044540.00100025
Bulk Add Echo Po...240922262025-08-12 10:39:23165 days ago1754995163IN
0x1266474a...841A30dFc
0 FRAX0.000202930.00100025
Bulk Add Echo Po...240119702025-08-10 14:04:11167 days ago1754834651IN
0x1266474a...841A30dFc
0 FRAX0.00012050.00100025
Bulk Add Echo Po...239828562025-08-09 21:53:43168 days ago1754776423IN
0x1266474a...841A30dFc
0 FRAX0.000122110.00100025
Bulk Add Echo Po...239647852025-08-09 11:51:21168 days ago1754740281IN
0x1266474a...841A30dFc
0 FRAX0.000099770.00100025
Bulk Add Echo Po...239479902025-08-09 2:31:31168 days ago1754706691IN
0x1266474a...841A30dFc
0 FRAX0.000144440.00100025
Add Echo Contrib...239449032025-08-09 0:48:37169 days ago1754700517IN
0x1266474a...841A30dFc
0 FRAX0.000022270.0012
Add Echo Points239443022025-08-09 0:28:35169 days ago1754699315IN
0x1266474a...841A30dFc
0 FRAX0.000021040.0012
Add Echo Contrib...239442962025-08-09 0:28:23169 days ago1754699303IN
0x1266474a...841A30dFc
0 FRAX0.000022110.0012

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

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EchoPoints

Compiler Version
v0.8.30+commit.73712a01

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: GPL-2.0-or-later
pragma solidity 0.8.30;

// ███████╗ ██████╗██╗  ██╗ ██████╗   ███╗   ███╗ █████╗ ██████╗ ██╗  ██╗███████╗████████╗
// ██╔════╝██╔════╝██║  ██║██╔═══██╗  ████╗ ████║██╔══██╗██╔══██╗██║ ██╔╝██╔════╝╚══██╔══╝
// █████╗  ██║     ███████║██║   ██║  ██╔████╔██║███████║██████╔╝█████╔╝ █████╗     ██║
// ██╔══╝  ██║     ██╔══██║██║   ██║  ██║╚██╔╝██║██╔══██║██╔══██╗██╔═██╗ ██╔══╝     ██║
// ███████╗╚██████╗██║  ██║╚██████╔╝  ██║ ╚═╝ ██║██║  ██║██║  ██║██║  ██╗███████╗   ██║
// ╚══════╝ ╚═════╝╚═╝  ╚═╝ ╚═════╝   ╚═╝     ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝   ╚═╝
// =================================== EchoPoints ====================================
// =================================== Summer 2025 ===================================

import {Ownable2Step, Ownable} from "openzeppelin-contracts/access/Ownable2Step.sol";
import {ERC20} from "openzeppelin-contracts/token/ERC20/ERC20.sol";

/**
 * @title Echo Points Contract
 * @author Dynabits.org
 * @notice A simple Echo point tracking smart contract.
 */
contract EchoPoints is Ownable2Step, ERC20 {
    /********************************\
    |-*-*-*-*-*   STATES   *-*-*-*-*-|
    \********************************/
    uint256 private _totalPointSupply;
    mapping(address => bool) public isEPcontributor;
    mapping(address => uint256) private echoPointsBalances;

    /********************************\
    |-*-*-*-*-*   EVENTS   *-*-*-*-*-|
    \********************************/
    /**
     * @notice Emitted when a new address is added as a Echo Contributor.
     * @param contributor The address added as the contributor.
     */
    event EchoContributorAdded(address indexed contributor);
    /**
     * @notice Emitted when an address is removed as a Echo Contributor.
     * @param contributor The address removed as the contributor.
     */
    event EchoContributorRemoved(address indexed contributor);

    /********************************\
    |-*-*-*-*-*   ERRORS   *-*-*-*-*-|
    \********************************/
    /// @notice The address is already a Echo contributor
    error AlreadyEchoContributor();
    /// @notice The array lengths are mismatched
    error ArrayLengthMismatch();
    /**
     * @notice The amount of Echo points is insufficient.
     * @param available The amount of Echo points available.
     * @param attempted The amount of Echo points attempted to be removed.
     */
    error InsufficientEchoPoints(uint256 available, uint256 attempted);
    /// @notice Only Echo contributor is allowed to perform this call
    error NotEchoContributor();
    /// @notice The EP token is not allowed to be transferred
    error TransferNotAllowed();

    /*******************************\
    |-*-*-*-*   MODIFIERS   *-*-*-*-|
    \*******************************/
    /**
     * @notice Checks if an address is a Echo contributor.
     * @dev The operation will be reverted if the caller is not a Echo contributor.
     */
    modifier onlyEchoContributor() {
        if (!isEPcontributor[msg.sender]) revert NotEchoContributor();
        _;
    }

    /******************************\
    |-*-*-*-*   BUILT-IN   *-*-*-*-|
    \******************************/
    /**
     * @notice Used to initialize the smart contract.
     */
    constructor(address owner) Ownable(owner) ERC20("Echo Points", "EP") {}

    /*******************************\
    |*-*-*-*   EXTERNALS   *-*-*-*-*|
    \*******************************/
    /**
     * @notice Adds a Echo contributor.
     * @dev Can only be called by the owner.
     * @param _contributor The address of the Echo contributor to add.
     */
    function addEchoContributor(address _contributor) external onlyOwner {
        if (isEPcontributor[_contributor]) revert AlreadyEchoContributor();
        isEPcontributor[_contributor] = true;
        emit EchoContributorAdded(_contributor);
    }

    /**
     * @notice Removes a Echo contributor.
     * @dev Can only be called by the owner.
     * @param _contributor The address of the Echo contributor to remove.
     */
    function removeEchoContributor(address _contributor) external onlyOwner {
        if (!isEPcontributor[_contributor]) revert NotEchoContributor();
        isEPcontributor[_contributor] = false;
        emit EchoContributorRemoved(_contributor);
    }

    /**
     * @notice Adds Echo points to a recipient.
     * @dev Can only be called by a Echo contributor.
     * @param _recipient Recipient of the Echo points.
     * @param _amount Amount of Echo points to add to the recipient.
     */
    function addEchoPoints(
        address _recipient,
        uint256 _amount
    ) external onlyEchoContributor {
        echoPointsBalances[_recipient] += _amount;
        _totalPointSupply += _amount;
        emit Transfer(address(0), _recipient, _amount);
    }

    /**
     * @notice Removes Echo points from a point owner.
     * @dev Can only be called by a Echo contributor.
     * @dev Can only remove the amount of Echo points that the point owner has.
     * @param _pointOwner Owner of the Echo points being removed.
     * @param _amount Amount of Echo points to remove from the point owner.
     */
    function removeEchoPoints(
        address _pointOwner,
        uint256 _amount
    ) external onlyEchoContributor {
        if (echoPointsBalances[_pointOwner] < _amount) {
            revert InsufficientEchoPoints(
                echoPointsBalances[_pointOwner],
                _amount
            );
        }
        echoPointsBalances[_pointOwner] -= _amount;
        _totalPointSupply -= _amount;
        emit Transfer(_pointOwner, address(0), _amount);
    }

    /**
     * @notice Adds Echo points to multiple recipients.
     * @dev Can only be called by a Echo contributor.
     * @dev If the arrays are different lengths, the operation will be reverted.
     * @param _recipients An array of recipients of the Echo points.
     * @param _amounts An array of amounts of Echo points to add to the recipients.
     */
    function bulkAddEchoPoints(
        address[] calldata _recipients,
        uint256[] calldata _amounts
    ) external onlyEchoContributor {
        if (_recipients.length != _amounts.length) revert ArrayLengthMismatch();
        for (uint256 i; i < _recipients.length; ) {
            echoPointsBalances[_recipients[i]] += _amounts[i];
            _totalPointSupply += _amounts[i];
            emit Transfer(address(0), _recipients[i], _amounts[i]);

            unchecked {
                ++i;
            }
        }
    }

    /**
     * @notice Removes Echo points from multiple point owners.
     * @dev Can only be called by a Echo contributor.
     * @dev If the arrays are different lengths, the operation will be reverted.
     * @dev Can only remove the amount of Echo points that the point owner has.
     * @param _pointOwners An array of owners of the Echo points being removed.
     * @param _amounts An array of amounts of Echo points to remove from the point owners.
     */
    function bulkRemoveEchoPoints(
        address[] calldata _pointOwners,
        uint256[] calldata _amounts
    ) external onlyEchoContributor {
        if (_pointOwners.length != _amounts.length)
            revert ArrayLengthMismatch();
        for (uint256 i; i < _pointOwners.length; ) {
            if (echoPointsBalances[_pointOwners[i]] < _amounts[i]) {
                revert InsufficientEchoPoints(
                    echoPointsBalances[_pointOwners[i]],
                    _amounts[i]
                );
            }
            echoPointsBalances[_pointOwners[i]] -= _amounts[i];
            _totalPointSupply -= _amounts[i];
            emit Transfer(_pointOwners[i], address(0), _amounts[i]);

            unchecked {
                ++i;
            }
        }
    }

    /*****************************\
    |-*-*-*-*   GETTERS   *-*-*-*-|
    \*****************************/
    /**
     * @notice Retrieves the Echo points balances of multiple point owners at the same time.
     * @param _pointOwners An array of point owners.
     * @return An array of Echo points balances.
     */
    function bulkEchoPointsBalances(
        address[] calldata _pointOwners
    ) external view returns (uint256[] memory) {
        uint256[] memory balances = new uint256[](_pointOwners.length);

        for (uint256 i; i < _pointOwners.length; ) {
            balances[i] = echoPointsBalances[_pointOwners[i]];

            unchecked {
                ++i;
            }
        }

        return balances;
    }

    /**
     * @notice Retrieves the Echo points balance of an account.
     * @dev This overrides the ERC20 function because we don't have access to `_totalSupply` and we aren't using the
     *  internal transfer method.
     * @param account The account to retrieve the Echo points balance of.
     * @return The Echo points balance of the account.
     */
    function balanceOf(address account) public view override returns (uint256) {
        return echoPointsBalances[account];
    }

    /**
     * @notice Retrieves the total supply of Echo points.
     * @dev This overrides the ERC20 function because we don't have access to `_totalSupply` and we aren't using the
     *  internal transfer method.
     */
    function totalSupply() public view override returns (uint256) {
        return _totalPointSupply;
    }

    /**
     * @notice Retrieves the number of decimals for the Echo points.
     * @dev This function is an override of the ERC20 function, so that we can pass the 0 value.
     */
    function decimals() public pure override returns (uint8) {
        return 0;
    }

    /**
     * @notice The override of the transfer method to prevent the Echo token from being transferred.
     * @dev This function will always revert as we don't allow Echo transfers.
     * @param recipient The recipient of the Echo points.
     * @param amount The amount of Echo points to transfer.
     * @return A boolean indicating if the transfer was successful.
     */
    function transfer(
        address recipient,
        uint256 amount
    ) public pure override returns (bool) {
        (recipient, amount) = (address(0), 0);
        revert TransferNotAllowed();
    }

    /**
     * @notice The override of the transferFrom method to prevent the Echo token from being transferred.
     * @dev This function will always revert as we don't allow Echo transfers.
     * @param sender The sender of the Echo points.
     * @param recipient The recipient of the Echo points.
     * @param amount The amount of Echo points to transfer.
     * @return A boolean indicating if the transfer was successful.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public pure override returns (bool) {
        (sender, recipient, amount) = (address(0), address(0), 0);
        revert TransferNotAllowed();
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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 ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * Both 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

    /// @inheritdoc IERC20
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

    /// @inheritdoc IERC20
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

    /// @inheritdoc IERC20
    function allowance(address owner, address spender) public view virtual returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * 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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner`'s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance < type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.20;

import {Ownable} from "./Ownable.sol";

/**
 * @dev Contract module which provides access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This extension of the {Ownable} contract includes a two-step mechanism to transfer
 * ownership, where the new owner must call {acceptOwnership} in order to replace the
 * old one. This can help prevent common mistakes, such as transfers of ownership to
 * incorrect accounts, or to contracts that are unable to interact with the
 * permission system.
 *
 * The initial owner is specified at deployment time in the constructor for `Ownable`. This
 * can later be changed with {transferOwnership} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

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

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

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     *
     * Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        if (pendingOwner() != sender) {
            revert OwnableUnauthorizedAccount(sender);
        }
        _transferOwnership(sender);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity >=0.6.2;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)

pragma solidity >=0.4.16;

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

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

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

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "remappings": [
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/"
  ]
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyEchoContributor","type":"error"},{"inputs":[],"name":"ArrayLengthMismatch","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"uint256","name":"available","type":"uint256"},{"internalType":"uint256","name":"attempted","type":"uint256"}],"name":"InsufficientEchoPoints","type":"error"},{"inputs":[],"name":"NotEchoContributor","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"TransferNotAllowed","type":"error"},{"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":"contributor","type":"address"}],"name":"EchoContributorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"contributor","type":"address"}],"name":"EchoContributorRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contributor","type":"address"}],"name":"addEchoContributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addEchoPoints","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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"bulkAddEchoPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_pointOwners","type":"address[]"}],"name":"bulkEchoPointsBalances","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_pointOwners","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"bulkRemoveEchoPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isEPcontributor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contributor","type":"address"}],"name":"removeEchoContributor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pointOwner","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"removeEchoPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561000f575f5ffd5b506040516113bf3803806113bf83398101604081905261002e9161012f565b604080518082018252600b81526a4563686f20506f696e747360a81b60208083019190915282518084019093526002835261045560f41b9083015290826001600160a01b03811661009857604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100a1816100c4565b5060056100ae83826101f4565b5060066100bb82826101f4565b505050506102ae565b600180546001600160a01b03191690556100dd816100e0565b50565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6020828403121561013f575f5ffd5b81516001600160a01b0381168114610155575f5ffd5b9392505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061018457607f821691505b6020821081036101a257634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156101ef57805f5260205f20601f840160051c810160208510156101cd5750805b601f840160051c820191505b818110156101ec575f81556001016101d9565b50505b505050565b81516001600160401b0381111561020d5761020d61015c565b6102218161021b8454610170565b846101a8565b6020601f821160018114610253575f831561023c5750848201515b5f19600385901b1c1916600184901b1784556101ec565b5f84815260208120601f198516915b828110156102825787850151825560209485019460019092019101610262565b508482101561029f57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b611104806102bb5f395ff3fe608060405234801561000f575f5ffd5b506004361061013d575f3560e01c806385404e3f116100b4578063b3b6e3ce11610079578063b3b6e3ce146102a9578063dd62ed3e146102bc578063dfda5534146102f4578063e2f9db9f14610307578063e30c39781461031a578063f2fde38b1461032b575f5ffd5b806385404e3f146102355780638da5cb5b1461024857806395d89b411461026c578063a9059cbb14610274578063b37e210314610287575f5ffd5b80635427264f116101055780635427264f146101b55780636d858377146101ca57806370a08231146101ea578063715018a61461021257806379ba50971461021a5780637be5afb414610222575f5ffd5b806306fdde0314610141578063095ea7b31461015f57806318160ddd1461018257806323b872dd14610194578063313ce567146101a7575b5f5ffd5b61014961033e565b6040516101569190610ddc565b60405180910390f35b61017261016d366004610e2c565b6103ce565b6040519015158152602001610156565b6007545b604051908152602001610156565b6101726101a2366004610e54565b6103e7565b6040515f8152602001610156565b6101c86101c3366004610e8e565b61040b565b005b6101dd6101d8366004610ef6565b610497565b6040516101569190610f35565b6101866101f8366004610e8e565b6001600160a01b03165f9081526009602052604090205490565b6101c8610560565b6101c8610573565b6101c8610230366004610e8e565b6105bc565b6101c8610243366004610e2c565b610644565b5f546001600160a01b03165b6040516001600160a01b039091168152602001610156565b610149610745565b610172610282366004610e2c565b610754565b610172610295366004610e8e565b60086020525f908152604090205460ff1681565b6101c86102b7366004610f77565b610775565b6101866102ca366004610fe3565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b6101c8610302366004610e2c565b6108f1565b6101c8610315366004610f77565b61098e565b6001546001600160a01b0316610254565b6101c8610339366004610e8e565b610bf3565b60606005805461034d90611014565b80601f016020809104026020016040519081016040528092919081815260200182805461037990611014565b80156103c45780601f1061039b576101008083540402835291602001916103c4565b820191905f5260205f20905b8154815290600101906020018083116103a757829003601f168201915b5050505050905090565b5f336103db818585610c63565b60019150505b92915050565b505060408051638cd22d1960e01b815290515f925082918291829181900360040190fd5b610413610c75565b6001600160a01b0381165f9081526008602052604090205460ff161561044c576040516386574e1160e01b815260040160405180910390fd5b6001600160a01b0381165f81815260086020526040808220805460ff19166001179055517f85756a7692c28dcf47721169d6aa6ce9098aa1ff11ab8c1952c4072692cf89da9190a250565b60605f8267ffffffffffffffff8111156104b3576104b361104c565b6040519080825280602002602001820160405280156104dc578160200160208202803683370190505b5090505f5b838110156105585760095f8686848181106104fe576104fe611060565b90506020020160208101906105139190610e8e565b6001600160a01b03166001600160a01b031681526020019081526020015f205482828151811061054557610545611060565b60209081029190910101526001016104e1565b509392505050565b610568610c75565b6105715f610ca1565b565b60015433906001600160a01b031681146105b05760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b6105b981610ca1565b50565b6105c4610c75565b6001600160a01b0381165f9081526008602052604090205460ff166105fc57604051631d842d6f60e31b815260040160405180910390fd5b6001600160a01b0381165f81815260086020526040808220805460ff19169055517fed0a4b336b05653159a19fcc622ae2188f195e25abe58858646f2b4a1ab501f09190a250565b335f9081526008602052604090205460ff1661067357604051631d842d6f60e31b815260040160405180910390fd5b6001600160a01b0382165f908152600960205260409020548111156106cf576001600160a01b0382165f908152600960205260409081902054905163bdc77c8b60e01b81526004810191909152602481018290526044016105a7565b6001600160a01b0382165f90815260096020526040812080548392906106f6908490611088565b925050819055508060075f82825461070e9190611088565b90915550506040518181525f906001600160a01b038416905f5160206110af5f395f51905f52906020015b60405180910390a35050565b60606006805461034d90611014565b505060408051638cd22d1960e01b815290515f918291829181900360040190fd5b335f9081526008602052604090205460ff166107a457604051631d842d6f60e31b815260040160405180910390fd5b8281146107c45760405163512509d360e11b815260040160405180910390fd5b5f5b838110156108ea578282828181106107e0576107e0611060565b9050602002013560095f8787858181106107fc576107fc611060565b90506020020160208101906108119190610e8e565b6001600160a01b03166001600160a01b031681526020019081526020015f205f82825461083e919061109b565b90915550839050828281811061085657610856611060565b9050602002013560075f82825461086d919061109b565b90915550859050848281811061088557610885611060565b905060200201602081019061089a9190610e8e565b6001600160a01b03165f5f5160206110af5f395f51905f528585858181106108c4576108c4611060565b905060200201356040516108da91815260200190565b60405180910390a36001016107c6565b5050505050565b335f9081526008602052604090205460ff1661092057604051631d842d6f60e31b815260040160405180910390fd5b6001600160a01b0382165f908152600960205260408120805483929061094790849061109b565b925050819055508060075f82825461095f919061109b565b90915550506040518181526001600160a01b038316905f905f5160206110af5f395f51905f5290602001610739565b335f9081526008602052604090205460ff166109bd57604051631d842d6f60e31b815260040160405180910390fd5b8281146109dd5760405163512509d360e11b815260040160405180910390fd5b5f5b838110156108ea578282828181106109f9576109f9611060565b9050602002013560095f878785818110610a1557610a15611060565b9050602002016020810190610a2a9190610e8e565b6001600160a01b03166001600160a01b031681526020019081526020015f20541015610ad75760095f868684818110610a6557610a65611060565b9050602002016020810190610a7a9190610e8e565b6001600160a01b03166001600160a01b031681526020019081526020015f2054838383818110610aac57610aac611060565b9050602002013560405163bdc77c8b60e01b81526004016105a7929190918252602082015260400190565b828282818110610ae957610ae9611060565b9050602002013560095f878785818110610b0557610b05611060565b9050602002016020810190610b1a9190610e8e565b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254610b479190611088565b909155508390508282818110610b5f57610b5f611060565b9050602002013560075f828254610b769190611088565b909155505f9050858583818110610b8f57610b8f611060565b9050602002016020810190610ba49190610e8e565b6001600160a01b03165f5160206110af5f395f51905f52858585818110610bcd57610bcd611060565b90506020020135604051610be391815260200190565b60405180910390a36001016109df565b610bfb610c75565b600180546001600160a01b0383166001600160a01b03199091168117909155610c2b5f546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b610c708383836001610cba565b505050565b5f546001600160a01b031633146105715760405163118cdaa760e01b81523360048201526024016105a7565b600180546001600160a01b03191690556105b981610d8d565b6001600160a01b038416610ce35760405163e602df0560e01b81525f60048201526024016105a7565b6001600160a01b038316610d0c57604051634a1406b160e11b81525f60048201526024016105a7565b6001600160a01b038085165f9081526003602090815260408083209387168352929052208290558015610d8757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d7e91815260200190565b60405180910390a35b50505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610e27575f5ffd5b919050565b5f5f60408385031215610e3d575f5ffd5b610e4683610e11565b946020939093013593505050565b5f5f5f60608486031215610e66575f5ffd5b610e6f84610e11565b9250610e7d60208501610e11565b929592945050506040919091013590565b5f60208284031215610e9e575f5ffd5b610ea782610e11565b9392505050565b5f5f83601f840112610ebe575f5ffd5b50813567ffffffffffffffff811115610ed5575f5ffd5b6020830191508360208260051b8501011115610eef575f5ffd5b9250929050565b5f5f60208385031215610f07575f5ffd5b823567ffffffffffffffff811115610f1d575f5ffd5b610f2985828601610eae565b90969095509350505050565b602080825282518282018190525f918401906040840190835b81811015610f6c578351835260209384019390920191600101610f4e565b509095945050505050565b5f5f5f5f60408587031215610f8a575f5ffd5b843567ffffffffffffffff811115610fa0575f5ffd5b610fac87828801610eae565b909550935050602085013567ffffffffffffffff811115610fcb575f5ffd5b610fd787828801610eae565b95989497509550505050565b5f5f60408385031215610ff4575f5ffd5b610ffd83610e11565b915061100b60208401610e11565b90509250929050565b600181811c9082168061102857607f821691505b60208210810361104657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b818103818111156103e1576103e1611074565b808201808211156103e1576103e161107456feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e91569d8d01ffe53fa2f988370fd3ec9905d329765a46bff1df4275a31bad33864736f6c634300081e003300000000000000000000000087df94c894983cc2977b760d1587a0cc21284edc

Deployed Bytecode

0x608060405234801561000f575f5ffd5b506004361061013d575f3560e01c806385404e3f116100b4578063b3b6e3ce11610079578063b3b6e3ce146102a9578063dd62ed3e146102bc578063dfda5534146102f4578063e2f9db9f14610307578063e30c39781461031a578063f2fde38b1461032b575f5ffd5b806385404e3f146102355780638da5cb5b1461024857806395d89b411461026c578063a9059cbb14610274578063b37e210314610287575f5ffd5b80635427264f116101055780635427264f146101b55780636d858377146101ca57806370a08231146101ea578063715018a61461021257806379ba50971461021a5780637be5afb414610222575f5ffd5b806306fdde0314610141578063095ea7b31461015f57806318160ddd1461018257806323b872dd14610194578063313ce567146101a7575b5f5ffd5b61014961033e565b6040516101569190610ddc565b60405180910390f35b61017261016d366004610e2c565b6103ce565b6040519015158152602001610156565b6007545b604051908152602001610156565b6101726101a2366004610e54565b6103e7565b6040515f8152602001610156565b6101c86101c3366004610e8e565b61040b565b005b6101dd6101d8366004610ef6565b610497565b6040516101569190610f35565b6101866101f8366004610e8e565b6001600160a01b03165f9081526009602052604090205490565b6101c8610560565b6101c8610573565b6101c8610230366004610e8e565b6105bc565b6101c8610243366004610e2c565b610644565b5f546001600160a01b03165b6040516001600160a01b039091168152602001610156565b610149610745565b610172610282366004610e2c565b610754565b610172610295366004610e8e565b60086020525f908152604090205460ff1681565b6101c86102b7366004610f77565b610775565b6101866102ca366004610fe3565b6001600160a01b039182165f90815260036020908152604080832093909416825291909152205490565b6101c8610302366004610e2c565b6108f1565b6101c8610315366004610f77565b61098e565b6001546001600160a01b0316610254565b6101c8610339366004610e8e565b610bf3565b60606005805461034d90611014565b80601f016020809104026020016040519081016040528092919081815260200182805461037990611014565b80156103c45780601f1061039b576101008083540402835291602001916103c4565b820191905f5260205f20905b8154815290600101906020018083116103a757829003601f168201915b5050505050905090565b5f336103db818585610c63565b60019150505b92915050565b505060408051638cd22d1960e01b815290515f925082918291829181900360040190fd5b610413610c75565b6001600160a01b0381165f9081526008602052604090205460ff161561044c576040516386574e1160e01b815260040160405180910390fd5b6001600160a01b0381165f81815260086020526040808220805460ff19166001179055517f85756a7692c28dcf47721169d6aa6ce9098aa1ff11ab8c1952c4072692cf89da9190a250565b60605f8267ffffffffffffffff8111156104b3576104b361104c565b6040519080825280602002602001820160405280156104dc578160200160208202803683370190505b5090505f5b838110156105585760095f8686848181106104fe576104fe611060565b90506020020160208101906105139190610e8e565b6001600160a01b03166001600160a01b031681526020019081526020015f205482828151811061054557610545611060565b60209081029190910101526001016104e1565b509392505050565b610568610c75565b6105715f610ca1565b565b60015433906001600160a01b031681146105b05760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b6105b981610ca1565b50565b6105c4610c75565b6001600160a01b0381165f9081526008602052604090205460ff166105fc57604051631d842d6f60e31b815260040160405180910390fd5b6001600160a01b0381165f81815260086020526040808220805460ff19169055517fed0a4b336b05653159a19fcc622ae2188f195e25abe58858646f2b4a1ab501f09190a250565b335f9081526008602052604090205460ff1661067357604051631d842d6f60e31b815260040160405180910390fd5b6001600160a01b0382165f908152600960205260409020548111156106cf576001600160a01b0382165f908152600960205260409081902054905163bdc77c8b60e01b81526004810191909152602481018290526044016105a7565b6001600160a01b0382165f90815260096020526040812080548392906106f6908490611088565b925050819055508060075f82825461070e9190611088565b90915550506040518181525f906001600160a01b038416905f5160206110af5f395f51905f52906020015b60405180910390a35050565b60606006805461034d90611014565b505060408051638cd22d1960e01b815290515f918291829181900360040190fd5b335f9081526008602052604090205460ff166107a457604051631d842d6f60e31b815260040160405180910390fd5b8281146107c45760405163512509d360e11b815260040160405180910390fd5b5f5b838110156108ea578282828181106107e0576107e0611060565b9050602002013560095f8787858181106107fc576107fc611060565b90506020020160208101906108119190610e8e565b6001600160a01b03166001600160a01b031681526020019081526020015f205f82825461083e919061109b565b90915550839050828281811061085657610856611060565b9050602002013560075f82825461086d919061109b565b90915550859050848281811061088557610885611060565b905060200201602081019061089a9190610e8e565b6001600160a01b03165f5f5160206110af5f395f51905f528585858181106108c4576108c4611060565b905060200201356040516108da91815260200190565b60405180910390a36001016107c6565b5050505050565b335f9081526008602052604090205460ff1661092057604051631d842d6f60e31b815260040160405180910390fd5b6001600160a01b0382165f908152600960205260408120805483929061094790849061109b565b925050819055508060075f82825461095f919061109b565b90915550506040518181526001600160a01b038316905f905f5160206110af5f395f51905f5290602001610739565b335f9081526008602052604090205460ff166109bd57604051631d842d6f60e31b815260040160405180910390fd5b8281146109dd5760405163512509d360e11b815260040160405180910390fd5b5f5b838110156108ea578282828181106109f9576109f9611060565b9050602002013560095f878785818110610a1557610a15611060565b9050602002016020810190610a2a9190610e8e565b6001600160a01b03166001600160a01b031681526020019081526020015f20541015610ad75760095f868684818110610a6557610a65611060565b9050602002016020810190610a7a9190610e8e565b6001600160a01b03166001600160a01b031681526020019081526020015f2054838383818110610aac57610aac611060565b9050602002013560405163bdc77c8b60e01b81526004016105a7929190918252602082015260400190565b828282818110610ae957610ae9611060565b9050602002013560095f878785818110610b0557610b05611060565b9050602002016020810190610b1a9190610e8e565b6001600160a01b03166001600160a01b031681526020019081526020015f205f828254610b479190611088565b909155508390508282818110610b5f57610b5f611060565b9050602002013560075f828254610b769190611088565b909155505f9050858583818110610b8f57610b8f611060565b9050602002016020810190610ba49190610e8e565b6001600160a01b03165f5160206110af5f395f51905f52858585818110610bcd57610bcd611060565b90506020020135604051610be391815260200190565b60405180910390a36001016109df565b610bfb610c75565b600180546001600160a01b0383166001600160a01b03199091168117909155610c2b5f546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b610c708383836001610cba565b505050565b5f546001600160a01b031633146105715760405163118cdaa760e01b81523360048201526024016105a7565b600180546001600160a01b03191690556105b981610d8d565b6001600160a01b038416610ce35760405163e602df0560e01b81525f60048201526024016105a7565b6001600160a01b038316610d0c57604051634a1406b160e11b81525f60048201526024016105a7565b6001600160a01b038085165f9081526003602090815260408083209387168352929052208290558015610d8757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d7e91815260200190565b60405180910390a35b50505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114610e27575f5ffd5b919050565b5f5f60408385031215610e3d575f5ffd5b610e4683610e11565b946020939093013593505050565b5f5f5f60608486031215610e66575f5ffd5b610e6f84610e11565b9250610e7d60208501610e11565b929592945050506040919091013590565b5f60208284031215610e9e575f5ffd5b610ea782610e11565b9392505050565b5f5f83601f840112610ebe575f5ffd5b50813567ffffffffffffffff811115610ed5575f5ffd5b6020830191508360208260051b8501011115610eef575f5ffd5b9250929050565b5f5f60208385031215610f07575f5ffd5b823567ffffffffffffffff811115610f1d575f5ffd5b610f2985828601610eae565b90969095509350505050565b602080825282518282018190525f918401906040840190835b81811015610f6c578351835260209384019390920191600101610f4e565b509095945050505050565b5f5f5f5f60408587031215610f8a575f5ffd5b843567ffffffffffffffff811115610fa0575f5ffd5b610fac87828801610eae565b909550935050602085013567ffffffffffffffff811115610fcb575f5ffd5b610fd787828801610eae565b95989497509550505050565b5f5f60408385031215610ff4575f5ffd5b610ffd83610e11565b915061100b60208401610e11565b90509250929050565b600181811c9082168061102857607f821691505b60208210810361104657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b818103818111156103e1576103e1611074565b808201808211156103e1576103e161107456feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e91569d8d01ffe53fa2f988370fd3ec9905d329765a46bff1df4275a31bad33864736f6c634300081e0033

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

00000000000000000000000087df94c894983cc2977b760d1587a0cc21284edc

-----Decoded View---------------
Arg [0] : owner (address): 0x87DF94c894983cC2977b760d1587A0cC21284EdC

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


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.