Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function transact(address from, address to, uint tokens) public returns (bool success) {
- require(tokens > 0);
- balances[from] = safeSub(balances[from], tokens);
- balances[to] = safeAdd(balances[to], tokens);
- Transfer(from, to, tokens);
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement