Contract 0x855830a2cbb733ece48688fe3f690106c404a16b

Contract Overview

Balance:
0 Ether
TxHash Block Age From To Value [TxFee]
0xeb686a0c4a3f4d35d67065bdacd4bf9564dd415de82e5385cd27083457be737b2593270258 days 18 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether2.6333312
0x3fe0ab86a449281720d4be2bce8bb286ff40f63930fa155ef444f0bee86928242593264258 days 18 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.6583328
0xebda168a41c9c0ebe16788f65b8216d43d5c770673fba6690581301a049f673e2592481258 days 22 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.096
0x3173984cda0ba10610dae2c537e4d56afa1245154bd8af3deaf93d01184e63a62592106258 days 23 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.00111472
0x92fe03525c2dea37933d16384cad36ac46bbcbaac5c5f2a0a41887279b816b7b2592037258 days 23 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b1 Ether0.000673472
0xcfd8c6efe6d3842454f8a9fc63300ae04f129853a6e184f7ade73118b027dd912592022258 days 23 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b1 Ether0.000021046
0xffe8021b216010b2eb46e11c5c2a15ae36ed87e30bf77d1017f46573922682602591930259 days 18 mins ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.0096
0x0053fd09576d1648fdbe9a4aa7e7f1b41dcf572cd2eb0dc26b3e138edbdeb1622591881259 days 30 mins ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.000025929
0x5c641070c6c4e51fc50fbbc1ecf115001c13195485a1c93db240d2b2ad8bc02e2591833259 days 42 mins ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.000022884
0x59c2cc34951058a0cfabdac7a1173b611c7fb4248abe311286790b8c346b89df2590951259 days 4 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.1645832
0x0b47e72ec791810edeb3693f6817fe3f122d7a2a379dc30bddfdf6d3cc6655172590670259 days 5 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.061938816
0x16efb96920a14b0fc92b13d6d27ea4fd53c497bda3410af4b81df942f61705cc2590628259 days 5 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.0096
0x7463a2e9aa2f0cbccab5c75903d29089834d31da54eee2e6aa15c3277051604f2590621259 days 5 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.0096
0xb0f94ed1eb925659b1e9188289f8696c0c6b4e9175a1e9a7e663d91b2c4793992590605259 days 5 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.1645832
0xb704cfcf29f5d577c05b2a728fd73adab3093a5c7352a0c23d2626f67a8ff0172590540259 days 6 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  0x855830a2cbb733ece48688fe3f690106c404a16b0 Ether0.0096
0xb8002434c64e5f334467b8962c8074f39637e7b19050cf36b4c84dab441c04032590519259 days 6 hrs ago0x7facd7954e31bec3b337a6f161bb711c825a96c0 IN  Contract Creation0 Ether0.000642751
[ Download CSV Export 

Latest 16 internal transactions Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
0x58bc6ffd80a2f5960adab5a40e86190c6d32b9548d806dc9c060e91fe5314ded2597867257 days 23 hrs ago0x24f7c412643eabba62615c8f1e8c78a97da53d920x855830a2cbb733ece48688fe3f690106c404a16b0 Ether
0xeb686a0c4a3f4d35d67065bdacd4bf9564dd415de82e5385cd27083457be737b2593270258 days 18 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0x3fe0ab86a449281720d4be2bce8bb286ff40f63930fa155ef444f0bee86928242593264258 days 18 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0xebda168a41c9c0ebe16788f65b8216d43d5c770673fba6690581301a049f673e2592481258 days 22 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0x3173984cda0ba10610dae2c537e4d56afa1245154bd8af3deaf93d01184e63a62592106258 days 23 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0x3173984cda0ba10610dae2c537e4d56afa1245154bd8af3deaf93d01184e63a62592106258 days 23 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0x3173984cda0ba10610dae2c537e4d56afa1245154bd8af3deaf93d01184e63a62592106258 days 23 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0xffe8021b216010b2eb46e11c5c2a15ae36ed87e30bf77d1017f46573922682602591930259 days 18 mins ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0x0053fd09576d1648fdbe9a4aa7e7f1b41dcf572cd2eb0dc26b3e138edbdeb1622591881259 days 30 mins ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0x5c641070c6c4e51fc50fbbc1ecf115001c13195485a1c93db240d2b2ad8bc02e2591833259 days 42 mins ago0x855830a2cbb733ece48688fe3f690106c404a16b0x7facd7954e31bec3b337a6f161bb711c825a96c00 Ether
0x59c2cc34951058a0cfabdac7a1173b611c7fb4248abe311286790b8c346b89df2590951259 days 4 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0x0b47e72ec791810edeb3693f6817fe3f122d7a2a379dc30bddfdf6d3cc6655172590670259 days 5 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0x16efb96920a14b0fc92b13d6d27ea4fd53c497bda3410af4b81df942f61705cc2590628259 days 5 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0x7463a2e9aa2f0cbccab5c75903d29089834d31da54eee2e6aa15c3277051604f2590621259 days 5 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0xb0f94ed1eb925659b1e9188289f8696c0c6b4e9175a1e9a7e663d91b2c4793992590605259 days 5 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
0xb704cfcf29f5d577c05b2a728fd73adab3093a5c7352a0c23d2626f67a8ff0172590540259 days 6 hrs ago0x855830a2cbb733ece48688fe3f690106c404a16b0xcaa70843d001613a922f7006e9ded8a28f1ac1970 Ether
[ Download CSV Export 
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)

Contract Name:
TokenBooksAirdrop

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
No

Runs (Optimizer):
200

Contract Source Code

pragma solidity ^0.4.23;


contract ERC20Basic {
  uint256 public totalSupply;
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}
contract Ownable {
  address public owner;


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


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


  /**
   * @dev Throws 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) public onlyOwner {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

library SafeMath {
  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;
  }

  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;
  }

  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}
contract TokenBooksAirdrop is Ownable{
	using SafeMath for uint256;

	function TokenBooksAirdrop(){
	}


    function withdrawCoinToOwner(address tokenAddress ,uint256 _value) external
		onlyOwner
	{
		processFunding(tokenAddress,msg.sender,_value);
	}
	//空投
    function airdrop(address tokenAddress,address [] _holders,uint256 paySize) external
    	onlyOwner 
	{
		ERC20 token = ERC20(tokenAddress);
        uint256 count = _holders.length;
        assert(paySize.mul(count) <= token.balanceOf(this));
        for (uint256 i = 0; i < count; i++) {
			processFunding(tokenAddress,_holders [i],paySize);
        }
    }
	function processFunding(address tokenAddress,address receiver,uint256 _value) internal
	{
		ERC20 token = ERC20(tokenAddress);
		require(_value<=token.balanceOf(this));
		if(!token.transfer(receiver,_value)){
			revert();
		}
	}

	
	function etherProceeds() external
		onlyOwner

	{
		if(!msg.sender.send(this.balance)) revert();
	}

}

Contract ABI

[{"constant":false,"inputs":[],"name":"etherProceeds","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":"tokenAddress","type":"address"},{"name":"_holders","type":"address[]"},{"name":"paySize","type":"uint256"}],"name":"airdrop","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"_value","type":"uint256"}],"name":"withdrawCoinToOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

Contract Creation Code

608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610860806100606000396000f30060806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168063801aba56146100725780638da5cb5b14610089578063a1ac727f146100e0578063ecd370bd14610145578063f2fde38b14610192575b600080fd5b34801561007e57600080fd5b506100876101d5565b005b34801561009557600080fd5b5061009e610289565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100ec57600080fd5b50610143600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001919091929391929390803590602001909291905050506102ae565b005b34801561015157600080fd5b50610190600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610462565b005b34801561019e57600080fd5b506101d3600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104cc565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561023057600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561028757600080fd5b565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561030e57600080fd5b8692508585905091508273ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156103b257600080fd5b505af11580156103c6573d6000803e3d6000fd5b505050506040513d60208110156103dc57600080fd5b8101908080519060200190929190505050610400838661062190919063ffffffff16565b1115151561040a57fe5b600090505b818110156104595761044c87878784818110151561042957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff168661065c565b808060010191505061040f565b50505050505050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156104bd57600080fd5b6104c882338361065c565b5050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561052757600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561056357600080fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060008414156106365760009150610655565b828402905082848281151561064757fe5b0414151561065157fe5b8091505b5092915050565b60008390508073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156106fc57600080fd5b505af1158015610710573d6000803e3d6000fd5b505050506040513d602081101561072657600080fd5b8101908080519060200190929190505050821115151561074557600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156107e857600080fd5b505af11580156107fc573d6000803e3d6000fd5b505050506040513d602081101561081257600080fd5b8101908080519060200190929190505050151561082e57600080fd5b505050505600a165627a7a72305820b25b53d436f14c4df85ea6c4abcbe7b7d0933ef8f3a001a76a2acb70b723282c0029

Swarm Source

bzzr://b25b53d436f14c4df85ea6c4abcbe7b7d0933ef8f3a001a76a2acb70b723282c
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward