Uniswap / UniswapX

🦄 Gasless ERC20 swap settlement protocol 🦄
GNU General Public License v3.0
381 stars 84 forks source link

Optimize Operational Costs for Cross-Chain Swap Fillers via Reactor Contract Asset Management #216

Open irnb opened 10 months ago

irnb commented 10 months ago

:bulb: Optimize Operational Costs for Cross-Chain Swap Fillers via Reactor Contract Asset Management

Description

:page_with_curl: While reviewing the white paper's diagram related to cross-chain swaps, I noticed a potential improvement in the operational cost structure for fillers. Currently, fillers transfer bond assets each time they claim a new order and get it back after oracle message, incurring significant token transfer gas costs.

:rocket: Proposal: I propose a modification where fillers maintain their assets within the Reactor contract and deposit bond to this contract or another contract to use it as bon credit. This approach allows fillers to utilize their credit in the Reactor contract for claiming new orders, eliminating the need for repetitive asset transfers and thus reducing the associated gas costs.

:warning: Note: This suggestion is based on my understanding of the system as derived from the white paper's diagrams, and I haven't delved into the actual implementation details. This idea aims to streamline the process and decrease operational expenses for fillers involved in cross-chain swaps.

Screenshot 2024-01-02 at 10 25 41 AM

https://uniswap.org/whitepaper-uniswapx.pdf

irnb commented 10 months ago

filler specific bond pools