pragma solidity ^0.5.8;
import "./ITRC20.sol";
contract Tokentest2{
ITRC20 public tokenaddress;
address public tokenOwner;
constructor(address tokenadd,address _tokenOwner)public{
tokenaddress = ITRC20(tokenadd);
tokenOwner = _tokenOwner;
}
function withdraw(uint256 withdraw_amount)public {
tokenaddress.transferFrom(tokenOwner,msg.sender,withdraw_amount);
}
function givetoken(uint256 give_amount)public{
address buyer = address(msg.sender);
tokenaddress.approve()
tokenaddress.transferFrom(buyer,tokenOwner,give_amount);
}
}