ETH Price: $2,112.99 (+2.42%)

Contract

0xae926fD21C6344BD5071df44CBc024130e606Fcb
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer56997592018-05-30 0:14:492844 days ago1527639289IN
0xae926fD2...30e606Fcb
0 ETH0.0040114311
Transfer56842012018-05-27 6:21:242847 days ago1527402084IN
0xae926fD2...30e606Fcb
0 ETH0.00029543
Transfer56840522018-05-27 5:40:352847 days ago1527399635IN
0xae926fD2...30e606Fcb
0 ETH0.000538783
Transfer56836342018-05-27 3:49:342847 days ago1527392974IN
0xae926fD2...30e606Fcb
0 ETH0.000403783
Transfer56835642018-05-27 3:31:492847 days ago1527391909IN
0xae926fD2...30e606Fcb
0 ETH0.002337153
Transfer56835532018-05-27 3:28:502847 days ago1527391730IN
0xae926fD2...30e606Fcb
0 ETH0.003797623
Transfer56835402018-05-27 3:25:292847 days ago1527391529IN
0xae926fD2...30e606Fcb
0 ETH0.003045783
Transfer56835182018-05-27 3:20:352847 days ago1527391235IN
0xae926fD2...30e606Fcb
0 ETH0.009208623
Transfer56267052018-05-17 1:49:512857 days ago1526521791IN
0xae926fD2...30e606Fcb
0 ETH0.005703928
Transfer55709832018-05-07 8:08:072867 days ago1525680487IN
0xae926fD2...30e606Fcb
0 ETH0.000196932
Transfer55706692018-05-07 6:51:082867 days ago1525675868IN
0xae926fD2...30e606Fcb
0 ETH0.000389182
Transfer55706362018-05-07 6:40:162867 days ago1525675216IN
0xae926fD2...30e606Fcb
0 ETH0.000389182
Transfer55705562018-05-07 6:19:332867 days ago1525673973IN
0xae926fD2...30e606Fcb
0 ETH0.000419182
Transfer55705312018-05-07 6:12:392867 days ago1525673559IN
0xae926fD2...30e606Fcb
0 ETH0.000419182
Transfer55705212018-05-07 6:09:252867 days ago1525673365IN
0xae926fD2...30e606Fcb
0 ETH0.000359062
Transfer55705082018-05-07 6:06:072867 days ago1525673167IN
0xae926fD2...30e606Fcb
0 ETH0.000419182
Transfer55704932018-05-07 6:01:312867 days ago1525672891IN
0xae926fD2...30e606Fcb
0 ETH0.000092722
Transfer55704872018-05-07 5:59:472867 days ago1525672787IN
0xae926fD2...30e606Fcb
0 ETH0.00016682
Transfer55704782018-05-07 5:57:372867 days ago1525672657IN
0xae926fD2...30e606Fcb
0 ETH0.00013682
Transfer55704712018-05-07 5:55:332867 days ago1525672533IN
0xae926fD2...30e606Fcb
0 ETH0.00013682
Transfer55704402018-05-07 5:48:062867 days ago1525672086IN
0xae926fD2...30e606Fcb
0 ETH0.000136932
Transfer55703412018-05-07 5:23:252867 days ago1525670605IN
0xae926fD2...30e606Fcb
0 ETH0.00070992
Transfer55703402018-05-07 5:23:232867 days ago1525670603IN
0xae926fD2...30e606Fcb
0 ETH0.00112992
Transfer55698552018-05-07 3:25:342867 days ago1525663534IN
0xae926fD2...30e606Fcb
0 ETH0.010195122
Transfer55698352018-05-07 3:19:392867 days ago1525663179IN
0xae926fD2...30e606Fcb
0 ETH0.005204152
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
teuBatchTransfer

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.4.21;

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control 
 * functions, this simplifies the implementation of "user permissions". 
 */
