FTM Price: $0.579494 (+0.80%)
Gas: 3 GWei
 

Overview

FTM Balance

Fantom LogoFantom LogoFantom Logo0 FTM

FTM Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
Multi Send829698962024-06-15 23:01:017 days ago1718492461IN
0xbf8Af96D...67e59433B
0 FTM0.011445650
Multi Send825119272024-06-08 15:28:3514 days ago1717860515IN
0xbf8Af96D...67e59433B
2.6 FTM0.0167919716.56977372
Multi Send820644942024-06-02 0:38:0821 days ago1717288688IN
0xbf8Af96D...67e59433B
0 FTM0.000570110.49157699
Multi Send811259412024-05-17 21:17:1536 days ago1715980635IN
0xbf8Af96D...67e59433B
0 FTM0.0055482531
Multi Send805827872024-05-08 0:50:4746 days ago1715129447IN
0xbf8Af96D...67e59433B
0 FTM0.0006203911.41708701
Multi Send786977012024-04-04 1:12:5480 days ago1712193174IN
0xbf8Af96D...67e59433B
0.1 FTM0.0009959917.10885537
Multi Send784099692024-03-29 4:28:0786 days ago1711686487IN
0xbf8Af96D...67e59433B
0.1 FTM0.0074857698.73601148
Multi Send775800722024-03-17 21:50:0097 days ago1710712200IN
0xbf8Af96D...67e59433B
0 FTM0.001991627.67498542
Multi Send767709192024-03-05 5:43:28110 days ago1709617408IN
0xbf8Af96D...67e59433B
0 FTM0.0069347669.75290077
Multi Send672810592023-08-22 4:48:03306 days ago1692679683IN
0xbf8Af96D...67e59433B
0 FTM0.0040420840
Multi Send634705872023-06-02 8:22:50387 days ago1685694170IN
0xbf8Af96D...67e59433B
7.6 FTM0.0038342570
Multi Send634705232023-06-02 8:20:29387 days ago1685694029IN
0xbf8Af96D...67e59433B
8.21 FTM0.0039325169
Multi Send634704382023-06-02 8:18:17387 days ago1685693897IN
0xbf8Af96D...67e59433B
8.925 FTM0.0045192381
Multi Send634702252023-06-02 8:11:56387 days ago1685693516IN
0xbf8Af96D...67e59433B
7.975 FTM0.0037623966
Multi Send625536252023-05-18 2:13:18402 days ago1684375998IN
0xbf8Af96D...67e59433B
3 FTM0.02057075349
Multi Send616240742023-05-06 16:25:13413 days ago1683390313IN
0xbf8Af96D...67e59433B
40 FTM0.02748501359.97300869
Multi Send607242192023-04-25 6:34:49425 days ago1682404489IN
0xbf8Af96D...67e59433B
0 FTM0.01922692237.58352223
Multi Send607238502023-04-25 6:27:41425 days ago1682404061IN
0xbf8Af96D...67e59433B
20 FTM0.01822424238.68402766
Multi Send600441892023-04-16 6:04:03434 days ago1681625043IN
0xbf8Af96D...67e59433B
12 FTM0.0053754270.40227004
Multi Send598684502023-04-14 4:05:15436 days ago1681445115IN
0xbf8Af96D...67e59433B
0.02 FTM0.01304965275.7746
Multi Send598676442023-04-14 3:51:27436 days ago1681444287IN
0xbf8Af96D...67e59433B
0.1 FTM0.01345547284.2725
Multi Send598670462023-04-14 3:40:41436 days ago1681443641IN
0xbf8Af96D...67e59433B
0 FTM0.01649866297.0806
Multi Send598664532023-04-14 3:30:06436 days ago1681443006IN
0xbf8Af96D...67e59433B
3 FTM0.01883669299.45151996
Multi Send598659862023-04-14 3:22:33436 days ago1681442553IN
0xbf8Af96D...67e59433B
0 FTM0.01629308308.2426
Multi Send598049572023-04-13 11:07:50436 days ago1681384070IN
0xbf8Af96D...67e59433B
0 FTM0.02191129415.6794
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To Value
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
825119272024-06-08 15:28:3514 days ago1717860515
0xbf8Af96D...67e59433B
0.1 FTM
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MultiSend

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 780 runs

