---
# System prepended metadata

title: 'Protocol Owned Gas - Part 1: LP Fee Funded User Ops'

---

# Protocol Owned Gas - Part 1: LP Fee Funded User Ops
![](https://hackmd.io/_uploads/Byl3MpZr3.png)

## Rough Overview

1. $ PEPE/$ETH LPs deposit NFT into APP_MEV smart contract
2. APP_MEV sweeps fees into paymaster contract
3. Paymaster receives requests for user op sponsorship and only accepts if:
    - first userop from this account
    - user op is a swap for any token to $PEPE
    - userop within gas used range
    - paymaster has enough eth
4. User submits userop to user op pool
5. UserOp gets bundled and included onchain
6. User receives $PEPE and paymaster balance decreases by gas used * gas price


## Problems
- Not sybil resistant, can drain pool by simply buying small # PEPE from many different accounts 
- Sponsorship isn't atomic. Paymaster can sign request, another user op can be included after and drain paymaster balance, and then this userop can be bundled in the block after but will fail.