Signature
Description
Transfersamount from msg.sender to to. Emits Transfer.
Dev: Reverts with ContractPaused(TRANSFER) when TRANSFER is paused.
Dev: Reverts with InvalidReceiver when to == address(0).
Dev: Reverts with InvalidSender when msg.sender == address(0).
Dev: Reverts with PolicyForbids(TRANSFER_SENDER_POLICY, ...) when msg.sender is not authorized.
Dev: Reverts with PolicyForbids(TRANSFER_RECEIVER_POLICY, ...) when to is not authorized.
Dev: Reverts with InsufficientBalance when msg.sender’s balance is below amount.
Param: to Destination address.
Param: amount Amount to transfer.
Return: Always true on success.
Access control
Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.Policy interaction
ChecksTRANSFER_SENDER_POLICY and TRANSFER_RECEIVER_POLICY; approve and permit are not policy-gated.