Other Settings:
default evmVersion
File 1 of 7 : MultiSend.sol
// Copyright (C) 2018 Alon Bukai This program is free software: you
// can redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
// more details. You should have received a copy of the GNU General Public
// License along with this program. If not, see http://www.gnu.org/licenses/
// Original ideas here https://github.com/Alonski/MultiSendEthereum/blob/master/contracts/MultiSend.sol

pragma solidity 0.7.6;
pragma abicoder v2;

import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/// @notice `MultiSend` is a contract for sending multiple ETH/ERC20 Tokens to
///  multiple addresses. In addition this contract can call multiple contracts
///  with multiple amounts. There are also TightlyPacked functions which in
///  some situations allow for gas savings. TightlyPacked is cheaper if you
///  need to store input data and if amount is less than 12 bytes. Normal is
///  cheaper if you don't need to store input data or if amounts are greater
///  than 12 bytes. 12 bytes allows for sends of up to 2^96-1 units, 79 billion
///  ETH, so tightly packed functions will work for any ETH send but may not
///  work for token sends when the token has a high number of decimals or a
///  very large total supply. Supports deterministic deployment. As explained
///  here: https://github.com/ethereum/EIPs/issues/777#issuecomment-356103528
contract MultiSend is Ownable {
    address internal constant NATIVE_TOKEN = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
    using SafeERC20 for IERC20;
    using SafeMath for uint256;

    struct Send {
        address token;
        address to;
        uint256 amount;
    }

    event Call(address indexed _from, address indexed _to, uint256 _amount);

    constructor() public {}

    function multiSend(Send[] calldata sends) external payable returns (bool) {
        uint256 sentAmount = 0;
        for (uint256 i = 0; i < sends.length; i++) {
            if (sends[i].token == NATIVE_TOKEN) {
                _safeCall(sends[i].to, sends[i].amount);
                sentAmount = sentAmount.add(sends[i].amount);
            } else {
                IERC20(sends[i].token).safeTransferFrom(msg.sender, sends[i].to, sends[i].amount);
            }
        }
        require(sentAmount == msg.value, "mismatch send amount");
        return true;
    }

    /// @notice Call to multiple contracts using a byte32 array which
    ///  includes the contract address and the amount.
    ///  Addresses and amounts are stored in a packed bytes32 array.
    ///  Address is stored in the 20 most significant bytes.
    ///  The address is retrieved by bitshifting 96 bits to the right
    ///  Amount is stored in the 12 least significant bytes.
    ///  The amount is retrieved by taking the 96 least significant bytes
    ///  and converting them into an unsigned integer.
    ///  Payable
    /// @param _addressesAndAmounts Bitwise packed array of contract
    ///  addresses and amounts
    function multiCallTightlyPacked(bytes32[] calldata _addressesAndAmounts)
        external
        payable
        returns (bool)
    {
        uint256 sentAmount = 0;
        for (uint256 i = 0; i < _addressesAndAmounts.length; i++) {
            address to = address(bytes20(_addressesAndAmounts[i]));
            uint256 amount = uint256(uint96(uint256(_addressesAndAmounts[i])));

            _safeCall(to, amount);
            sentAmount = sentAmount.add(amount);
        }
        require(sentAmount == msg.value, "mismatch send amount");
        return true;
    }

    /// @notice Call to multiple contracts using two arrays which
    ///  includes the contract address and the amount.
    /// @param _addresses Array of contract addresses to call
    /// @param _amounts Array of amounts to send
    function multiCall(address[] calldata _addresses, uint256[] calldata _amounts)
        external
        payable
        returns (bool)
    {
        uint256 sentAmount = 0;
        for (uint256 i = 0; i < _addresses.length; i++) {
            _safeCall(_addresses[i], _amounts[i]);
            sentAmount = sentAmount.add(_amounts[i]);
        }
        require(sentAmount == msg.value, "mismatch send amount");
        return true;
    }

    /// @notice Send ERC20 tokens to multiple contracts
    ///  using a byte32 array which includes the address and the amount.
    ///  Addresses and amounts are stored in a packed bytes32 array.
    ///  Address is stored in the 20 most significant bytes.
    ///  The address is retrieved by bitshifting 96 bits to the right
    ///  Amount is stored in the 12 least significant bytes.
    ///  The amount is retrieved by taking the 96 least significant bytes
    ///  and converting them into an unsigned integer.
    /// @param _token The token to send
    /// @param _addressesAndAmounts Bitwise packed array of addresses
    ///  and token amounts
    function multiERC20TransferTightlyPacked(
        address _token,
        bytes32[] calldata _addressesAndAmounts
    ) external {
        for (uint256 i = 0; i < _addressesAndAmounts.length; i++) {
            address to = address(bytes20(_addressesAndAmounts[i]));
            uint256 amount = uint256(uint96(uint256(_addressesAndAmounts[i])));
            IERC20(_token).safeTransferFrom(msg.sender, to, amount);
        }
    }

    /// @notice Send ERC20 tokens to multiple contracts
    ///  using two arrays which includes the address and the amount.
    /// @param _token The token to send
    /// @param _addresses Array of addresses to send to
    /// @param _amounts Array of token amounts to send
    function multiERC20Transfer(
        address _token,
        address[] calldata _addresses,
        uint256[] calldata _amounts
    ) external {
        for (uint256 i = 0; i < _addresses.length; i++) {
            IERC20(_token).safeTransferFrom(msg.sender, _addresses[i], _amounts[i]);
        }
    }

    function withdraw(
        address token,
        uint256 amount,
        address to
    ) external onlyOwner {
        if (token == NATIVE_TOKEN) {
            _safeCall(to, amount);
        } else {
            IERC20(token).safeTransfer(to, amount);
        }
    }

    receive() external payable {}

    function _safeCall(address to, uint256 amount) internal {
        (bool success, ) = to.call{value: amount}("");
        require(success, "transfer eth failed");
        emit Call(msg.sender, to, amount);
    }
}

