ETH Price: $3,258.81 (-0.29%)
Gas: 1 Gwei

Contract

0xfea71F436ec963507C26f424d93168E4285cD822
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim171995842023-05-06 5:50:35447 days ago1683352235IN
0xfea71F43...4285cD822
0 ETH0.00386222121.05398943
Distribute157169582022-10-10 9:58:47655 days ago1665395927IN
0xfea71F43...4285cD822
3 ETH0.131862433.9125941
Distribute157169562022-10-10 9:58:23655 days ago1665395903IN
0xfea71F43...4285cD822
3 ETH0.1262043232.45623759
Distribute157169482022-10-10 9:56:47655 days ago1665395807IN
0xfea71F43...4285cD822
3 ETH0.1177213330.27558324
Distribute157155492022-10-10 5:14:59655 days ago1665378899IN
0xfea71F43...4285cD822
0.02 ETH0.002692527.58202795
Distribute157118242022-10-09 16:47:11656 days ago1665334031IN
0xfea71F43...4285cD822
1.5 ETH0.0659848118.65390125
Distribute157089122022-10-09 7:01:11656 days ago1665298871IN
0xfea71F43...4285cD822
3 ETH0.1051711629.73147437
Distribute157089072022-10-09 7:00:11656 days ago1665298811IN
0xfea71F43...4285cD822
3 ETH0.1055566929.8407642
Distribute157088992022-10-09 6:58:35656 days ago1665298715IN
0xfea71F43...4285cD822
3 ETH0.1063794730.07326216
Distribute157088952022-10-09 6:57:47656 days ago1665298667IN
0xfea71F43...4285cD822
3 ETH0.1076142330.42232728
Distribute157087512022-10-09 6:28:47656 days ago1665296927IN
0xfea71F43...4285cD822
3 ETH0.0897016825.3590885
Distribute157084372022-10-09 5:25:47656 days ago1665293147IN
0xfea71F43...4285cD822
2.7 ETH0.0740751423.24835044
Distribute157081842022-10-09 4:35:11657 days ago1665290111IN
0xfea71F43...4285cD822
0.1 ETH0.0083410927.53553807
Distribute140748852022-01-25 12:58:14913 days ago1643115494IN
0xfea71F43...4285cD822
1.2 ETH0.02174217102.30987858
Distribute140747962022-01-25 12:38:07913 days ago1643114287IN
0xfea71F43...4285cD822
1.18 ETH0.1247806370.17741544
Distribute129409952021-08-01 17:35:271090 days ago1627839327IN
0xfea71F43...4285cD822
0.2 ETH0.0030098831
Distribute115793722021-01-03 4:36:401301 days ago1609648600IN
0xfea71F43...4285cD822
6 ETH0.0147493465
Distribute115793442021-01-03 4:30:481301 days ago1609648248IN
0xfea71F43...4285cD822
3 ETH0.0076378860
Distribute115343512020-12-27 7:02:271307 days ago1609052547IN
0xfea71F43...4285cD822
0.01 ETH0.0078994752.00000145
Distribute115343422020-12-27 7:00:251307 days ago1609052425IN
0xfea71F43...4285cD822
0.01 ETH0.0040194952.00000145
Distribute115343342020-12-27 6:58:491307 days ago1609052329IN
0xfea71F43...4285cD822
0.01 ETH0.0049869253
Distribute115343012020-12-27 6:51:351307 days ago1609051895IN
0xfea71F43...4285cD822
0.01 ETH0.0017161448
Distribute77633092019-05-15 6:19:341899 days ago1557901174IN
0xfea71F43...4285cD822
0.0174 ETH0.012079366
Distribute77628782019-05-15 4:47:531900 days ago1557895673IN
0xfea71F43...4285cD822
0.032 ETH0.017255745
Distribute77627782019-05-15 4:24:131900 days ago1557894253IN
0xfea71F43...4285cD822
0.032 ETH0.01725675
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
157169582022-10-10 9:58:47655 days ago1665395927
0xfea71F43...4285cD822
0.02727272 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
batchTransfer

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-05-28
*/

pragma solidity ^0.4.21;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}


contract batchTransfer {
    using SafeMath for uint256;
    
    uint public totalEther;
    
    function batchTransfer() public {
        totalEther = 0;
    }
    
    function distribute(address[] myAddresses) public payable {
            require(myAddresses.length>0);
            
            uint256 value = msg.value;
            uint256 length = myAddresses.length;
            uint256 distr = value.div(length);
            
            if(length==1)
            {
               myAddresses[0].transfer(value);
            }else
            {
                for(uint256 i=0;i<(length.sub(1));i++)
                {
                    myAddresses[i].transfer(distr);
                    value = value.sub(distr);
                }
                myAddresses[myAddresses.length-1].transfer(value);
            }
            
            totalEther = totalEther.add(msg.value);
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"myAddresses","type":"address[]"}],"name":"distribute","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"totalEther","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

608060405234801561001057600080fd5b506000808190555061031d806100276000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680636138889b14610051578063ae6e22f1146100aa575b600080fd5b6100a8600480360381019080803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091929192905050506100d5565b005b3480156100b657600080fd5b506100bf610299565b6040518082815260200191505060405180910390f35b600080600080600085511115156100eb57600080fd5b34935084519250610105838561029f90919063ffffffff16565b915060018314156101745784600081518110151561011f57fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505015801561016e573d6000803e3d6000fd5b50610277565b600090505b61018d6001846102ba90919063ffffffff16565b8110156102145784818151811015156101a257fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156101f1573d6000803e3d6000fd5b5061020582856102ba90919063ffffffff16565b93508080600101915050610179565b84600186510381518110151561022657fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015610275573d6000803e3d6000fd5b505b61028c346000546102d390919063ffffffff16565b6000819055505050505050565b60005481565b60008082848115156102ad57fe5b0490508091505092915050565b60008282111515156102c857fe5b818303905092915050565b60008082840190508381101515156102e757fe5b80915050929150505600a165627a7a7230582088f47f15452822e67262da3534ca6fceecaf614b2697ea3cc34b9feb9fb29a400029

Deployed Bytecode

0x60806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680636138889b14610051578063ae6e22f1146100aa575b600080fd5b6100a8600480360381019080803590602001908201803590602001908080602002602001604051908101604052809392919081815260200183836020028082843782019150505050505091929192905050506100d5565b005b3480156100b657600080fd5b506100bf610299565b6040518082815260200191505060405180910390f35b600080600080600085511115156100eb57600080fd5b34935084519250610105838561029f90919063ffffffff16565b915060018314156101745784600081518110151561011f57fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f1935050505015801561016e573d6000803e3d6000fd5b50610277565b600090505b61018d6001846102ba90919063ffffffff16565b8110156102145784818151811015156101a257fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156101f1573d6000803e3d6000fd5b5061020582856102ba90919063ffffffff16565b93508080600101915050610179565b84600186510381518110151561022657fe5b9060200190602002015173ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f19350505050158015610275573d6000803e3d6000fd5b505b61028c346000546102d390919063ffffffff16565b6000819055505050505050565b60005481565b60008082848115156102ad57fe5b0490508091505092915050565b60008282111515156102c857fe5b818303905092915050565b60008082840190508381101515156102e757fe5b80915050929150505600a165627a7a7230582088f47f15452822e67262da3534ca6fceecaf614b2697ea3cc34b9feb9fb29a400029

Swarm Source

bzzr://88f47f15452822e67262da3534ca6fceecaf614b2697ea3cc34b9feb9fb29a40

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.