Verified contractPartial
ETHDistributor
Address0x7b68db88fd49062de18d32df9ad9a46475bac37d
- Balance
0 ETH
- Transactions
35
- Compiler
solc 0.4.20
- Same code
Only this contract
Details
- Compiler
- solc 0.4.20+commit.3155dd80
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 5,196,293
- Creation transaction
- 0x9dc751a149…02f1b38dff
ETHDistributor.sol
pragma solidity 0.4.20;
contract ETHDistributor {
address public owner;
function ETHDistributor() public {
owner = msg.sender;
}
function addReceivers(address[] receivers, uint[] balances) public {
require(msg.sender == owner);
for(uint i = 0; i < receivers.length; i++) {
receivers[i].transfer(balances[i]);
}
}
function refund() public {
require(msg.sender == owner);
owner.transfer(this.balance);
}
function () public payable {
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.