UniswapX icon indicating copy to clipboard operation
UniswapX copied to clipboard

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

Open irnb opened this issue 2 years ago • 1 comments

: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 avatar Jan 02 '24 06:01 irnb

filler specific bond pools

irnb avatar Jan 02 '24 06:01 irnb