This is my first question here so please bear with me.
I have deployed my first token on test network. I was reading about how to improve Token contracts and stumbled upon this sample file.
This file looked very neatly written but at the same time raised some questions.
https://github.com/bitfwdcommunity/Tutorials/blob/master/Tutorial%201/tutorial1_contract.sol
Can someone please confirm me following: -
1) These are functions to safely perform math operations, Right?
contract SafeMath { }
2)
What is the use of ApproveAndCallFallBack
?
contract ApproveAndCallFallBack {
function receiveApproval(address from, uint256 tokens, address token, bytes data) public;
}
3)
What is this contract Owned
?
I dont get it.
contract Owned {
}
Please help. Thanks