Offer an option to create a higher approval for investing and insuring #97
Labels
blockchain
enhancement
New feature or request
good first issue
Good for newcomers
mumbai test instance
Polygon Mumbai test instance
Currently, you are asked to approve token transfers each time you purchase a policy or fund a riskpool.
In DeFi it's pretty standard to give a high approval one time and use it many times afterwards.
This comes at a certain risk because in case of a smart contract exploit, users funds would be at risk.
Therefore I propose the following implementation:
The user can select one of the options and then the approval is processed.
The text was updated successfully, but these errors were encountered: