Astroport <> Skip Proposal (II)
We believe this will create a new source of sustainable, non-inflationary revenue for the Astroport community as it expands across the Cosmos
But now, in an even better way…
TLDR: Skip proposes to create an open, competitive auction for Astroport orderflow, to allow all participants to compete to give the most amount back to the Astroport community, that would be available to all Astroport frontends.
Context
Context
This proposal is a refinement and improvement based on the first Astroport proposal posted here: https://forum.astroport.fi/t/arc-44-astroport-skip-sharing-mev-back-with-the-astroport-community/991.
From that conversation, we received a lot of useful feedback that we baked into an updated version. Additionally, other proposals have been discussed since then, and this proposal is aimed at building a more inclusive solution that can leverage participation from all parties to maximize revenue for Astroport via fair competition.
Thank you all for the feedback, and please share any thoughts you have on the below, refined proposal!
Problems with Previous Proposals
Problems with Previous Proposals
Exclusivity
- Our previous proposal, and the one from Redpoint, ask to receive an exclusive right to backrun transactions originating from the Astroport frontend
- Although, from a business sense, this might be attractive, it fundamentally limits the upside potential of the Astroport community in picking an MEV provider.
- In addition, there is much more MEV available to be extracted by additional coordination outside the realm of pure cyclical arbitrage on Astroport pools, including:
- CEX/DEX arbitrage
- Intra-chain DEX/DEX arbitrage
- Cross-chain arbitrage
- Fundamentally, by limiting backrunning opportunity to one party, this limits the upside coming from potential participants that could bid to backrun Astroport transactions.
Reliability
- Additionally, a problem specific to Skip’s last proposed V0 implementation was the contingency on validators adopting Skip’s
mev-tendermint
solution
- This could have led to delays in transaction submission, and creates a fundamental external dependency
- Additionally, a problem specific to Skip’s last proposed V0 implementation was the contingency on validators adopting Skip’s
Extensibility (With other frontends)
- Finally, previous proposals do not address the question of other Astroport-interfacing frontends in their earliest versions, including TFM, and in the future others
- Even if the canonical Astroport router is changed, since Astroport pools are permissionless, additional frontends can skip the router and use the pools directly.
- The new proposed solution makes router changes unnecessary and gas-wasteful, as cyclical backrunning will already be returned.
- Therefore, the right solution should be able to interface with all frontends out of the gate, as they are also part of the Astroport community and will affect LPs as does the canonical frontend
- Finally, previous proposals do not address the question of other Astroport-interfacing frontends in their earliest versions, including TFM, and in the future others
Updated Solution
Updated Solution
🤝 Competitive Order Flow Auction (OFA)
Skip’s specialty is extremely fast, profitable auctions (we run a sub-second auction for over 150 validator mempools that has built 100,000+ blocks as of today), and believe it is the ideal solution to build competition for Astroport orderflow.
That is to say, Skip will build an auction where:
Backrunners bid competitively to backrun message(s)
- For each transaction, the unsigned
msg
with swap intention can be auctioned off to any party that places a winning bid to backrun it
- Astroport’s official frontend sends unsigned messages to the OFA
- The unsigned transaction is revealed to searchers that are participating in the auction, where they compete via bid payments for the ability to append a final message to the original transaction
- The final message is a MEV capturing backrun, leveraging their own liquidity
- The final message is restricted to a WasmExecuteMsg that routes arbitrary logic from the searcher through Skip’s OFA CosmWasm contract.
- The OFA contract provides safety guarantees to the sender of the original transaction including that their swap never fails if the searcher is unable to capture MEV, their token balances never decrease from the searcher’s activity, and that the searcher uses their own liquidity source for the MEV capture.
- Searchers will be required to keep liquidity in the contract, preventing “shill bidding” or winning opportunities that they ultimately can’t pay for
- We expect that the maximum bid will quickly come to baseline at the profit obtained via cyclic arbitrage among Astroport pools
- Eventually, it should exceed this amount for cyclic arbitrage, given the extractable value from cross-chain, CEX/DEX and DEX/DEX arbitrage
- For each transaction, the unsigned
Modifiable payment splits
- The frontend that interfaces with Astroport pools can specify payment splits of how it wants MEV (or “bid revenue”) to be distributed
- This could go to a single address to then be more granularly split according to the community’s preferences
- The split can be changed any time, and other frontends could also compete with their own splits, as long as they direct their orderflow to the open auction
Integration with the Astroport official frontend, and others
- As before, the frontend should direct trading intents to the auction, where they can be optimally backrun after receiving bids from all traders
- This solution is not dependent on validators running Skip’s
mev-tendermint
, as it relies upon atomic transaction upgrading
- We expect to open the auction for <1 second, based on our experience with our existing auction systems
- We could optionally add a “fast submit” option to skip the auction entirely
- We can separately discuss with other frontends such as TFM (already integrated with Skip) to participate in the auction
Open-source backrunning contracts & simulation, so the community can participate!
As part of this proposal, Skip commits to open-sourcing a backrunning bot for Astroport to the community, so that anyone can use it and compete in the auction!
We have already done this with great success - see our Skipper bot (github .com/skip-mev/skipper) that is heavily used today on Terra2 and Juno and has made the auctions competitive. We will modify this bot to do transaction upgrading so it’s compatible with the auction, and to have out-of-the-box integration with Astroport. And best of all, it won’t be kept private by anybody
Progressive Permissionlessness
- Searcher participation in the auction will start permissioned as we work towards an open system that preserves Astroport users privacy while allowing permissionless set of searchers to participate in the auction.
- The timeline to build permissionless auctions would be roughly 4-6 months, but we can start permissioned backrunning within 2 months.
We propose partnering with a trusted party as the first participant in this orderflow marketplace, to run the open-source bots we provide (in the open) as we build out the permissionless systemWe think this will give quicker access to accountable backrunning recapture for the Astroport community (i.e. 2 months), and is not the intended long-term solution.
NOTE: for transparency, we asked Redpoint to partner with us as this exclusive partner (in return for all fees), but they declined the offer. Thus, we will be open-sourcing everything and asking a trusted party to run the open source bots for the interim.
- Participation in the auction will be open - parties like Redpoint, Blink, existing searchers, and others can participate in open, fair competition
- Searcher participation in the auction will start permissioned as we work towards an open system that preserves Astroport users privacy while allowing permissionless set of searchers to participate in the auction.
Potential: Batch Auctions
We are also exploring, as a solution to issues with permissionless auctions, to auction batch access to orderflow. I.e., this means that searchers would bid for (say) 1 hour of Astroport orderflow.
This solves many of the issues associated with searcher accountability, and may lead to higher long-term payoffs for Astroport (as flow is generally more valuable then one-off orders).
If we believe there is value here, we will follow up with a separate discussion in a couple months to propose it as a potential direction. Otherwise, our focus for auctioning will remain on a per-tx basis.
Updated Timeline
Updated Timeline
-
April: finish and launch first pass of the auction interface, integrated with Permissioned Searcher to begin arbitrage redistribution
- Begin testing controls on permissionless system to prevent frontrunning, overbidding issues, and finalize mechanism design
- August: Ship the permissionless auction solution by end of August 2023, and open up to all participants
Compensation
Compensation
-
5% fee of the Skip auction, no upfront grant
- Skip is dedicated to building the right MEV primitives in Cosmos to maximize sovereignty and efficiency
- Given the importance of this solution, and the alignment we believe it will bring with the blockspace side of the auction, we can lower the fee taken from our original proposal
- It is important that orderflow is not locked up with a single provider for any period of time, and we are willing to incur the build cost to make sure this does not happen
- We also are no longer asking for any upfront or later ASTRO grant, as this solution has generalizable properties and we will not be maintaining our own backrunning bot infrastructure, instead making it permissionless.
- Skip has raised substantial capital (>$6.5m), has a team of 14 people, and has built working, reliable MEV integrations for most major Cosmos chains. We would be delighted to bring our long-running expertise and products to service Astroport for years to come.
- We are integrated already into Injective, Terra2, and will be live on future chains that Astroport is launching on. We believe the OFA will fit well with our other products, and is the start of a long-term collaboration with Astroport.
-
For the period of exclusive testing, the 5% fee would go entirely to the integrated searcher, as compensation for collaborating with us (and who would be expected to bid 100% of cyclical arb)
- This ensures that Astroport fees will never go above 5%
- Afterwards, searchers will bid in open competition
If we can’t find a suitable partner within 2 weeks of this proposal passing, we will run the open-source code at max bid ourselves, which can be verified on-chain.
Contact
Please reach out to us if interested in discussing or collaborating!
Twitter: @SkipProtocol
Discord: discord.gg/9Uq8NFMQJ7
Site: skip.money
Telegram: @magmar100