Contract 0xfe25A97B5E3257e6e7164Ede813C3d4FBb1C2e3b 6

Txn Hash
Method
Block
From
To
Value
0xd68841dfa1130417aab939380537b909ea092564964ee5d1a7bbfd2b3ec3b1f8Multisend124009842022-06-15 19:43:4865 days 4 hrs ago0x1894db8106b6a2694915abffd4cd6be86985641c IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b1 Ether0.00003125 1
0x1510b04217c364aaf2d003c6958629e151661c21e30123dfec90fda3bcc6e8e3Multisend Token124009422022-06-15 19:35:2465 days 4 hrs ago0x1894db8106b6a2694915abffd4cd6be86985641c IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b1 Ether0.00003143 1
0xaf4827a87072c3dda0e00759026ff4adca14851f25d944e6287755bb2a8c5d94Multisend Token123565732022-06-09 12:11:4871 days 11 hrs ago0x8003aece8e53310a58b0f44e0237be48ddd70f63 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0 Ether0.00003032 1
0x1a5f97afac24a3f6ec8ce44f9ad153a8e1e5eb063992288b7aca197c5a609858Muti Send ETH Wi...121991762022-04-16 10:41:18125 days 13 hrs ago0xfa1bdbc3c34782a2e7ed69a416e59ea5717af535 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0 Ether0.00007546 2.50000003
0x62815e1ec2b7387d3606cd9935a03933bfe5c49fcaa06e000c40c71190573752Muti Send ETH Wi...121277412022-03-24 0:50:49148 days 22 hrs ago0xd4c4f5e108d09f4383f431d143e75ecabb703f2a IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.01 Ether0.00003009 1.00000001
0xebc611b40c734280900a4c43fb2b8d239894f16e669b4a1a08570def2adfd9a0Muti Send Coin W...121241222022-03-23 12:17:09149 days 11 hrs ago0xaec8824a60fa11f19c8fedcef33f5ce2c2834dd8 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.01 Ether0.00003119 1
0x143d8b31feb0f87b6f2f979e4d0f8220a1b5321cdcfc30d6cc68298a665c3796Muti Send Coin W...121226142022-03-23 9:13:15149 days 14 hrs ago0xaec8824a60fa11f19c8fedcef33f5ce2c2834dd8 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b1 Ether0.00003118 1
0xa4d7fb81c48b03d2c149578029be4162f9f13a5e9de95edd10d31bbcb9b60ac1Muti Send ETH Wi...119311922022-02-07 13:05:56193 days 10 hrs ago0x041cfd092e87da5651316e9779377b0f66ca5489 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.0001 Ether0.00097232 32.70749131
0x2fe4cd8914af1efc864f8fa6a9ee587035526218974bc5f6a14b93d3d0986136Multisend Token107146382021-07-26 23:04:59389 days 43 mins ago0xfcd84a5d8341aeacaddf1fbb58634ac34c308d7a IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0 Ether0.0005174917
0xc1a1e17f2b613c5090c39f8e7bcc288cbc31b7df3324d3697b021c456633c407Multisend Token107146242021-07-26 23:02:42389 days 45 mins ago0xfcd84a5d8341aeacaddf1fbb58634ac34c308d7a IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0 Ether0.0005174917
0xa456a8fdb776ef8e921edd7224c1dfa4b1657e46b475e5acd8c24735766d37b1Multisend Token107146012021-07-26 22:58:06389 days 49 mins ago0xfcd84a5d8341aeacaddf1fbb58634ac34c308d7a IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.0001 Ether0.0005174917
0xf269225c0e4dcce3a639c2ebba1551176b23057eab76e94f89d142ce08c6c42bMultisend Token107145032021-07-26 22:44:09389 days 1 hr ago0xfcd84a5d8341aeacaddf1fbb58634ac34c308d7a IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.0001 Ether0.0005174917
0xca8484f02f29d94890d0376448332454d59c853b3242b15c11d569209b625244Multisend Token107144902021-07-26 22:42:03389 days 1 hr ago0xfcd84a5d8341aeacaddf1fbb58634ac34c308d7a IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.0001 Ether0.0005154517
0x1ca6eb4ee29d056f5728302e260b13c86252ad3a15abea289cd600553daf4c64Muti Send ETH Wi...107144602021-07-26 22:37:56389 days 1 hr ago0xfcd84a5d8341aeacaddf1fbb58634ac34c308d7a IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.0001 Ether0.0005115317
0x52239e0c6156f473ab2bfd6e34e510f37a5488afa7bdfef505214260bcd7f198Approve105097622021-06-25 14:35:32420 days 9 hrs ago0xb5c5cb59981327311c5fa978ab33748c8d02fd7a IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0 Ether0.000022791.01000064
0x671d6497e4c5673da13101e9a02aa6ab613fc291e67cc9b869206d89506fa042Muti Send ETH Wi...104953002021-06-23 14:42:15422 days 9 hrs ago0x745c9c62fa514cb9001d140b8a1ec49ca8c00ce6 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.2 Ether0.00019763
0xbb208f071ceb823534387ac03c71e4593ad2f8e805fccf11f05589c6471f92a4Muti Send ETH Wi...100388502021-04-14 15:06:02492 days 8 hrs ago0x925e1af411887d64945f5b61f9be2bf6b7479624 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.03 Ether0.000151812
0x19cbb57885fa55481208a51c97f94ab7e9c3c1f8627f7f8c4ca0f09e7ceedbcbMuti Send ETH Wi...100388232021-04-14 15:00:32492 days 8 hrs ago0x925e1af411887d64945f5b61f9be2bf6b7479624 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.03 Ether0.000082912
0x44ad12c79f9584bc7dea0203105e72b2c03a56ff9b3ff686903879a1df000135Muti Send ETH Wi...100387832021-04-14 14:51:03492 days 8 hrs ago0x925e1af411887d64945f5b61f9be2bf6b7479624 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.03 Ether0.000081732
0xfcb5de66955c51ccb067d3bb91026e94ff5c93de4f27003d714fdc1cc4c6a105Muti Send ETH Wi...100387612021-04-14 14:43:51492 days 9 hrs ago0x925e1af411887d64945f5b61f9be2bf6b7479624 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.03 Ether0.000082912
0xe47c14b677a14f8a42f993b2096c21c7632e02d73ab6b0ab32aa58061ae9b73aMuti Send ETH Wi...100387502021-04-14 14:40:22492 days 9 hrs ago0x925e1af411887d64945f5b61f9be2bf6b7479624 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.03 Ether0.000132912
0x53bbf4416605a6cd89b293cf26b8feb49e98f40fe7fe2b85e3eb69d2428ebda6Add To VIP List100332572021-04-13 19:09:11493 days 4 hrs ago0x925e1af411887d64945f5b61f9be2bf6b7479624 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0 Ether0.000049182
0x91679b7edd5d6854fabb0f7cdd73a32b736043aa5fcbbbc1b294c597be0df74aAdd To VIP List100332542021-04-13 19:08:48493 days 4 hrs ago0x925e1af411887d64945f5b61f9be2bf6b7479624 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0 Ether0.000049182
0xccbc59480123adf35e180addef78fd692541523c8f8a75cc62b6da2c0c9ffc8cSend Eth98995702021-03-24 5:36:53513 days 18 hrs ago0x8dde76e0f9615cd053eefb3d34a0114430099f02 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.1 Ether0.000062332
0x087fabd29d93529da37a5e9438c1e1d627fd3ac00abe64d0f52ff3dcea676ff6Send Eth98995612021-03-24 5:35:34513 days 18 hrs ago0x8dde76e0f9615cd053eefb3d34a0114430099f02 IN  0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0.01 Ether0.000062312
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x671d6497e4c5673da13101e9a02aa6ab613fc291e67cc9b869206d89506fa042104953002021-06-23 14:42:15422 days 9 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0x5d4f2a7f5af130264df9b87913e2292d46f393030.01 Ether
0xbb208f071ceb823534387ac03c71e4593ad2f8e805fccf11f05589c6471f92a4100388502021-04-14 15:06:02492 days 8 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0x842cecbf49c960248e3db62298870ffa1121ea170.01 Ether
0xbb208f071ceb823534387ac03c71e4593ad2f8e805fccf11f05589c6471f92a4100388502021-04-14 15:06:02492 days 8 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0x837de32fa709b2fe0221175fda49a681e43e812e0.01 Ether
0x19cbb57885fa55481208a51c97f94ab7e9c3c1f8627f7f8c4ca0f09e7ceedbcb100388232021-04-14 15:00:32492 days 8 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0x837de32fa709b2fe0221175fda49a681e43e812e0.01 Ether
0x44ad12c79f9584bc7dea0203105e72b2c03a56ff9b3ff686903879a1df000135100387832021-04-14 14:51:03492 days 8 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0x837de32fa709b2fe0221175fda49a681e43e812e0.01 Ether
0xfcb5de66955c51ccb067d3bb91026e94ff5c93de4f27003d714fdc1cc4c6a105100387612021-04-14 14:43:51492 days 9 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0x837de32fa709b2fe0221175fda49a681e43e812e0.01 Ether
0xe47c14b677a14f8a42f993b2096c21c7632e02d73ab6b0ab32aa58061ae9b73a100387502021-04-14 14:40:22492 days 9 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0x837de32fa709b2fe0221175fda49a681e43e812e0.01 Ether
0xa60731491ceeae55210174183305a3de8d3c10d3b99126313e13c87e24b19eb998067902021-03-09 16:21:38528 days 7 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0xe9c5ab71be4dbbabb73bb74630a1be1a072af5b380 wei
0x290117c94cb557d1c257beb38ffce5df46ac4ccda659fee217f98d242c1f35fe94950452021-01-19 7:13:25577 days 16 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0x37573745d9ae876904bd3369c8ba07f17896d8470 Ether
0x138b37d9a76a05894f198381190770d64cb4e3234f289ed5914b9dca7cbef97294950272021-01-19 7:06:17577 days 16 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0x37573745d9ae876904bd3369c8ba07f17896d8470 Ether
0xe14f07d072d2e2ee47d66ae93e0baae2092e3011516086a30c804d186881de8894911912021-01-18 16:35:13578 days 7 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b0x37573745d9ae876904bd3369c8ba07f17896d8470 Ether
0x200a613efb46e29c949e80d791088c7a6cd6e89ef513db1c57ccf291a5c0128575796372020-03-24 8:08:12878 days 15 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0xf362049cb0ee320326775ac66a9ec4f54acc7ab90 Ether
0x9387adad2d77c91eb908ac750f3e114d6628a8d8fa7ebdbca7723aee3d5788ce75796032020-03-24 8:02:00878 days 15 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0xf362049cb0ee320326775ac66a9ec4f54acc7ab90 Ether
0xed7c49dc4f56c9837ba556b60cc736282d2c3a7039d53e96bfa58cec9e28a8cc58722782019-06-27 8:02:221149 days 15 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0xed7c49dc4f56c9837ba556b60cc736282d2c3a7039d53e96bfa58cec9e28a8cc58722782019-06-27 8:02:221149 days 15 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0xed7c49dc4f56c9837ba556b60cc736282d2c3a7039d53e96bfa58cec9e28a8cc58722782019-06-27 8:02:221149 days 15 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0xed7c49dc4f56c9837ba556b60cc736282d2c3a7039d53e96bfa58cec9e28a8cc58722782019-06-27 8:02:221149 days 15 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0xd6b7f4d546ab002af8bd1e1bcbfa6905a1ef0164d4542aacf5d227f6f5bc6a2658721942019-06-27 7:45:191149 days 16 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0xd6b7f4d546ab002af8bd1e1bcbfa6905a1ef0164d4542aacf5d227f6f5bc6a2658721942019-06-27 7:45:191149 days 16 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0xd6b7f4d546ab002af8bd1e1bcbfa6905a1ef0164d4542aacf5d227f6f5bc6a2658721942019-06-27 7:45:191149 days 16 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0x13f096611e5f9f86cd161098bd03146546acab1e2503648f781a5aff7d450d8558721632019-06-27 7:39:001149 days 16 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0x13f096611e5f9f86cd161098bd03146546acab1e2503648f781a5aff7d450d8558721632019-06-27 7:39:001149 days 16 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0x13f096611e5f9f86cd161098bd03146546acab1e2503648f781a5aff7d450d8558721632019-06-27 7:39:001149 days 16 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0x13c498ee3d94cb3e02a50ab27d0454ae766dad2800e2d62aaf64d29be465f25558721482019-06-27 7:34:181149 days 16 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
0x13c498ee3d94cb3e02a50ab27d0454ae766dad2800e2d62aaf64d29be465f25558721482019-06-27 7:34:181149 days 16 hrs ago 0xfe25a97b5e3257e6e7164ede813c3d4fbb1c2e3b 0x31ae75bdb551010e1ea916fac1aa24fe9d87ac2f0 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MultiSender

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-09-10
*/

pragma solidity ^0.4.0;

/**
 * @title Multi Sender, support ETH and ERC20 Tokens
 * @dev To Use this Dapp: http://multisender.phizhub.com
*/


library SafeMath {
  function mul(uint a, uint b) internal pure  returns (uint) {
    uint c = a * b;
    require(a == 0 || c / a == b);
    return c;
  }
  function div(uint a, uint b) internal pure returns (uint) {
    require(b > 0);
    uint c = a / b;
    require(a == b * c + a % b);
    return c;
  }
  function sub(uint a, uint b) internal pure returns (uint) {
    require(b <= a);
    return a - b;
  }
  function add(uint a, uint b) internal pure returns (uint) {
    uint c = a + b;
    require(c >= a);
    return c;
  }
  function max64(uint64 a, uint64 b) internal  pure returns (uint64) {
    return a >= b ? a : b;
  }
  function min64(uint64 a, uint64 b) internal  pure returns (uint64) {
    return a < b ? a : b;
  }
  function max256(uint256 a, uint256 b) internal  pure returns (uint256) {
    return a >= b ? a : b;
  }
  function min256(uint256 a, uint256 b) internal  pure returns (uint256) {
    return a < b ? a : b;
  }
}

/**
 * @title Multi Sender, support ETH and ERC20 Tokens
 * @dev To Use this Dapp: http://multisender.phizhub.com
*/

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

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