File 2 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 3 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

File 4 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IERC20.sol";
import "../../math/SafeMath.sol";
import "../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 5 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 6 of 7 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Call","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"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"multiCall","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_addressesAndAmounts","type":"bytes32[]"}],"name":"multiCallTightlyPacked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"multiERC20Transfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"bytes32[]","name":"_addressesAndAmounts","type":"bytes32[]"}],"name":"multiERC20TransferTightlyPacked","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct MultiSend.Send[]","name":"sends","type":"tuple[]"}],"name":"multiSend","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b6110648061007d6000396000f3fe60806040526004361061009a5760003560e01c80638da5cb5b11610069578063ee15882b1161004e578063ee15882b1461015b578063f2fde38b1461016e578063f8f1d9271461018e576100a1565b80638da5cb5b14610126578063ac66777f14610148576100a1565b80631476e40f146100a657806335a21728146100cf57806369328dec146100f1578063715018a614610111576100a1565b366100a157005b600080fd5b6100b96100b4366004610e2f565b6101ae565b6040516100c69190610f5f565b60405180910390f35b3480156100db57600080fd5b506100ef6100ea366004610d25565b61025b565b005b3480156100fd57600080fd5b506100ef61010c366004610df4565b6102c8565b34801561011d57600080fd5b506100ef610389565b34801561013257600080fd5b5061013b610454565b6040516100c69190610f4b565b6100b9610156366004610e98565b610463565b6100b9610169366004610ed8565b6104fc565b34801561017a57600080fd5b506100ef610189366004610d0b565b610639565b34801561019a57600080fd5b506100ef6101a9366004610da3565b61075a565b600080805b85811015610226576101f78787838181106101ca57fe5b90506020020160208101906101df9190610d0b565b8686848181106101eb57fe5b905060200201356107d7565b61021c85858381811061020657fe5b90506020020135836108a390919063ffffffff16565b91506001016101b3565b5034811461024f5760405162461bcd60e51b815260040161024690610fa1565b60405180910390fd5b50600195945050505050565b60005b838110156102c0576102b83386868481811061027657fe5b905060200201602081019061028b9190610d0b565b85858581811061029757fe5b90506020020135896001600160a01b0316610904909392919063ffffffff16565b60010161025e565b505050505050565b6102d0610973565b6001600160a01b03166102e1610454565b6001600160a01b03161461033c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156103705761036b81836107d7565b610384565b6103846001600160a01b0384168284610977565b505050565b610391610973565b6001600160a01b03166103a2610454565b6001600160a01b0316146103fd576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000546001600160a01b031690565b600080805b838110156104d257600085858381811061047e57fe5b9050602002013560601c9050600086868481811061049857fe5b9050602002013560001c6bffffffffffffffffffffffff1690506104bc82826107d7565b6104c684826108a3565b93505050600101610468565b503481146104f25760405162461bcd60e51b815260040161024690610fa1565b5060019392505050565b600080805b838110156104d25773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee85858381811061052a57fe5b6105409260206060909202019081019150610d0b565b6001600160a01b031614156105c05761059185858381811061055e57fe5b90506060020160200160208101906105769190610d0b565b86868481811061058257fe5b905060600201604001356107d7565b6105b98585838181106105a057fe5b90506060020160400135836108a390919063ffffffff16565b9150610631565b610631338686848181106105d057fe5b90506060020160200160208101906105e89190610d0b565b8787858181106105f457fe5b9050606002016040013588888681811061060a57fe5b6106209260206060909202019081019150610d0b565b6001600160a01b0316929190610904565b600101610501565b610641610973565b6001600160a01b0316610652610454565b6001600160a01b0316146106ad576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166106f25760405162461bcd60e51b8152600401808060200182810382526026815260200180610fe26026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60005b818110156107d157600083838381811061077357fe5b9050602002013560601c9050600084848481811061078d57fe5b9050602002013560001c6bffffffffffffffffffffffff1690506107c7338383896001600160a01b0316610904909392919063ffffffff16565b505060010161075d565b50505050565b6000826001600160a01b0316826040516107f090610f48565b60006040518083038185875af1925050503d806000811461082d576040519150601f19603f3d011682016040523d82523d6000602084013e610832565b606091505b50509050806108535760405162461bcd60e51b815260040161024690610f6a565b826001600160a01b0316336001600160a01b03167fda6f1030e46613a9add5390434c8e68a48f738007f0f5ab6986a52d0640a66f4846040516108969190610fd8565b60405180910390a3505050565b6000828201838110156108fd576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166323b872dd60e01b1790526107d19085906109da565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b1790526103849084905b6000610a2f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a8b9092919063ffffffff16565b80519091501561038457808060200190516020811015610a4e57600080fd5b50516103845760405162461bcd60e51b815260040180806020018281038252602a81526020018061102e602a913960400191505060405180910390fd5b6060610a9a8484600085610aa2565b949350505050565b606082471015610ae35760405162461bcd60e51b81526004018080602001828103825260268152602001806110086026913960400191505060405180910390fd5b610aec85610bfd565b610b3d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310610b7b5780518252601f199092019160209182019101610b5c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610bdd576040519150601f19603f3d011682016040523d82523d6000602084013e610be2565b606091505b5091509150610bf2828286610c07565b979650505050505050565b803b15155b919050565b60608315610c165750816108fd565b825115610c265782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c70578181015183820152602001610c58565b50505050905090810190601f168015610c9d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b80356001600160a01b0381168114610c0257600080fd5b60008083601f840112610cd3578182fd5b50813567ffffffffffffffff811115610cea578182fd5b6020830191508360208083028501011115610d0457600080fd5b9250929050565b600060208284031215610d1c578081fd5b6108fd82610cab565b600080600080600060608688031215610d3c578081fd5b610d4586610cab565b9450602086013567ffffffffffffffff80821115610d61578283fd5b610d6d89838a01610cc2565b90965094506040880135915080821115610d85578283fd5b50610d9288828901610cc2565b969995985093965092949392505050565b600080600060408486031215610db7578283fd5b610dc084610cab565b9250602084013567ffffffffffffffff811115610ddb578283fd5b610de786828701610cc2565b9497909650939450505050565b600080600060608486031215610e08578283fd5b610e1184610cab565b925060208401359150610e2660408501610cab565b90509250925092565b60008060008060408587031215610e44578384fd5b843567ffffffffffffffff80821115610e5b578586fd5b610e6788838901610cc2565b90965094506020870135915080821115610e7f578384fd5b50610e8c87828801610cc2565b95989497509550505050565b60008060208385031215610eaa578182fd5b823567ffffffffffffffff811115610ec0578283fd5b610ecc85828601610cc2565b90969095509350505050565b60008060208385031215610eea578182fd5b823567ffffffffffffffff80821115610f01578384fd5b818501915085601f830112610f14578384fd5b813581811115610f22578485fd5b866020606083028501011115610f36578485fd5b60209290920196919550909350505050565b90565b6001600160a01b0391909116815260200190565b901515815260200190565b60208082526013908201527f7472616e7366657220657468206661696c656400000000000000000000000000604082015260600190565b60208082526014908201527f6d69736d617463682073656e6420616d6f756e74000000000000000000000000604082015260600190565b9081526020019056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a164736f6c6343000706000a

Deployed Bytecode

0x60806040526004361061009a5760003560e01c80638da5cb5b11610069578063ee15882b1161004e578063ee15882b1461015b578063f2fde38b1461016e578063f8f1d9271461018e576100a1565b80638da5cb5b14610126578063ac66777f14610148576100a1565b80631476e40f146100a657806335a21728146100cf57806369328dec146100f1578063715018a614610111576100a1565b366100a157005b600080fd5b6100b96100b4366004610e2f565b6101ae565b6040516100c69190610f5f565b60405180910390f35b3480156100db57600080fd5b506100ef6100ea366004610d25565b61025b565b005b3480156100fd57600080fd5b506100ef61010c366004610df4565b6102c8565b34801561011d57600080fd5b506100ef610389565b34801561013257600080fd5b5061013b610454565b6040516100c69190610f4b565b6100b9610156366004610e98565b610463565b6100b9610169366004610ed8565b6104fc565b34801561017a57600080fd5b506100ef610189366004610d0b565b610639565b34801561019a57600080fd5b506100ef6101a9366004610da3565b61075a565b600080805b85811015610226576101f78787838181106101ca57fe5b90506020020160208101906101df9190610d0b565b8686848181106101eb57fe5b905060200201356107d7565b61021c85858381811061020657fe5b90506020020135836108a390919063ffffffff16565b91506001016101b3565b5034811461024f5760405162461bcd60e51b815260040161024690610fa1565b60405180910390fd5b50600195945050505050565b60005b838110156102c0576102b83386868481811061027657fe5b905060200201602081019061028b9190610d0b565b85858581811061029757fe5b90506020020135896001600160a01b0316610904909392919063ffffffff16565b60010161025e565b505050505050565b6102d0610973565b6001600160a01b03166102e1610454565b6001600160a01b03161461033c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156103705761036b81836107d7565b610384565b6103846001600160a01b0384168284610977565b505050565b610391610973565b6001600160a01b03166103a2610454565b6001600160a01b0316146103fd576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000546001600160a01b031690565b600080805b838110156104d257600085858381811061047e57fe5b9050602002013560601c9050600086868481811061049857fe5b9050602002013560001c6bffffffffffffffffffffffff1690506104bc82826107d7565b6104c684826108a3565b93505050600101610468565b503481146104f25760405162461bcd60e51b815260040161024690610fa1565b5060019392505050565b600080805b838110156104d25773eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee85858381811061052a57fe5b6105409260206060909202019081019150610d0b565b6001600160a01b031614156105c05761059185858381811061055e57fe5b90506060020160200160208101906105769190610d0b565b86868481811061058257fe5b905060600201604001356107d7565b6105b98585838181106105a057fe5b90506060020160400135836108a390919063ffffffff16565b9150610631565b610631338686848181106105d057fe5b90506060020160200160208101906105e89190610d0b565b8787858181106105f457fe5b9050606002016040013588888681811061060a57fe5b6106209260206060909202019081019150610d0b565b6001600160a01b0316929190610904565b600101610501565b610641610973565b6001600160a01b0316610652610454565b6001600160a01b0316146106ad576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166106f25760405162461bcd60e51b8152600401808060200182810382526026815260200180610fe26026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60005b818110156107d157600083838381811061077357fe5b9050602002013560601c9050600084848481811061078d57fe5b9050602002013560001c6bffffffffffffffffffffffff1690506107c7338383896001600160a01b0316610904909392919063ffffffff16565b505060010161075d565b50505050565b6000826001600160a01b0316826040516107f090610f48565b60006040518083038185875af1925050503d806000811461082d576040519150601f19603f3d011682016040523d82523d6000602084013e610832565b606091505b50509050806108535760405162461bcd60e51b815260040161024690610f6a565b826001600160a01b0316336001600160a01b03167fda6f1030e46613a9add5390434c8e68a48f738007f0f5ab6986a52d0640a66f4846040516108969190610fd8565b60405180910390a3505050565b6000828201838110156108fd576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff166323b872dd60e01b1790526107d19085906109da565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b1790526103849084905b6000610a2f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a8b9092919063ffffffff16565b80519091501561038457808060200190516020811015610a4e57600080fd5b50516103845760405162461bcd60e51b815260040180806020018281038252602a81526020018061102e602a913960400191505060405180910390fd5b6060610a9a8484600085610aa2565b949350505050565b606082471015610ae35760405162461bcd60e51b81526004018080602001828103825260268152602001806110086026913960400191505060405180910390fd5b610aec85610bfd565b610b3d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600080866001600160a01b031685876040518082805190602001908083835b60208310610b7b5780518252601f199092019160209182019101610b5c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114610bdd576040519150601f19603f3d011682016040523d82523d6000602084013e610be2565b606091505b5091509150610bf2828286610c07565b979650505050505050565b803b15155b919050565b60608315610c165750816108fd565b825115610c265782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c70578181015183820152602001610c58565b50505050905090810190601f168015610c9d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b80356001600160a01b0381168114610c0257600080fd5b60008083601f840112610cd3578182fd5b50813567ffffffffffffffff811115610cea578182fd5b6020830191508360208083028501011115610d0457600080fd5b9250929050565b600060208284031215610d1c578081fd5b6108fd82610cab565b600080600080600060608688031215610d3c578081fd5b610d4586610cab565b9450602086013567ffffffffffffffff80821115610d61578283fd5b610d6d89838a01610cc2565b90965094506040880135915080821115610d85578283fd5b50610d9288828901610cc2565b969995985093965092949392505050565b600080600060408486031215610db7578283fd5b610dc084610cab565b9250602084013567ffffffffffffffff811115610ddb578283fd5b610de786828701610cc2565b9497909650939450505050565b600080600060608486031215610e08578283fd5b610e1184610cab565b925060208401359150610e2660408501610cab565b90509250925092565b60008060008060408587031215610e44578384fd5b843567ffffffffffffffff80821115610e5b578586fd5b610e6788838901610cc2565b90965094506020870135915080821115610e7f578384fd5b50610e8c87828801610cc2565b95989497509550505050565b60008060208385031215610eaa578182fd5b823567ffffffffffffffff811115610ec0578283fd5b610ecc85828601610cc2565b90969095509350505050565b60008060208385031215610eea578182fd5b823567ffffffffffffffff80821115610f01578384fd5b818501915085601f830112610f14578384fd5b813581811115610f22578485fd5b866020606083028501011115610f36578485fd5b60209290920196919550909350505050565b90565b6001600160a01b0391909116815260200190565b901515815260200190565b60208082526013908201527f7472616e7366657220657468206661696c656400000000000000000000000000604082015260600190565b60208082526014908201527f6d69736d617463682073656e6420616d6f756e74000000000000000000000000604082015260600190565b9081526020019056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a164736f6c6343000706000a

Block Transaction 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
[ Download: CSV Export  ]
[ 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.