Gas Abstraction Wallet Controller ⛽️
All cross chain gas abstraction interactions should be done with this controller. Basically if crossChain is true for Gas type for any transaction, use GaWalletController instead of WalletController.
Functions
Types
How it works?
This will create 2 seperate transactions on 2 different chains
one for cutting the gas fee (useful for cross-chain mostly)
if gas token selected on the same chain (gas cut txn can be batched in the same userOp and broadcasted once)
wait for the gas fee txn success cross chain (we can skip this step too, will save us 7-8s depending on txn success time on different chains)
other one for the main user transaction
Last updated