/**
 * @title Multi Sender, support ETH and ERC20 Tokens
 * @dev To Use this Dapp: http://multisender.phizhub.com
*/

contract BasicToken is ERC20Basic {

  using SafeMath for uint;

  mapping(address => uint) balances;

  function transfer(address _to, uint _value) public{
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    Transfer(msg.sender, _to, _value);
  }

  function balanceOf(address _owner) public constant returns (uint balance) {
    return balances[_owner];
  }
}

/**
 * @title Multi Sender, support ETH and ERC20 Tokens
 * @dev To Use this Dapp: http://multisender.phizhub.com
*/

contract StandardToken is BasicToken, ERC20 {
  mapping (address => mapping (address => uint)) allowed;

  function transferFrom(address _from, address _to, uint _value) public {
    balances[_to] = balances[_to].add(_value);
    balances[_from] = balances[_from].sub(_value);
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
    Transfer(_from, _to, _value);
  }

  function approve(address _spender, uint _value) public{
    require((_value == 0) || (allowed[msg.sender][_spender] == 0)) ;
    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
  }

  function allowance(address _owner, address _spender) public constant returns (uint remaining) {
    return allowed[_owner][_spender];
  }
}

/**
 * @title Multi Sender, support ETH and ERC20 Tokens
 * @dev To Use this Dapp: http://multisender.phizhub.com
*/

