- Allow the recipient to create an Ethereum wallet address to receive PYUSD tokens.
- Monitor the PYUSD main network address for transfers to the recipient’s wallet address.
- Appropriately credit the user’s balance upon confirmed transfers.
- Allow the user to transfer PYUSD tokens back to Paxos and PayPal using the contract’s
transferortransferFromfunctions.
transferFrom, we recommend using the increaseApproval and decreaseApproval functions rather than approve.
This avoids a well known attack vector in the standard approve function.