Signature
Description
Transfersamount from from to to using msg.sender’s allowance. Emits Transfer.
Parameters
Returns
Alwaystrue on success.
Reverts
ContractPaused(TRANSFER)whenTRANSFERis paused.InvalidReceiverwhento == address(0).InvalidSenderwhenfrom == address(0).InsufficientAllowancewhen the caller’s allowance fromfromis belowamount.PolicyForbids(TRANSFER_EXECUTOR_POLICY, ...)whenmsg.sender != fromandmsg.senderis not authorized.PolicyForbids(TRANSFER_SENDER_POLICY, ...)whenfromis not authorized.PolicyForbids(TRANSFER_RECEIVER_POLICY, ...)whentois not authorized.InsufficientBalancewhenfrom’s balance is belowamount.
Access control
Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.Policy interaction
ChecksTRANSFER_EXECUTOR_POLICY when msg.sender != from, plus sender and receiver transfer scopes.