contract Ownable {
    address public owner;

    function Ownable() public{
        owner = msg.sender;
    }

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }
    function transferOwnership(address newOwner) onlyOwner public{
        if (newOwner != address(0)) {
            owner = newOwner;
        }
    }
}

/**
 * @title Multi Sender, support ETH and ERC20 Tokens
 * @dev To Use this Dapp: http://multisender.phizhub.com
*/

contract MultiSender is Ownable{

    using SafeMath for uint;


    event LogTokenMultiSent(address token,uint256 total);
    event LogGetToken(address token, address receiver, uint256 balance);
    address public receiverAddress;
    uint public txFee = 0.01 ether;
    uint public VIPFee = 1 ether;

    /* VIP List */
    mapping(address => bool) public vipList;

    /*
  *  get balance
  */
  function getBalance(address _tokenAddress) onlyOwner public {
      address _receiverAddress = getReceiverAddress();
      if(_tokenAddress == address(0)){
          require(_receiverAddress.send(address(this).balance));
          return;
      }
      StandardToken token = StandardToken(_tokenAddress);
      uint256 balance = token.balanceOf(this);
      token.transfer(_receiverAddress, balance);
      emit LogGetToken(_tokenAddress,_receiverAddress,balance);
  }


   /*
  *  Register VIP
  */
  function registerVIP() payable public {
      require(msg.value >= VIPFee);
      address _receiverAddress = getReceiverAddress();
      require(_receiverAddress.send(msg.value));
      vipList[msg.sender] = true;
  }

  /*
  *  VIP list
  */
  function addToVIPList(address[] _vipList) onlyOwner public {
    for (uint i =0;i<_vipList.length;i++){
      vipList[_vipList[i]] = true;
    }
  }

  /*
    * Remove address from VIP List by Owner
  */
  function removeFromVIPList(address[] _vipList) onlyOwner public {
    for (uint i =0;i<_vipList.length;i++){
      vipList[_vipList[i]] = false;
    }
   }

    /*
        * Check isVIP
    */
    function isVIP(address _addr) public view returns (bool) {
        return _addr == owner || vipList[_addr];
    }

    /*
        * set receiver address
    */
    function setReceiverAddress(address _addr) onlyOwner public {
        require(_addr != address(0));
        receiverAddress = _addr;
    }


    /*
        * get receiver address
    */
    function getReceiverAddress() public view returns  (address){
        if(receiverAddress == address(0)){
            return owner;
        }

        return receiverAddress;
    }

     /*
        * set vip fee
    */
    function setVIPFee(uint _fee) onlyOwner public {
        VIPFee = _fee;
    }

    /*
        * set tx fee
    */
    function setTxFee(uint _fee) onlyOwner public {
        txFee = _fee;
    }


   function ethSendSameValue(address[] _to, uint _value) internal {

        uint sendAmount = _to.length.sub(1).mul(_value);
        uint remainingValue = msg.value;

        bool vip = isVIP(msg.sender);
        if(vip){
            require(remainingValue >= sendAmount);
        }else{
            require(remainingValue >= sendAmount.add(txFee)) ;
        }
		require(_to.length <= 255);

		for (uint8 i = 1; i < _to.length; i++) {
			remainingValue = remainingValue.sub(_value);
			require(_to[i].send(_value));
		}

	    emit LogTokenMultiSent(0x000000000000000000000000000000000000bEEF,msg.value);
    }

    function ethSendDifferentValue(address[] _to, uint[] _value) internal {

        uint sendAmount = _value[0];
		uint remainingValue = msg.value;

	    bool vip = isVIP(msg.sender);
        if(vip){
            require(remainingValue >= sendAmount);
        }else{
            require(remainingValue >= sendAmount.add(txFee)) ;
        }

		require(_to.length == _value.length);
		require(_to.length <= 255);

		for (uint8 i = 1; i < _to.length; i++) {
			remainingValue = remainingValue.sub(_value[i]);
			require(_to[i].send(_value[i]));
		}
	    emit LogTokenMultiSent(0x000000000000000000000000000000000000bEEF,msg.value);

    }

    function coinSendSameValue(address _tokenAddress, address[] _to, uint _value)  internal {

		uint sendValue = msg.value;
	    bool vip = isVIP(msg.sender);
        if(!vip){
		    require(sendValue >= txFee);
        }
		require(_to.length <= 255);
		
		address from = msg.sender;
		uint256 sendAmount = _to.length.sub(1).mul(_value);

        StandardToken token = StandardToken(_tokenAddress);		
		for (uint8 i = 1; i < _to.length; i++) {
			token.transferFrom(from, _to[i], _value);
		}

	    emit LogTokenMultiSent(_tokenAddress,sendAmount);

	}

	function coinSendDifferentValue(address _tokenAddress, address[] _to, uint[] _value)  internal  {
		uint sendValue = msg.value;
	    bool vip = isVIP(msg.sender);
        if(!vip){
		    require(sendValue >= txFee);
        }

		require(_to.length == _value.length);
		require(_to.length <= 255);

        uint256 sendAmount = _value[0];
        StandardToken token = StandardToken(_tokenAddress);
        
		for (uint8 i = 1; i < _to.length; i++) {
			token.transferFrom(msg.sender, _to[i], _value[i]);
		}
        emit LogTokenMultiSent(_tokenAddress,sendAmount);

	}

    /*
        Send ether with the same value by a explicit call method
    */

    function sendEth(address[] _to, uint _value) payable public {
		ethSendSameValue(_to,_value);
	}

    /*
        Send ether with the different value by a explicit call method
    */
    function multisend(address[] _to, uint[] _value) payable public {
		 ethSendDifferentValue(_to,_value);
	}

	/*
        Send ether with the different value by a implicit call method
    */

	function mutiSendETHWithDifferentValue(address[] _to, uint[] _value) payable public {
        ethSendDifferentValue(_to,_value);
	}

	/*
        Send ether with the same value by a implicit call method
    */

    function mutiSendETHWithSameValue(address[] _to, uint _value) payable public {
		ethSendSameValue(_to,_value);
	}


    /*
        Send coin with the same value by a implicit call method
    */

	function mutiSendCoinWithSameValue(address _tokenAddress, address[] _to, uint _value)  payable public {
	    coinSendSameValue(_tokenAddress, _to, _value);
	}

    /*
        Send coin with the different value by a implicit call method, this method can save some fee.
    */
	function mutiSendCoinWithDifferentValue(address _tokenAddress, address[] _to, uint[] _value) payable public {
	    coinSendDifferentValue(_tokenAddress, _to, _value);
	}

    /*
        Send coin with the different value by a explicit call method
    */
    function multisendToken(address _tokenAddress, address[] _to, uint[] _value) payable public {
	    coinSendDifferentValue(_tokenAddress, _to, _value);
    }
    /*
        Send coin with the same value by a explicit call method
    */
    function drop(address _tokenAddress, address[] _to, uint _value)  payable public {
		coinSendSameValue(_tokenAddress, _to, _value);
	}



}