contract Ownable {
  address public owner;


  /** 
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() public {
    owner = msg.sender;
  }


  /**
   * @dev revert()s if called by any account other than the owner. 
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }


  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to. 
   */
  function transferOwnership(address newOwner) onlyOwner public {
    if (newOwner != address(0)) {
      owner = newOwner;
    }
  }

}



/**
 * Math operations with safety checks
 */
library SafeMath {
  
  
  function mul256(uint256 a, uint256 b) internal returns (uint256) {
    uint256 c = a * b;
    assert(a == 0 || c / a == b);
    return c;
  }

  function div256(uint256 a, uint256 b) internal returns (uint256) {
    require(b > 0); // Solidity automatically revert()s 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;
  }

  function sub256(uint256 a, uint256 b) internal returns (uint256) {
    require(b <= a);
    return a - b;
  }

  function add256(uint256 a, uint256 b) internal returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }  
  

  function max64(uint64 a, uint64 b) internal constant returns (uint64) {
    return a >= b ? a : b;
  }

  function min64(uint64 a, uint64 b) internal constant returns (uint64) {
    return a < b ? a : b;
  }

  function max256(uint256 a, uint256 b) internal constant returns (uint256) {
    return a >= b ? a : b;
  }

  function min256(uint256 a, uint256 b) internal constant returns (uint256) {
    return a < b ? a : b;
  }
}


/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 */
contract ERC20Basic {
  uint256 public totalSupply;
  function balanceOf(address who) constant public returns (uint256);
  function transfer(address to, uint256 value) public;
  event Transfer(address indexed from, address indexed to, uint256 value);
}




/**
 * @title ERC20 interface
 * @dev ERC20 interface with allowances. 
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) constant public returns (uint256);
  function transferFrom(address from, address to, uint256 value) public;
  function approve(address spender, uint256 value) public;
  event Approval(address indexed owner, address indexed spender, uint256 value);
}




/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances. 
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  /**
   * @dev Fix for the ERC20 short address attack.
   */
  modifier onlyPayloadSize(uint size) {
     require(msg.data.length >= size + 4);
     _;
  }

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) onlyPayloadSize(2 * 32) public {
    balances[msg.sender] = balances[msg.sender].sub256(_value);
    balances[_to] = balances[_to].add256(_value);
    Transfer(msg.sender, _to, _value);
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of. 
  * @return An uint representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) constant public returns (uint256 balance) {
    return balances[_owner];
  }

}




/**
 * @title Standard ERC20 token
 * @dev Implemantation of the basic standart token.
 */
contract StandardToken is BasicToken, ERC20 {

  mapping (address => mapping (address => uint256)) allowed;


  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint the amout of tokens to be transfered
   */
  function transferFrom(address _from, address _to, uint256 _value) onlyPayloadSize(3 * 32) public {
    var _allowance = allowed[_from][msg.sender];

    // Check is not needed because sub(_allowance, _value) will already revert() if this condition is not met
    // if (_value > _allowance) revert();

    balances[_to] = balances[_to].add256(_value);
    balances[_from] = balances[_from].sub256(_value);
    allowed[_from][msg.sender] = _allowance.sub256(_value);
    Transfer(_from, _to, _value);
  }

  /**
   * @dev Aprove the passed address to spend the specified amount of tokens on behalf of msg.sender.
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public {

    //  To change the approve amount you first have to reduce the addresses
    //  allowance to zero by calling `approve(_spender, 0)` if it is not
    //  already 0 to mitigate the race condition described here:
    //  https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    if ((_value != 0) && (allowed[msg.sender][_spender] != 0)) revert();

    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
  }

  /**
   * @dev Function to check the amount of tokens than an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint specifing the amount of tokens still avaible for the spender.
   */
  function allowance(address _owner, address _spender) constant public returns (uint256 remaining) {
    return allowed[_owner][_spender];
  }


}



/**
 * @title TeuToken
 * @dev The main TEU token contract
 * 
 */
 
contract TeuToken is StandardToken, Ownable{
  string public name = "20-footEqvUnit";
  string public symbol = "TEU";
  uint public decimals = 18;

  event TokenBurned(uint256 value);
  
  function TeuToken() public {
    totalSupply = (10 ** 8) * (10 ** decimals);
    balances[msg.sender] = totalSupply;
  }

  /**
   * @dev Allows the owner to burn the token
   * @param _value number of tokens to be burned.
   */
  function burn(uint _value) onlyOwner public {
    require(balances[msg.sender] >= _value);
    balances[msg.sender] = balances[msg.sender].sub256(_value);
    totalSupply = totalSupply.sub256(_value);
    TokenBurned(_value);
  }

}

/**
 * @title teuBatchTransfer
 * @dev Contract to transfer TEU to multiple wallet in batch
 * 
 */
contract teuBatchTransfer is Ownable {
	using SafeMath for uint256;

    TeuToken			                constant private		token = TeuToken(0xeEAc3F8da16bb0485a4A11c5128b0518DaC81448); // hard coded due to token already deployed
    
    /**
    * @dev transfer TEU token from one wallet to multiple wallets.  Sufficient TEU token allowance must be approved by _from to this contract before calling this method
    * @param _from address from which TEU will be transferred
    * @param _to addresses where TEU will be transferred to
    * @param _amount amount of TEU to be transferred
    */
    function transfer(address _from, address[] _to, uint256 _amount) public onlyOwner {
	    for (uint i = 0; i < _to.length; i++) {
		    token.transferFrom(_from, _to[i], _amount);
	    }
    }  

}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address[]"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

606060405260008054600160a060020a033316600160a060020a031990911617905561027c806100306000396000f3006060604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416635106b8fe811461005b5780638da5cb5b146100bc578063f2fde38b146100eb575b600080fd5b341561006657600080fd5b6100ba60048035600160a060020a0316906044602480359081019083013580602080820201604051908101604052809392919081815260200183836020028082843750949650509335935061010a92505050565b005b34156100c757600080fd5b6100cf6101eb565b604051600160a060020a03909116815260200160405180910390f35b34156100f657600080fd5b6100ba600160a060020a03600435166101fa565b6000805433600160a060020a0390811691161461012657600080fd5b5060005b82518110156101e55773eeac3f8da16bb0485a4a11c5128b0518dac814486323b872dd8585848151811061015a57fe5b90602001906020020151856040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401600060405180830381600087803b15156101cd57600080fd5b5af115156101da57600080fd5b50505060010161012a565b50505050565b600054600160a060020a031681565b60005433600160a060020a0390811691161461021557600080fd5b600160a060020a0381161561024d576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b505600a165627a7a723058206423a4bbd3e6fe39857c8163b617fd59247d94f93a8e04b8240909845e3f83fe0029

Deployed Bytecode

0x6060604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416635106b8fe811461005b5780638da5cb5b146100bc578063f2fde38b146100eb575b600080fd5b341561006657600080fd5b6100ba60048035600160a060020a0316906044602480359081019083013580602080820201604051908101604052809392919081815260200183836020028082843750949650509335935061010a92505050565b005b34156100c757600080fd5b6100cf6101eb565b604051600160a060020a03909116815260200160405180910390f35b34156100f657600080fd5b6100ba600160a060020a03600435166101fa565b6000805433600160a060020a0390811691161461012657600080fd5b5060005b82518110156101e55773eeac3f8da16bb0485a4a11c5128b0518dac814486323b872dd8585848151811061015a57fe5b90602001906020020151856040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401600060405180830381600087803b15156101cd57600080fd5b5af115156101da57600080fd5b50505060010161012a565b50505050565b600054600160a060020a031681565b60005433600160a060020a0390811691161461021557600080fd5b600160a060020a0381161561024d576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b505600a165627a7a723058206423a4bbd3e6fe39857c8163b617fd59247d94f93a8e04b8240909845e3f83fe0029

Swarm Source

bzzr://6423a4bbd3e6fe39857c8163b617fd59247d94f93a8e04b8240909845e3f83fe

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.