Functional Flow

How it all comes together

Step 1: Intent Request

The intent request, submitted via our dApp or APIs is pushed to the Job Manager, where the Job Manager auto-assigns unique Intent IDs to each intent instance. The intents primarily define the current starting state and the desired end state.

Step 2: Intents to Actions Parser

If needed, the AI solver will be breakdown the request into multiple parallel intents as per average inventory availability. The AI solver will then convert each intent into one or multiple actions (as needed) that is required to fulfil the state transition from the current starting state to the asked end state.

Step 3: Bidding

RFQ Orchestrator starts to monitor the status of each intent ID and its corresponding actions from this point on. Each action is placed in the RFQ queue in a sequential fashion. Bidding process starts and RFQ Queue starts accepting the bids from various qualified solvers.

Step 4: Solver Selection

AI Solver reviews the bids, filters out the genuine bids from any malicious bids and awards the top solver for executions to fulfil the specific action. The selection of the solver is based on the client’s preferred selection criteria - cheaper fees or faster execution. (Default - cheaper fees)

Step 5: Execution

Selected solver gets added to the Solver Queue as they start their action execution.

Step 6: Proof Submission

Once action execution is completed, solvers submit the proof of their execution. If due to any reasons, selected solver fails to execute action within the set deadline, then this solver has their stakes slashed and next best solver is chosen to execute the action by the bidding process.

Step 7: Validation & Payouts

Proof validator validates the solver’s proof of the execution. If the proof is valid, Decimal Escrow releases the client’s fund and fees to the solver & the solver’s reputation scores are updated accordingly.

Step 8: Status Update

Once all the actions of the intent are completed and validated, the intent is marked as fulfilled and bidding process for the action is stopped.

Step 9: Reporting

The status for each step is reported back to the clients in real-time. Process Ends.

Last updated