Skip to content
Verified contractPartial

SensusTokenSender

Address0x2c18b29b1ca2e5c59287b75c16ee0fc141fc206e
Balance

0 ETH

 

Transactions

84

 

Compiler

solc 0.4.24

 

Same code

Only this contract

 

Details

Compiler
solc 0.4.24+commit.e67f0147
Language
solidity
Optimization
Yes, 200 runs
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
5,710,570
Creation transaction
0x46402f4727…bbf44ddee1

SensusTokenSender.sol

pragma solidity ^0.4.24;

contract Ownable {
    address public owner;

    constructor () public {
        owner = 0xCfBbef59AC2620271d8C8163a294A04f0b31Ef3f;
    }

     modifier onlyOwner() {
    if (msg.sender != owner) {
      revert();
    }
    _;
}

    function transferOwnership(address newOwner) onlyOwner public {
        owner = newOwner;
    }
}

contract TokenERC20 {
  function transfer(address _to, uint256 _value) public;
}

contract SensusTokenSender is Ownable {

    function drop(TokenERC20 token, address[] to, uint256[] value) onlyOwner public {
    for (uint256 i = 0; i < to.length; i++) {
      token.transfer(to[i], value[i]);
    }
  }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": true
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.