# VWA On-Chain Data & Secure Settlement Mechanism

#### 6.1 On-Chain Data for Transparency

#### **6.1.1 Why Put Data On-Chain?**

In traditional games, data like deposits, rewards, drops, and spending are all stored on the company's own servers. Players can't see it or verify if the data is authentic. For example: How many rewards did the system actually distribute? Were the odds manipulated? Do your assets truly belong to you? You can only blindly trust the official source.VWA on-chain data makes all this critical information public. Through on-chain records, every token distribution, consumption, and lottery draw can be verified on the blockchain.This serves three purposes:

1. Let players verify data themselves without blind trust
2. Prevent project teams from modifying, deleting, or forging data
3. Ensure all assets and tokens have on-chain proof, truly belonging to players

Simply put, going on-chain makes the game transparent, verifiable, and trustworthy.

#### **6.1.2 On-Chain Data Scope:**

<table><thead><tr><th width="236.19921875">Module</th><th>On-Chain Data</th></tr></thead><tbody><tr><td>$COC Deposit</td><td>Transaction hash, deposit amount, player address, receiving address</td></tr><tr><td>$COC Withdrawal</td><td>Transaction hash, withdrawal amount, fee, withdrawal address</td></tr><tr><td>Sailing Mining</td><td>Timestamp, total $COC rewards, total recipients, reward details (player ID, reward amount)</td></tr><tr><td>Plunder Mining</td><td>Timestamp, total $COC rewards, total recipients, reward details (player ID, reward amount)</td></tr><tr><td>Daily Cashback Lottery</td><td>Timestamp, total $COC rewards, total recipients, reward details (player ID, reward amount)</td></tr><tr><td>Consumption</td><td>Timestamp, total $COC consumed, consumption details (player ID, consumption type, consumption amount)</td></tr><tr><td>Promotional Commisson</td><td>Timestamp, total $COC for rewards, rewards hash</td></tr><tr><td>Burns</td><td>Timestamp, total $COC burned, burn hash</td></tr></tbody></table>

#### 6.2 Platform Calculation & Settlement Mechanism

To ensure fairness and security of $COC distribution, all token distributions are calculated by the platform and then transmitted to the game for display.\
All distributions are calculated, verified, and signed by the platform before being fed back, ensuring fairness and security.

**Process:**

1. The game sends necessary calculation data to the platform, which calculates results according to generation rules and feeds them back to the game
2. **Data sent from game to platform:**
   * Sailing Mining: Player ID, sailing mining weight, round/timestamp
   * Plunder Mining: Player ID, Battle Stone consumption x (platform calculates weight according to rules), round/timestamp
   * Daily Cashback Lottery: Player ID, daily $COC consumption amount (including marketplace purchases and withdrawal fees)

**Data fed back from platform to game (after processing):**

* Sailing Mining: Player ID, $COC amount received, round/timestamp
* Plunder Mining: Player ID, $COC amount received, round/timestamp
* Daily Cashback Lottery: Player ID, $COC amount received, round/timestamp

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


---

# 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://doc.cocweb3.xyz/vwa-on-chain-data-and-secure-settlement-mechanism.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.