Contract ABI

[{"constant":false,"inputs":[{"name":"_tokenAddress","type":"address"},{"name":"_to","type":"address[]"},{"name":"_value","type":"uint256[]"}],"name":"multisendToken","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"receiverAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenAddress","type":"address"},{"name":"_to","type":"address[]"},{"name":"_value","type":"uint256"}],"name":"drop","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address[]"},{"name":"_value","type":"uint256[]"}],"name":"mutiSendETHWithDifferentValue","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenAddress","type":"address"},{"name":"_to","type":"address[]"},{"name":"_value","type":"uint256"}],"name":"mutiSendCoinWithSameValue","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address[]"},{"name":"_value","type":"uint256"}],"name":"mutiSendETHWithSameValue","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_fee","type":"uint256"}],"name":"setVIPFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getReceiverAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenAddress","type":"address"},{"name":"_to","type":"address[]"},{"name":"_value","type":"uint256[]"}],"name":"mutiSendCoinWithDifferentValue","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_addr","type":"address"}],"name":"setReceiverAddress","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":"registerVIP","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"vipList","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address[]"},{"name":"_value","type":"uint256[]"}],"name":"multisend","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_vipList","type":"address[]"}],"name":"addToVIPList","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"txFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_fee","type":"uint256"}],"name":"setTxFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"VIPFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"isVIP","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_vipList","type":"address[]"}],"name":"removeFromVIPList","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenAddress","type":"address"}],"name":"getBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address[]"},{"name":"_value","type":"uint256"}],"name":"sendEth","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"token","type":"address"},{"indexed":false,"name":"total","type":"uint256"}],"name":"LogTokenMultiSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"token","type":"address"},{"indexed":false,"name":"receiver","type":"address"},{"indexed":false,"name":"balance","type":"uint256"}],"name":"LogGetToken","type":"event"}]

