Verified contractPartial
SendBonus
Address0x443d0e4db1d1374a3edebaab3e5003884e6a4bfe
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.4.18
- Same code
Only this contract
Details
- Compiler
- solc 0.4.18+commit.9cf6e910
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 8,113,050
- Creation transaction
- 0x87f136fa6f…451a319715
SendBonus.sol
/**this is the Smart Contract for Distributing QOB Bonus to SuperNodes Family & LightNodes team:
* 1. SuperNodes & their family members;
* 2. LightNodes & their direct referees;
* 3. At the end of each session;
* 4. For QOB Bonus;
*/
pragma solidity ^0.4.18;
contract Owned {
address public owner;
function Owned() public {
owner = msg.sender;
}
modifier onlyOwner {
require(msg.sender == owner);
_;
}
function transferOwnership(address newOwner) public onlyOwner {
owner = newOwner;
}
}
interface Token {
function transfer(address _to, uint256 _value) external returns (bool success);
}
contract SendBonus is Owned {
function batchSend(address _tokenAddr, address[] _to, uint256[] _value) returns (bool _success) {
require(_to.length == _value.length);
require(_to.length <= 200);
for (uint8 i = 0; i < _to.length; i++) {
(Token(_tokenAddr).transfer(_to[i], _value[i]));
}
return true;
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": true
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.