I’m working on an ERC-4626 contract. From the contract, I want to transfer assets to another address, but I’m facing some issues.
This is my code:
TransferHelper.safeApprove(token, address(portfolio), amount);
TransferHelper.safeTransferFrom(address(token), address(this), address(portfolio), amount);
The error I’m getting is: [Revert] custom error 0x13be252b.
Could you please help me fix this? I would greatly appreciate your help.