Now I'm building ink! smartcontract based AMM, as you know there are needed to approve before adding liquidity in general. but it's bad UX for users cuz we need to approve several times before adding liquidity or swapping.
Uniswap and other EVM based AMM were overcoming this issue as you know EIP-2612.
Permit function is implemented in ERC20, are there any kinds of the function like this in PSP22??
https://eips.ethereum.org/EIPS/eip-2612
https://docs.openzeppelin.com/contracts/4.x/api/token/erc20#ERC20Permit