Contract 0xe9e9613881F95987559ab943c539f256E582F839

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1Send Eth155840842022-10-12 15:26:52237 days 1 hr ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f8391 CELO0.000054031
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2Send Eth155840832022-10-12 15:26:47237 days 1 hr ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f83910 CELO0.000054037
0xa3d6aa468105fe4ae9a48e2eabf88c3107208eaec6dbdecd926ea8034317cf86Send Eth153114692022-09-26 20:48:40252 days 20 hrs ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f8391 CELO0.000179043
0x82c221348805ddcb89092085973af3078843b61264861cacd2db17db9d35532bSend Eth153114682022-09-26 20:48:35252 days 20 hrs ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f8391 CELO0.000179043
0xe6a094cd11cad31212d7b442b0570a2ca6a79899bcaa810bd0b6f8339c87c79aSend Eth143960762022-08-04 21:23:34305 days 19 hrs ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f8391 CELO0.000054037
0x76ffdfbeba101c070daad7151c246879fabb032cdd1f9e5347eba17f4659d9b9Send Tokens142453082022-07-27 3:59:16314 days 12 hrs ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f8390 CELO0.000144318
0x276a715ce2db791e478f94168a41a0d4f356396f8c4fd0be45179d6f89b0d58bSend Tokens142452822022-07-27 3:57:06314 days 13 hrs ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f8390 CELO0.000045818
0xd676cc465736841a54c80efef3f3097bb3623b247f8aaa1bdd07563a71e1bbc8Send Tokens142452542022-07-27 3:54:46314 days 13 hrs ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f8390 CELO0.000045818
0xdb48fd88ecea35c60398055063884d4d469461946a7c22a953ced98a4e2464fbSend Tokens142410282022-07-26 22:02:33314 days 18 hrs ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f8390 CELO0.000144968
0xee16afe9addf0b79d3fabb58dd1d6dacdf80106655ecaa9f8e90f9325a5fb7faSend Eth142409472022-07-26 21:55:48314 days 19 hrs ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f8390.1 CELO0.000179031
0xe8a07461eeafacc46738f68858c3cdc914e694a54c306fef705a0898bd3d2c16Send Eth142409452022-07-26 21:55:38314 days 19 hrs ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  0xe9e9613881f95987559ab943c539f256e582f8390.1 CELO0.000179037
0x95893d35483f8191a16f937b1015072c1ce59f7f655ec57fff4bb16fc12d4f460x60806040142408672022-07-26 21:49:08314 days 19 hrs ago0x50e2dac5e78b5905cb09495547452cee64426db2 IN  Create: Multisender0 CELO0.0003762145
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1155840842022-10-12 15:26:52237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390xe9a8bbe423cd5061aab3437cf404f487e642bfed0.1 CELO
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1155840842022-10-12 15:26:52237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x47cad6d46a6006cab9a1faf3ae27f0e100d2119c0.1 CELO
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1155840842022-10-12 15:26:52237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390xa48551c2f81fea88278f6114ad2d09d12f1510810.1 CELO
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1155840842022-10-12 15:26:52237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x8df775abb1cd73c828b16f4f8cd31c4b92b2a9b80.1 CELO
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1155840842022-10-12 15:26:52237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x7e002b306b757a8cf6717f5aed49c5965acc3c030.1 CELO
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1155840842022-10-12 15:26:52237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390xafc557d6717be0b676468c26d3ea523155dbcfe10.1 CELO
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1155840842022-10-12 15:26:52237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x868d264b53a8a2577a5dd74e4fc6d4d3b89a9b470.1 CELO
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1155840842022-10-12 15:26:52237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x408dd0cf1b45c1795eb324c95730cf98326e595c0.1 CELO
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1155840842022-10-12 15:26:52237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390xf8f260c3f20359c459443724a979aa22cb0e4ca30.1 CELO
0x723e54ca6d1c7d3b8b27911329dd6f7c0b05fb1f5b2ce8121ec33cf71ab35fe1155840842022-10-12 15:26:52237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x6f1e9c31b4d5349b655d93f3c218344140dfcb0b0.1 CELO
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2155840832022-10-12 15:26:47237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x1bd07a8c319b7e0adc94dabd0c2d2ab246daaa2a1 CELO
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2155840832022-10-12 15:26:47237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x319022e600f6e8fd453e80c45d69a11870ee68371 CELO
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2155840832022-10-12 15:26:47237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x1056b4b39a259c0a8062921ba024bc07e66f481e1 CELO
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2155840832022-10-12 15:26:47237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x6ba76404078c209ae446646071860592436504db1 CELO
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2155840832022-10-12 15:26:47237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390xfb6318231f2e145edbd003f2cedd8302b0b1a9e31 CELO
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2155840832022-10-12 15:26:47237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x326375c260403b4ef2c97809655ef5f1a8a0a01b1 CELO
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2155840832022-10-12 15:26:47237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x0e846cbe679af1088dbaa59ab53224e7b602c3ed1 CELO
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2155840832022-10-12 15:26:47237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x11025a502f2dbda7cc2683bcebbdcdb443dfb04b1 CELO
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2155840832022-10-12 15:26:47237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390xc0c0d215d1a201cdf52108c22f255a2dc261572d1 CELO
0x70db1505e2d059e36bd5d8c3baadd51f3a1d2a618f2855f491aced9c0ed904b2155840832022-10-12 15:26:47237 days 1 hr ago 0xe9e9613881f95987559ab943c539f256e582f8390x88f1df87b277886531ee907b7630a890fa70bedf1 CELO
0xa3d6aa468105fe4ae9a48e2eabf88c3107208eaec6dbdecd926ea8034317cf86153114692022-09-26 20:48:40252 days 20 hrs ago 0xe9e9613881f95987559ab943c539f256e582f8390xa8277620315e9ba514ea9e252bbbcbe85d195f5f0.1 CELO
0xa3d6aa468105fe4ae9a48e2eabf88c3107208eaec6dbdecd926ea8034317cf86153114692022-09-26 20:48:40252 days 20 hrs ago 0xe9e9613881f95987559ab943c539f256e582f8390xabea4f0e48a162f057747d7eb7e83df3c634d9650.1 CELO
0xa3d6aa468105fe4ae9a48e2eabf88c3107208eaec6dbdecd926ea8034317cf86153114692022-09-26 20:48:40252 days 20 hrs ago 0xe9e9613881f95987559ab943c539f256e582f8390x8d0f4ee1be660ec67ebae1486299e6a47b4c82840.1 CELO
0xa3d6aa468105fe4ae9a48e2eabf88c3107208eaec6dbdecd926ea8034317cf86153114692022-09-26 20:48:40252 days 20 hrs ago 0xe9e9613881f95987559ab943c539f256e582f8390x30f02299a093c5102691d93fb1f50286ceea99210.1 CELO
0xa3d6aa468105fe4ae9a48e2eabf88c3107208eaec6dbdecd926ea8034317cf86153114692022-09-26 20:48:40252 days 20 hrs ago 0xe9e9613881f95987559ab943c539f256e582f8390xf923e1456c596b7f7c219dff3f6b437798c502ae0.1 CELO
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Multisender

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : Multisender.sol
//SPDX-License-Identifier: GPL-3.0-or-later
pragma solidity ^0.8.0;

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

