# Data Corruption Mitigation

<figure><img src="/files/MVAutxeHDtm7S88kg2BS" alt=""><figcaption></figcaption></figure>

To qualify for Quest Milestone rewards, players are required to first satisfy the outlined Milestone completion conditions, which span both Token Gated directives and videometric specifications.

The Token Gated requisites are authenticated on-chain via the Kinora Smart Contracts, based on a player's wallet holdings, which significantly diminishes the likelihood of undue manipulation by players or envokers.

The Videometric specifications are also cross-checked on-chain within the Kinora Open Action contract. However, because the videometrics are ultimately recorded as off-chain data, through the SDK, there is the potential for fabrication via dummy data by a Quest deployer or more notably, a Player. They could potentially input manipulated data directly into the Kinora Metrics Contract through the `addPlayerMetrics` function.

To preemptively address this,  we've integrated Lens protocol at the core of the architecture, coupled with an exclusive Envoker-Only milestone verification process and Kinora Factory instantiations.&#x20;

Participation in any Quest, either as a player or an envoker, mandates ownership of a Lens Profile. This requirement establishes an additional layer of transparent social accountability. Essentially, any false data produced is irrevocably linked to the perpetrator's public Lens Profile, facilitating straightforward verification through various data points tied to the Lens ecosystem.

Further, before a player can lay claim to Milestone Rewards, their achievements must be validated by the envoker. This is essential, even if the player has already met the videometric and token-gated criteria. The envoker, leveraging the public platform, assesses the player’s credibility. This is done by scrutinizing their Lens network - evaluating aspects like posts, collections, followers, comments, and engagement metrics. It’s not just about reaching milestones; it’s about maintaining a reputable digital footprint.

Moreover, with every Quest Instantiation integrated into its own Factory Suite, envokers can more easily track their metrics' sources and define who interacts with their contracts. This confines issues like spam and false data creation, so envokers can solely focus on validating player video metrics in their suite, bypassing the hassle of overseeing metrics from all suites.

These dual layers of verification – one leveraging the inherent trust mechanics of social networks, and the other instilling a sense of reputational risk – work in tandem. They not only ensure that players engage with Quests authentically but also embed a palpable sense of accountability. Missteps don't just affect game progress; they threaten one's standing in their digital community.&#x20;


---

# 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://codex.irrevocable.dev/architecture/data-corruption-mitigation.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.
