Function: transfer(address to, uint256 amount)
This allows users to transfer tokens to another address.
Inputs
toControl: Fully controlled by the caller.
Constraints: None.
Impact: The address to transfer tokens to.
amountControl: Fully controlled by the caller.
Constraints: None.
Impact: The amount of tokens to transfer.
Branches and code coverage (including function calls)
Intended branches
Assumed
msg.senderposesses enough tokens to transfer.Decrease balance of
msg.senderby amount.Increase balance of
toby amount.
Negative behavior
Should not be callable if
msg.senderdoes not posess enough tokens to transfer.