Verified contractPartial
SendBonus
Address0x7ea53f48a5727a8b32110dfe316645aa949fc19e
- 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,073
- Creation transaction
- 0xb6441807ca…d56b483470
SendBonus.sol
/**this is the Smart Contract for Locking up SuperNodes & LightNodes deposit:
* SuperNodes need to lock up 200,000 QOB for qualification;
* LightNodes need to lock up 20,000 QOB for qualification;
* Once Supernodes or LightNodes have been disqualified, those deposit will be returned;
* To their QPass address;
*/
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.