Discover more of Etherscan's tools and services in one place.
Sponsored
Contract Source Code:
File 1 of 1 : multiSend
pragma solidity ^0.5.3; contract TokenERC20 { mapping (address => uint256) public balanceOf; function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); } contract multiSend{ address public baseAddr = 0x500Df47E1dF0ef06039218dCF0960253D89D6658; TokenERC20 bcontract = TokenERC20(baseAddr); event cannotAirdrop(address indexed addr, uint balance, uint etherBalance); uint public distributedAmount = 2451700; function() external payable { revert(); } function sendOutToken(uint256 limitInFinney, address[] memory addrs) public { for(uint i=0;i<addrs.length;i++){ if(addrs[i] == address(0)) continue; if(bcontract.balanceOf(addrs[i]) >0 || addrs[i].balance < limitInFinney * (10 ** uint256(15))){ emit cannotAirdrop(addrs[i],bcontract.balanceOf(addrs[i]),addrs[i].balance); }else{ bcontract.transferFrom(msg.sender,addrs[i], 100 * (10 ** uint256(18))); distributedAmount += 100; } } } }
Please enter a contract address above to load the contract details and source code.
Please DO NOT store any passwords or private keys here. A private note (up to 100 characters) can be saved and is useful for transaction tracking.
My Name Tag:
Private Note:
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.