The steps to integrate PYUSD on your platform are similar to executing smart contract functions for other ERC20 tokens.
transfer
or transferFrom
functions.transferFrom
, we recommend using the increaseApproval
and decreaseApproval
functions rather than approve
.
This avoids a well known attack vector in the standard approve
function.