You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we could use transient storage to temporally set permissions in AccessController, so people could batch txs that allow other smart contracts to perform operations for the user, and voiding that permission at the end of the tx, for cheap.
Suggested solution
Add setTransientPermission method to AccessController, leveraging TransientStorage lib.
Study how to easily batch actions in IPAccount for improved UX
Definition of done
Test case of batched permission + actions performed by an external contract, merged code
The text was updated successfully, but these errors were encountered:
Description and context
Similar to this example for transient approvals in ERC20
https://github.com/Amxx/EIP-5806/blob/main/packages/test-uniswap/contracts/libs/ERC20TemporaryAllowance.sol
https://github.com/Amxx/EIP-5806/blob/main/packages/test-uniswap/contracts/libs/TransientStorage.sol
we could use transient storage to temporally set permissions in
AccessController
, so people could batch txs that allow other smart contracts to perform operations for the user, and voiding that permission at the end of the tx, for cheap.Suggested solution
Add
setTransientPermission
method toAccessController
, leveraging TransientStorage lib.Study how to easily batch actions in IPAccount for improved UX
Definition of done
Test case of batched permission + actions performed by an external contract, merged code
The text was updated successfully, but these errors were encountered: