Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 160 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transfer | 5699759 | 2844 days ago | IN | 0 ETH | 0.00401143 | ||||
| Transfer | 5684201 | 2847 days ago | IN | 0 ETH | 0.0002954 | ||||
| Transfer | 5684052 | 2847 days ago | IN | 0 ETH | 0.00053878 | ||||
| Transfer | 5683634 | 2847 days ago | IN | 0 ETH | 0.00040378 | ||||
| Transfer | 5683564 | 2847 days ago | IN | 0 ETH | 0.00233715 | ||||
| Transfer | 5683553 | 2847 days ago | IN | 0 ETH | 0.00379762 | ||||
| Transfer | 5683540 | 2847 days ago | IN | 0 ETH | 0.00304578 | ||||
| Transfer | 5683518 | 2847 days ago | IN | 0 ETH | 0.00920862 | ||||
| Transfer | 5626705 | 2857 days ago | IN | 0 ETH | 0.00570392 | ||||
| Transfer | 5570983 | 2867 days ago | IN | 0 ETH | 0.00019693 | ||||
| Transfer | 5570669 | 2867 days ago | IN | 0 ETH | 0.00038918 | ||||
| Transfer | 5570636 | 2867 days ago | IN | 0 ETH | 0.00038918 | ||||
| Transfer | 5570556 | 2867 days ago | IN | 0 ETH | 0.00041918 | ||||
| Transfer | 5570531 | 2867 days ago | IN | 0 ETH | 0.00041918 | ||||
| Transfer | 5570521 | 2867 days ago | IN | 0 ETH | 0.00035906 | ||||
| Transfer | 5570508 | 2867 days ago | IN | 0 ETH | 0.00041918 | ||||
| Transfer | 5570493 | 2867 days ago | IN | 0 ETH | 0.00009272 | ||||
| Transfer | 5570487 | 2867 days ago | IN | 0 ETH | 0.0001668 | ||||
| Transfer | 5570478 | 2867 days ago | IN | 0 ETH | 0.0001368 | ||||
| Transfer | 5570471 | 2867 days ago | IN | 0 ETH | 0.0001368 | ||||
| Transfer | 5570440 | 2867 days ago | IN | 0 ETH | 0.00013693 | ||||
| Transfer | 5570341 | 2867 days ago | IN | 0 ETH | 0.0007099 | ||||
| Transfer | 5570340 | 2867 days ago | IN | 0 ETH | 0.0011299 | ||||
| Transfer | 5569855 | 2867 days ago | IN | 0 ETH | 0.01019512 | ||||
| Transfer | 5569835 | 2867 days ago | IN | 0 ETH | 0.00520415 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
teuBatchTransfer
Compiler Version
v0.4.21+commit.dfe3193c
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*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
- No Contract Security Audit Submitted- Submit Audit Here
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"}]Contract Creation Code
606060405260008054600160a060020a033316600160a060020a031990911617905561027c806100306000396000f3006060604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416635106b8fe811461005b5780638da5cb5b146100bc578063f2fde38b146100eb575b600080fd5b341561006657600080fd5b6100ba60048035600160a060020a0316906044602480359081019083013580602080820201604051908101604052809392919081815260200183836020028082843750949650509335935061010a92505050565b005b34156100c757600080fd5b6100cf6101eb565b604051600160a060020a03909116815260200160405180910390f35b34156100f657600080fd5b6100ba600160a060020a03600435166101fa565b6000805433600160a060020a0390811691161461012657600080fd5b5060005b82518110156101e55773eeac3f8da16bb0485a4a11c5128b0518dac814486323b872dd8585848151811061015a57fe5b90602001906020020151856040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401600060405180830381600087803b15156101cd57600080fd5b5af115156101da57600080fd5b50505060010161012a565b50505050565b600054600160a060020a031681565b60005433600160a060020a0390811691161461021557600080fd5b600160a060020a0381161561024d576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b505600a165627a7a723058206423a4bbd3e6fe39857c8163b617fd59247d94f93a8e04b8240909845e3f83fe0029
Deployed Bytecode
0x6060604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416635106b8fe811461005b5780638da5cb5b146100bc578063f2fde38b146100eb575b600080fd5b341561006657600080fd5b6100ba60048035600160a060020a0316906044602480359081019083013580602080820201604051908101604052809392919081815260200183836020028082843750949650509335935061010a92505050565b005b34156100c757600080fd5b6100cf6101eb565b604051600160a060020a03909116815260200160405180910390f35b34156100f657600080fd5b6100ba600160a060020a03600435166101fa565b6000805433600160a060020a0390811691161461012657600080fd5b5060005b82518110156101e55773eeac3f8da16bb0485a4a11c5128b0518dac814486323b872dd8585848151811061015a57fe5b90602001906020020151856040517c010000000000000000000000000000000000000000000000000000000063ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401600060405180830381600087803b15156101cd57600080fd5b5af115156101da57600080fd5b50505060010161012a565b50505050565b600054600160a060020a031681565b60005433600160a060020a0390811691161461021557600080fd5b600160a060020a0381161561024d576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b505600a165627a7a723058206423a4bbd3e6fe39857c8163b617fd59247d94f93a8e04b8240909845e3f83fe0029
Swarm Source
bzzr://6423a4bbd3e6fe39857c8163b617fd59247d94f93a8e04b8240909845e3f83fe
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
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.