Signature
IB20.sol
Description
Setsspender’s allowance to amount. Not gated by any policy or by pause. Emits Approval.
Parameters
Returns
Alwaystrue on success.
Reverts
InvalidApproverwhenmsg.sender == address(0).InvalidSpenderwhenspender == address(0).
Access Control
Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.Policy Interaction
No direct policy interaction.Example
Usage Example