Created
March 30, 2018 10:37
-
-
Save ukstv/2ba36cb10c068dd17c5303baf16e4b4d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.19; | |
import "zeppelin-solidity/contracts/token/ERC20/StandardToken.sol"; | |
contract DistributeToken { | |
function execute(address _token, address a, address b, uint256 amountA, uint256 amountB) public { | |
StandardToken token = StandardToken(_token); | |
require(token.transfer(a, amountA)); | |
require(token.transfer(b, amountB)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment