# Architecture

Fluidity is a mostly off-chain technology that:

* Determines winners according to the TRF with all data available
* Aggregates transfers made
* Calculates future probabilities of winning with regards to past data
* Decodes interactions with protocols and applications for fee structure reasons
* Receives its constraints using on-chain DAO (:wink:)

Events produced on-chain are aggregated into winners below a threshold while rewarding massive winners instantly. A redemption feature is built into the webapp that lets users instantly redeem small prizes.

{% content-ref url="/pages/ElG7w74pUyuNfqzEVUSX" %}
[Worker architecture](/docs/developers/fluidity-architecture/worker-architecture.md)
{% endcontent-ref %}

{% content-ref url="/pages/9YOppajdCrBwrs15dmFw" %}
[Ethereum contract architecture](/docs/developers/fluidity-architecture/ethereum-contract-architecture.md)
{% endcontent-ref %}

{% content-ref url="/pages/P3o8vFNOEQqE0720asBl" %}
[Solana program architecture](/docs/developers/fluidity-architecture/solana-program-architecture.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fluidity.money/docs/developers/fluidity-architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
