What user cases and categories can Anoma @anoma's Intent have from the user's perspective?
Conditional Intent: Allows actions to be executed when one or more conditions are met.
Continuous Intent: Expresses the intention for repeated actions.
Multi-step Intent: When one intent is resolved, it opens one or more new intents.
Intent Graph: A path formed by a set of related intents.
Conditional Intent:
Intent is not something that is completely absent; the current Web3 applications only have one type of conditional intent: limit orders. So understanding intent as a hook protocol similar to uniswapV4 is correct, because they are indeed quite similar, but also incorrect, because intent is more generalized and versatile than a hook protocol.
For example: Price threshold: "If the A/B price drops below X, then exchange B for A." In traditional finance (trad-fi), this is called a "stop-loss."
Continuous Intent:
Intent will provide a way to execute continuous operations that is independent of the protocol. Although current intents usually contain a single signature corresponding to a single operation (limit order), we will soon see the emergence of continuous intents.
For example: "Buy ETH at market price once a month using DAI."
"Withdraw rewards from A daily, exchange for B, and then re-stake."
Multi-step Intent:
Intent can consist of multiple steps. You can think of these intents as a state machine, where each transaction transitions from a previous state to a new state. The new state we transition to depends on the conditions defined by the previous state.
For example: "I want 1 ETH, and I am willing to pay 1,800 DAI. Once I pay 1,800 DAI and have 1 ETH, I want to hold this 1 ETH until I can sell it for 2,000 DAI. If the ETH/DAI price drops below 1,620 DAI, I want to minimize my losses by selling this 1 ETH, in which case I will accept 1,600 DAI and pay the solver a fee of 20 DAI. If I still hold this 1 ETH when [random governance proposal] passes, I want to sell this 1 ETH at any price given by the ETH/DAI market and pay 10% of the proceeds to the solver."
Intent Graph:
The relationships between user intents can form an intent graph. These graphs represent the grouping of conditions and actions defined by the user, which lead to exchanges, asset transfers, or other on-chain operations. All previous intent examples are actually just names for specific arrangements of the graph.
Example: In a fictional market, users trade XYZ and ETH, expressing their intent to buy or sell XYZ under various conditions such as the outcome of governance proposals, mining of specific blocks, market price increases and decreases, or whether other intents have been satisfied. The graph represents the liquidity currently available and the liquidity that may exist under future possible states. Intent graphs can span across markets and even across chains.
Show original11.82K
13
The content on this page is provided by third parties. Unless otherwise stated, OKX is not the author of the cited article(s) and does not claim any copyright in the materials. The content is provided for informational purposes only and does not represent the views of OKX. It is not intended to be an endorsement of any kind and should not be considered investment advice or a solicitation to buy or sell digital assets. To the extent generative AI is utilized to provide summaries or other information, such AI generated content may be inaccurate or inconsistent. Please read the linked article for more details and information. OKX is not responsible for content hosted on third party sites. Digital asset holdings, including stablecoins and NFTs, involve a high degree of risk and can fluctuate greatly. You should carefully consider whether trading or holding digital assets is suitable for you in light of your financial condition.