Skip to content
Verified contractPartial

Airdrop

Address0xbd8dbefb4e1217e95fa37201c61daf4b57a9fe19
Balance

0 ETH

 

Transactions

118

 

Compiler

solc 0.4.25

 

Same code

Only this contract

 

Details

Compiler
solc 0.4.25+commit.59dbf8f1
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
7,899,839
Creation transaction
0x2caebef1a0…26dd8f51c3

Airdrop.sol

pragma solidity ^0.4.25;        
   
contract Airdrop {     	

	address public c = 0x7a0e91c4204355e0a6bbf746dc0b7e32dfefdecf; 
	address public owner;	
	
	mapping (uint => address) public a;	
	
	function Airdrop() {
	    owner = msg.sender;         
	}

	function() payable {    

	}

	function transfer(uint _sreur_tokens, address[] _addresses) onlyOwner returns (bool) {      
		if(_sreur_tokens < 1) throw;
    	uint amount = _sreur_tokens*100000000;

		for (uint i = 0; i < _addresses.length; i++) {
			c.call(bytes4(sha3("transfer(address,uint256)")),_addresses[i], amount);				
		}  
	  
	  return true;
	} 
	
	function withdraw() onlyOwner returns (bool result) {
	  owner.send(this.balance);
	  return true;
	}
	
    modifier onlyOwner() {
        if (msg.sender != owner) {
            throw;
        }
        _;
    }       

}
Compiler settingsShow
{
  "optimizer": {
    "runs": 0,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.