Manage Approvals
Permit2
Specify approval_type=Permit2 when retrieving a quote.
You must have approved the tokens you wish to sell to the Permit2 contract.
Standard ERC20 Approvals
In case of standard approvals, user will need to make ERC20.approve allowances to the Balance Manager before submitting an order.
0xC5a350853E4e36b73EB0C24aaA4b8816C9A3579aThis contract ensures that only the settlement contract has access to user approvals for the duration of the transaction. It is also included in the quote under the apporvalTarget property.
Please make sure to NOT approve the JAM settlement contract (0xbeb0b0623f66bE8cE162EbDfA2ec543A522F4ea6) - it is not intended for approvals and any approval to this contract will lead to loss of funds.
Last updated