Function: transfer(address _to, uint256 _value)
Move a specified amount of tokens from the caller's account to a recipient's account.
Inputs
_toControl: Controlled by the user.
Constraints: Cannot be the zero address.
Impact: The
_toaddress will receive the specified_valueof tokens.
_valueControl: Controlled by the user.
Constraints: Must be a nonnegative integer. The caller must have a balance of at least
_value.Impact: The
_valuespecifies the number of tokens to transfer from the caller to the_toaddress.
Branches and code coverage (including function calls)
Intended branches
Successful transfer.
Negative behavior
Insufficient balance.