6080604052662386f26fc10000600255670de0b6b3a764000060035560008054600160a060020a03191633179055610fe48061003c6000396000f3006080604052600436106101195763ffffffff60e060020a6000350416630b66f3f5811461011e57806316fed3e2146101af5780631d833aae146101e05780632949b11d146102385780632e14ef92146101e05780633a11aa20146102b95780633d06242a14610303578063531ebce51461031b578063665de19b1461011e5780638279c7db146103305780638da5cb5b146103515780639c1f613314610366578063aa168b471461036e578063aad41a4114610238578063c8813ffd146103a3578063cf820461146103f8578063f05d16f71461041f578063f0a0a29914610437578063f2fde38b1461044c578063f4201c3c1461046d578063f48d11af1461048e578063f8b2cb4f146104e3578063feaf653d146102b9575b600080fd5b6040805160206004602480358281013584810280870186019097528086526101ad968435600160a060020a031696369660449591949091019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497506105049650505050505050565b005b3480156101bb57600080fd5b506101c4610514565b60408051600160a060020a039092168252519081900360200190f35b6040805160206004602480358281013584810280870186019097528086526101ad968435600160a060020a03169636966044959194909101929182918501908490808284375094975050933594506105239350505050565b604080516020600480358082013583810280860185019096528085526101ad95369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a99890198929750908201955093508392508501908490808284375094975061052e9650505050505050565b604080516020600480358082013583810280860185019096528085526101ad95369593946024949385019291829185019084908082843750949750509335945061053c9350505050565b34801561030f57600080fd5b506101ad600435610546565b34801561032757600080fd5b506101c4610562565b34801561033c57600080fd5b506101ad600160a060020a036004351661059a565b34801561035d57600080fd5b506101c46105f5565b6101ad610604565b34801561037a57600080fd5b5061038f600160a060020a036004351661066d565b604080519115158252519081900360200190f35b3480156103af57600080fd5b50604080516020600480358082013583810280860185019096528085526101ad953695939460249493850192918291850190849080828437509497506106829650505050505050565b34801561040457600080fd5b5061040d6106f5565b60408051918252519081900360200190f35b34801561042b57600080fd5b506101ad6004356106fb565b34801561044357600080fd5b5061040d610717565b34801561045857600080fd5b506101ad600160a060020a036004351661071d565b34801561047957600080fd5b5061038f600160a060020a036004351661076f565b34801561049a57600080fd5b50604080516020600480358082013583810280860185019096528085526101ad953695939460249493850192918291850190849080828437509497506107aa9650505050505050565b3480156104ef57600080fd5b506101ad600160a060020a036004351661081d565b61050f8383836109f0565b505050565b600154600160a060020a031681565b61050f838383610b86565b6105388282610d05565b5050565b6105388282610e76565b600054600160a060020a0316331461055d57600080fd5b600355565b600154600090600160a060020a031615156105895750600054600160a060020a0316610597565b50600154600160a060020a03165b90565b600054600160a060020a031633146105b157600080fd5b600160a060020a03811615156105c657600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600054600160a060020a031681565b60035460009034101561061657600080fd5b61061e610562565b604051909150600160a060020a038216903480156108fc02916000818181858888f19350505050151561065057600080fd5b50336000908152600460205260409020805460ff19166001179055565b60046020526000908152604090205460ff1681565b60008054600160a060020a0316331461069a57600080fd5b5060005b81518110156105385760016004600084848151811015156106bb57fe5b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff191691151591909117905560010161069e565b60025481565b600054600160a060020a0316331461071257600080fd5b600255565b60035481565b600054600160a060020a0316331461073457600080fd5b600160a060020a0381161561076c576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b60008054600160a060020a03838116911614806107a45750600160a060020a03821660009081526004602052604090205460ff165b92915050565b60008054600160a060020a031633146107c257600080fd5b5060005b81518110156105385760006004600084848151811015156107e357fe5b602090810291909101810151600160a060020a03168252810191909152604001600020805460ff19169115159190911790556001016107c6565b6000805481908190600160a060020a0316331461083957600080fd5b610841610562565b9250600160a060020a038416151561088857604051600160a060020a03841690303180156108fc02916000818181858888f19350505050151561088357600080fd5b6109ea565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051859350600160a060020a038416916370a082319160248083019260209291908290030181600087803b1580156108ec57600080fd5b505af1158015610900573d6000803e3d6000fd5b505050506040513d602081101561091657600080fd5b5051604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0386811660048301526024820184905291519293509084169163a9059cbb9160448082019260009290919082900301818387803b15801561098657600080fd5b505af115801561099a573d6000803e3d6000fd5b505060408051600160a060020a0380891682528716602082015280820185905290517fc9076fc68f7c8242d2eeb2e0c02b8cafae31bb4fcbe2b89ef1f27846ac6facaf9350908190036060019150a15b50505050565b3460008080806109ff3361076f565b9350831515610a1757600254851015610a1757600080fd5b8551875114610a2557600080fd5b865160ff1015610a3457600080fd5b856000815181101515610a4357fe5b906020019060200201519250879150600190505b86518160ff161015610b385781600160a060020a03166323b872dd33898460ff16815181101515610a8457fe5b90602001906020020151898560ff16815181101515610a9f57fe5b906020019060200201516040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a0316815260200183600160a060020a0316600160a060020a031681526020018281526020019350505050600060405180830381600087803b158015610b1457600080fd5b505af1158015610b28573d6000803e3d6000fd5b505060019092019150610a579050565b60408051600160a060020a038a1681526020810185905281517fed5764a1b8be605b492a928d158c22b5e031d1d054b31e8ff6d3211a4dacb730929181900390910190a15050505050505050565b34600080808080610b963361076f565b9450841515610bae57600254861015610bae57600080fd5b875160ff1015610bbd57600080fd5b339350610be587610bd960018b51610f6390919063ffffffff16565b9063ffffffff610f7816565b9250889150600190505b87518160ff161015610cb65781600160a060020a03166323b872dd858a8460ff16815181101515610c1c57fe5b906020019060200201518a6040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a0316815260200183600160a060020a0316600160a060020a031681526020018281526020019350505050600060405180830381600087803b158015610c9257600080fd5b505af1158015610ca6573d6000803e3d6000fd5b505060019092019150610bef9050565b60408051600160a060020a038b1681526020810185905281517fed5764a1b8be605b492a928d158c22b5e031d1d054b31e8ff6d3211a4dacb730929181900390910190a1505050505050505050565b600080600080846000815181101515610d1a57fe5b906020019060200201519350349250610d323361076f565b91508115610d4c5783831015610d4757600080fd5b610d6c565b600254610d6090859063ffffffff610fa616565b831015610d6c57600080fd5b8451865114610d7a57600080fd5b855160ff1015610d8957600080fd5b5060015b85518160ff161015610e3257610dc4858260ff16815181101515610dad57fe5b60209081029091010151849063ffffffff610f6316565b9250858160ff16815181101515610dd757fe5b90602001906020020151600160a060020a03166108fc868360ff16815181101515610dfe57fe5b602090810290910101516040518115909202916000818181858888f193505050501515610e2a57600080fd5b600101610d8d565b6040805161beef815234602082015281517fed5764a1b8be605b492a928d158c22b5e031d1d054b31e8ff6d3211a4dacb730929181900390910190a1505050505050565b600080600080610e9585610bd960018951610f6390919063ffffffff16565b9350349250610ea33361076f565b91508115610ebd5783831015610eb857600080fd5b610edd565b600254610ed190859063ffffffff610fa616565b831015610edd57600080fd5b855160ff1015610eec57600080fd5b5060015b85518160ff161015610e3257610f0c838663ffffffff610f6316565b9250858160ff16815181101515610f1f57fe5b90602001906020020151600160a060020a03166108fc869081150290604051600060405180830381858888f193505050501515610f5b57600080fd5b600101610ef0565b600082821115610f7257600080fd5b50900390565b6000828202831580610f945750828482811515610f9157fe5b04145b1515610f9f57600080fd5b9392505050565b600082820183811015610f9f57600080fd00a165627a7a72305820a2291f8bedf7b6472e0ea05c3faf4f1f8d90186d47dd79567785b7a1c4a3e3f30029

Swarm Source

bzzr://a2291f8bedf7b6472e0ea05c3faf4f1f8d90186d47dd79567785b7a1c4a3e3f3
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading

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.