-
Notifications
You must be signed in to change notification settings - Fork 90
Description
The role of pallet-intents will be two-fold.
Solver Competition
First it will facilitate intent auctions, allowing solvers compete by posting ERC4337 UserOperations which function as a potential solution to a cross-chain intent, onchain. It is up to the client to select a solution and execute it on the destination chain. Since these are fully account-abstracted transactions, the client can do so, while the solver sponsors the gas costs for execution. The endgoal is fully permissionless solver auctions that naturally drives down the cost in bps for cross-chain intents.
Governance
The pallet will be responsible for overseeing the goverance of all deployed intent gateway contracts and their protocol parameters.
VWAP Price Oracle
The pallet will tap into the intent settlement cross-chain messages that are verified by hyperbridge in-order to build a VWAP price oracle that can be used to price the slippage for future cross-chain intents. Solvers will primarily compete on offering the lowest slippage, unfortunately, the cost of capital is not fixed and can be very volatile. It is the goal of this pallet to capture this volatility and allow clients price their intents as accurately as the VWAP oracle will provide. The oracle should only concern itself with winning bids so as not to be skewed by posted bids that may not actually execute. The endgoal is a fully decentralized price oracle for cross-chain intents.