// This contract does one thing, simply.  it allows you to send eth or tokens to multiple recipients.  Useful for setting up a testnet and funding all the validators and stakers.

contract Multisender is Ownable {
    function sendEth(address[] calldata _recipients) public payable {
        uint256 val = msg.value / _recipients.length;
        for (uint256 i = 0; i < _recipients.length; i++) {
            payable(_recipients[i]).transfer(val);
        }
    }

    function sendTokens(address[] calldata _recipients, address tokenContract)
        public
    {
        ERC20 tkn = ERC20(tokenContract);
        uint256 bal = tkn.balanceOf(address(this));
        uint256 val = bal / _recipients.length;
        for (uint256 i = 0; i < _recipients.length; i++) {
            tkn.transfer(_recipients[i], val);
        }
    }

    function withdraw() public onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function withdrawTokens(address tokenContract) public onlyOwner {
        ERC20 tkn = ERC20(tokenContract);
        uint256 bal = tkn.balanceOf(address(this));
        tkn.transfer(msg.sender, bal);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 3 of 6 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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, allowance(owner, spender) + addedValue);
        return true;
    }

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

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

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

File 4 of 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 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 6 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);
}

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

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"}],"name":"sendEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_recipients","type":"address[]"},{"internalType":"address","name":"tokenContract","type":"address"}],"name":"sendTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenContract","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061002d61002261003260201b60201c565b61003a60201b60201c565b6100fe565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610c378061010d6000396000f3fe6080604052600436106100705760003560e01c80636ecf13861161004e5780636ecf1386146100d1578063715018a6146100fa5780638da5cb5b14610111578063f2fde38b1461013c57610070565b80633b2fe781146100755780633ccfd60b1461009157806349df728c146100a8575b600080fd5b61008f600480360381019061008a91906107dc565b610165565b005b34801561009d57600080fd5b506100a661020d565b005b3480156100b457600080fd5b506100cf60048036038101906100ca91906107af565b61025e565b005b3480156100dd57600080fd5b506100f860048036038101906100f39190610829565b61038b565b005b34801561010657600080fd5b5061010f61050f565b005b34801561011d57600080fd5b50610126610523565b6040516101339190610947565b60405180910390f35b34801561014857600080fd5b50610163600480360381019061015e91906107af565b61054c565b005b6000828290503461017691906109dc565b905060005b838390508110156102075783838281811061019957610198610afc565b5b90506020020160208101906101ae91906107af565b73ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156101f3573d6000803e3d6000fd5b5080806101ff90610a55565b91505061017b565b50505050565b6102156105d0565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561025b573d6000803e3d6000fd5b50565b6102666105d0565b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102a69190610947565b60206040518083038186803b1580156102be57600080fd5b505afa1580156102d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102f691906108b6565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610333929190610962565b602060405180830381600087803b15801561034d57600080fd5b505af1158015610361573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103859190610889565b50505050565b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103cb9190610947565b60206040518083038186803b1580156103e357600080fd5b505afa1580156103f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041b91906108b6565b90506000858590508261042e91906109dc565b905060005b86869050811015610506578373ffffffffffffffffffffffffffffffffffffffff1663a9059cbb88888481811061046d5761046c610afc565b5b905060200201602081019061048291906107af565b846040518363ffffffff1660e01b81526004016104a0929190610962565b602060405180830381600087803b1580156104ba57600080fd5b505af11580156104ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f29190610889565b5080806104fe90610a55565b915050610433565b50505050505050565b6105176105d0565b610521600061064e565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6105546105d0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156105c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105bb9061098b565b60405180910390fd5b6105cd8161064e565b50565b6105d8610712565b73ffffffffffffffffffffffffffffffffffffffff166105f6610523565b73ffffffffffffffffffffffffffffffffffffffff161461064c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610643906109ab565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b60008135905061072981610bbc565b92915050565b60008083601f84011261074557610744610b30565b5b8235905067ffffffffffffffff81111561076257610761610b2b565b5b60208301915083602082028301111561077e5761077d610b35565b5b9250929050565b60008151905061079481610bd3565b92915050565b6000815190506107a981610bea565b92915050565b6000602082840312156107c5576107c4610b3f565b5b60006107d38482850161071a565b91505092915050565b600080602083850312156107f3576107f2610b3f565b5b600083013567ffffffffffffffff81111561081157610810610b3a565b5b61081d8582860161072f565b92509250509250929050565b60008060006040848603121561084257610841610b3f565b5b600084013567ffffffffffffffff8111156108605761085f610b3a565b5b61086c8682870161072f565b9350935050602061087f8682870161071a565b9150509250925092565b60006020828403121561089f5761089e610b3f565b5b60006108ad84828501610785565b91505092915050565b6000602082840312156108cc576108cb610b3f565b5b60006108da8482850161079a565b91505092915050565b6108ec81610a0d565b82525050565b60006108ff6026836109cb565b915061090a82610b44565b604082019050919050565b60006109226020836109cb565b915061092d82610b93565b602082019050919050565b61094181610a4b565b82525050565b600060208201905061095c60008301846108e3565b92915050565b600060408201905061097760008301856108e3565b6109846020830184610938565b9392505050565b600060208201905081810360008301526109a4816108f2565b9050919050565b600060208201905081810360008301526109c481610915565b9050919050565b600082825260208201905092915050565b60006109e782610a4b565b91506109f283610a4b565b925082610a0257610a01610acd565b5b828204905092915050565b6000610a1882610a2b565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610a6082610a4b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610a9357610a92610a9e565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b610bc581610a0d565b8114610bd057600080fd5b50565b610bdc81610a1f565b8114610be757600080fd5b50565b610bf381610a4b565b8114610bfe57600080fd5b5056fea26469706673582212205024ab2502429157371b3eceb9dbed106dece9cb718f9921aad65aec0f2888e664736f6c63430008070033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.